News for hackers. Stuff that matters.
Re:Ask HN: Can we collaborate on a IP Address or Regex black... by thephyber on Tuesday April 06, 2021 @11:28PM (#26720282)
Have you considered the scale of the problem and how it would affect performance on your server?

Running pattern matching early in Node middleware that checks against a very very large block list will progressively choke every server that implements it.

If you decide to implement it, I recommend you look at how GeoMind API works. IP addresses are just displayed as octets for human readability; use the integer representation for faster+cleaner comparisons.

There are no comments on this comment yet.