mod_asn looks up the AS and network prefix of IP address
mod_asn is an Apache module doing lookups of the autonomous system (AS)[1], and
the network prefix[2] which contains a given (clients) IP address.
It is written with scalability in mind. To do high-speed lookups, it uses the
PostgreSQL ip4r datatype[3] that is indexable with a Patricia Trie[4] algorithm to
store network prefixes. This is the only algorithm that can search through the
~250.000 existing prefixes in a breeze.
It comes with script to create such a database (and keep it up to date) with
snapshots from global routing data - from a router's "view of the
world", so to speak.
Apache-internally, the module sets the looked up data as env table variables,
for perusal by other Apache modules. In addition, it can send it as response
headers to the client.
It is published under the Apache License, Version 2.0.
Project web page: http://mirrorbrain.org/mod_asn/
Source code: http://svn.mirrorbrain.org/svn/mod_asn/trunk/
Author: Peter Poeml
Links:
[1] http://en.wikipedia.org/wiki/Autonomous_system_(Internet)
[2] http://en.wikipedia.org/wiki/Subnetwork
[3] http://pgfoundry.org/projects/ip4r/
[4] http://en.wikipedia.org/wiki/Radix_tree
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout Apache:MirrorBrain/apache2-mod_asn && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
apache2-mod_asn.changes | 0000010653 10.4 KB | |
apache2-mod_asn.dsc | 0000000221 221 Bytes | |
apache2-mod_asn.spec | 0000004143 4.05 KB | |
asn_get_routeviews_-_handle_https.patch | 0000001580 1.54 KB | |
debian-compat.diff | 0000000134 134 Bytes | |
debian-control.diff | 0000000579 579 Bytes | |
debian-rules.diff | 0000000377 377 Bytes | |
debian.changelog | 0000000823 823 Bytes | |
debian.series | 0000000069 69 Bytes | |
mod_asn-1.7.tar.gz | 0000024154 23.6 KB |
Latest Revision
- added asn_get_routeviews_-_handle_https.patch: + mirrorbrain.org redirects everything to https -> do this in the script directly + mirrorbrain.org meanwhile uses an Let's encrypt certificate + use urllib2 and avoid checking the SSL certificate - small fixes in Summary and Description to get rid of rpmlint warnings - use python directly, without env interpreter for openSUSE
Comments 0