Linux Netfilter discussions
 help / color / mirror / Atom feed
From: jorge alonso <livebrain@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Fwd: iptables & ifconfig wrong packet accounting
Date: Tue, 14 Dec 2004 06:53:56 +0000	[thread overview]
Message-ID: <c65016fb041213225326c55a98@mail.gmail.com> (raw)
In-Reply-To: <1102971862.3629.23.camel@hubcap.ljm.dom>

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@817west.com>
Date: Mon, 13 Dec 2004 16:04:22 -0500
Subject: Re: iptables & ifconfig wrong packet accounting
To: netfilter@lists.netfilter.org


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


      reply	other threads:[~2004-12-14  6:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-13  6:21 iptables & ifconfig wrong packet accounting jorge alonso
2004-12-13 21:04 ` Jason Opperisano
2004-12-14  6:53   ` jorge alonso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c65016fb041213225326c55a98@mail.gmail.com \
    --to=livebrain@gmail.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox