ssh and netstat update again

From: rmck (rmckeever@earthlink.net)
Date: Wed Sep 17 2003 - 16:36:55 EDT


netstat -an
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@earthlink.net>
Sent: Sep 17, 2003 12:35 PM
To: sunmanagers@sunmanagers.org
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@earthlink.net>
Sent: Sep 17, 2003 12:20 PM
To: sunmanagers@sunmanagers.org
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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:08 EDT