Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In a Linux netfilter router, connections table only includes information on end of connections. Where I reach real time rx/tx information for each connection? (In freebsd, session table already provides)

Thank you.

share|improve this question
Can you work on improving your question? It isn't very clear. – Zoredache Nov 16 '12 at 0:14
up vote 0 down vote accepted

I am replying my own question:

The answer is conntrack accounting.

sysctl -w net.netfilter.nf_conntrack_acct=1

tcp 6 299 ESTABLISHED src= dst= sport=35042 dport=22 packets=585 bytes=41244 src= dst= sport=22 dport=35042 packets=423 bytes=195796 [ASSURED] mark=0 use=2

Thank you,

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.