View | Details | Raw Unified | Return to bug 1012 | Differences between
and this patch

Collapse All | Expand All

(-)openssh-4.0p1-1/channels.c (-2 / +8 lines)
Lines 2370-2378 Link Here
2370
	if (compat20) {
2370
	if (compat20) {
2371
		const char *address_to_bind;
2371
		const char *address_to_bind;
2372
		if (listen_host == NULL)
2372
		if (listen_host == NULL)
2373
			address_to_bind = "localhost";
2373
			if (datafellows & SSH_BUG_NUMERICRFWDADDR)
2374
				address_to_bind = "0.0.0.0";
2375
			else
2376
				address_to_bind = "localhost";
2374
		else if (*listen_host == '\0' || strcmp(listen_host, "*") == 0)
2377
		else if (*listen_host == '\0' || strcmp(listen_host, "*") == 0)
2375
			address_to_bind = "";
2378
			if (datafellows & SSH_BUG_NUMERICRFWDADDR)
2379
				address_to_bind = "0.0.0.0";
2380
			else
2381
				address_to_bind = "";
2376
		else
2382
		else
2377
			address_to_bind = listen_host;
2383
			address_to_bind = listen_host;
2378
2384
(-)openssh-4.0p1-1/compat.c (-1 / +1 lines)
Lines 127-133 Link Here
127
		{ "2.3.*",		SSH_BUG_DEBUG|SSH_BUG_RSASIGMD5|
127
		{ "2.3.*",		SSH_BUG_DEBUG|SSH_BUG_RSASIGMD5|
128
					SSH_BUG_FIRSTKEX },
128
					SSH_BUG_FIRSTKEX },
129
		{ "2.4",		SSH_OLD_SESSIONID },	/* Van Dyke */
129
		{ "2.4",		SSH_OLD_SESSIONID },	/* Van Dyke */
130
		{ "2.*",		SSH_BUG_DEBUG|SSH_BUG_FIRSTKEX },
130
		{ "2.*",		SSH_BUG_DEBUG|SSH_BUG_FIRSTKEX|SSH_BUG_NUMERICRFWDADDR },
131
		{ "3.0.*",		SSH_BUG_DEBUG },
131
		{ "3.0.*",		SSH_BUG_DEBUG },
132
		{ "3.0 SecureCRT*",	SSH_OLD_SESSIONID },
132
		{ "3.0 SecureCRT*",	SSH_OLD_SESSIONID },
133
		{ "1.7 SecureFX*",	SSH_OLD_SESSIONID },
133
		{ "1.7 SecureFX*",	SSH_OLD_SESSIONID },
(-)openssh-4.0p1-1/compat.h (+1 lines)
Lines 56-61 Link Here
56
#define SSH_BUG_PROBE		0x00400000
56
#define SSH_BUG_PROBE		0x00400000
57
#define SSH_BUG_FIRSTKEX	0x00800000
57
#define SSH_BUG_FIRSTKEX	0x00800000
58
#define SSH_OLD_FORWARD_ADDR	0x01000000
58
#define SSH_OLD_FORWARD_ADDR	0x01000000
59
#define SSH_BUG_NUMERICRFWDADDR 0x02000000
59
60
60
void     enable_compat13(void);
61
void     enable_compat13(void);
61
void     enable_compat20(void);
62
void     enable_compat20(void);

Return to bug 1012