iptables & ifconfig wrong packet accounting
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 ?
Quoted 4 lines · jorge alonso
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
isnt that only used at the beginning, when dhcp obtain the ip ? i dont understand the arp dhcp process :(
---------- Forwarded message ----------
From: Jason Opperisano <[email protected]>
Date: Mon, 13 Dec 2004 16:04:22 -0500
Subject: Re: iptables & ifconfig wrong packet accounting
To: [email protected]
Quoted 4 lines · jorge alonso
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