16 Commits

Author SHA1 Message Date
Lan Tian
594ca80f50
frontend: fix whois lookup & only show bgpmap nexthop info on the first hop 2023-05-05 20:20:12 -07:00
Lan Tian
5625058e71
frontend: use ASN as bgpmap node identifier (instead of resolved whois result) 2023-05-05 19:52:30 -07:00
Lan Tian
7efa3237a9
frontend: refactor bgpmap code to fix #75 2023-05-05 01:58:05 -07:00
Yuhui Xu
9e17b116f1
frontend: refactor bgpmap and fix node colors (#67)
* frontend: refactor bgpmap and fix node colors

* frontend: alternative way to test bgpmap
2022-12-07 16:30:19 -06:00
日下部 詩
af5b653326
BIRDLG_BGPMAP_INFO 選項 (#44)
* BIRDLG_BGPMAP_INFO

update the paramater

description fix for bgpmap_test

singleline and multiline

* Static file instead of jsdelivr; favicon.ico

Co-authored-by: testscript <testscript@example.com>
2021-12-20 03:35:43 -06:00
James Lu
1a3c618522
frontend: BGPmap improvements (#36)
* bgpmap: Compact nexthop info into an edge label

* bgpmap: parse and show non-BGP routes

* bgpmap: Misc tweaks

- Show the protocol name instead of the ASN in edge labels
- Correctly draw only the primary path if there are multiple routes to the first neighbour ASN in a path
- Use a smaller font size for edge labels

* bgpmap_test: update to match new changes

* bgpmap: Split route info on all (non-empty) rta_dest_names values
2021-08-31 09:44:14 -05:00
Lan Tian
bee26f421c frontend: resolve asn in dns/whois/fail order & fix tests 2021-07-31 17:11:20 +08:00
Josef Miegl
4c248c638a frontend: optional asn resolution using whois 2021-07-30 16:54:41 +02:00
Lan Tian
72946e1113
frontend: filter output to prevent XSS 2021-01-17 01:14:49 +08:00
Lan Tian
0b5e28851c
frontend: fix small errors (iedon/Birdlg-Go 0b904fd) 2020-06-01 22:20:31 +08:00
Lan Tian
fe42879d20
frontend: remove brackets from ASN (caused by confederation) 2020-05-04 12:42:18 +08:00
Lan Tian
1acc8f48ce
Minor coding style change 2020-03-27 19:59:57 +08:00
Lan Tian
cb247186f3
Remove duplicate ASN field from bgpmap 2020-03-27 13:06:05 +08:00
Lan Tian
7794ec7bcb
Add query AS info via DNS interface 2020-03-27 12:52:09 +08:00
Lan Tian
8f581d378f
General code cleanup 2020-03-27 12:03:48 +08:00
Lan Tian
96cca1adb6
Add bgpmap feature 2020-03-26 02:31:44 +08:00