Linux Netfilter discussions
 help / color / mirror / Atom feed
* Listening ports.
@ 2002-09-23 18:04 Rowan Reid
  2002-09-23 18:17 ` Steve Mickeler
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rowan Reid @ 2002-09-23 18:04 UTC (permalink / raw)
  To: netfilter



Is there a way to list listening ports per interface .. ? Or IP would be
better.

 
Rowan Reid
Job Captain, 
Systems Administrator
STUDIO 3 ARCHITECTS
909  982  1717



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Listening ports.
  2002-09-23 18:04 Listening ports Rowan Reid
@ 2002-09-23 18:17 ` Steve Mickeler
  2002-09-23 18:22 ` Maciej Soltysiak
  2002-09-23 18:45 ` Antony Stone
  2 siblings, 0 replies; 4+ messages in thread
From: Steve Mickeler @ 2002-09-23 18:17 UTC (permalink / raw)
  To: Rowan Reid; +Cc: netfilter


netstat, lsof and a few other utils will show you what your looking for,

'man' will show you how to use them.


On Mon, 23 Sep 2002, Rowan Reid wrote:

>
>
> Is there a way to list listening ports per interface .. ? Or IP would be
> better.
>
>
> Rowan Reid
> Job Captain,
> Systems Administrator
> STUDIO 3 ARCHITECTS
> 909  982  1717
>
>



[-] Steve Mickeler [ steve@neptune.ca ]

[|] Todays root password is brought to you by /dev/random

[+] 1024D/9AA80CDF = 4103 9E35 2713 D432 924F  3C2E A7B9 A0FE 9AA8 0CDF



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Listening ports.
  2002-09-23 18:04 Listening ports Rowan Reid
  2002-09-23 18:17 ` Steve Mickeler
@ 2002-09-23 18:22 ` Maciej Soltysiak
  2002-09-23 18:45 ` Antony Stone
  2 siblings, 0 replies; 4+ messages in thread
From: Maciej Soltysiak @ 2002-09-23 18:22 UTC (permalink / raw)
  To: Rowan Reid; +Cc: netfilter

> Is there a way to list listening ports per interface .. ? Or IP would be
> better.
Let's see, try:
netstat -ntlp | grep <your.ip> | less -n

You can omit the less thingy, will work anyway :)

Regards,
Maciej Soltysiak





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Listening ports.
  2002-09-23 18:04 Listening ports Rowan Reid
  2002-09-23 18:17 ` Steve Mickeler
  2002-09-23 18:22 ` Maciej Soltysiak
@ 2002-09-23 18:45 ` Antony Stone
  2 siblings, 0 replies; 4+ messages in thread
From: Antony Stone @ 2002-09-23 18:45 UTC (permalink / raw)
  To: netfilter

On Monday 23 September 2002 7:04 pm, Rowan Reid wrote:

> Is there a way to list listening ports per interface .. ? Or IP would be
> better.

nmap -sS -P0 111.222.333.444

for a TCP scan, or

nmap -sU -P0 111.222.333.444

for a UDP scan   :-)

Antony.
-- 

The difference between theory and practice is that
in theory there is no difference, whereas in practice there is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-23 18:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-23 18:04 Listening ports Rowan Reid
2002-09-23 18:17 ` Steve Mickeler
2002-09-23 18:22 ` Maciej Soltysiak
2002-09-23 18:45 ` Antony Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox