Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's very computationally inefficient.


> That's very computationally inefficient.

It's O(1) with iptables/nftables ipsets. Moreover as I blocklist entire CIDR blocks, there aren't that many entries in those ipsets.


You can trivially maintain a list of the size of the whole ipv4 space by using bitmaps




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: