Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Crowdsec: A Fail2Ban alternative written in Go. Parent comment
How many IP adresses are valid? Can't you hash them all and compare them with the hash you receive?
2^32 IPs is 4GB * 4 Bytes (1 IP) + 4GB * size of the hash should be the needed space I think.
There are no comments on this comment yet.
How many IP adresses are valid? Can't you hash them all and compare them with the hash you receive?
2^32 IPs is 4GB * 4 Bytes (1 IP) + 4GB * size of the hash should be the needed space I think.