Skip to contentSkip to conversation

'routing connection'

LARTC Ming-Ching Tiew 4 participants 5 messages Mar 14, 2003 – Mar 15, 2003

lore
Share & tools
lore
#0 lore raw

Given a running router/firewall machine, there may be many 'routing connections' going on at same time. I am stucked with a basic question unanswered, how do I know which are the applications using the heaviest routing traffic ?

I could do a trial and error by using 'iptables', say using a port range, but there are still too many possibilities.

I thought 'netstat' could solve my problem, apparently not. It seems netstat only shows the connection originating and terminating in the machine and not 'routing connections'. I am looking for a simple and light weight program which can meet this requirement. Any recommendation ?

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

iptraf could perhaps solve your problems, i donno the url to it but you should find it via google.

-tomas

Quoted 21 lines · Ming-Ching Tiew

Given a running router/firewall machine, there may be many 'routing connections' going on at same time. I am stucked with a basic question unanswered, how do I know which are the applications using the heaviest routing traffic ?

I could do a trial and error by using 'iptables', say using a port range, but there are still too many possibilities.

I thought 'netstat' could solve my problem, apparently not. It seems netstat only shows the connection originating and terminating in the machine and not 'routing connections'. I am looking for a simple and light weight program which can meet this requirement. Any recommendation ?

Quoted 8 lines

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Ming-Ching Tiew

Hi there Ming-Ching,

: Given a running router/firewall machine, there may be many 'routing : connections' going on at same time. I am stucked with a basic question : unanswered, how do I know which are the applications using the heaviest : routing traffic ?

Try iptraf or ntop.

http://iptraf.seul.org/ # -- quick/easy; visual; curses
http://www.ntop.org/ntop.html # -- can keep historical data

See also the following thread:

http://mailman.ds9a.nl/pipermail/lartc/2003q1/007051.html

: I could do a trial and error by using 'iptables', say : using a port range, but there are still too many : possibilities.

: I thought 'netstat' could solve my problem, apparently : not. It seems netstat only shows the connection : originating and terminating in the machine and not : 'routing connections'. I am looking for a simple and : light weight program which can meet this requirement. : Any recommendation ?

-Martin

Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to Ming-Ching Tiew

Thanks for the info. Haven't checked 'ntop' but iptraf does not mean my requirement because I am looking for a simple program ( low foot-print !!) which I could
script it and display the result remotely. :-)

Rgds.

--- "Martin A. Brown" <[email protected]>

Quoted 8 lines

Try iptraf or ntop.

http://iptraf.seul.org/ # -- quick/easy;
visual; curses
http://www.ntop.org/ntop.html # -- can keep
historical data

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#4 lore raw
In reply to Ming-Ching Tiew
Quoted 5 lines · Ming-Ching Tiew

Thanks for the info. Haven't checked 'ntop' but iptraf does not mean my requirement because I am looking for a simple program ( low foot-print !!) which I could
script it and display the result remotely. :-)

You can use iptraf without the ncurses interface. The -B switch throws it in the background, the -t switch sets the interval to watch and you can choose which interface to monitor and in what way with other switches. Its default for logging is /var/log/iptraff/

I've never put it on a cron, but I often nohup it and log out.

Signature · 6 lines
Regards, Paul Evans


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/