jow- / nlbwmon

Simple conntrack based traffic accounting
ISC License
147 stars 33 forks source link

[docs] Add a note about setting nf_conntrack_acct #35

Open oofnikj opened 4 years ago

oofnikj commented 4 years ago

Not sure if this is relevant outside of my niche use case, but I spent several hours trying to debug why all my packet counters were zero and finally realized that I needed the following sysctl:

net.netfilter.nf_conntrack_acct = 1

This was set to 0 on my system. Setting it to 1 and restarting nlbwmon fixed it. Might be helpful for someone in the future.