intro.rst (mod_asn-1.6) | : | intro.rst (mod_asn-1.7) | ||
---|---|---|---|---|
skipping to change at line 74 | skipping to change at line 74 | |||
processing handler inside Apache. For usage outside of Apache, a small | processing handler inside Apache. For usage outside of Apache, a small | |||
libpq-based standalone daemon could be written that queries the database. | libpq-based standalone daemon could be written that queries the database. | |||
Alternatively, a small handler could be written for mod_asn that does nothing | Alternatively, a small handler could be written for mod_asn that does nothing | |||
than read an IP address from a request body (or URL) and return the result | than read an IP address from a request body (or URL) and return the result | |||
(effectively implementing such a specialized server within Apache). | (effectively implementing such a specialized server within Apache). | |||
One argument for the ip4r data type in PostgreSQL is that it is IPv6-ready. | One argument for the ip4r data type in PostgreSQL is that it is IPv6-ready. | |||
Some IPv6 autonomous systems already exist (about 800 as of the beginning of | Some IPv6 autonomous systems already exist (about 800 as of the beginning of | |||
2009). | 2009). | |||
*Update June 2015*: There are ~9747 IPv6 ASs (mapped to ~24000 prefixes). ip4r | ||||
fully supports IPv6 since version 2.x, and is currently rolled out. mod_asn | ||||
uses this capability from version 1.7 on. | ||||
Usage with :term:`MirrorBrain` | Usage with :term:`MirrorBrain` | |||
-------------------------------- | -------------------------------- | |||
mod_asn can support mod_mirrorbrain (see http://mirrorbrain.org). | mod_asn can support mod_mirrorbrain (see http://mirrorbrain.org). | |||
mod_mirrorbrain can use the data (set in the subprocess environment) for its | mod_mirrorbrain can use the data (set in the subprocess environment) for its | |||
mirror selection algorithm. | mirror selection algorithm. | |||
The ``mb`` tool that comes with MirrorBrain provide means to query the database: : | The ``mb`` tool that comes with MirrorBrain provide means to query the database: : | |||
# mb iplookup mirror.susestudio.com | # mb iplookup mirror.susestudio.com | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added |