[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Graphing number of references to iptables chain
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Graphing number of references to iptables chain
- From: Andreas Kunberger <andreas.kunberger (at) ditf-denkendorf.de>
- Date: Wed, 5 Sep 2007 13:13:27 +0200
- Organization: DITF Denkendorf
- References: <46DE4085.5010400 (at) zandahar.net>
- References: <971b43ce0709050218t8fe2550w1625981d87037274 (at) mail.gmail.com>
- References: <46DE7735.9010607 (at) shihad.org>
- User-agent: KMail/1.9.5
Am Mittwoch, 5. September 2007 11:30 schrieb Iain Conochie:
> <snip>
>
> Here you go. This must bu run as root so either Set UID root (bad!) or
> use sudo
>
> for i in $CHAINS
> do sudo $IPTABLES -L -n -v -x| grep ^"Chain $i"| awk {'print $2 " "
> $6 " : " $5'}| sed s/packets,/packets/g >> $BBTMP/packets.$$
> done
>
Seems to me, its graphs only the packets the default policy of the chain is
applied to, i.e those who have not matche any ruly in the chain
mfg
Andreas Kunberger
--
DITF Denkendorf