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

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Apr 10 05:55:19 EST 2013


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

--- Comment #7 from Iain Morgan <imorgan at nas.nasa.gov> ---
Sorry for overlooking this case. However, logging client-initiated
disconnects with SYSLOG_LEVEL_DEBUG might be an issue with sites that
expect a message to be logged at session termination.

The behaviour prior to 6.2 was to log such messages via logit() and
thus
SYSLOG_LEVEL_INFO. So, it might be better to do:

    resaon == SSH2_DISCONNECT_BY_APPLICATION ?
    SYSLOG_LEVEL_INFO : SYSLOG_LEVEL_ERROR

-- 
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