Linux 3.9 gained the ability to store counters for ipset. This would remove the need for custom data structures to store hit counts. Investigate whether this is beneficial, and modularize it such that non-supporting kernels fallback to the iplist method.
Linux 3.9 gained the ability to store counters for ipset. This would remove the need for custom data structures to store hit counts. Investigate whether this is beneficial, and modularize it such that non-supporting kernels fallback to the iplist method.