| Jaco Kroon on Sat, 2 May 2009 21:24:44 +0200 (SAST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| [GLUG-tech] Re: BGP |
Charl van Niekerk wrote: > On Sat, May 2, 2009 at 8:52 PM, Jaco Kroon <jaco@xxxxxxxxxxx> wrote: >> I was aware of Mauritius, but only just noticed the others now when I >> took this to RouterOS ... what a nightmare to not have a decent >> scripting language - better than none at all, but ffs, it's not exactly >> bash either. > > Oh yeah, no kidding! I have actually been looking at pybgpdump [1], > haven't had the time to play with it yet but might be interesting to > build some kind of automatically updated list that can be displayed on > the web and/or downloaded in XML format or something. This is handy > for building websites that "sniff" which country the user is coming > from - South Africa or not. What format would suit you? I reckon I can cook up the following pretty quickly: * plaintext list with prefix/legnth per line, eg: 1.2.3.4/16 196.25.0.0/16 * a simple yes/no, you basically request http://routes.uls.co.za/isinza/?ip=1.2.3.4 and you get back a simple "yes" or "no" * xml (but you'll need to specify the tags, cause this really is just a flat list, so plaintext for me makes MUCH more sense). Anything else? Jaco -- To unsubscribe: send the line "unsubscribe glug-tech" in the subject of a mail to "glug-tech-request@xxxxxxxxxxxx". Problems? Email "glug-tech-admins@xxxxxxxxxxxx". Archives are at http://www.linux.org.za/Lists-Archives/ RULES: http://www.linux.org.za/glugrules.html