* conntrack does not display bytes and packets
@ 2011-05-12 6:49 Vieri
2011-05-12 6:53 ` "Oleg A. Arkhangelsky"
0 siblings, 1 reply; 3+ messages in thread
From: Vieri @ 2011-05-12 6:49 UTC (permalink / raw)
To: netfilter
Hi,
Since I updated my kernel to 2.6.36 and 2.6.37, /proc/net/nf_conntrack and conntrack -L do NOT show "packets" and "bytes" even for ASSURED / REPLIED connections.
It seems that both of these data (bytes and packets) have disappeared from conntrack/netfilter.
Am I missing something? Is there an option somewhere to restore earlier behavior (previous kernels/netfilter would always display both bytes and packets)?
Example when opening google:
ipv4 2 tcp 6 431999 ESTABLISHED src=10.215.144.48 dst=209.85.147.104 sport=52531 dport=80 src=209.85.147.104 dst=10.215.144.48 sport=80 dport=52531 [ASSURED] mark=0 secmark=0 use=2
ipv4 2 tcp 6 431999 ESTABLISHED src=10.215.144.48 dst=209.85.147.104 sport=52533 dport=80 src=209.85.147.104 dst=10.215.144.48 sport=80 dport=52533 [ASSURED] mark=0 secmark=0 use=2
ipv4 2 tcp 6 431999 ESTABLISHED src=10.215.144.48 dst=209.85.147.104 sport=52530 dport=80 src=209.85.147.104 dst=10.215.144.48 sport=80 dport=52530 [ASSURED] mark=0 secmark=0 use=2
ipv4 2 tcp 6 431998 ESTABLISHED src=10.215.144.48 dst=209.85.147.104 sport=52532 dport=80 src=209.85.147.104 dst=10.215.144.48 sport=80 dport=52532 [ASSURED] mark=0 secmark=0 use=2
Previous kernel/netfilter would show something like this:
tcp 6 73 TIME_WAIT src=10.215.144.7 dst=209.85.147.104 sport=35407 dport=80 packets=15 bytes=1386 src=209.85.147.104 dst=192.168.92.2 sport=80 dport=35407 packets=11 bytes=10180 [ASSURED] mark=1 use=1
(note "bytes" and "packets")
Thanks,
Vieri
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: conntrack does not display bytes and packets
2011-05-12 6:49 conntrack does not display bytes and packets Vieri
@ 2011-05-12 6:53 ` "Oleg A. Arkhangelsky"
2011-05-12 7:24 ` Vieri
0 siblings, 1 reply; 3+ messages in thread
From: "Oleg A. Arkhangelsky" @ 2011-05-12 6:53 UTC (permalink / raw)
To: Vieri; +Cc: netfilter
12.05.2011, 10:49, "Vieri" <rentorbuy@yahoo.com>:
> Hi,
>
> Since I updated my kernel to 2.6.36 and 2.6.37, /proc/net/nf_conntrack and conntrack -L do NOT show "packets" and "bytes" even for ASSURED / REPLIED connections.
>
> It seems that both of these data (bytes and packets) have disappeared from conntrack/netfilter.
>
I think you should set net.netfilter.nf_conntrack_acct=1 to enable conntrack accounting.
--
wbr, Oleg.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: conntrack does not display bytes and packets
2011-05-12 6:53 ` "Oleg A. Arkhangelsky"
@ 2011-05-12 7:24 ` Vieri
0 siblings, 0 replies; 3+ messages in thread
From: Vieri @ 2011-05-12 7:24 UTC (permalink / raw)
To: netfilter
--- On Thu, 5/12/11, "Oleg A. Arkhangelsky" <sysoleg@yandex.ru> wrote:
> I think you should set net.netfilter.nf_conntrack_acct=1 to
> enable conntrack accounting.
Thanks Oleg.
That did it.
Vieri
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-12 7:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12 6:49 conntrack does not display bytes and packets Vieri
2011-05-12 6:53 ` "Oleg A. Arkhangelsky"
2011-05-12 7:24 ` Vieri
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.