search for: ssh_msg_disconnect

Displaying 20 results from an estimated 24 matches for "ssh_msg_disconnect".

2024 May 22
2
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Tue, 21 May 2024, Opty wrote: > Hello, > > can anyone confirm that OpenSSH server doesn't log client disconnect > without SSH_MSG_DISCONNECT? OpenSSH logs the disconnection regardless of whether the client sends SSH_MSG_DISCONNECT or just drops the connection. A little more information may be logged from the disconnect packet if it was sent, but there should always be a "Connection closed by ..." message regardless. -d
2024 May 21
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
Hello, can anyone confirm that OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT? PuTTY stopped sending it long time ago [1] and I wonder if any client must or at least should do that like OpenSSH client does. I have disabled e-mail delivery so Cc me please. Regards, Opty ---------- [1] https://git.tartarus.org/?p=simon/putty.git;a=blob;f=ssh/connection2.c;hb=b6ef4f18d51bf6...
2024 May 27
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
...May 2024, Opty wrote: > On Wed, May 22, 2024 at 6:29?AM Damien Miller <djm at mindrot.org> wrote: > > On Tue, 21 May 2024, Opty wrote: > > > Hello, > > > > > > can anyone confirm that OpenSSH server doesn't log client disconnect > > > without SSH_MSG_DISCONNECT? > > > > OpenSSH logs the disconnection regardless of whether the client sends > > SSH_MSG_DISCONNECT or just drops the connection. > > > > A little more information may be logged from the disconnect packet > > if it was sent, but there should always be a "C...
2024 May 22
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Wed, May 22, 2024 at 6:29?AM Damien Miller <djm at mindrot.org> wrote: > OpenSSH logs the disconnection regardless of whether the client sends > SSH_MSG_DISCONNECT or just drops the connection. > > A little more information may be logged from the disconnect packet > if it was sent, but there should always be a "Connection closed by ..." > message regardless. I should have shown examples from the system log. SSH-2.0-OpenSSH_9.3: 2024-0...
2005 Dec 01
1
Sending SSH_MSG_DISCONNECT before dropping connections
...ns to the client why the socket was closed? >From draft-ietf-secsh-transport-24.txt, chapter 11: ---------------------------------------------------------- 11. Additional Messages Either party may send any of the following messages at any time. 11.1 Disconnection Message byte SSH_MSG_DISCONNECT uint32 reason code string description [RFC3629] string language tag [RFC3066] This message causes immediate termination of the connection. All implementations MUST be able to process this message; they SHOULD be able to send this message. The sender MUST NO...
2024 May 29
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Mon, May 27, 2024 at 4:18?AM Damien Miller <djm at mindrot.org> wrote: > Yeah, you're adding a new thing that will be logged. IMO you should > try to figure out why the "Connection closed" message that is present > in the debug log you sent is not making to to your syslog. If I change LogLevel in /etc/ssh/sshd_config from default INFO to VERBOSE then I see
2024 May 30
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Wed, 29 May 2024, Opty wrote: > On Mon, May 27, 2024 at 4:18?AM Damien Miller <djm at mindrot.org> wrote: > > Yeah, you're adding a new thing that will be logged. IMO you should > > try to figure out why the "Connection closed" message that is present > > in the debug log you sent is not making to to your syslog. > > If I change LogLevel in
2024 May 31
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Thu, May 30, 2024 at 6:02?PM Opty <opty77 at gmail.com> wrote: > On Thu, May 30, 2024 at 3:03?AM Damien Miller <djm at mindrot.org> wrote: > > On Wed, 29 May 2024, Opty wrote: > > > On Mon, May 27, 2024 at 4:18?AM Damien Miller <djm at mindrot.org> wrote: > > > > Yeah, you're adding a new thing that will be logged. IMO you should > >
2024 Jun 01
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Fri, 31 May 2024, Opty wrote: > > 9.3p2, 64-bit Slackware 15.0 package which uses two patches but they > > look LogLevel-safe to me, you can check at > > http://ftp.slackware.com/pub/slackware/slackware64-15.0/patches/source/openssh/ > > 9.7p1 built from source without TCP wrappers and still no 'Connection > closed' at 'LogLevel INFO'. You might be
2024 Jun 01
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Sat, Jun 1, 2024 at 5:23?AM Damien Miller <djm at mindrot.org> wrote: > On Fri, 31 May 2024, Opty wrote: > > 9.7p1 built from source without TCP wrappers and still no 'Connection > > closed' at 'LogLevel INFO'. > > You might be hitting this exit path: > > diff --git a/serverloop.c b/serverloop.c > index 4eabfced6..bf45f77a2 100644 > ---
2024 Jun 05
1
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
2024 Jun 05
1
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? > >
2024 Jun 11
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Wed, Jun 5, 2024 at 3:14?PM Opty <opty77 at gmail.com> wrote: > 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
2024 Jun 14
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Tue, Jun 11, 2024 at 1:24?PM Opty <opty77 at gmail.com> wrote: > On Wed, Jun 5, 2024 at 3:14?PM Opty <opty77 at gmail.com> wrote: > > On Wed, Jun 5, 2024 at 6:03?AM Damien Miller <djm at mindrot.org> wrote: > > > We need to decide whether to promote these log messages to INFO. > > > > > > [...] > > > > I will wait for the final
2024 Jun 17
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Fri, 14 Jun 2024, Opty wrote: > On Tue, Jun 11, 2024 at 1:24?PM Opty <opty77 at gmail.com> wrote: > > On Wed, Jun 5, 2024 at 3:14?PM Opty <opty77 at gmail.com> wrote: > > > On Wed, Jun 5, 2024 at 6:03?AM Damien Miller <djm at mindrot.org> wrote: > > > > We need to decide whether to promote these log messages to INFO. > > > > > >
2024 Jun 17
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Mon, Jun 17, 2024 at 10:50?AM Damien Miller <djm at mindrot.org> wrote: > On Fri, 14 Jun 2024, Opty wrote: > > On Tue, Jun 11, 2024 at 1:24?PM Opty <opty77 at gmail.com> wrote: > > > On Wed, Jun 5, 2024 at 3:14?PM Opty <opty77 at gmail.com> wrote: > > > > On Wed, Jun 5, 2024 at 6:03?AM Damien Miller <djm at mindrot.org> wrote: > > >
2024 May 30
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Thu, May 30, 2024 at 3:03?AM Damien Miller <djm at mindrot.org> wrote: > On Wed, 29 May 2024, Opty wrote: > > On Mon, May 27, 2024 at 4:18?AM Damien Miller <djm at mindrot.org> wrote: > > > Yeah, you're adding a new thing that will be logged. IMO you should > > > try to figure out why the "Connection closed" message that is present > >
2001 Oct 10
1
ssh exit mechanism!
...server and the server respond with SSH_CMSG_EXITSTATUS and finally close the connection when the client sends SSH_CMSG_EXIT_CONFIRMATION. This will effectively end the server_loop in the server. This would close the connection in a cleaner way. Although the RFC has stated that either side may send SSH_MSG_DISCONNECT, for immediate disconnect, I am surprised that this is the normal exit method used in putty implementation. I fear that any addition of code after server_loop, to be done once the connection is closed by the server might not get called, as it now is redirected to fatal_cleanup(). Is t...
2010 Mar 12
1
Is this a bug in 5.4p1?
I am testing with a 5.4p1 client and have noticed, on the server side, that sometimes an SSH_MSG_DISCONNECT message is received with the following 28-byte long payload: 0x00 0x00 0x00 0x0b Reason: SSH_DISCONNECT_BY_APPLICATION 0x00 0x00 0x00 0x14 Description string length: 20 bytes 0x64 0x69 0x73 0x63 0x6f 0x6e 0x6e 0x65 Descrip...
2007 Apr 17
9
[Bug 1307] client disconnects if ServerAlive enabled but not implemented
http://bugzilla.mindrot.org/show_bug.cgi?id=1307 Summary: client disconnects if ServerAlive enabled but not implemented Product: Portable OpenSSH Version: 4.3p2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: bitbucket at