All of lore.kernel.org
 help / color / mirror / Atom feed
* connbytes & 64bit counters
@ 2006-10-24 22:53 Krzysztof Oledzki
  2006-10-25 22:20 ` Patrick McHardy
  0 siblings, 1 reply; 21+ messages in thread
From: Krzysztof Oledzki @ 2006-10-24 22:53 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 738 bytes --]

Hello,

It seems there is something wrong with connbytes and 64bit conters.

The "iptables" manual mention that counters are 64bit, so there should be 
no problem with overflows, but it seems it might not be true. My firewall 
puts long living ftp & http connections to a different TC class when they 
reach 256MB, but aftear they reach 4GB (probably) they go back to the 
default class, with no speed limit.

After some researches I found that ip_conntrack_counter structure defined 
in nf_conntrack_common.h uses u_int32_t. I always thought that netfilter 
has 64bit counters, hasn't it? And I'm quite sure it used to work when I 
set up my firewall, about 1 year ago. Stange...

Best regards,

 				Krzysztof Olędzki

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2007-08-29 11:31 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-24 22:53 connbytes & 64bit counters Krzysztof Oledzki
2006-10-25 22:20 ` Patrick McHardy
2006-10-28 16:48   ` Krzysztof Oledzki
2006-10-30 12:01     ` Amin Azez
2006-10-30 15:54     ` Patrick McHardy
2006-10-30 20:01       ` Krzysztof Oledzki
2006-11-23 14:05         ` Patrick McHardy
2006-11-23 21:04           ` Pablo Neira Ayuso
2006-11-24  9:09             ` Patrick McHardy
2006-12-25  1:59               ` Krzysztof Oledzki
2007-01-10 13:36                 ` Patrick McHardy
2007-01-15 10:45                   ` Krzysztof Oledzki
2007-01-15 14:37                     ` Patrick McHardy
2007-07-20 22:13                       ` Krzysztof Oledzki
2007-07-20 22:42                         ` Krzysztof Oledzki
2007-07-21  4:18                           ` Patrick McHardy
2007-07-21 16:38                             ` Jan Engelhardt
2007-07-23  2:27                             ` Yasuyuki KOZAKAI
     [not found]                             ` <200707230227.l6N2R1hs010163@toshiba.co.jp>
2007-08-06 11:30                               ` Krzysztof Oledzki
2007-08-29 11:31                                 ` Krzysztof Oledzki
2006-11-01 15:08       ` Amin Azez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.