From: "Dmytro O. Redchuk" Date: Fri, 20 May 2005 07:38:34 +0000 Subject: Re: [LARTC] iptables traversing read Message-Id: <20050520073834.GB5286@ldc.net> List-Id: References: <258b6f70505191330761390c5@mail.gmail.com> In-Reply-To: <258b6f70505191330761390c5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Fri, May 20, 2005 at 09:52:15AM +0300, cristian_dimache@rtanet.ro wrote: > > Hi > > > > Is there a program which allow me to see how "my" traffic goes through my > > iptables rules? Which accept it, which deny? > > > The program you will want to use is iptables -nvxL > It will show you byte and packet counters for each rule you have on the > system. > With a little bit of shell programming sill, you can get MRTG to work on > it and get a visual representation of your traffic, rather than boring > text. With a little bit of shell programming you can store that data into RRD databases. Easy to graph, easy to calculate over time ranges etc. (Or, maybe, setup MRTG to store stats into RRD bases:) -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc