Commit Graph

203 Commits

Author SHA1 Message Date
mfahampshire 0492d84ea8 add cancel token disconnect fn 2025-01-03 13:35:39 +01:00
mfahampshire 70c1e4fd85 update mod file 2025-01-03 13:35:39 +01:00
mfahampshire 5047ed2722 added disconnect to client pool 2025-01-03 13:35:39 +01:00
mfahampshire 8630cefddb client pool example done 2025-01-03 13:35:39 +01:00
mfahampshire 68a1d43cbf comments 2025-01-03 13:35:39 +01:00
mfahampshire fedaf00375 clippy 2025-01-03 13:35:39 +01:00
mfahampshire 7660f007c8 client pool example 2025-01-03 13:35:39 +01:00
mfahampshire 747675f52f client_pool.rs mod 2025-01-03 13:35:39 +01:00
mfahampshire c7b3bd1608 minor comments 2025-01-03 13:35:39 +01:00
mfahampshire 6fc231821b some inline comments 2025-01-03 13:35:39 +01:00
mfahampshire fa6efbaa2a comments to examples 2025-01-03 13:35:39 +01:00
mfahampshire e9ade22b10 slightly dropped default decay time 2025-01-03 13:35:39 +01:00
mfahampshire 7563cccf49 bump default decay time (again) 2025-01-03 13:29:55 +01:00
mfahampshire 95274e3883 bump default decay time 2025-01-03 13:29:55 +01:00
mfahampshire c8ca174b87 updated code commnet 2025-01-03 13:29:55 +01:00
mfahampshire 4eccc59f6f bump default decay time 2025-01-03 13:29:55 +01:00
mfahampshire 56becc3a34 minor tweaks 2025-01-03 13:29:55 +01:00
mfahampshire 13a6f0b5ef logging change 2025-01-03 13:29:55 +01:00
mfahampshire 4f1bac204c cancel token 2025-01-03 13:29:55 +01:00
mfahampshire f87f57bddd first pass spin out client_pool 2025-01-03 13:29:55 +01:00
mfahampshire c49f7f91ed first version working 2025-01-03 13:29:55 +01:00
mfahampshire 8c8e085796 added notes for next features 2025-01-03 13:29:55 +01:00
mfahampshire 4bb05f3698 err handling conpool start 2025-01-03 13:29:55 +01:00
mfahampshire 8fcea5f350 removed a bunch of commenting from example 2025-01-03 13:29:55 +01:00
mfahampshire 42739597ed removed a bunch of commenting from example 2025-01-03 13:29:55 +01:00
mfahampshire 699aa6116a comments 2025-01-03 13:29:55 +01:00
mfahampshire 4519bd6571 remove comments and reduce logging verbosity 2025-01-03 13:29:55 +01:00
mfahampshire 5083b420ec remove double accounting for moment 2025-01-03 13:29:55 +01:00
mfahampshire 6f4421dc4a trying to get disconnect to remove from pool 2025-01-03 13:29:55 +01:00
mfahampshire 415c30fcc9 first pass disconnect 2025-01-03 13:29:55 +01:00
mfahampshire 8e8eceb894 fix flipped lowerthan waiting for pool 2025-01-03 13:29:55 +01:00
mfahampshire 546482916d first pass connpool 2025-01-03 13:29:55 +01:00
mfahampshire 530d744d6d make default decay const 2025-01-03 13:29:55 +01:00
mfahampshire 2e8e9a4c0a tweak existing conn tracker logic 2025-01-03 13:29:55 +01:00
mfahampshire 109de83128 tweak 2025-01-03 13:29:55 +01:00
mfahampshire 0c36e64526 tweak 2025-01-03 13:29:55 +01:00
mfahampshire d423cde71c changed logging 2025-01-03 13:29:55 +01:00
mfahampshire 1130d0fe3e name change + specific inc and dec logging 2025-01-03 13:29:55 +01:00
mfahampshire f53d2aa4cd small tweak to tcp tracker 2025-01-03 13:29:55 +01:00
mfahampshire c406814886 tcp conn tracker 2025-01-03 13:29:55 +01: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 61e872f033 Add windows to CI builds (#5269)
* Add windows to CI builds

* Fix win build for node status api

* Fix win build for sdk

* Fix win build for cred proxy
2024-12-17 15:18:11 +02:00
Drazen Urch 84d7004cb2 Add control messages to GatewayTransciver (#5247)
* Add control messages to GatewayTransciver

* Add forget me flag to clients

* CI gate IPIINFO test

* Handle ForgetMe for client and stats db

* fmt
2024-12-16 15:18:04 +01:00
Bogdan-Ștefan Neacşu 88d6fb4e22 Add fd callback to client core (#5230)
* Add fd callback to client core

* Include in sdk

* Fix clippy many args

* Method in builder

* Replace Box with Arc
2024-12-16 13:57:34 +02:00
Jędrzej Stuczyński b813044360 bugfix: make sure to apply gateway score filtering when choosing initial node (#5256)
* bugfix: make sure to apply gateway score filtering when choosing initial node

* mixfetch build fix
2024-12-13 09:09:56 +00: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
Simon Wicky 475a01c089 prepare vpn client country reporting (#5134) 2024-11-15 13:32:14 +01:00
Simon Wicky b424c6a8ff [Product Data] Add stats reporting configuration in client config (#5115)
* add stats_reporting_config in config and env var

* fix serializazion issue

* remove duplicate stats reporting config

* cargo toml cleanup

* more cleanup

* draft of wasm sdk for stats reporting

* fix wasm sdk?

* again

* make stats sending possible from outside the sdk

* make sure stats_id from client and gateway reported ared different
2024-11-13 08:38:35 +01:00