FurnishedChunk / pyspades

Automatically exported from code.google.com/p/pyspades
0 stars 0 forks source link

Ban enhancements post CIDR addition #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In a conversation about the CIDR ban addition with Enari, the added option of 
adding bans in another form of say 172.16.0.10-40, or 172.16.0.0-172.31.255.255 
came up. They can be implemented in constant time (a <= ip <= b) so it wouldn't 
add much overhead to the existing ban system. Naturally they'd need a bit more 
checking when being added since they can't simply be parsed with inet_pton, but 
it might be helpful for some admins. Thoughts?

Original issue reported on code.google.com by thalag...@gmail.com on 7 Sep 2011 at 1:07

GoogleCodeExporter commented 9 years ago

Original comment by thalag...@gmail.com on 7 Sep 2011 at 1:07

GoogleCodeExporter commented 9 years ago
I agree! Also this should be added to the ban publish/subscribe 

Original comment by en...@minit.nu on 8 Sep 2011 at 3:29