News for hackers. Stuff that matters.
Re:GDPR for side-projects? Blocking all EU traffic with Ngin... by cpburns2009 on Friday May 18, 2018 @02:50PM (#17103948)
While this sounds like an overreaction, I question the breadth of this method (unrelated to the reliability of IP address origin).

> This tells nginx to assign the $allow_visit variable a 0 for any users the GeoIP database specifies as coming from the “EU” continent.

Europe is the continent. The EU does not encompass all European countries. Doesn't this needlessly block non-EU European countries?

Re:GDPR for side-projects? Blocking all EU traffic with Ngin... by ummjackson on Friday May 18, 2018 @03:15PM (#17104155)
Good point, it likely does. Alternatively, you could set up the rules using country and list out the 28 that make up the EU.