Lee Smet
7ba424a983
Add method to get best route entries for IP
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
537618c0b2
Continue new routing table integration
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
723b5c950b
Add iter method to RoutingTable
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
16b1ae1de8
Start implementing new routing table in router
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
af44fa9c08
Clean up new routing table imports
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
a201b14414
Add method to get selected route entry mutably
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
18b97122a9
Add setter for RouterId on RouteEntry
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
1e468b877c
Implement Index and IndexMut for RouteList
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
dc004acfed
Implement iterator over RouteList
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
09d2eaa2e0
Add method to get selected route from RouteList
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
3d0b518794
Add Dipslay for RouteKey
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
c9ffa72b09
Add getters for RouteKey
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
8cb258aa1b
Replace existing routing table with new one
...
Only in the module tree, still needs integration
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
1ac19e96f1
Continuation of routing table rework
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Lee Smet
c477222dc2
Start new route table implementation
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-28 10:28:58 +02:00
Maxime Van Hees
1cd078f304
Update CHANGELOG.md
...
Signed-off-by: Maxime Van Hees <vanheesm@threefold.tech >
2024-06-20 15:23:46 +02:00
Maxime Van Hees
52a9d2019a
Removed commented code
2024-06-20 15:23:46 +02:00
Maxime Van Hees
35896d779c
Keys only loaded when needed
2024-06-20 15:23:46 +02:00
Maxime Van Hees
f97f9b7ace
No more key file generation when using mycelium binary with command (and thus not as service)
2024-06-20 15:23:46 +02:00
Iwan BK
a0e6560add
feat(mobile): expose peer stats
...
Also add timeout to the send/recv channel.
The mobile API returns `Vec<String>` instead of `Result<T, Error>`
because the current rust bridge method can't support `Result<T,
Error>`.
For it to be supported, we need to change the bridging method, which may
not worth it for now.
2024-06-19 11:27:08 +02:00
Lee Smet
98d8d5325b
Update myceliumd-private curve25519-dalek dep
...
Solves a dependabot security report, though we are not affected by it
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-19 09:27:15 +02:00
dependabot[bot]
0ae6746b52
Bump clap from 4.5.4 to 4.5.7 in /myceliumd-private
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.4 to 4.5.7.
- [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.4...v4.5.7 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-19 09:20:11 +02:00
dependabot[bot]
7e48eb1a59
Bump clap from 4.5.4 to 4.5.7 in /myceliumd
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.4 to 4.5.7.
- [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.4...v4.5.7 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-19 09:19:48 +02:00
Lee Smet
92e64b494c
Add binaries to dependabot config
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-19 09:16:23 +02:00
dependabot[bot]
3654da923a
Bump curve25519-dalek from 4.1.2 to 4.1.3 in /myceliumd
...
Bumps [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases )
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.2...curve25519-4.1.3 )
---
updated-dependencies:
- dependency-name: curve25519-dalek
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-19 09:11:35 +02:00
dependabot[bot]
a814a49b3e
Bump curve25519-dalek from 4.1.1 to 4.1.3
...
Bumps [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ) from 4.1.1 to 4.1.3.
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases )
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.1...curve25519-4.1.3 )
---
updated-dependencies:
- dependency-name: curve25519-dalek
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-19 09:11:09 +02:00
Lee Smet
8e5503651b
Create CODEOWNERS
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-18 14:20:27 +02:00
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