Commit Graph
1066 Commits
Author SHA1 Message Date
Maxime Van Hees fae7bf30e7 Update CHANGELOG.md
Signed-off-by: Maxime Van Hees <vanheesm@threefold.tech>
2024-06-18 14:19:17 +02:00
Maxime Van Hees 62ca974369 Increased peer starting metric 2024-06-18 14:19:17 +02:00
Lee Smet a60cda1d58 Annotate src and dst types for mem::transmute
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-18 11:40:33 +02:00
Lee Smet d9f656f668 Use unwrap_or_default for option handling
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-18 11:17:42 +02:00
Lee Smet dc34c8a017 Update binary lock files
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-18 10:20:28 +02:00
dependabot[bot] 0ebc52a80b Bump rustls from 0.23.9 to 0.23.10
Bumps [rustls](https://github.com/rustls/rustls) from 0.23.9 to 0.23.10.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.9...v/0.23.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 10:14:50 +02:00
dependabot[bot] f5e72e89d7 Bump reqwest from 0.12.4 to 0.12.5
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.4 to 0.12.5.
- [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.4...v0.12.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 10:14:34 +02:00
Lee Smet 26db7d2178 Correct overlay IP's of public nodes
Seems half of them had an incorrect overlay IP set

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-13 10:20:10 +02:00
Lee Smet 487cb7fdd8 Update binary lock files
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-11 13:22:00 +02:00
dependabot[bot] 468e3a63f0 Bump quinn from 0.11.1 to 0.11.2
Bumps [quinn](https://github.com/quinn-rs/quinn) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/quinn-rs/quinn/releases)
- [Commits](https://github.com/quinn-rs/quinn/compare/0.11.1...quinn-0.11.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 10:21:28 +02:00
dependabot[bot] 00293891f0 Bump netdev from 0.27.0 to 0.28.0
Bumps [netdev](https://github.com/shellrow/netdev) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/shellrow/netdev/releases)
- [Commits](https://github.com/shellrow/netdev/compare/v0.27.0...v0.28.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 10:21:15 +02:00
dependabot[bot] fdc94772a3 Bump tokio-tun from 0.11.4 to 0.11.5
Bumps [tokio-tun](https://github.com/yaa110/tokio-tun) from 0.11.4 to 0.11.5.
- [Commits](https://github.com/yaa110/tokio-tun/compare/0.11.4...0.11.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 10:21:05 +02:00
r-vdp cc0fec3ca3 flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/19ca94ec2d288de334ae932107816b4a97736cd8' (2024-05-26)
  → 'github:ipetkov/crane/17d9e9dedd58dde2c562a4296934c6d6a0844534' (2024-06-09)
2024-06-10 13:32:23 +02:00
r-vdp f352293f50 Fix nix build 2024-06-10 13:32:23 +02:00
r-vdp c3013a91a1 Fix deprecation warning. 2024-06-10 13:32:23 +02:00
Lee Smet b3aaff8143 Specify manifest-path key for building release bin
Since they are no longer part of the workspace this is required for the
action to properly find them.

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-07 10:55:56 +02:00
Lee Smet b73dd06f1a Bump version to v0.5.3
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-07 10:16:27 +02:00
Lee Smet f9b1f239b9 Bump nix dependency in mac to v0.29
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-07 10:04:14 +02:00
Maxime Van Hees c62def9521 Added CLI functionality to myceliumd-private to list, add, remove peers + list selected, fallback routes 2024-06-06 16:03:50 +02:00
Maxime Van Hees 98bdb3b09e Removed CLI part from myceliumd-private (gets imported now) 2024-06-06 16:03:50 +02:00
Maxime Van Hees b76ad9fa57 mycelium-cli standalone 2024-06-06 16:03:50 +02:00
Lee Smet df3364aa15 Only broadcast seqno requests if we originate it
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-06 11:07:01 +02:00
Lee Smet 15a9423835 Merge pull request #287 from threefoldtech/cli_improvements
Cli improvements
2024-06-05 23:52:59 +02:00
Maxime Van Hees 167b9e7728 Changed 'infinite' string to a constant 2024-06-05 23:30:42 +02:00
Maxime Van Hees 673f935e6a Added deserialization tests for Metric and Route 2024-06-05 17:15:06 +02:00
Maxime Van Hees 9b23b1c3fd Resolved merge conflits 2024-06-05 15:53:12 +02:00
Maxime Van Hees f8b98b2d83 Added functionality to CHANGELOG 2024-06-05 15:37:15 +02:00
Maxime Van Hees d0e3fa0d76 Removed unused import 2024-06-05 15:34:26 +02:00
Maxime Van Hees b86d5ba054 Listing selected and fallback routes with CLI (table and json format) 2024-06-05 15:26:30 +02:00
Maxime Van Hees 9841e1ef75 Printing peers list in JSON using --json 2024-06-05 08:20:31 +02:00
Lee Smet 9ee580e779 Update myceliumd-private lockfile
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-04 17:26:13 +02:00
Maxime Van Hees 7bd10a94ed Changed 'connected' to 'connection' in table 2024-06-04 16:58:36 +02:00
Maxime Van Hees 09387f9726 Better format rx/tx bytes + typo 2024-06-04 16:58:36 +02:00
Maxime Van Hees c457b08557 Implemented Display trait for ConnectionState and PeerType + code cleanup 2024-06-04 16:58:36 +02:00
Maxime Van Hees 994843e49a API functions for peers (list, add, remove) with CLI 2024-06-04 16:58:36 +02:00
Maxime Van Hees 9fc44174c9 Changed 'connected' to 'connection' in table 2024-06-04 16:41:35 +02:00
Maxime Van Hees 6551067bb4 Better format rx/tx bytes + typo 2024-06-04 16:39:19 +02:00
Maxime Van Hees aace33b577 Implemented Display trait for ConnectionState and PeerType + code cleanup 2024-06-04 16:11:18 +02:00
Maxime Van Hees a38dbfefa4 API functions for peers (list, add, remove) with CLI 2024-06-04 14:59:06 +02:00
Lee Smet 13d765e057 Use default feasibility distance for seqno request
In case the source table has no feasibility distance, use a default one
instead of silently dropping the request.

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-04 14:40:56 +02:00
Lee Smet 7c637ff2bb Fall back to all known peers to send seqno
In case the route is not known at all (this could happen in rare cases
were a seqno request is forwarded from a peer, for instance), the
request would be silently dropped. Know we shell out to all known peers.

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-04 14:10:24 +02:00
Lee Smet 3975a23e6c Add tests for SourceTable::route_feasible
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-04 11:23:21 +02:00
dependabot[bot] e10651e2c6 Bump nix from 0.28.0 to 0.29.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.28.0 to 0.29.0.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.28.0...v0.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 09:45:56 +02:00
dependabot[bot] e407cd65a9 Bump rustls from 0.23.8 to 0.23.9
Bumps [rustls](https://github.com/rustls/rustls) from 0.23.8 to 0.23.9.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.8...v/0.23.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 09:45:44 +02:00
dependabot[bot] 422a26bc54 Bump tokio from 1.37.0 to 1.38.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 09:45:34 +02:00
dependabot[bot] 22f8d5a4b6 Bump netdev from 0.26.0 to 0.27.0
Bumps [netdev](https://github.com/shellrow/netdev) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/shellrow/netdev/releases)
- [Commits](https://github.com/shellrow/netdev/compare/v0.26.0...v0.27.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 09:45:20 +02:00
Lee Smet a71235a890 Remove clippy suspicious arithmetic lint override
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-03 16:43:30 +02:00
Lee Smet 936999e893 Update SourceTable test names
Make it clear this handles update feasibility

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-03 16:13:52 +02:00
Lee Smet c2c1243876 Add unit tests for SourceTable::is_update_feasible
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-06-03 15:35:26 +02:00
Maxime Van Hees 959cc7fd44 Fixed operation id in API docs 2024-05-31 13:42:21 +02:00