Closed jfesler closed 10 years ago
From jfesler on February 20, 2011 22:51:32
mod_ip.c updated. Thanks for the pointers!
remote_ip.php: doesn't bother trying at all. ip.py: deprecated.
Status: Fixed
From jfes...@gigo.com on April 29, 2013 11:04:39
Blocking: -falling-sky:38 falling-sky:38 falling-sky:38
From jfesler on January 16, 2011 12:24:08
norman@[withheld] suggests:
I noticed that SixXS subnets are not detected properly though :-)This is mostly because the network addresses can't be expressed as regular expressions.For the apache module you might be able to use apr_ipsubnet_create and apr_ipsubnet_test, but I'm not sure how you'd get the apr_sockaddr_t to pass to test.
For appengine, you could use a library like http://code.google.com/p/ipaddr-py/ This would allow you to use the addresses with netmask size, and use "addr in IPv6Network".
Original issue: http://code.google.com/p/falling-sky/issues/detail?id=14