diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.259 2002/09/25 15:19:02 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.260 2002/09/27 10:42:09 mickey Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -424,6 +424,12 @@ sshd_exchange_identification(int sock_in, int sock_out) | |||
424 | 424 | ||
425 | compat_datafellows(remote_version); | 425 | compat_datafellows(remote_version); |
426 | 426 | ||
427 | if (datafellows & SSH_BUG_PROBE) { | ||
428 | log("probed from %s with %s. Don't panic.", | ||
429 | get_remote_ipaddr(), client_version_string); | ||
430 | fatal_cleanup(); | ||
431 | } | ||
432 | |||
427 | if (datafellows & SSH_BUG_SCANNER) { | 433 | if (datafellows & SSH_BUG_SCANNER) { |
428 | log("scanned from %s with %s. Don't panic.", | 434 | log("scanned from %s with %s. Don't panic.", |
429 | get_remote_ipaddr(), client_version_string); | 435 | get_remote_ipaddr(), client_version_string); |