LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: iptables byte/packet counters

[ILUG] Re: iptables byte/packet counters

Rory Browne rbmlist at gmail.com
Wed Jan 16 09:05:59 GMT 2008


Sorry folks
I thought I'd deleted that email. I didn't mean to send it. After
spending the day headscratching, googling, yahooing, and RTFM-ing I
realised my problem about half-way through writing that email. I
though I'd pressed the delete button - obviously not....

I had a catch-all iptables rule ( iptables -A INPUT ), just for the
purpose of doing an (iptables -v) and getting the packet/byte count. I
found that the counters in the header line ( Chain INPUT ( x packets y
bytes ) ) didn't match what the byte/packet counter for the rule had
shown.

It turned out that I had iptables enabled for a while before adding
the rules, so traffic in this period was reflected in the header line,
but not of course in the rules that it would have applied to ( if the
rules had been in place in the time ).

Rory


On Jan 14, 2008 12:46 PM, Rory Browne <rbmlist at gmail.com> wrote:
> Hello everyone
>
> I haven't used iptables much, but I've recently started using it to
> monitor traffic.
>
> I checked it today and found different values for
>



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell