[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-security] netstat parms
- Subject: Re: [cobalt-security] netstat parms
 
- From: Dan Keller <dan@xxxxxxxxxx>
 
- Date: Sun, 22 Apr 2001 11:26:53 -0700
 
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
 
At 10:42 PM 4/21/01 -0700, you wrote:
>On Sun, 22 Apr 2001, Carrie Bartkowiak wrote:
>
>Use netstat -pl [as root] - you'll see what programs listen on all the
>ports - unlike a netstat without parms, which only givens you the *active*
>connections (your machine can listen on ALL ports and it won't show it!)
Hi CarrieB --
My netstat doesn't appear to have the -p or the -l parms.
What you describe sounds way cool, though.
Here's what I get:
# netstat -pl
netstat: invalid option -- p
usage: netstat [-veenNcCF] [<Af>] -r         netstat {-V|--version|-h|--help}
       netstat [-vnNcaeo] [<Socket>]
       netstat { [-veenNac] -i | [-cnNe] -M }
        -r, --route              display routing table
        -i, --interfaces         display interface table
        -s, --statistics         display networking statistics
        -M, --masquerade         display masqueraded connections
        -v, --verbose            be verbose
        -n, --numeric            dont resolve names
        -e, --extend             display other/more informations
        -c, --continuous         continuous listing
        -a, --all, --listening   display all
        -o, --timers             display timers
<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom
<Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25
#
Are you using a special version of netstat?
Where did you get it?
Thanks mucho,
Dan Keller
dan@xxxxxxxxxx
http://www.keller.com/
+1 415 861-4500 (voice)
+1 415 861-4593 (fax)