2d90abc3cb
Fix go vet warning
continuous-integration/drone/push Build is passing
2023-09-25 09:20:05 +01:00
33a0f435ad
reset brand
2023-09-25 09:20:05 +01:00
6be520ca84
Add static resource cache-control headers
2023-09-25 09:20:05 +01:00
3b44817704
add burble.dn42 logo
2023-09-25 09:20:05 +01:00
64d8b79414
collector.dn42 customisations
2023-09-25 09:20:05 +01:00
7cdb5da22e
burble.dn42 customisations
2023-09-25 09:20:05 +01:00
Lan Tian
b368c75aa3
frontend: fix whois client cannot get default whois port
2023-09-08 18:38:23 -07:00
Lan Tian
09405cdb38
frontend: also print whois client output on error
2023-09-08 18:22:31 -07:00
Lan Tian
f999d47d9f
frontend: force enable whois client regex parser on alpine/musl
2023-09-07 19:14:04 -07:00
Lan Tian
005dfb1435
frontend: make docker image whois client try to use config file
2023-09-07 00:51:56 -07:00
Lan Tian
81acde3a37
frontend: add whois client for more complex whois lookup
2023-09-06 20:35:30 -07:00
dependabot[bot]
a5f4452d02
build(deps): bump github.com/jarcoal/httpmock in /frontend ( #82 )
...
Bumps [github.com/jarcoal/httpmock](https://github.com/jarcoal/httpmock ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/jarcoal/httpmock/releases )
- [Commits](https://github.com/jarcoal/httpmock/compare/v1.3.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: github.com/jarcoal/httpmock
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 00:44:30 -07:00
towalink
e949646790
Properly escape URL path ( #81 )
2023-06-10 15:14:10 -07:00
dependabot[bot]
d40f41b4d5
build(deps): bump github.com/spf13/viper in /frontend ( #80 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 00:58:06 -07:00
Lan Tian
db58bd3354
frontend: add a test case for lookup DNS -> WHOIS fallback
2023-05-06 00:26:40 -07:00
Lan Tian
a0246ccee2
general: add unit tests for >80% coverage
...
Includes a few minor fixes:
- frontend: support setting port for WHOIS server
- proxy: fix handling of very long lines
- proxy: refactor IP allowlist logic, parse allow IP list at startup
2023-05-06 00:23:28 -07:00
James Lu
ccd14af0c8
settings: treat empty environment variables as set ( #77 )
...
This allows disabling specific options like dns_interface or whois via environment variables.
ref: https://github.com/spf13/viper#working-with-environment-variables
2023-05-05 21:36:38 -07:00
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
Lan Tian
7b0c8c0556
general: bump go version in go.mod
2023-01-26 22:01:47 -08:00
dependabot[bot]
ffd9165062
build(deps): bump github.com/spf13/viper in /frontend ( #73 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 10:50:42 -08: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
dependabot[bot]
4b73cf0fcb
build(deps): bump github.com/spf13/viper in /frontend ( #64 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 20:26:37 -06:00
Klara Modin
3b1d001543
frontend: sortable tables in summary ( #61 )
...
Adapted from https://stackoverflow.com/a/57080195 .
Additions:
1. sortTable accepts a secondary column and sorting direction. The 'Name'
column (number 0) is always used for the secondary
2. use classes 'ascSorted' and 'descSorted' to toggle between ascending and
descending order
3. in the table functions, use .innerHTML instead of .innnerText so the
link to detailed protocol information does not get lost. Also
preserve .classList
2022-09-18 15:58:20 -05:00
dependabot[bot]
556d3e50d3
build(deps): bump github.com/spf13/viper in /frontend ( #62 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-14 12:21:56 -05:00
日下部 詩
5ce0f55f35
1. support local whois. 2 add some useful bird command ( #59 )
2022-08-11 22:34:39 -04:00
Yuhui Xu
982326a678
frontend: fix XSS ( #57 ) ( #58 )
2022-08-05 21:59:18 -04:00
Tristan Heaven
4b3980f6bd
Fix navbar_brand_url config ( #56 )
2022-07-28 09:54:39 -04:00
Yuhui Xu
6f6b2bd283
general: support reading config files ( #55 )
2022-07-08 23:13:10 -04:00
Yuhui Xu
892a7bee22
frontend: support listening on unix socket ( #54 )
2022-07-08 21:14:11 -04:00
Nicolas Lorin
348295b9aa
frontend: add the abilities to customized timeout time ( #51 )
...
* main.go: add timeout setting
* lgproxy.go: use timeout setting when querying server
* README.md: add new timeout setting
2022-02-08 02:29:05 -06:00
herver
26efeb4996
Add name filter feature ( #48 )
...
This uses a RE2 regexp to hide protocols which name matches the expression
2022-01-18 03:01:57 -06:00
Lan Tian
f60a292129
general: build docker images with correct arch label
2022-01-09 01:45:00 -06:00
Lan Tian
a4e0f4c193
frontend: skip network related tests when unavailable
...
Fix #46
2022-01-09 00:10:14 -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
日下部 詩
58847759b3
一些小改動 ( #42 )
...
* 1. remove ":" at the start of port assignement. 2. use BIRDLG_PROXY_PORT at proxy. 3. add custom URL to brand
* goto / if only one server
* add BIRDLG_TRACEROUTE_BIN
2021-11-09 12:27:02 -06:00
Yuhui Xu
6481e7cc8d
frontend: fix uninitialized buffer ( #41 )
2021-09-26 13:26:07 -05:00
James Lu
2166d73b3d
frontend: add filtering by protocol type to summary tables ( #40 )
...
* frontend: add option to filter by protocol type
Closes #33 .
* frontend: use case insensitive comparisons for protocol filter
2021-09-07 15:17:16 -05:00
Yuhui Xu
a64d839e2c
frontend: limit fetched response size to 64KB ( #39 )
2021-09-02 20:21:28 -05: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
Yuhui Xu
823b639245
frontend: also filter whois privacy redacted lines ( #34 )
2021-08-28 22:02:03 -05:00
Yuhui Xu
b0c0e5442d
frontend: set lgproxy request timeout to 120s ( #31 )
...
lgproxy traceroutecan be really slow if dns resolve doesnt work well.
2021-08-04 00:30:38 +08:00
Yuhui Xu
4e4ce89418
frontend: set timeout longer for lgproxy requests ( #30 )
2021-08-03 11:46:05 +08:00
Yuhui Xu
234aadadd9
frontend: specify timeout for requests ( #29 )
2021-08-02 18:46:43 +08: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
256a80646f
- Refactor file embedding to use Go 1.16 embed functionality.
...
- Remove references to previous bindata packages from build scripts and docs
2021-07-13 11:54:35 +01:00
Lan Tian
5e0bc081e6
frontend: allow long lines if result is short
2021-06-21 00:57:26 +08:00
Lan Tian
5883015294
frontend: change behavior of whois shorten mode
2021-06-21 00:44:44 +08:00