Commit Graph

1264 Commits

Author SHA1 Message Date
Maxime Van Hees
278daddb91 Fixed wrong IP in config_example.toml + more responsive UI with sidebar opening/closing 2024-08-26 13:18:25 +02:00
Maxime Van Hees
2345b73e19 UI changes 2024-08-26 13:18:25 +02:00
Maxime Van Hees
83e5c6a55b Improved layout of sidebar and general design 2024-08-26 13:18:25 +02:00
Maxime Van Hees
125060be9f Added all field to sort on in peer table + rearranged order of derived traits to be the same everywhere 2024-08-26 13:18:25 +02:00
Maxime Van Hees
109cc80ca0 Refactoring peer table to be more like route table + splitted off API calls 2024-08-26 13:18:25 +02:00
Maxime Van Hees
b1dbba96e1 Tables for peers and routes with pagination and sorting 2024-08-26 13:18:25 +02:00
Maxime Van Hees
189286e45a Added node public key to /api/v1/admin endpoint 2024-08-26 13:18:25 +02:00
Maxime Van Hees
597211336f dashboard showing peers and routes 2024-08-26 13:18:25 +02:00
Maxime Van Hees
f31a83e08f Dioxus init 2024-08-26 13:18:25 +02:00
Lee Smet
e765dd4193 Add fixed windows release to CHANGELOG.md
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-21 10:35:42 +02:00
Maxime Van Hees
4325571520 Fixed unzipping wintun in release.yaml 2024-08-21 10:34:20 +02:00
Lee Smet
0df69a1774 Bump version to v0.5.4
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-20 16:50:11 +02:00
Lee Smet
212fec9689 Add new public peers to CHANGELOG.md
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-20 15:38:23 +02:00
Lee Smet
7dbd4426dd Close #365: Update docs with (new) public peers
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-20 15:36:51 +02:00
Lee Smet
b874cdff85 Update binary lock files
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-20 15:18:12 +02:00
dependabot[bot]
38ac02a4d3 Bump tokio from 1.39.2 to 1.39.3 in /myceliumd
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.39.2 to 1.39.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 15:13:39 +02:00
dependabot[bot]
73dc07d242 Bump reqwest from 0.12.5 to 0.12.7 in /myceliumd
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.5 to 0.12.7.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.5...v0.12.7)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 15:13:20 +02:00
dependabot[bot]
bd0c978a0f Bump tokio from 1.39.2 to 1.39.3 in /myceliumd-private
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.39.2 to 1.39.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 15:13:01 +02:00
dependabot[bot]
d652e0dded Bump reqwest from 0.12.5 to 0.12.7 in /myceliumd-private
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.5 to 0.12.7.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.5...v0.12.7)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 15:12:40 +02:00
dependabot[bot]
7585b3a89b Bump blake3 from 1.5.3 to 1.5.4
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases)
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.5.3...1.5.4)

