Damien Miller
2024-Jun-05 04:03 UTC
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Sat, 1 Jun 2024, Opty wrote:> Indeed I am. > > What now?We need to decide whether to promote these log messages to INFO.> Should PuTTY change its 'perfectly OK to unceremoniously > slam the connection shut when you're done' attitude?I don't think they need to. I think it's fair that we log connections that are terminated regardsless of how graceful the termination was. E.g. why shouldn't we log connections that drop because the peer process got SIGINT or the TCP connection dropped before sending a SSH2_MSG_DISCONNECT? -d
Opty
2024-Jun-05 13:14 UTC
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Wed, Jun 5, 2024 at 6:03?AM Damien Miller <djm at mindrot.org> wrote:> On Sat, 1 Jun 2024, Opty wrote: > > Indeed I am. > > > > What now? > > We need to decide whether to promote these log messages to INFO. > > > Should PuTTY change its 'perfectly OK to unceremoniously > > slam the connection shut when you're done' attitude? > > I don't think they need to. I think it's fair that we log connections > that are terminated regardsless of how graceful the termination was. > E.g. why shouldn't we log connections that drop because the peer > process got SIGINT or the TCP connection dropped before sending a > SSH2_MSG_DISCONNECT?I will wait for the final verdict then. Thanks for letting me know. Regards, Opty
Maybe Matching Threads
- OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
- OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
- OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
- OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
- OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT