Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
 pkts bytes target     prot opt in     out     source               destination         
12770 2385K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           quota: 2000000 bytes
0     0 DROP       all  --  any    any     anywhere             anywhere            

How can this be? I've set limit to 2M, but it's now 2.385M and still accepting

Since 2010-07-23 15:07:47 commit "report initial quota value instead of current value to userspace" it became uncertain what the current value of quota is and I relied on bytes counter (when I reset the quota the counter is reset too). Why it fails?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Just revert this commit and enjoy quotas.

(Hovewer, I see inconsistent measurements sometimes; but in general in more works than not).

Considering netfilter quotas unreliable (both usual and with reverted commit).

share|improve this answer
add comment

Your Answer

 
discard

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.