Re: Packet statistics accounting module: request for comments

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

 



On Tuesday 2011-10-04 21:03, Julien Lafaye wrote:
>
>My objective was to count incoming packets & bytes received during 
>short time frames,[...] So, I chose to build time buckets directly in 
>the softirq handler and export them with /proc. I agree that polling 
>the xt_quota2 counter and resetting at each poll will achieve the same 
>functionality but I would run tests to check that polling is actually 
>scheduled at regular enough intervals.

I still think this could be integrated, perhaps as an extra option to 
choose a particular recording mode, to xt_quota2 (including the fifo).
Speaking of which, your module seems to lack locking on the ctx, so it's 
not very consistent on SMP as of yet.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux