per host accounting

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

 



Hi,

I need a way to account traffic (bytes) for ~500 ips (fixed),  and it
seems creating a plain 500 rules will affect the performance a lot.
Without implement layered rule (like a binary search?) , is there
something existing to do automatic hashing?
Things like hashlimit is great, but I don't need limit matching
function, just a way to create a hashtable and count bytes and
packets.

If there's none, I suppose it would easy enough to fork some hashlimit
code to do this.

Cheers.
--
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