benedetta davico
f3d8aba82c
Merge pull request #5288 from nymtech/release/2024.14-crunch-patched
...
Merge patched crunch to develop
2025-01-08 10:34:12 +01:00
Jędrzej Stuczyński
7d5e3ef7d3
feature: expand nym-node prometheus metrics ( #5298 )
...
* fixed bearer auth for prometheus route
* basic prometheus metrics
* added rates on global values
* improved structure on the prometheus metrics
* added additional metrics for ingress websockets and egress mixnet connections
* some channel business metrics
* fixed metrics registration and added additional variants
* added counter for number of disk persisted packets
* counter for pending egress packets
* counter for pending egress forward packets
* clippy
2024-12-20 10:32:56 +00:00
Jędrzej Stuczyński
a2322d6cdf
feature: nym topology revamp ( #5271 )
...
* revamped NymTopology
* wip
* working e2e client
* updated nym-api
* updated nym-node
* updated rest of non-test code
* updated the rest of the codebase
* additional tweaks
* linux clippy fixes + adding additional dummy ipr types for better linting on non-linux targets
2024-12-19 10:44:34 +00:00
Bogdan-Ștefan Neacşu
3695332036
Move tun constants to network defaults ( #5286 )
2024-12-18 15:03:21 +02:00
Bogdan-Ștefan Neacşu
b656003306
Expect that previously regitrated clients don't have v6 addr
2024-12-17 16:59:01 +02:00
Bogdan-Ștefan Neacşu
c26d4f24fc
Add conversion unit tests for auth msg ( #5251 )
...
* Add conversion unit tests for auth msg
* Fix remaining bad mac conversions
2024-12-13 10:38:25 +02:00
Jędrzej Stuczyński
4e2aa2c0b3
Merge branch 'release/2024.14-crunch' into merge/release/2024.14-crunch
2024-12-10 15:29:26 +00:00
Jędrzej Stuczyński
675e5a0305
removed semver filtering ( #5224 )
2024-12-06 17:21:21 +00:00
Jędrzej Stuczyński
5a07b73375
feature: hopefully final steps of the smoosh ™️ ( #5201 )
...
* removed mnemonic from gateway config struct
scaffolding for common mixnet listener
running verloc unconditionally in a nym-node
remove filtering by mixnode
extracted verloc to separate crate
integrated nym-node-http-server more tightly with the binary
most logic for handling forward packets
running all mixnode-related tasks natively inside nymnode
removed gateway storage trait in favour of the only concrete implementation
most logic for handling final hop packets
using nym-node owned socket listener for gateways
utility for sending plain message through mixnet + gateway fix
using common packet forwarding in both modes
nifying nym-node metrics
reproduce behaviour of the console logger
cleaned up cli args
redesigned gateway tasks startup procedure
removing dead code
scaffolding for old config v6
config migration
implemented MixnetMetricsCleaner
* clippy
* require entry/exit for wireguard
* removed dead code in migration code
* updated config template
* use custom user agent for verloc queries
* fixed premature shutdown of gateway tasks
* hidden nym-api flag to allow illegal node ips
* experiment: final hop handing with wireguard
* added additional startup logs
* typo
* fixed legacy stats endpoint data
* additional logs
* apply review comments
* fixed local testnet manager
2024-12-05 17:21:36 +00:00
Bogdan-Ștefan Neacşu
60c21a8d1d
Fix backwards compat mac generation ( #5202 )
2024-12-02 19:52:59 +02:00
benedettadavico
35aa7e338d
bump binary versions
2024-11-26 15:01:06 +01:00
Jędrzej Stuczyński
0e5bd966dd
Merge branch 'release/2024.13-magura-patched' into develop
2024-11-22 15:53:59 +00:00
benedettadavico
d8ab2a8f15
update version for clients and nym-node
2024-11-22 07:25:54 +01:00
Jędrzej Stuczyński
7bafe6583a
Merge branch 'release/2024.13-magura' into merge/release/2024.13-magura
2024-11-19 15:02:21 +02:00
Bogdan-Ștefan Neacşu
e44a36e5b5
Respond to auth messages with same version ( #5140 )
...
* Introduce traits for response
* Ugly responde with same protocol version
* Don't pull sdk crate unnecessarily
2024-11-18 11:21:07 +02:00
benedettadavico
5b216e8d40
update versions
2024-11-13 11:23:07 +01:00
Bogdan-Ștefan Neacşu
84fff02e12
Correct IPv6 address generation ( #5113 )
...
* Correct IPv6 addres generation
* Fix clippy
2024-11-11 13:57:44 +02:00
Bogdan-Ștefan Neacşu
44ae29b06d
IPv6 support for wireguard ( #5059 )
...
* Add ipv6 in configs
* Make v4 latest
* Fix linux
* IPv6 prefix in config
* Fix template of private ip
* Fix clippy
* Fix v6 cidr
* Move from 2001:db8::/32 to fc00::/7 addresses
* Fix version number on conversion
2024-11-07 12:31:01 +02:00
dynco-nym
e840c1fe93
Merge branch 'release/2024.13-magura' into develop-release-merge
2024-11-04 16:50:44 +01:00
Bogdan-Ștefan Neacşu
5cefa7fdd4
Don't increase bandwidth again ( #5081 )
2024-11-04 13:15:27 +02:00
Jędrzej Stuczyński
000f2f1c29
Merge branch 'release/2024.13-magura' into develop
2024-10-29 15:31:51 +00:00
Bogdan-Ștefan Neacşu
c03cf86000
Authenticator CLI client mode ( #5044 )
2024-10-28 16:42:05 +02:00
Jędrzej Stuczyński
d626e7689f
bugfix: make gateways insert themselves into [local] topology ( #5038 )
...
* added explicit SP suffix to started tasks
* added 'GatewayTopologyProvider' that always injects itself into the network
* use the new topology provider to bypass described bootstrapping problem
2024-10-25 12:06:16 +01:00
Bogdan-Ștefan Neacşu
b9fbe0b8f3
Reapply fixes to new branch ( #5014 )
2024-10-22 18:33:18 +03:00
Jędrzej Stuczyński
9efc50e067
Merge branch 'release/2024.12-aero' into merge/release/2024.12-aero
2024-10-22 13:03:07 +01:00
Bogdan-Ștefan Neacşu
e65e261cd3
Push private ip before inserting ( #5008 )
2024-10-22 12:31:25 +03:00
Bogdan-Ștefan Neacşu
2d78f6939e
Remove as stale instead of erroring ( #5007 )
2024-10-22 11:51:04 +03:00
Bogdan-Ștefan Neacşu
2f894b9be3
Remove race on initial req processing ( #5001 )
2024-10-21 13:15:01 +03:00
Bogdan-Ștefan Neacşu
d291582128
Separate storage from wg_api ( #4988 )
2024-10-18 19:34:09 +03:00
Bogdan-Ștefan Neacşu
18c6fd3e3e
Gateway peer fixes ( #4985 )
...
* Create bandwidth entry
* Remove mismatch possibilities
2024-10-18 12:43:36 +03:00
Bogdan-Ștefan Neacşu
e675e3937a
Top up bandwidth ( #4975 )
...
* Top up wg bandwidth
* Introduce v3 with top up
* Verify and increase cred bw
* Add log
* Fix clippy
2024-10-17 16:34:52 +03:00
benedettadavico
d75c7eaaaf
update changelog and bump binaries
2024-10-17 08:51:39 +02:00
Jędrzej Stuczyński
333ace1f97
Merge branch 'release/2024.11-wedel' into feature/wedel-merge-conflicts
2024-09-26 08:56:11 +01:00
Bogdan-Ștefan Neacşu
179d214e21
Check both version and type in message header ( #4918 )
...
* Move client type to the client code
* Check both version and type in header
2024-09-23 17:57:03 +02:00
Bogdan-Ștefan Neacşu
95ec91daa1
Entry wireguard tickets ( #4888 )
...
* Create credential verifier in authenticator
* Add new version of peer storage with client id
* Fix v1 to what it was before
* Compact storage into ecash verifier
* Fix non-linux build
* Less overlapping conditions
* Remove moved code
* Use handler thread for each peer
* Re-spawn stored handles at startup
* Keep new function without async & Result
* Put query peer in function too
* Query bandwidth
* Fix clippy
* Replace tap with inspect_err
* Fix copyright year
* Handle version 2 on the reqeust deser
* Add protocol type in req/resp messages
2024-09-23 14:49:18 +02:00
benedettadavico
803850be74
bump versions & update changelog
2024-09-23 10:00:20 +02:00
Jon Häggblad
35c94f5c4b
Update cargo deny ( #4901 )
...
* Regenerate deny.toml
* Backport old settings to deny.toml
* Explicitly allow GPL-3 only on our own specific crates
* Update deny.toml for latest changes
* Fix cargo-deny warnings for duplicate crates
* Update cargo-deny-action to v2
2024-09-19 12:53:27 +02:00
Jędrzej Stuczyński
e8e86c273e
Merge branch 'release/2024.10-caramello' into feature/2024.10-caramello-merge
2024-09-11 12:43:39 +01:00
dependabot[bot]
c08e7d2b11
build(deps): bump the patch-updates group with 22 updates ( #4846 )
...
Bumps the patch-updates group with 22 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.83` | `1.0.87` |
| [async-trait](https://github.com/dtolnay/async-trait ) | `0.1.81` | `0.1.82` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.16` | `4.5.17` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.2` | `4.5.26` |
| [clap_complete_fig](https://github.com/clap-rs/clap ) | `4.5.0` | `4.5.2` |
| [const_format](https://github.com/rodrimati1992/const_format_crates ) | `0.2.32` | `0.2.33` |
| [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ) | `4.1.2` | `4.1.3` |
| [log](https://github.com/rust-lang/log ) | `0.4.21` | `0.4.22` |
| [parking_lot](https://github.com/Amanieu/parking_lot ) | `0.12.2` | `0.12.3` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.36` | `1.0.37` |
| [schemars](https://github.com/GREsau/schemars ) | `0.8.19` | `0.8.21` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.209` | `1.0.210` |
| [serde_derive](https://github.com/serde-rs/serde ) | `1.0.209` | `1.0.210` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.127` | `1.0.128` |
| [tar](https://github.com/alexcrichton/tar-rs ) | `0.4.40` | `0.4.41` |
| [tokio-stream](https://github.com/tokio-rs/tokio ) | `0.1.15` | `0.1.16` |
| [tokio-util](https://github.com/tokio-rs/tokio ) | `0.7.11` | `0.7.12` |
| [url](https://github.com/servo/rust-url ) | `2.5.0` | `2.5.2` |
| [wasm-bindgen-test](https://github.com/rustwasm/wasm-bindgen ) | `0.3.42` | `0.3.43` |
| [http-body-util](https://github.com/hyperium/http-body ) | `0.1.1` | `0.1.2` |
| [hyper-util](https://github.com/hyperium/hyper-util ) | `0.1.3` | `0.1.5` |
| [tokio-tun](https://github.com/yaa110/tokio-tun ) | `0.11.4` | `0.11.5` |
Updates `anyhow` from 1.0.83 to 1.0.87
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.83...1.0.87 )
Updates `async-trait` from 0.1.81 to 0.1.82
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.81...0.1.82 )
Updates `clap` from 4.5.16 to 4.5.17
- [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.16...clap_complete-v4.5.17 )
Updates `clap_complete` from 4.5.2 to 4.5.26
- [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.2...clap_complete-v4.5.26 )
Updates `clap_complete_fig` from 4.5.0 to 4.5.2
- [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_fig-v4.5.0...clap_complete_fig-v4.5.2 )
Updates `const_format` from 0.2.32 to 0.2.33
- [Release notes](https://github.com/rodrimati1992/const_format_crates/releases )
- [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md )
- [Commits](https://github.com/rodrimati1992/const_format_crates/commits )
Updates `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 )
Updates `log` from 0.4.21 to 0.4.22
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22 )
Updates `parking_lot` from 0.12.2 to 0.12.3
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.2...0.12.3 )
Updates `quote` from 1.0.36 to 1.0.37
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.36...1.0.37 )
Updates `schemars` from 0.8.19 to 0.8.21
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.19...v0.8.21 )
Updates `serde` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210 )
Updates `serde_derive` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210 )
Updates `serde_json` from 1.0.127 to 1.0.128
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128 )
Updates `tar` from 0.4.40 to 0.4.41
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.40...0.4.41 )
Updates `tokio-stream` from 0.1.15 to 0.1.16
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.15...tokio-stream-0.1.16 )
Updates `tokio-util` from 0.7.11 to 0.7.12
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.11...tokio-util-0.7.12 )
Updates `url` from 2.5.0 to 2.5.2
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.5.0...v2.5.2 )
Updates `wasm-bindgen-test` from 0.3.42 to 0.3.43
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
Updates `http-body-util` from 0.1.1 to 0.1.2
- [Release notes](https://github.com/hyperium/http-body/releases )
- [Commits](https://github.com/hyperium/http-body/compare/http-body-util-v0.1.1...http-body-util-v0.1.2 )
Updates `hyper-util` from 0.1.3 to 0.1.5
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.3...v0.1.5 )
Updates `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: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete_fig
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: const_format
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: curve25519-dalek
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: parking_lot
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: schemars
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_derive
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tar
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: wasm-bindgen-test
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: http-body-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: hyper-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio-tun
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 10:22:42 +02:00
Jędrzej Stuczyński
45e6011961
vol3
2024-09-09 09:10:19 +01:00
Jędrzej Stuczyński
43b0b3eb37
i hate the ipr build process vol2
2024-09-09 09:10:19 +01:00
Jędrzej Stuczyński
27afe645c6
i hate the ipr build process
2024-09-09 09:10:18 +01:00
Jędrzej Stuczyński
052dbeaef8
adjusting the API and fixing CI
2024-09-09 09:10:18 +01:00
Jędrzej Stuczyński
fb0b9da14f
revamped ticketbook serialisation and exposed additional cli methods
2024-09-09 09:10:17 +01:00
Jon Häggblad
51d1803ddd
Run cargo autoinherit following last weeks dependabot updates ( #4831 )
2024-09-02 15:24:52 +02:00
Bogdan-Ștefan Neacşu
7c1fca8ce4
Persist used wireguard private IPs ( #4771 )
...
* Persist used wireguard private IPs
* Fix imports
* Remove unnecessary type specification
2024-08-21 11:26:14 +02:00
Bogdan-Ștefan Neacşu
2ae81f6da0
Avoid race on ip and registration structures ( #4766 )
2024-08-20 14:51:59 +02:00
benedettadavico
c0ea599913
update changelog and version bump
2024-08-19 10:32:21 +02:00
Jon Häggblad
cb4b0403b5
Remove deprecated mark_as_success and use new disarm ( #4751 )
2024-08-13 15:09:48 +02:00
benedetta davico
dca2b2c763
Merge branch 'develop' into release/2024.9-topdeck
2024-08-06 10:19:48 +02:00