falling-sky / source

Main source for falling-sky. Mostly HTML, JavaScript.
MIT License
801 stars 144 forks source link

6in4 detection suggestions #18

Closed jfesler closed 10 years ago

jfesler commented 10 years ago

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

jfesler commented 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

jfesler commented 10 years ago

From jfes...@gigo.com on April 29, 2013 11:04:39

Blocking: -falling-sky:38 falling-sky:38 falling-sky:38