Lee Smet
4adfdd9130
Add support for CDN cache in myceliumd-private
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-15 12:10:17 +02:00
Lee Smet
1420affc75
Clean up code
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-15 11:52:59 +02:00
Lee Smet
e9f3ecd9fd
Update rcgen usage to new version
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-15 11:41:45 +02:00
dependabot[bot]
416a9532e8
Bump the mycelium group across 1 directory with 12 updates
...
---
updated-dependencies:
- dependency-name: cdn-meta
dependency-version: 2fac04710b60502a5165f1b1d90671730346e977
dependency-type: direct:production
dependency-group: mycelium
- dependency-name: tokio
dependency-version: 1.46.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: quinn
dependency-version: 0.11.8
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: rustls
dependency-version: 0.23.29
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: rcgen
dependency-version: 0.14.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: netdev
dependency-version: 0.36.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: openssl
dependency-version: 0.10.73
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: reqwest
dependency-version: 0.12.22
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: redis
dependency-version: 0.32.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: rtnetlink
dependency-version: 0.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: nix
dependency-version: 0.30.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: libc
dependency-version: 0.2.174
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-15 11:10:37 +02:00
dependabot[bot]
ffa582d1f3
Bump the myceliumd-private group across 1 directory with 5 updates
...
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd-private
- dependency-name: tokio
dependency-version: 1.46.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: myceliumd-private
- dependency-name: reqwest
dependency-version: 0.12.22
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd-private
- dependency-name: config
dependency-version: 0.15.13
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd-private
- dependency-name: toml
dependency-version: 0.9.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: myceliumd-private
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-15 11:09:07 +02:00
dependabot[bot]
5337898d38
Bump the myceliumd group across 1 directory with 4 updates
...
Bumps the myceliumd group with 4 updates in the /myceliumd directory: [clap](https://github.com/clap-rs/clap ), [tokio](https://github.com/tokio-rs/tokio ), [config](https://github.com/rust-cli/config-rs ) and [toml](https://github.com/toml-rs/toml ).
Updates `clap` from 4.5.38 to 4.5.41
- [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.38...clap_complete-v4.5.41 )
Updates `tokio` from 1.45.0 to 1.46.1
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.45.0...tokio-1.46.1 )
Updates `config` from 0.15.11 to 0.15.13
- [Changelog](https://github.com/rust-cli/config-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/config-rs/compare/v0.15.11...v0.15.13 )
Updates `toml` from 0.8.22 to 0.9.2
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.22...toml-v0.9.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd
- dependency-name: tokio
dependency-version: 1.46.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: myceliumd
- dependency-name: config
dependency-version: 0.15.13
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd
- dependency-name: toml
dependency-version: 0.9.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: myceliumd
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-15 11:08:40 +02:00
Lee Smet
2f2604039e
Revert "Define basic metadata structures"
...
This reverts commit 3fea7e58b4 .
Metadata structure has been added in the mycelium-cdn-registry
repository
2025-07-12 11:36:47 +02:00
Lee Smet
0c2d8fcbb3
Update cdn-meta to latest version
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
1f724aced5
Create cache dir if it doens't exist
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
58ab9110a0
Improve directory listing
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
e3a8be92fe
Update CDN hashes to be 16 bytes long
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
2f98b7c4e7
Add cmd line option to configure cdn cache path
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
4e46701b1c
Add CDN to Node struct
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
08589cd567
Add basic block cache
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
d6df26d530
Add directory support
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
98a030ca89
File recombination
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
2a920c8922
WIP
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
60872c06cc
Start basic CDN hook
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
9eeeedf04c
Define basic metadata structures
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-07-12 11:36:47 +02:00
Lee Smet
6048940e78
Close #630 : Add plain log format option
...
This always disables colors
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-06-06 16:11:47 +02:00
Lee Smet
6b7cf9f4f6
Drop magic nix cache github action workflow step
...
Action stopped working on 1st of february
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-06-03 14:21:14 +02:00
dependabot[bot]
71cb99dc65
Bump the myceliumd group in /myceliumd with 2 updates
...
Bumps the myceliumd group in /myceliumd with 2 updates: [clap](https://github.com/clap-rs/clap ) and [tokio](https://github.com/tokio-rs/tokio ).
Updates `clap` from 4.5.37 to 4.5.38
- [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.37...clap_complete-v4.5.38 )
Updates `tokio` from 1.44.2 to 1.45.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.2...tokio-1.45.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.38
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd
- dependency-name: tokio
dependency-version: 1.45.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: myceliumd
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-20 11:48:58 +02:00
dependabot[bot]
6a9c931019
Bump the myceliumd-private group in /myceliumd-private with 2 updates
...
Bumps the myceliumd-private group in /myceliumd-private with 2 updates: [clap](https://github.com/clap-rs/clap ) and [tokio](https://github.com/tokio-rs/tokio ).
Updates `clap` from 4.5.37 to 4.5.38
- [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.37...clap_complete-v4.5.38 )
Updates `tokio` from 1.44.2 to 1.45.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.2...tokio-1.45.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.38
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd-private
- dependency-name: tokio
dependency-version: 1.45.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: myceliumd-private
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-20 11:41:49 +02:00
Lee Smet
a9ba23d7bd
Bump version to v0.6.1
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
v0.6.1
2025-05-14 19:39:14 +02:00
Lee Smet
b28786b953
Only track retracted routes for 6 seconds
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-14 19:24:30 +02:00
Lee Smet
ef44068557
Split public node table by version in README
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-14 10:44:13 +02:00
Lee Smet
c82666b6a0
Close #619 : Add cache for route requests
...
This avoids us spamming peers with the same route request
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-09 14:53:40 +02:00
Lee Smet
d2760aef8e
Add route request cache
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-09 12:47:08 +02:00
Lee Smet
62c1257479
Close #616 : Keep track of peer connection times
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-08 14:34:47 +02:00
Lee Smet
27f5d66263
Send a route request if a route entry which is almost expired is used
...
Part of #618
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-08 12:41:49 +02:00
Lee Smet
f302d5c645
Only mark a subnet as queried if we have no routes for it
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-08 12:07:33 +02:00
Lee Smet
b954cda4b2
Make sure we have a selected route before accepting a TUN packet
...
Related to #614
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-07 18:44:02 +02:00
Lee Smet
6f15ee1797
Don't send seqno requests to peers if they are already in the cache
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-07 14:32:59 +02:00
Lee Smet
6a5749d0ab
Fix TTL exceeded for local packets
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-06 17:12:45 +02:00
Lee Smet
c17851670f
Update binary lockfiles
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-06 12:05:10 +02:00
dependabot[bot]
b52216f531
Bump the mycelium group with 3 updates
...
Bumps the mycelium group with 3 updates: [rustls](https://github.com/rustls/rustls ), [nix](https://github.com/nix-rust/nix ) and [axum](https://github.com/tokio-rs/axum ).
Updates `rustls` from 0.23.26 to 0.23.27
- [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.26...v/0.23.27 )
Updates `nix` from 0.29.0 to 0.30.1
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.29.0...v0.30.1 )
Updates `axum` from 0.8.3 to 0.8.4
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.8.3...axum-v0.8.4 )
---
updated-dependencies:
- dependency-name: rustls
dependency-version: 0.23.27
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: nix
dependency-version: 0.30.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: axum
dependency-version: 0.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-06 12:03:02 +02:00
Lee Smet
2687ecabc2
Fix #614 : Properly reply to local packets for local subnet
...
Previously packets for the local subnet would trigger a route lookup,
which leads to a no-route entry being generated. Instead, reply to such
packets with an ICMP host unreachable - address uncreachable. This can
be done unilaterally since IF the address would exist on the host, the
packet would not be pushed to the TUN interface by the kernel and thus,
by extension, if such a packet is handled by mycelium, it means there is
no address or local subnet configuration.
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-05-05 13:40:40 +02:00
Lee Smet
1eec5651bf
Update binary lockfiles
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-29 11:53:47 +02:00
dependabot[bot]
3a5a3636e4
Bump toml in /myceliumd-private in the myceliumd-private group
...
Bumps the myceliumd-private group in /myceliumd-private with 1 update: [toml](https://github.com/toml-rs/toml ).
Updates `toml` from 0.8.20 to 0.8.22
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.20...toml-v0.8.22 )
---
updated-dependencies:
- dependency-name: toml
dependency-version: 0.8.22
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd-private
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-29 11:47:01 +02:00
dependabot[bot]
e1781ef49e
Bump jsonrpsee from 0.24.9 to 0.25.1 in the mycelium group
...
Bumps the mycelium group with 1 update: [jsonrpsee](https://github.com/paritytech/jsonrpsee ).
Updates `jsonrpsee` from 0.24.9 to 0.25.1
- [Release notes](https://github.com/paritytech/jsonrpsee/releases )
- [Changelog](https://github.com/paritytech/jsonrpsee/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/jsonrpsee/compare/v0.24.9...v0.25.1 )
---
updated-dependencies:
- dependency-name: jsonrpsee
dependency-version: 0.25.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-29 11:46:29 +02:00
dependabot[bot]
3f9b4c41a8
Bump toml from 0.8.20 to 0.8.22 in /myceliumd in the myceliumd group
...
Bumps the myceliumd group in /myceliumd with 1 update: [toml](https://github.com/toml-rs/toml ).
Updates `toml` from 0.8.20 to 0.8.22
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.20...toml-v0.8.22 )
---
updated-dependencies:
- dependency-name: toml
dependency-version: 0.8.22
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-29 11:46:04 +02:00
Lee Smet
ea4e77c638
Fix memory leak in handle_dead_peers
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-28 15:34:26 +02:00
Lee Smet
027c43f059
Fix unsound clone implementation on RoutingTable
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-28 13:56:23 +02:00
Lee Smet
f3729710ca
Update README.md with updated peers
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-25 16:48:40 +02:00
Lee Smet
e8b24053a0
Add note in README.md about network upgrade
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-25 14:48:47 +02:00
Lee Smet
671b0e5724
Bump versions to v0.6.0
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-25 14:48:47 +02:00
Lee Smet
02348dac35
Update CHANGELOG.md for new version
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-25 14:48:47 +02:00
Lee Smet
5fb8d70888
Update CHANGELOG.md with latest changes
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-25 14:48:46 +02:00
dependabot[bot]
82b34a3e6e
Bump clap
...
Bumps the myceliumd-private group with 1 update in the /myceliumd-private directory: [clap](https://github.com/clap-rs/clap ).
Updates `clap` from 4.5.32 to 4.5.37
- [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.32...clap_complete-v4.5.37 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.37
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd-private
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-24 16:12:57 +02:00
dependabot[bot]
ac0adc6d1c
Bump clap in /myceliumd in the myceliumd group across 1 directory
...
Bumps the myceliumd group with 1 update in the /myceliumd directory: [clap](https://github.com/clap-rs/clap ).
Updates `clap` from 4.5.32 to 4.5.37
- [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.32...clap_complete-v4.5.37 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.37
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: myceliumd
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-24 16:12:30 +02:00