View Single Post
  #1   (View Single Post)  
Old 4th May 2008
CTOS's Avatar
CTOS CTOS is offline
New User
 
Join Date: May 2008
Posts: 1
Default netstat state LISTEN change

In 4.2-RELEASE to show IPv4 ports that included state LISTEN I did:
Code:
$ netstat -ln -f inet
But in 4.3-RELEASE I noticed I now had to use -a instead of -l to view the same information:
Code:
$ netstat -an -f inet
Here's the source diff explaination:

http://www.openbsd.org/cgi-bin/cvswe...-cvsweb-markup

I thought I'd pass this along just in case anyone else was using the old way like me. I did the old way first on a new 4.3-RELEASE install and saw nothing listed. Wow, I thought. OpenBSD really is secure by default, nothing in state LISTEN.

Last edited by CTOS; 4th May 2008 at 02:27 PM.
Reply With Quote