Re: OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Wed, Jun 5, 2024 at 3:14 PM Opty <opty77@xxxxxxxxx> wrote:
> On Wed, Jun 5, 2024 at 6:03 AM Damien Miller <djm@xxxxxxxxxxx> 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.

I will also try 'LogVerbose serverloop.c:process_input():*' soon which
might do here.

Regards,
Opty
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux