1
0
mirror of https://git.burble.com/burble.dn42/bird-lg.git synced 2024-05-12 03:55:36 +00:00

165 Commits

Author SHA1 Message Date
f3699a3b61 Merge pull request #4 from jlu5/burble-clean
templates/layout: remove capitalize filter from domain name
2020-05-20 19:46:42 +01:00
5a42c71c3d templates/layout: remove capitalize filter from domain name 2020-05-08 12:22:34 -07:00
e67aafde70 Merge pull request #2 from Tchekda/regex
Fixed COMBINED_UNWANTED_NAMES empty issue
2020-02-09 17:01:10 +00:00
28cd45ed6d Fixed COMBINED_UNWANTED_NAMES empty issue 2020-02-09 10:09:33 +00:00
e0735b82af Add functionality to filter the summary view based on protocol name as well as protocol type 2019-12-29 20:54:47 +00:00
4c4bfeb1b9 The latest python-memcached now returns results as binary, so the result needs to be decoded. 2019-10-03 10:28:19 +01:00
ac4945011b dict.iteritems -> dict.items python3 fix 2019-08-11 09:52:13 +01:00
fdec82cd90 Update sorting function in BGP map for python 3 2019-08-11 09:39:14 +01:00
4b4723b958 Prevent 4-byte AS capability from being treated like it is ASN
Sileht pull request #50
https://github.com/sileht/bird-lg/pull/50/files
2019-06-22 22:55:01 +01:00
08c1d47e64 Correct AS path prepend count in bgpmap
(Sileht pull request #53)
https://github.com/sileht/bird-lg/pull/53/files
2019-06-22 22:52:38 +01:00
6e828ffbe1 Add fixes from sileht pull request #52 for parsing of + when it appears in a URL
https://github.com/sileht/bird-lg/pull/52/files
2019-06-22 22:43:40 +01:00
7c27c84887 Merge branch 'master' into burble-clean 2019-06-22 22:35:25 +01:00
85963901f8 Merge pull request #48 from alarig/master
Applying patch from @fduraffourg that fixes #9
2019-06-07 01:25:27 +02:00
1967bebab7 rework bgpmap parsing so it is bird1 and bird2 compatible 2019-05-15 12:29:20 +01:00
0de6a8cfaa Additional minor fixes when using 'all' 2019-05-15 08:46:41 +01:00
594088be69 Merge Zhaofeng's updates to go from python2 to python3 and fix bgpmap funtionality. 2019-05-14 20:56:38 +01:00
f66e26cd6e Remove tabs in lg.py 2019-05-14 12:00:20 +01:00
06a3265278 Merge branch 'master' into burble-clean 2019-05-13 20:51:16 +01:00
83eaae5964 Add basic systemd hardening to example service files 2019-05-13 20:23:44 +01:00
50b1f1387e Applying patch from @fduraffourg that fixes #9 2019-04-12 19:34:07 +02:00
2ce03ebbb0 Merge pull request #38 from zorun/fix_protocol_parsing
Simplify parsing of 'show protocols' to avoid future breakages
2019-03-19 14:42:16 +01:00
fca8545fcf Merge pull request #1 from TimStallard/tds
better bgpmap internal route handling, other minor changes
2019-01-30 18:41:38 +00:00
a2d31a3a6c remove use of proto_default in routes, handled by bird/traceroute functions now 2019-01-30 18:34:46 +00:00
eb91179101 Use traceroute/traceroute6 as required, added config option to allow disabling traceroute6 for IPv4-only nodes 2019-01-30 18:33:10 +00:00
1f4d9423a9 Fix handling of non-ascii chars in bird output 2019-01-30 18:32:16 +00:00
284e2c9212 Changed more links to use unified pages 2019-01-28 13:12:26 +00:00
429bfbde3f Exclude direct protocols 2019-01-28 00:21:43 +00:00
7b2fcb584d Patched JS for unified v4/6 support 2019-01-28 00:11:43 +00:00
1b68bf7a18 Improved unified IPv4/6 support, also allows setting default 2019-01-27 23:44:24 +00:00
3c76d1679f Made all hosts available at /all, much shorter URLs when using many hosts 2019-01-27 23:42:16 +00:00
49ab7b003b Fix for internal routes via unselected hosts 2019-01-27 19:56:17 +00:00
cfaf39bac7 Better bgpmap handling for internal routes 2019-01-27 15:37:42 +00:00
4be9730746 Exclude BFD protos 2019-01-27 15:36:01 +00:00
452fd637b3 Allow for old style configs 2019-01-27 15:35:22 +00:00
417a7d3c27 Fix form input encoding to allow '+' in queries. 2019-01-20 18:45:33 +00:00
da571f9250 Add a timeout to lgproxy operations.
The timeout can help prevent a single, misbehaving server from blocking the page load.
2019-01-12 13:17:57 +00:00
aff65c0f6e - Fix bgpmap for bird2.
- Allow for having no ASN mapping service
- Remove trailing | when no ASN info is found
2019-01-12 12:49:31 +00:00
a9ce70b061 Fix protocol summary view when 'timeformat protocol iso long' is configured.
'timeformat protocol iso long' is a requirement for using bird_exporter with prometheus.
2019-01-12 12:45:44 +00:00
2649fafaf9 Differentiate protocols that are passive and in the 'start' state in the protocol summary view.
This is a normal condition, so the protocols shouldn't be flagged with a 'danger' badge.
2019-01-12 11:24:02 +00:00
66df1b2230 Update modal dialog for Bootstrap 4 2019-01-12 11:22:13 +00:00
8fd7cc13cd Include an additional css file to allow for site specific changes and style overrides 2019-01-11 22:32:06 +00:00
ce1fb43ebe templates/layout.html: Wat 2019-01-11 21:14:49 +00:00
ddf86d02fb Add support for unified Bird daemons
Bird 2.0 includes IPv4 and IPv6 support in a single daemon.
When UNIFIED_DAEMON is set to True, queries are always done with the
"ipv4" backend (which handles both protocols), and distinctions between
IPv4 and IPv4 are removed in the UI.
2019-01-11 21:14:12 +00:00
daaf981b32 Remove table column from protocol summary 2019-01-11 21:13:55 +00:00
42bc9cdf87 Allow the main container to scroll 2019-01-11 21:13:18 +00:00
fab6aa8859 Add meta viewport for mobile support 2019-01-11 21:12:42 +00:00
0350ff6922 Simplify proxy host configuration 2019-01-11 21:12:18 +00:00
e60cb8027c Simplify parsing of 'show protocols' to avoid future breakages
The current parsing method (ugly regexp) is hard to understand and prone
to breakage:

- Bird 1.4 changed the date format, which broke the parser ()
- Bird 2.0 changed the format of the "Table" field, which again broke the parser (#36)

The new method is much simpler, does not involve any regexp, and should
thus resist small syntax changes in Bird's output.

Important limitation: parsing will be messed up if the date contains a
space character.  There is no space in the default date format of Bird
(checked with Bird 1.3 to Bird 2.0), but since the date format is
configurable in Bird, it may happen anyway.  In particular, setting
"timeformat protocol iso long" in Bird will break bird-lg's parser.

Fixes #36
2019-01-11 21:11:51 +00:00
527e5f1528 Upgrade to Bootstrap 4
... with some opinionated design changes
2019-01-11 21:11:01 +00:00
58c1b01719 Add lg.worldstream.nl to README.mkd 2018-09-10 10:30:05 +02:00