From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: ethernet headers and iptables counters
Date: Mon, 10 Nov 2003 23:45:40 +0000 [thread overview]
Message-ID: <200311102345.hAANjij17240@agate.rockstone.co.uk> (raw)
In-Reply-To: <1068507251.7980.15.camel@pcjohns.ecnnz.ecnetwork.co.nz>
On Monday 10 November 2003 11:34 pm, Simon Kitching wrote:
> On Tue, 2003-11-11 at 12:21, Antony Stone wrote:
> > On Monday 10 November 2003 10:25 pm, Marc Lucke wrote:
> > > Antony - my thanks to you. I rather suspected your answer would be
> > > true. My problem is that I am getting very large differences in the
> > > usage I track using iptables and the usage that my ISP reports.
> > > iptables reports much more traffic - up to 12% in fact. I have checked
> > > with the ISP who say they too only count layer 3 IP.
> >
> > 12% is a lot, and the fact that you think you have 12% more traffic than
> > your ISP does is more strange than if it were the other way around.
>
> What about traffic from your host back to itself?
That should go via interface lo, not via eth0.
> For example, GNOME heavily uses the ORBIT corba server, which uses
> TCP/IP to communicate between interacting applications.
>
> Maybe you could add a separate rule for traffic from 127.0.0.1 and to
> your local host address back to the local machine, to measure that?
The routing table entry for 127.0.0.0/8 should send all this traffic via the
loopback interface - this should not be counted by anything looking at the
ethernet devices.
Antony.
--
In science, one tries to tell people
in such a way as to be understood by everyone
something that no-one ever knew before.
In poetry, it is the exact opposite.
- Paul Dirac
Please reply to the list;
please don't CC me.
next prev parent reply other threads:[~2003-11-10 23:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-10 9:14 ethernet headers and iptables counters Marc Lucke
2003-11-10 9:40 ` Antony Stone
2003-11-10 23:21 ` Antony Stone
2003-11-10 23:34 ` Simon Kitching
2003-11-10 23:45 ` Antony Stone [this message]
2003-11-11 13:37 ` Leonardo Rodrigues Magalhães
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=200311102345.hAANjij17240@agate.rockstone.co.uk \
--to=antony@soft-solutions.co.uk \
--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