virus2500 / blocklist-with-ipset

Create an ipset based blocklist imported from an text file (automatically downloaded from e.g. blocklist.de. Multiple Sources at once supported).
MIT License
9 stars 6 forks source link

IPv6 /64 network #5

Open CRtEurope opened 8 years ago

CRtEurope commented 8 years ago

At the moment only single ipv6 can be blocked (as e.g. 2607:5300:60:2d63::/128 [2607:5300:60:2d63::]) What if I want to block an iprange as /64 as e.g. 2a01:4f8:d16:eca::/64

virus2500 commented 8 years ago

Hi, first of all sorry it took so long for me to respond. I didn't get an notification... :(

i am afraid this isn't possible at the moment. From what i understand the script would have to add another ipset list with a net instead of an hash. Maybe i should use ip instead of hash anyway. But thats another story i have to look into.

Unfortunatly i am pretty busy with other stuff at the moment so ... it might take a long time till i get to it.

Maybe someone else has time to look into it?