FreeBSD Bugzilla – Attachment 159484 Details for
Bug 202055
[ssh] [patch] Extra IP number information for failed (anonymous) connects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
log ip-numbers for failed socket connect attempts
packet.c.patch (text/plain), 735 bytes, created by
Willem Jan Withagen
on 2015-08-03 08:32:13 UTC
(
hide
)
Description:
log ip-numbers for failed socket connect attempts
Filename:
MIME Type:
Creator:
Willem Jan Withagen
Created:
2015-08-03 08:32:13 UTC
Size:
735 bytes
patch
obsolete
>Index: crypto/openssh/packet.c >=================================================================== >--- crypto/openssh/packet.c (revision 286222) >+++ crypto/openssh/packet.c (working copy) >@@ -1128,8 +1128,10 @@ > logit("Connection closed by %.200s", get_remote_ipaddr()); > cleanup_exit(255); > } >- if (len < 0) >+ if (len < 0) { >+ logit("Read from socket failed: %.200s", get_remote_ipaddr()); > fatal("Read from socket failed: %.100s", strerror(errno)); >+ } > /* Append it to the buffer. */ > packet_process_incoming(buf, len); > }
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 202055
: 159484