Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Sep 2014 03:11:57 +0200
From:      "Michael Ross" <gmx@ross.cx>
To:        "FreeBSD Stable Mailing List" <freebsd-stable@freebsd.org>
Subject:   10.0 sftp/sshd no longer times out?
Message-ID:  <op.xlov97g6g7njmm@michael-think>

next in thread | raw e-mail | index | archive | help
Hello,

I just noticed something strange on my 10.0 r269088 system,
with ssh at OpenSSH_6.6.1p1, OpenSSL 1.0.1h-freebsd 5 Jun 2014:


I have 28 blocks like this in ps output:

    0   869   739   0   20  0  86428  3732 select   Is    -      0:00,05  
sshd: michael [priv] (sshd)
1001   872   869   0   20  0  86428  3732 select   I     -      0:00,13  
sshd: michael@notty (sshd)
1001   873   872   0   30  0  23584     0 pause    IWs   -      0:00,00  
csh -c /usr/libexec/sftp-server
1001   875   873   0   20  0  50244  3092 select   I     -      0:00,01  
/usr/libexec/sftp-server

and sockstat show the corresponding sockets as connected:

michael  sshd       8737  3  tcp4   x.x.x.x:22     188.96.33.76:42205
michael  sshd       8737  4  stream -> ??
root     sshd       8734  3  tcp4   x.x.x.x:22     188.96.33.76:42205
root     sshd       8734  5  stream -> ??


188.96.33.76 was my office ip address from the 22nd to the 28th of July.
In fact, all ip addresses I connected from since 25th of July still show  
output as above.

Shouldn't these connections have timed out by now,
and the sftp-server / sshd connection exited?

I upgraded this system from 9.2 to 10.0 on the 25th of July,
never seen this before.

Am I overlooking something here?


Michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.xlov97g6g7njmm>