Re: How to enable "bytes=" output in "conntrack -L" output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 2012-11-03 12:48, Thomas Perl wrote:
>
>However, on my machine when running "conntrack -L" (as root), I do get
>output, but without the "bytes=" part:
>
>tcp      6 ZZZZ ESTABLISHED src=X.X.X.X dst=Y.Y.Y.Y sport=XXX
>dport=YYY src=X.X.X.X dst=Y.Y.Y.Y sport=XXX dport=YYY [ASSURED] mark=0
>use=1

	sysctl -w net.netfilter.nf_conntrack_acct=1

(or via /etc/sysctl.conf, or any other method that is integrated
with your distro)

Afterwards which  new connections will be byte/packet-counted as well.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux