dependabot[bot]
761eb2160a
build(deps): bump github.com/spf13/pflag in /frontend
...
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6 )
---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-30 00:02:32 +00:00
dependabot[bot]
3db9454350
build(deps): bump github.com/magiconair/properties in /frontend
...
Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties ) from 1.8.7 to 1.8.9.
- [Release notes](https://github.com/magiconair/properties/releases )
- [Commits](https://github.com/magiconair/properties/compare/v1.8.7...v1.8.9 )
---
updated-dependencies:
- dependency-name: github.com/magiconair/properties
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-09 00:50:06 +00:00
Marc 'risson' Schmitt
0fdde8afc7
frontend: allow webserver to trust proxy headers ( #106 )
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2024-07-14 15:50:18 -07:00
Lan Tian
0dd1c07b66
frontend: disable escaping of special HTML chars for BGPMap graph
2024-07-01 21:17:43 -07:00
Lan Tian
f0f072c4a6
frontend: handle UTF-8 characters in GraphViz graphs
2024-06-30 13:04:15 -07:00
dependabot[bot]
1b0b923da9
build(deps): bump github.com/spf13/viper in /frontend
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.18.2 to 1.19.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.18.2...v1.19.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 >
2024-06-03 00:32:44 +00:00
Marc 'risson' Schmitt
ac31862237
frontend: show dynamic BGP sessions without any color ( #98 )
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2024-02-18 22:11:20 -08:00
Lan Tian
ff55064a20
frontend: adjust navbar display of many servers
2023-12-31 16:31:56 -08:00
dependabot[bot]
7b0e5689d4
build(deps): bump github.com/spf13/viper in /frontend
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.18.1...v1.18.2 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-19 00:26:13 +00:00
dependabot[bot]
32e00d2ce3
build(deps): bump github.com/spf13/viper in /frontend
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.18.0...v1.18.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-11 00:44:41 +00:00
dependabot[bot]
00b5c12787
build(deps): bump github.com/spf13/viper in /frontend
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.17.0...v1.18.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 >
2023-12-07 00:57:01 +00:00
Lan Tian
38bf6aba09
frontend: fix unit tests
2023-11-25 10:47:37 -08:00
Lan Tian
d261c22235
frontend: add connection timeout
2023-11-25 10:30:13 -08:00
dependabot[bot]
fe07ebb5a5
build(deps): bump github.com/gorilla/handlers in /frontend
...
Bumps [github.com/gorilla/handlers](https://github.com/gorilla/handlers ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/gorilla/handlers/releases )
- [Commits](https://github.com/gorilla/handlers/compare/v1.5.1...v1.5.2 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/handlers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 01:00:08 +00:00
dependabot[bot]
47113184f4
build(deps): bump github.com/spf13/viper in /frontend ( #85 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.16.0...v1.17.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-10-08 21:04:04 -07: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