Bugzilla – Attachment 1201 Details for
Bug 1246
Protocol version identification errors don't log the sender IP anymore, always UNKNOWN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
minimal patch
openssh-4.3p2-badproto-logIP.patch (text/plain), 601 bytes, created by
Jan Iven
on 2006-10-24 01:41:45 AEST
(
hide
)
Description:
minimal patch
Filename:
MIME Type:
Creator:
Jan Iven
Created:
2006-10-24 01:41:45 AEST
Size:
601 bytes
patch
obsolete
>Avoid having "UNKNOWN" as remote IP for protocol violation >error messages. >See http://bugzilla.mindrot.org/show_bug.cgi?id=1246 > >--- openssh-4.3p2/sshd.c.badproto 2006-10-23 17:35:09.000000000 +0200 >+++ openssh-4.3p2/sshd.c 2006-10-23 17:35:46.000000000 +0200 >@@ -427,8 +427,6 @@ > &remote_major, &remote_minor, remote_version) != 3) { > s = "Protocol mismatch.\n"; > (void) atomicio(vwrite, sock_out, s, strlen(s)); >- close(sock_in); >- close(sock_out); > logit("Bad protocol version identification '%.100s' from %s", > client_version_string, get_remote_ipaddr()); > cleanup_exit(255);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1246
: 1201