Lekensteyn / ssh-blocker

Block IP addresses based on SSH logs
11 stars 7 forks source link

ipset counter functionality #6

Open Lekensteyn opened 9 years ago

Lekensteyn commented 9 years ago

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.

lotan commented 9 years ago

That sounds like a very good avenue to follow. I might do it as well as soon as I have time.