ssh and netstat update again
2007-12-25 2:01:00
v4:
*.22 *.* 0 0 24576 0 LISTEN
*.22 *.* 0 0 24576 0 LISTEN
v6:
*.22 *.* 0 0 24576 0 LISTEN
bash-2.03# lsof | grep ssh | grep LISTEN
sshd 14957 root 4u IPv6 0x300010aba90 0t0 TCP *:22 (LISTEN)
sshd 14957 root 5u IPv4 0x30001ab0f68 0t0 TCP *:22 (LISTEN)
bash-2.03#
bash-2.03# ps -ef|grep 14957
root 14957 1 0 15:40:19 ? 0:01 /opt/bin/sshd -f /etc/sshd/sshd_config
So lsof makes sense, I should see 22 listening twice once for v4 and once for v6.
But /bin/netstat -an is showing 22 listening twice for version 4. This is what is confusing? Any ideas?
This is all noticed after upgrade to opennssh 3.7.1?
-----Original Message-----
From: rmck <rmckeever at earthlink.net>
Sent: Sep 17, 2003 12:35 PM
To: codeprof at codeprof.com
Subject: ssh and netstat update
Its not v4/v6:
bash-2.03# netstat -an | egrep "TCP: IPv|\.22 " | grep -v EST
TCP: IPv4
*.22 *.* 0 0 24576 0 LISTEN
*.22 *.* 0 0 24576 0 LISTEN
TCP: IPv6
*.22 *.* 0 0 24576 0 LISTEN
bash-2.03#
Its like its getting started twice?
Rob
-----Original Message-----
From: rmck <rmckeever at earthlink.net>
Sent: Sep 17, 2003 12:20 PM
To: codeprof at codeprof.com
Subject: ssh and netstat
Hello,
I'm in the proccess of upgrading to openssh 371 from 351 on solaris 8/9. I'm starting to notice when I do a netstat -an
I see port 22 listing twice?
*.22 *.* 0 0 24576 0 LISTEN
*.22 *.* 0 0 24576 0 LISTEN
Any Ideas?
Rob
_______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=25650
_______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=25650
Comments
Got something to say?
You must be logged in to post a comment.