---
updated-dependencies:
- dependency-name: blake3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 15:12:19 +02:00
dependabot[bot]
df5f6ad1b8 Bump tokio from 1.39.2 to 1.39.3
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.39.2 to 1.39.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 15:12:01 +02:00
dependabot[bot]
317737a411 Bump libc from 0.2.155 to 0.2.158
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.155 to 0.2.158.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.158)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 15:11:41 +02:00
dependabot[bot]
d1eb985a50 Bump reqwest from 0.12.5 to 0.12.7
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.5 to 0.12.7.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.5...v0.12.7)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 15:11:21 +02:00
Lee Smet
0506693ed8 Send more seqno requests
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-19 17:19:51 +02:00
dependabot[bot]
00e9db7737 Bump serde_json from 1.0.121 to 1.0.125 in /myceliumd-private
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.121 to 1.0.125.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.121...1.0.125)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 13:34:15 +02:00
dependabot[bot]
75cce158ad Bump serde_json from 1.0.121 to 1.0.125 in /myceliumd
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.121 to 1.0.125.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.121...1.0.125)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 13:33:57 +02:00
dependabot[bot]
3d0b38281f Bump serde_json from 1.0.121 to 1.0.125
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.121 to 1.0.125.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.121...1.0.125)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 13:33:40 +02:00
dependabot[bot]
9fbae66dec Bump serde from 1.0.207 to 1.0.208 in /myceliumd
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.207 to 1.0.208.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:15:07 +02:00
dependabot[bot]
650caf93b1 Bump serde from 1.0.207 to 1.0.208
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.207 to 1.0.208.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:14:48 +02:00
dependabot[bot]
d8145dbfc4 Bump clap from 4.5.15 to 4.5.16 in /myceliumd
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.15 to 4.5.16.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.15...clap_complete-v4.5.16)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:14:30 +02:00
dependabot[bot]
9774b342f3 Bump serde from 1.0.207 to 1.0.208 in /myceliumd-private
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.207 to 1.0.208.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:14:11 +02:00
dependabot[bot]
b3681ed9fa Bump clap from 4.5.15 to 4.5.16 in /myceliumd-private
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.15 to 4.5.16.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.15...clap_complete-v4.5.16)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:13:52 +02:00
Lee Smet
baf06ee010 Send seqno request even if we don't have routes
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-19 11:27:42 +02:00
dependabot[bot]
485c57d09b Bump serde from 1.0.204 to 1.0.207 in /myceliumd
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.204 to 1.0.207.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.207)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 10:51:34 +02:00
dependabot[bot]
3410eb6117 Bump serde from 1.0.204 to 1.0.207 in /myceliumd-private
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.204 to 1.0.207.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.207)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 10:51:09 +02:00
dependabot[bot]
7800de82c8 Bump clap from 4.5.11 to 4.5.15 in /myceliumd-private
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.11 to 4.5.15.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.11...clap_complete-v4.5.15)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 10:50:39 +02:00
dependabot[bot]
ae61353bff Bump clap from 4.5.11 to 4.5.15 in /myceliumd
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.11 to 4.5.15.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.11...clap_complete-v4.5.15)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 10:50:20 +02:00
dependabot[bot]
4f96c9a6d8 Bump serde from 1.0.203 to 1.0.207
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.203 to 1.0.207.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.207)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 10:49:31 +02:00
dependabot[bot]
028b80eafa Bump quinn from 0.11.2 to 0.11.3
Bumps [quinn](https://github.com/quinn-rs/quinn) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/quinn-rs/quinn/releases)
- [Commits](https://github.com/quinn-rs/quinn/compare/quinn-0.11.2...quinn-0.11.3)

---
updated-dependencies:
- dependency-name: quinn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 10:48:56 +02:00
dependabot[bot]
1a281e9e0e Bump bytes from 1.6.1 to 1.7.1
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.6.1 to 1.7.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.6.1...v1.7.1)

---
updated-dependencies:
- dependency-name: bytes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 10:48:29 +02:00
Florian Klink
cdde7a04e8 bump tracing-logfmt to 0.3.5, enable ansi_logs feature
This will cause to be outputted with color in case the output is a
terminal, but will refrain from doing so if it's run by a service
manager.

Follow-up to #316, unblocked by
https://github.com/EmbarkStudios/tracing-logfmt/pull/16
2024-08-19 10:48:05 +02:00
Lee Smet
c5ac0a8cf3 Update CHANGELOG.md
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-02 13:46:01 +02:00
Lee Smet
dbe1606d57 Add validaton in Router::new to update_workers argument
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-02 13:46:01 +02:00
Lee Smet
7a5209d325 Expose flag to configure amount of update workers
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-02 13:46:01 +02:00
Lee Smet
f5e3d7ba8e Limit mobile to a single update worker for now
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-02 13:46:01 +02:00
Lee Smet
ba3f8f4e89 Make amount of update workers configurable
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-02 13:46:01 +02:00
Lee Smet
c4ce92fea0 Return dedicated read guards instead of plain Arc
When getting read-only access, return a read guard which wraps an
arc_swap::Guard, and derefs to the Arc<RouteList>. This allows us to use
the ususually (in our usecase) faster ArcSwap::load instead of
ArcSwap::load_full.

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-02 13:46:01 +02:00
Lee Smet
70b5c3f301 Remove flume dependency
No longer used since last update

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-02 13:46:01 +02:00
Lee Smet
f3b7686799 Route updates for same subnet to the same worker
Change from using a SPMC setup with rendez-vous channel to a setup where
each worker has a dedicated queue, and route the update to a worker
based on the hash of the update subnet. This avoids multiple workers
doing updates to the same subnet. While mulitple updates to a subnet
could be queued, and an update packet was only processed by an update
worker once, multiple consecutive updates to the same subnet could
collide, leading to the RCU firing multiple times for an update. In this
scenario, workers are effectively doing useless work, since it has to be
redone anyway. In the metrics of the public peers, we could see that
despite having more workers, the node processed less updates initially.
Local testing confirmed that multipe updates did conflict, and this
change removes those issues.

It should be noted that this could cause update workers to be starved of
updates to process. We will consider this not an issue, since the law of
large numbers suggests that for a large volume, the hash should be
roughly equal. Also note that the hash is derived on the subnet, which
is not user definieable, so not using a cryptographic hash function here
is not an issue. In case there are a low number of updates in the queues
we also don't have a problem, as low volumes are not the inherent
problem here.

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-02 13:46:01 +02:00
Lee Smet
b6d56f12ef Use custom AbortHandle to cancel timers on drop
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-08-02 13:46:01 +02:00