[mirror-admin] MM 1.3.2, now with automatic network lookups
Chris Adams
cmadams at hiwaay.net
Mon Sep 28 23:38:59 EDT 2009
Once upon a time, Matt Domsch <matt at domsch.com> said:
> On Mon, Sep 28, 2009 at 10:15:40PM -0500, Chris Adams wrote:
> > Once upon a time, Matt Domsch <matt at domsch.com> said:
> > > Anyone know where I can get a RIB that includes IPv6? :-)
> >
> > Where (and how) are you getting an IPv4 table?
>
> I'm pulling it from ftp.routeviews.org/dnszones, so I could use
> archive.routeviews.org and grab a v6 RIB here:
>
> http://archive.routeviews.org/route-views6/bgpdata/2009.09/RIBS/
>
> anyone have a _clean_ way to parse a directory listing like that? /me
> wishes for a 'latest' symlink.
You might ask them if they'd mind adding that (the data is there for
people to look at after all). Otherwise, all you really need to do is
to look for the links to rib.<foo>.bz2 and sort (they are zero padding,
so a simple lexical sort will work). You'll have to deal with the
directory name as well though.
Or, you could cheat, and just try to download what would be the latest
file (they are .../YYYY.MM/RIBS/rib.YYYYMMDD.HH00.bz2 where HH is even
and the times are UTC) and just count backwards until you get a hit (or
limit it to one day's worth of tries).
> I don't really want to make it a requirement for MM to have a BGP
> router set up just to get this. BGPmon would be similar and lighter
> weight, but still... Downloading the tables is OK for my purposes for
> now.
Fair enough. I come at problems from an ISP approach; I've got a number
of servers running BGP, OSPF, or both in my network. :-)
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
--
More information about the Mirror-admin
mailing list