bird looking glass
Find a file
Baptiste Jonglez e502129656 Fix parsing of 'show protocols' with bird 1.4
The current parsing was broken because of a change in the date format.

Actually, the new method is much simpler, and should resist small syntax
changes in Bird's output.  We don't use an ugly regexp anymore.

Important limitation: parsing will be messed up if the date contains a
space character.  This does not happen with the default date format of
both bird 1.3 and bird 1.4, but since the date format is configurable in
bird, it may happen anyway.
2014-12-15 19:51:27 +01:00
static Rewrite the way that user input is handled 2012-10-17 16:17:52 +02:00
templates Don't hardcode tetaneutral.net in the site title 2014-01-28 16:17:28 +01:00
.gitignore Remove inused import and ignore bytecode 2012-05-07 11:17:43 +02:00
bird.py Add restrict command 2012-05-27 14:32:50 +02:00
COPYING README/COPYING Update 2012-03-28 15:18:01 +02:00
gpl-3.0.txt Add licence and readme 2011-12-16 11:06:15 +01:00
lg.cfg Allow to configure the bind address of bird-lg 2014-02-12 22:09:09 +01:00
lg.py Fix parsing of 'show protocols' with bird 1.4 2014-12-15 19:51:27 +01:00
lg.wsgi use current file name 2012-08-21 11:55:16 +02:00
lgproxy.cfg Change lg-proxy to lgproxy to easly import it in wsgi part2 2014-02-18 11:57:44 +01:00
lgproxy.py Merge remote-tracking branch 'zorun/master' 2014-03-18 14:09:36 +01:00
lgproxy.wsgi Change lg-proxy to lgproxy to easly import it in wsgi 2014-02-18 11:52:43 +01:00
README.mkd Change lg-proxy to lgproxy to easly import it in wsgi part2 2014-02-18 11:57:44 +01:00
toolbox.py Add support for configuring the DNS-based ASN → name mapping service. 2014-01-28 15:49:15 +01:00

BIRD-LG

This is a looking glass for the Internet Routing Daemon "Bird".

Software is split in two parts:

  • lgproxy.py:

    It must be installed and started on all bird nodes. It act as a proxy to make traceroute and bird query on the node. Access restriction to this web service can be done in file "lgproxy.cfg" (only IP address based restriction for now).

  • lg.py:

    This is the frontend, a web based UI that request informations to all lgproxy.py nodes. The domain and the list of all bird nodes can be done.



                                         ***************
                                    +--> * lgproxy.py *
                                    |    ***************
                                    |  
********       *******************  |    ***************
* USER * ----> * webserver/lg.py *--+--> * lgproxy.py *
********       *******************  |    ***************
                                    |  
                                    |    ***************
                                    +--> * lgproxy.py *
                                         ***************

bird-lg depends on :

  • python-flask >= 0.8
  • python-dnspython
  • python-pydot

Each services can be embedded in any webserver by following regular python-flask configuration.

Only tested with bird 1.2.5.

Source code is under GPL 3.0, powered by Flask, jQuery and Bootstrap.

Copyright © 2012 Mehdi Abaakouk sileht@sileht.net