Networking Forums

Networking Forums > Computer Networking > Linux Networking > prog for scanning used ports

Reply
Thread Tools Display Modes

prog for scanning used ports

 
 
Peter
Guest
Posts: n/a

 
      03-22-2006, 06:04 PM
Hello,

I'm searching for a tool that can scan my local ports for traffic.
Something like tcpdump. It has to run on console.
After a run, the tool should reports me, all used ports for tcp,udp
connections during this run on my local computer.



thanks
Peter


 
Reply With Quote
 
 
 
 
david
Guest
Posts: n/a

 
      03-22-2006, 06:26 PM

I think maybe mrtg

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/


On Wed, 22 Mar 2006 20:04:06 +0100, "Peter" <(E-Mail Removed)> wrote:

>Hello,
>
>I'm searching for a tool that can scan my local ports for traffic.
>Something like tcpdump. It has to run on console.
>After a run, the tool should reports me, all used ports for tcp,udp
>connections during this run on my local computer.
>
>
>
>thanks
>Peter
>

 
Reply With Quote
 
Jeremiah DeWitt Weiner
Guest
Posts: n/a

 
      03-22-2006, 08:22 PM
Peter <(E-Mail Removed)> wrote:
> I'm searching for a tool that can scan my local ports for traffic.
> Something like tcpdump. It has to run on console.


You might like 'netwatch' (http://www.slctech.org/~mackay/netwatch.html)
or 'iptraf' (http://iptraf.seul.org/). Or maybe 'netstat -tuc' is all
you need?

--
Oh to have a lodge in some vast wilderness. Where rumors of oppression
and deceit, of unsuccessful and successful wars may never reach me
anymore.
-- William Cowper
 
Reply With Quote
 
Jim Hicks
Guest
Posts: n/a

 
      03-22-2006, 10:14 PM
Peter wrote:
> Hello,
>
> I'm searching for a tool that can scan my local ports for traffic.
> Something like tcpdump. It has to run on console.
> After a run, the tool should reports me, all used ports for tcp,udp
> connections during this run on my local computer.
>
>
>
> thanks
> Peter
>
>

For local interfaces, netstat -a will list all listening ports, all
socket connections, and status of those connections. An AWK or perl
script should put that data into a readable and trackable form.
 
Reply With Quote
 
Steve Welsh
Guest
Posts: n/a

 
      03-23-2006, 12:05 AM
Jim Hicks wrote:
> Peter wrote:
>> Hello,
>>
>> I'm searching for a tool that can scan my local ports for traffic.
>> Something like tcpdump. It has to run on console.
>> After a run, the tool should reports me, all used ports for tcp,udp
>> connections during this run on my local computer.
>>
>>
>>
>> thanks
>> Peter
>>

> For local interfaces, netstat -a will list all listening ports, all
> socket connections, and status of those connections. An AWK or perl
> script should put that data into a readable and trackable form.


You could also consider netstat -a -c 60 >> /tmp/netstat.log

which would write the output from netstat once a minute into
/tmp/netstat.log

You could analyse it from there, adjust the timings, etc.

Steve
 
Reply With Quote
 
Peter
Guest
Posts: n/a

 
      03-23-2006, 03:08 PM

"Steve Welsh" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> Jim Hicks wrote:
>> Peter wrote:
>>> Hello,
>>>
>>> I'm searching for a tool that can scan my local ports for traffic.
>>> Something like tcpdump. It has to run on console.
>>> After a run, the tool should reports me, all used ports for tcp,udp
>>> connections during this run on my local computer.
>>>
>>>
>>>
>>> thanks
>>> Peter
>>>

>> For local interfaces, netstat -a will list all listening ports, all
>> socket connections, and status of those connections. An AWK or perl
>> script should put that data into a readable and trackable form.

>
> You could also consider netstat -a -c 60 >> /tmp/netstat.log
>
> which would write the output from netstat once a minute into
> /tmp/netstat.log
>
> You could analyse it from there, adjust the timings, etc.
>
> Steve



Hello,

thanks to all of you for your posts.
I'm going to test your suggestions.

We set up a game server. There is no documentation for the configuration of
the firewall.
We only found some ip-ranges, but I do not think that all of this ports are
necessary.
We will see.

Peter


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any good books on "Linux Socket prog", also on "Linux Network prog"? GS Linux Networking 11 10-16-2005 05:23 PM
Prog to measure data use? RT Broadband 8 10-28-2004 09:25 PM
Best prog for transferring files accross network ? Dave Broadband 5 02-14-2004 07:27 PM
Prog/app to limit wireless point bandwidth? Walter Cohen Wireless Internet 0 12-02-2003 03:18 AM
tracert prog 2 use browser proxy? dj.forest Windows Networking 1 09-27-2003 07:46 AM



1 2 3 4 5 6 7 8 9 10 11