Fabien VINCENT
9df351a4fb
Allo to show route as JSON value
...
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"
}
]
}
}
2018-07-16 14:37:17 +02:00
Fabien VINCENT
01ec638435
Add a method to allow queries on API and return the same data from show route as JSON value
...
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"
}
]
}
}
2018-07-16 12:51:08 +02:00
Consorci de Serveis Universitaris de Catalunya
1f0efcaa2c
Add more happy users
2018-06-26 11:01:40 +02:00
zorun
6db7c78a31
Merge pull request #33 from zorun/happy_users
...
Add more happy users
2018-05-26 11:29:49 +02:00
zorun
1923aeea9d
Merge pull request #32 from zorun/init_systemd
...
Add example systemd unit files, courtesy of ARN
2018-05-26 11:29:34 +02:00
Baptiste Jonglez
4f4c903c05
Add example systemd unit files, courtesy of ARN
2018-05-26 11:28:53 +02:00
Baptiste Jonglez
38e365c6a0
Add more happy users
2018-05-26 00:48:13 +02:00
Stefan
a3babe00d9
bind lgproxy.py optionally to an IP
...
Add the options
```BIND_IP = "0.0.0.0"
BIND_PORT = 5000```
which allows to bind lgproxy.py to an IP/interface.
As ports on routers shouldn't be exposed too much, it probably also makes sense to others to have this function. Tested.
2018-04-07 12:18:09 +02:00
Maikel de Boer
a745a13267
Fixed requirements in README.
2017-10-30 19:15:21 +01:00
Mehdi ABAAKOUK
5929afb5ec
Merge pull request #28 from loopodoopo/master
...
fixed SUMMARY_RE_MATCH to work with uptime longer then a day.
2017-10-30 19:15:02 +01:00
Maikel de Boer
53d2000863
fixed SUMMARY_RE_MATCH to work with uptime longer then a day.
2017-10-30 13:17:23 +01:00
Mehdi ABAAKOUK
92be35bdc8
Merge pull request #27 from oszafraniec/master
...
'NoneType' object has no attribute 'split'
2017-10-26 15:36:58 +02:00
Oskar Szafraniec
3f31a86d6a
'NoneType' object has no attribute 'split'
2017-10-26 13:10:08 +02:00
root
93124adf1b
fix uptime parsing
2017-09-19 21:15:15 +02:00
Mehdi Abaakouk
ed7494b14b
fix fmt args
2017-08-16 22:44:23 +02:00
Mehdi Abaakouk
2342607092
Allow get svg
2017-08-16 22:40:07 +02:00
Mehdi Abaakouk
6dfd9f7546
Use base64 for bgpmap
2017-08-16 22:40:07 +02:00
Mehdi Abaakouk
c01c5c765f
Update COPYING
2017-08-04 15:28:01 +02:00
Mehdi Abaakouk
5a19d60697
Remove obsolete bird version
2017-08-04 15:04:57 +02:00
Mehdi Abaakouk
f1ba5747e5
Add arn
2017-08-04 15:02:14 +02:00
Mehdi Abaakouk
0a9c6ea98b
Add some link examples
2017-08-04 15:00:07 +02:00
Mehdi ABAAKOUK
a6b3a84080
Merge pull request #12 from rodecker/master
...
Specify bird socket file location in config
2016-10-09 07:30:17 +02:00
Mehdi ABAAKOUK
a849ede683
Merge pull request #13 from rodecker/upstream
...
peer uptime is either date or time
2016-10-09 07:29:22 +02:00
root
f0058c6a41
Add prepend info on graph
2016-03-02 09:46:51 +01:00
Martin Pels
417912fca8
peer uptime is either date or time
2015-09-08 11:54:46 +02:00
Martin Pels
b458f2dcc3
peer uptime is either date or time
2015-09-08 11:47:17 +02:00
Martin Pels
9de7dee49c
Specify bird socket file location in config
2015-09-08 11:46:07 +02:00
Mehdi Abaakouk
6a7bd7f228
Allow configure asn cache expiration
2014-04-20 17:20:52 +02:00
Mehdi Abaakouk
9822e42e25
Add resolv timeout, store asn in memcache
2014-04-20 17:02:22 +02:00
Mehdi Abaakouk
af2c305049
Merge remote-tracking branch 'zorun/master'
2014-03-18 14:09:36 +01:00
Mehdi Abaakouk
cbdaa9138c
Change lg-proxy to lgproxy to easly import it in wsgi part2
2014-02-18 11:57:44 +01:00
Mehdi Abaakouk
63e978f84f
Change lg-proxy to lgproxy to easly import it in wsgi
2014-02-18 11:52:43 +01:00
Baptiste Jonglez
ffafef27cd
Allow to configure the bind address of bird-lg
2014-02-12 22:09:09 +01:00
Baptiste Jonglez
fe9a7f8fe4
Use traceroute{,6} on BSD instead of traceroute -{4,6}
2014-01-28 17:01:47 +01:00
Baptiste Jonglez
5cb45d5785
Fix commit e75842b0
(typo)
2014-01-28 16:44:32 +01:00
Baptiste Jonglez
e75842b025
Fix traceroute options for FreeBSD, OpenBSD, NetBSD
2014-01-28 16:33:19 +01:00
Baptiste Jonglez
317de87866
Don't hardcode tetaneutral.net in the site title
2014-01-28 16:17:28 +01:00
Baptiste Jonglez
fe4e8caf2f
Fix bgpmap (Graphviz does not seem to like empty labels)
2014-01-28 15:49:15 +01:00
Baptiste Jonglez
e557dd651b
Catch possible exceptions thrown by the ASN DNS resolver
2014-01-28 15:49:15 +01:00
Baptiste Jonglez
2418d13d07
Add support for configuring the DNS-based ASN → name mapping service.
2014-01-28 15:49:15 +01:00
Baptiste Jonglez
ca7eb2b9ac
Add support for a configurable whois server
2014-01-28 15:46:27 +01:00
Mehdi ABAAKOUK
6b7dfbb7a9
Merge pull request #7 from benpro/patch-1
...
Fix ASCII schema and some sentences.
2013-08-20 01:11:43 -07:00
Benoît.S
3fbdba357d
Fix ASCII schema and some sentences.
2013-08-20 09:58:40 +02:00
Mehdi Abaakouk
1d20093048
Add access log
2012-11-27 20:05:54 +01:00
Mehdi Abaakouk
298b1459fa
Handle error correctly
2012-10-17 16:33:02 +02:00
Mehdi Abaakouk
6311df95e8
Rewrite the way that user input is handled
2012-10-17 16:17:52 +02:00
Mehdi Abaakouk
5bb5d42d0f
Fix index error in last commit
2012-10-17 11:36:36 +02:00
Mehdi Abaakouk
c22e73c7f8
Fix error when sanitized have only 1 argument
2012-10-17 11:32:33 +02:00
Mehdi Abaakouk
8419152668
Fix issue #2
2012-10-16 08:07:30 +02:00
Mehdi Abaakouk
b593b0cfb7
escape some string
2012-10-16 08:01:10 +02:00