[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Monitoring traffice



On Mon, May 12, 2003 at 12:41:11PM -0600, Butler, Chad wrote:
> I just switched from an ipchains-based firewall to an iptables-based
> firewall.  Previously, I would run the command, ipchains -ML to show
> the current masqueraded connections.  I have installed the iptraf
> package, but I am more interested in the destinations of the
> connections than the specific statistics of the interfaces.  Is there
> a command that can be run which will give the same output as the
> ipchains -ML?

You could parse the information provided by:

   cat /proc/net/ip_conntrack  
   
-- 
Jamin W. Collins

This is the typical unix way of doing things: you string together lots
of very specific tools to accomplish larger tasks. -- Vineet Kumar



Reply to: