mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-25 16:24:43 +01:00
01ec638435
Example : https://[[LG_MASTER]]/api/[[LG_NODES_LIST]]/ipv4?q=8.8.8.8 Return : { "[[LG_NODES_LIST]]": { "result": [ { "origin": "IGP", "med": 0, "via": "1.1.1.2", "last": "2018-07-10", "network": "8.8.8.0", "localPref": 350, "asPath": "15169", "originatorId": { "addr": "4.4.4.4", "reverse": "router.fr.eu" }, "community": [ "65000:65000" ], "clusterList": [ "9.89.6.6", "9.89.8.8" ], "netmask": "24", "fromPeer": "bird", "from": "4.4.4.4", "nextHop": { "addr": "1.1.1.2", "reverse": "google.fr.eu" }, "ipType": "IPv4" } ] } } |
||
---|---|---|
init | ||
static | ||
templates | ||
.gitignore | ||
bird.py | ||
COPYING | ||
gpl-3.0.txt | ||
lg.cfg | ||
lg.py | ||
lg.wsgi | ||
lgproxy.cfg | ||
lgproxy.py | ||
lgproxy.wsgi | ||
README.mkd | ||
toolbox.py |
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
- python-memcache
- graphviz
- whois
- traceroute
Each services can be embedded in any webserver by following regular python-flask configuration.
Source code is under GPL 3.0, powered by Flask, jQuery and Bootstrap.
Copyright © 2012 Mehdi Abaakouk sileht@sileht.net
Happy users
- https://lg.ovh.net/
- http://lg.beta.as6453.net/
- https://lg.hamburg.freifunk.net/start
- http://lg.ring.nlnog.net/
- https://lg.tetaneutral.net/
- https://lg.gitoyen.net/
- http://lg.as5580.net/
- https://lg.ldn-fai.net/
- http://lg.arn-fai.net
- https://lg.grenode.net/
- http://lg.dataix.ru/
- https://lg.blix.com/
- https://lg.man-da.de/
- http://route-server.belwue.net/
- https://lg.exn.uk/
- http://lg.meerfarbig.net/
- http://lg.netnation.com/
- http://lg.edxnetwork.eu/
- https://lg.hivane.net/
- https://atw.hu/looking-glass
- http://lg.sibir-ix.ru/
- http://lg.interlan.ro/
- http://lg.as35266.net/
- https://lg.atw.co.hu/
- http://lg.as60362.net/
- http://lg.stuttgart-ix.de/
- http://www.bet3000.tv/
- https://lg.franceix.net/
- https://lg.fullsave.net/
- http://lg.catnix.net/