Fwd: iptables & ifconfig wrong packet accounting

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

 



isnt that only used at the beginning, when dhcp obtain the ip ? 
i dont understand the arp dhcp process :(



---------- Forwarded message ----------
From: Jason Opperisano <opie@xxxxxxxxxxx>
Date: Mon, 13 Dec 2004 16:04:22 -0500
Subject: Re: iptables & ifconfig wrong packet accounting
To: netfilter@xxxxxxxxxxxxxxxxxxx


On Mon, 2004-12-13 at 01:21, jorge alonso wrote:


> i'm trying to do traffic accounting with iptables but the received
> packets from iptables (iptables -L -v) and packets from ifconfig dont
> match.
> ifconfig counts more packets is it normal ?

my guess would be that 'ifconfig' counts packets such as arp and dhcp
requests/replies that never make it up to the netfilter hooks.

-j

--
"Default! The two sweetest words in the English language!"
        --The Simpsons


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux