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

RE: Monitoring traffic

Thanks for your help everyone.  All your suggestions helped, but I found the
netstat-nat package to be the most useful in this case.


 -----Original Message-----
From: 	Jamin W. Collins [mailto:jcollins@asgardsrealm.net] 
Sent:	Monday, May 12, 2003 1:51 PM
To:	'debian-firewall@lists.debian.org'
Subject:	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

To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact

Reply to: