Hi folks,

Rafis ip4r extension for PostgreSQL works fine, I just tested the newly build 
mod_asn
which requires it. This is a step towards reworking our mirror infrastructure 
to include
real geo-based loadbalancing with 'mirrorbrain'. It works like this:
- fetch routeviews data containing the AS (autonomous systems) numbers from BGP 
and prefixes
- extract a mapping between ip network and AS number
- import this into a postgres database with ip4r (ipv4 range) datatype
- load module into apache which maps clients to AS number and adds that to the 
env and header
This can then further be used to select the closest mirror, a step that is not 
done yet.

If anybody is interested, I have my install notes (very brief) at
  http://wiki.opencsw.org/mod-asn
Unreleased packages are at
  http://buildfarm.opencsw.org/experimental.html#mirrorbrain
It also requires a apr-util dbd module with postgres enabled which also has 
been rebuilt at
  http://buildfarm.opencsw.org/experimental.html#apr-1.5


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to