Bugzilla – Attachment 2204 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]
Use error() to report "Received disconnect" messages to the user
received-disconnect.diff (text/plain), 838 bytes, created by
Iain Morgan
on 2013-01-05 08:03:22 AEDT
(
hide
)
Description:
Use error() to report "Received disconnect" messages to the user
Filename:
MIME Type:
Creator:
Iain Morgan
Created:
2013-01-05 08:03:22 AEDT
Size:
838 bytes
patch
obsolete
>Index: packet.c >=================================================================== >RCS file: /cvs/openssh/packet.c,v >retrieving revision 1.186 >diff -u -r1.186 packet.c >--- packet.c 12 Dec 2012 20:19:00 -0000 1.186 >+++ packet.c 3 Jan 2013 22:35:42 -0000 >@@ -1453,7 +1453,7 @@ > case SSH2_MSG_DISCONNECT: > reason = packet_get_int(); > msg = packet_get_string(NULL); >- logit("Received disconnect from %s: %u: %.400s", >+ error("Received disconnect from %s: %u: %.400s", > get_remote_ipaddr(), reason, msg); > xfree(msg); > cleanup_exit(255); >@@ -1478,7 +1478,7 @@ > break; > case SSH_MSG_DISCONNECT: > msg = packet_get_string(NULL); >- logit("Received disconnect from %s: %.400s", >+ error("Received disconnect from %s: %.400s", > get_remote_ipaddr(), msg); > cleanup_exit(255); > break;
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