All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] 'routing connection'
@ 2003-03-14 12:48 Ming-Ching Tiew
  2003-03-14 13:12 ` Tomas Bonnedahl
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ming-Ching Tiew @ 2003-03-14 12:48 UTC (permalink / raw)
  To: lartc


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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] 'routing connection'
  2003-03-14 12:48 [LARTC] 'routing connection' Ming-Ching Tiew
@ 2003-03-14 13:12 ` Tomas Bonnedahl
  2003-03-14 13:22 ` Martin A. Brown
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Tomas Bonnedahl @ 2003-03-14 13:12 UTC (permalink / raw)
  To: lartc

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


-tomas

On Fri, Mar 14, 2003 at 04:48:26AM -0800, Ming-Ching Tiew wrote:
> 
> 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 / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] 'routing connection'
  2003-03-14 12:48 [LARTC] 'routing connection' Ming-Ching Tiew
  2003-03-14 13:12 ` Tomas Bonnedahl
@ 2003-03-14 13:22 ` Martin A. Brown
  2003-03-14 23:57 ` Ming-Ching Tiew
  2003-03-15  0:06 ` Paul Evans
  3 siblings, 0 replies; 5+ messages in thread
From: Martin A. Brown @ 2003-03-14 13:22 UTC (permalink / raw)
  To: lartc

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

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] 'routing connection'
  2003-03-14 12:48 [LARTC] 'routing connection' Ming-Ching Tiew
  2003-03-14 13:12 ` Tomas Bonnedahl
  2003-03-14 13:22 ` Martin A. Brown
@ 2003-03-14 23:57 ` Ming-Ching Tiew
  2003-03-15  0:06 ` Paul Evans
  3 siblings, 0 replies; 5+ messages in thread
From: Ming-Ching Tiew @ 2003-03-14 23:57 UTC (permalink / raw)
  To: lartc


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" <mabrown-lartc@securepipe.com> 
> 
> 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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] 'routing connection'
  2003-03-14 12:48 [LARTC] 'routing connection' Ming-Ching Tiew
                   ` (2 preceding siblings ...)
  2003-03-14 23:57 ` Ming-Ching Tiew
@ 2003-03-15  0:06 ` Paul Evans
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Evans @ 2003-03-15  0:06 UTC (permalink / raw)
  To: lartc

On March 14, 2003 15:57 pm, Ming-Ching Tiew wrote:
> 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.

-- 
Regards, Paul Evans


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-03-15  0:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-14 12:48 [LARTC] 'routing connection' Ming-Ching Tiew
2003-03-14 13:12 ` Tomas Bonnedahl
2003-03-14 13:22 ` Martin A. Brown
2003-03-14 23:57 ` Ming-Ching Tiew
2003-03-15  0:06 ` Paul Evans

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.