|
||||||||
|
|
#1
|
|
A 'netstat -t' will tell me the connection status of tcp sockets, but is there a command that will tell me what sockets are listening? I know that 'nmap localhost' will find out what sockets are listening by trying all ports, but that's not quite the same. Dan Dan |
|
#2
|
|||
|
|||
|
Dan wrote:
> A 'netstat -t' will tell me the connection status of tcp sockets, but > is there a command that will tell me what sockets are listening? > > I know that 'nmap localhost' will find out what sockets are listening > by trying all ports, but that's not quite the same. > > Dan nmap localhost ? |
|
#3
|
|||
|
|||
|
On 2005-04-21, Dan <(E-Mail Removed)> wrote:
> A 'netstat -t' will tell me the connection status of tcp sockets, but > is there a command that will tell me what sockets are listening? netstat -l man netstat for more info Davide -- The sun was shining on the sea, Shining with all his might: He did his very best to make The billows smooth and bright -- And this was very odd, because it was The middle of the night. -- Lewis Carroll, "Through the Looking Glass" |
|
#4
|
|||
|
|||
|
Dan wrote:
> A 'netstat -t' will tell me the connection status of tcp sockets, but > is there a command that will tell me what sockets are listening? > > I know that 'nmap localhost' will find out what sockets are listening > by trying all ports, but that's not quite the same. lsof -i > Dan Regards. -- Jose Maria Lopez Hernandez Director Tecnico de bgSEC (E-Mail Removed) bgSEC Seguridad y Consultoria de Sistemas Informaticos http://www.bgsec.com ESPAÑA The only people for me are the mad ones -- the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow Roman candles. -- Jack Kerouac, "On the Road" |
|
#5
|
|||
|
|||
|
On Thu, 21 Apr 2005 09:33:03 +0200, Davide Bianchi
<(E-Mail Removed)> wrote: Thanks. I had done 'man netstat', but there were too many options and I missed that one. Dan >On 2005-04-21, Dan <(E-Mail Removed)> wrote: >> A 'netstat -t' will tell me the connection status of tcp sockets, but >> is there a command that will tell me what sockets are listening? > >netstat -l > >man netstat for more info >Davide |
![]() |
| Tags |
| command |
| Thread Tools | |
| Display Modes | |
|
|