Re: [gentoo-user] iptraf vs iptables (mangle access)

2007-03-02 Thread CapSel
On 3/1/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: That would be correct, since every forwarded packet passes though both the pre-routing and post-routing chains, so you are counting every packet (at least those that are not dropped in the FORWARD chain) twice. I don't fully

Re: [gentoo-user] iptraf vs iptables (mangle access)

2007-03-02 Thread CapSel
On 3/2/07, Daniel Iliev [EMAIL PROTECTED] wrote: CapSel wrote: On 3/1/07, *Boyd Stephen Smith Jr.* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: That would be correct, since every forwarded packet passes though both the pre-routing and post-routing chains, so you are

[gentoo-user] iptraf vs iptables (mangle access)

2007-03-01 Thread CapSel
I'm trying to count bandwidth and number of packets on my router with rules like: iptables -t mangle -A PREROUTING -i eth0 -j stats iptables -t mangle -A POSTROUTING -o eth0 -j stats iptables -t mangle -A stats -p tcp -s $ip -j ACCEPT iptables -t mangle -A stats -p udp -s $ip -j ACCEPT iptables

Re: [gentoo-user] iptraf vs iptables (mangle access)

2007-03-01 Thread Boyd Stephen Smith Jr.
On Thursday 01 March 2007, CapSel [EMAIL PROTECTED] wrote about '[gentoo-user] iptraf vs iptables (mangle access)': I'm trying to count bandwidth and number of packets on my router with rules like: iptables -t mangle -A PREROUTING -i eth0 -j stats iptables -t mangle -A POSTROUTING -o eth0