On Mon, 10 Mar 2003 15:00:59 -0800 Jim C <[EMAIL PROTECTED]> wrote: > Take the following line for example which resulted from netstat -ntupl: > > > Proto Recv-Q Send-Q Local Address Foreign Address State > > PID/Program name > > tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN > > 3495/sshd > > Drop the 'n' and one gest a * instead of '0.0.0.0': > > > Proto Recv-Q Send-Q Local Address Foreign Address State > > PID/Program name > > tcp 0 0 *:ssh *:* LISTEN > > 3495/sshd > > Now a 0 in an IP address is a referece to a network but what does it > mean when netstat returns something like this? Is it listening in > general to anyone or is it just reffering to the local machine? Another > possibility I can think of is that it is listening but can't hear anything.
The -l just lists ports that are in the act of listening, whereas active connections are listed separately. For instance, if you have another computer on your home network (B), ssh from B to A. Then on A, list all the TCP connections with a netstat -at. The listening ports (including ssh) will show a foreign address of as above, and listed separately below in the active connections you'll see your ssh connection from B to A. Miark
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
