[netfilter-core] How many bits are reserved for the counters?

Harald Welte laforge at netfilter.org
Sat Aug 27 13:09:16 CEST 2005


On Sat, Aug 27, 2005 at 09:36:46AM +0200, Glenn Matthys wrote:
> Hello,
> 
> I am using IPtables for traffic accounting right now, and my question is, how many bits are 
> reserved for the counters? If they are 32 bits, they'll probably overflow and return to 0 
> after 4294967296 bytes, 4096 megabytes that is. Is there any way of overcoming this?

it's 64bit packet and byte counters, so I seriously doubt you would
overflow them anytime soon ;)

-- 
- Harald Welte <laforge at netfilter.org>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/netfilter/attachments/20050827/43574c55/attachment.bin


More information about the netfilter mailing list