LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-27-2005, 03:12 AM   #1
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Rep: Reputation: 15
iptables counters?


Ok....so if the counters will overflow if you leave them long enough, and to deal with this problem you may simply use the command "iptables -Z" to zero all counters. That would be really good information if I actually realized what the counters actually did!!!

Ive read a lot of information on iptables, but none of it really explain what the counters do.

Anyone?
 
Old 09-27-2005, 11:07 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Keep a running total of the number of packets and number of bytes that have been passed to a given chain. So by looking at the counters listed for the OUTPUT chain, it will tell you the number of outbound packets that have been sent and the total number of bytes in that traffic. Also note that the term 'overflow" is not being used in the same sense as a "buffer overflow". I believe it just resets and begins counting again, in which case the numbers listed would not be accurate. So you don't need to constant reset them to keep your machine from crashing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resetting eth0 RX and TX counters? rylan76 Linux - Networking 1 10-03-2005 04:02 AM
Mozilla counters in the cache Chiel Linux - Newbie 1 08-29-2004 05:57 PM
Apache - SSI, Forms, Counters, Forums Kumado Linux - Software 0 08-20-2004 07:54 AM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 06:08 AM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration