sshd on 5.4-STABLE broken!?

Kipp Holger hk at alogis.com
Wed May 18 05:19:56 PDT 2005


Hi,

I am still having a problem with sshd-behaviour which
looks similar to bin/33155 or maybe it is related to
bin/74255?

- what am I doing wrong?
- is someone else experiencing the same behaviour?
- can I provide any additional data?

the systems in question are default installations with
only a few additional packages (like webservers with
apache_modssl, mod_perl), but no openssl from ports or
other magical changes to the configuration.
All 5.4-STABLE systems were updated from 5.3-STABLE.

 
Connecting to a server with ssh and pressing ctrl-c
instead of entering a password results in a process
that won't terminate. After ten processes have been
created like this, login via ssh is (of course) not
possible any longer...

I do see this behaviour on several servers with
FreeBSD 5.3-STABLE from 16.11.2004 (SMP) and one server with
FreeBSD 5.4-STABLE from 11.05.2005 (SMP)
(HP ProLiant DL360/380)

and I don't see this on another server with
FreeBSD 5.4-STABLE from 06.11.2005 (SMP) and
FreeBSD 5.4-STABLE from 16.11.2005 (single processor AMD Duron)
(Dell PowerEdge 2800 and Home-PC with ASRock-Board)

so this is really strange. Below is output of ps
and sockstat with the relevant entries as found on
one of those misbehaving systems.

Ideas welcome!


Regards,
Holger Kipp




server1 is 5.4-STABLE #17: Wed May 11 11:52:39 CEST 200

24734  ??  Ss     0:00,04 sshd: unknown [priv] (sshd)
24736  ??  S      0:00,00 sshd: blubber [pam] (sshd)

root     sshd       24736 3  stream -> ??
root     sshd       24736 4  tcp4   <server1>:22       <server2>:3220
root     sshd       24736 5  stream (not connected)
root     sshd       24736 7  stream -> ??
root     sshd       24734 3  stream -> ??
root     sshd       24734 4  tcp4   <server1>:22       <server2>:3220
root     sshd       24734 5  stream (not connected)
root     sshd       24734 7  stream -> ??


a few minutes later:

24736  ??  I      0:00,00 sshd: blubber [pam] (sshd)

root     sshd       24736 3  stream -> ??
root     sshd       24736 4  tcp4   <server1>:22       <server2>:3220
root     sshd       24736 5  stream (not connected)
root     sshd       24736 7  stream -> ??

--------------------------

again:

24736  ??  I      0:00,00 sshd: blubber [pam] (sshd)
25350  ??  Ss     0:00,04 sshd: unknown [priv] (sshd)
25352  ??  S      0:00,00 sshd: blubber [pam] (sshd)

root     sshd       25352 3  stream -> ??
root     sshd       25352 4  tcp4   <server1>:22       <server2>:1076
root     sshd       25352 5  stream (not connected)
root     sshd       25352 6  stream -> ??
root     sshd       25350 3  stream -> ??
root     sshd       25350 4  tcp4   <server1>:22       <server2>:1076
root     sshd       25350 5  stream (not connected)
root     sshd       25350 6  stream -> ??
root     sshd       24736 3  stream -> ??
root     sshd       24736 4  tcp4   <server1>:22       <server2>:3220
root     sshd       24736 5  stream (not connected)
root     sshd       24736 7  stream -> ??

and two minutes later:

24736  ??  I      0:00,00 sshd: blubber [pam] (sshd)
25352  ??  I      0:00,00 sshd: blubber [pam] (sshd)

root     sshd       25352 3  stream -> ??
root     sshd       25352 4  tcp4   <server1>:22       <server2>:1076
root     sshd       25352 5  stream (not connected)
root     sshd       25352 6  stream -> ??
root     sshd       24736 3  stream -> ??
root     sshd       24736 4  tcp4   <server1>:22       <server2>:3220
root     sshd       24736 5  stream (not connected)
root     sshd       24736 7  stream -> ??

and eleven hours later:

24736  ??  I      0:00,00 sshd: blubber [pam] (sshd)
25352  ??  I      0:00,00 sshd: blubber [pam] (sshd)

root     sshd       25352 3  stream -> ??
root     sshd       25352 5  stream (not connected)
root     sshd       25352 6  stream -> ??
root     sshd       24736 3  stream -> ??
root     sshd       24736 5  stream (not connected)
root     sshd       24736 7  stream -> ??



More information about the freebsd-stable mailing list