[Bug 2057] ssh should treat "Received disconnect" messages as errors

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Apr 8 19:31:42 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2057

--- Comment #4 from Darren Tucker <dtucker at zip.com.au> ---
hm.  one problem: the client does send this packet type at the normal
end of a connection, although it doesn't use packet_disconnect() to do
it:

        if (compat20) {
                packet_start(SSH2_MSG_DISCONNECT);
                packet_put_int(SSH2_DISCONNECT_BY_APPLICATION);
                packet_put_cstring("disconnected by user");
                packet_put_cstring(""); /* language tag */
                packet_send();
                packet_write_wait();
        }

resulting in a lot of this kind of thing in syslog:
sshd[12224]: error: Received disconnect from 192.168.32.1: 11:
disconnected by user

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list