View | Details | Raw Unified | Return to bug 1475
Collapse All | Expand All

(-)compat.c (+1 lines)
Lines 145-150 compat_datafellows(const char *version) Link Here
145
		  "1.2.22*",		SSH_BUG_IGNOREMSG },
145
		  "1.2.22*",		SSH_BUG_IGNOREMSG },
146
		{ "1.3.2*",		/* F-Secure */
146
		{ "1.3.2*",		/* F-Secure */
147
					SSH_BUG_IGNOREMSG },
147
					SSH_BUG_IGNOREMSG },
148
		{ "Cisco-1.25",		SSH_BUG_BIGV1PACKET|SSH_BUG_IGNOREMSG },
148
		{ "*SSH Compatible Server*",			/* Netscreen */
149
		{ "*SSH Compatible Server*",			/* Netscreen */
149
					SSH_BUG_PASSWORDPAD },
150
					SSH_BUG_PASSWORDPAD },
150
		{ "*OSU_0*,"
151
		{ "*OSU_0*,"
(-)compat.h (+1 lines)
Lines 57-62 Link Here
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_RFWD_ADDR	0x02000000
59
#define SSH_BUG_RFWD_ADDR	0x02000000
60
#define SSH_BUG_BIGV1PACKET	0x04000000
60
61
61
void     enable_compat13(void);
62
void     enable_compat13(void);
62
void     enable_compat20(void);
63
void     enable_compat20(void);
(-)sshconnect.c (+5 lines)
Lines 560-565 ssh_exchange_identification(int timeout_ Link Here
560
	chop(client_version_string);
560
	chop(client_version_string);
561
	chop(server_version_string);
561
	chop(server_version_string);
562
	debug("Local version string %.100s", client_version_string);
562
	debug("Local version string %.100s", client_version_string);
563
564
	if (datafellows & SSH_BUG_BIGV1PACKET) {
565
		debug("Found big SSHv1 packet bug, limiting packet size");
566
		packet_set_maxsize(4 * 1024);
567
	}
563
}
568
}
564
569
565
/* defaults to 'no' */
570
/* defaults to 'no' */

Return to bug 1475