Bugzilla – Attachment 2239 Details for
Bug 2057
ssh should treat "Received disconnect" messages as errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Hush sshd-side error for SSH2_DISCONNECT_BY_APPLICATION disconnects
hush-ssh-disco.diff (text/plain), 810 bytes, created by
Damien Miller
on 2013-04-09 13:08:13 AEST
(
hide
)
Description:
Hush sshd-side error for SSH2_DISCONNECT_BY_APPLICATION disconnects
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2013-04-09 13:08:13 AEST
Size:
810 bytes
patch
obsolete
>Index: packet.c >=================================================================== >RCS file: /var/cvs/openssh/packet.c,v >retrieving revision 1.188 >diff -u -p -r1.188 packet.c >--- packet.c 12 Feb 2013 00:03:59 -0000 1.188 >+++ packet.c 9 Apr 2013 03:07:41 -0000 >@@ -1460,7 +1460,11 @@ packet_read_poll_seqnr(u_int32_t *seqnr_ > case SSH2_MSG_DISCONNECT: > reason = packet_get_int(); > msg = packet_get_string(NULL); >- error("Received disconnect from %s: %u: %.400s", >+ /* Ignore normal client exit notifications */ >+ do_log2(active_state->server_side && >+ reason == SSH2_DISCONNECT_BY_APPLICATION ? >+ SYSLOG_LEVEL_DEBUG1 : SYSLOG_LEVEL_ERROR, >+ "Received disconnect from %s: %u: %.400s", > get_remote_ipaddr(), reason, msg); > xfree(msg); > 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 2057
:
2204
| 2239