Tommy Verrall
6b2c13b3fd
Merge pull request #4126 from nymtech/chore/adjust-selection-weights
...
using performance^20 when calculating active set selection weight
2023-11-27 07:46:57 +00:00
Bogdan-Ștefan Neacşu
bd830780e1
Add wireguard_mode flag to SDK ( #4168 )
...
* Add wireguard_mode flag to SDK
* Add to builder in sdk too
* Move hardcoded IP in a lighter crate
* Put in network defaults
* Fix linux
* Move wireguard mode swap before init
* Use the updated gateway hosts
* Set wireguard IP even for pre-inited mix client
* Fix typo
2023-11-24 16:20:22 +01:00
Jon Häggblad
c79d864c3d
Merge remote-tracking branch 'origin/master' into develop
2023-11-24 14:23:49 +01:00
Jędrzej Stuczyński
d92c8c4149
deal with the pow error during stake adjustment
2023-11-24 09:40:17 +00:00
Jędrzej Stuczyński
4c8fa74dfe
remove the panic
2023-11-24 09:31:46 +00:00
Jon Häggblad
177cb22a3f
Fix action controller stopping too early ( #4170 )
...
* Stop ActionController only after both incoming channels closed
* Downgrade task getting dropped message to debug level
* The warning to the user is not a warning that things didn't work
* rustfmt
* fix channel close logic
* Don't close real traffic stream and sent notification listener too aggressively
2023-11-23 12:44:25 +01:00
Tommy Verrall
5eda5cc35d
amending gas adjustment to prevent tx broadcast errors
2023-11-22 09:37:54 +00:00
Jędrzej Stuczyński
6ac38f80c7
fixed coconut test fixture
2023-11-22 09:37:54 +00:00
Tommy Verrall
a4cf3b9166
amend gas adjustment
...
otherwise we have no gas :(
2023-11-22 09:37:53 +00:00
Jędrzej Stuczyński
002c04051a
Changing from 034 compat mode to 037
2023-11-22 09:37:53 +00:00
Jędrzej Stuczyński
1aa12886db
'deliver_tx' => 'tx_result'
2023-11-22 09:37:53 +00:00
Jędrzej Stuczyński
6552cbaeda
Updated cosmrs-related dependencies
2023-11-22 09:37:52 +00:00
Jon Häggblad
818d7ee13e
Add logging for client fetching gateways and pretty print error ( #4164 )
...
* Add logging for client fetching gateways
* Pretty print error in client
* update
2023-11-21 11:41:03 +01:00
Jon Häggblad
81c692d305
Extract out tun crate ( #4159 )
...
* wip
* Use common interface request response
* wip: extract crates
* wip
* new structure compiles
* Create tun_common subdir
* Comment out return_mix_delays for now
* Remove unused boringtun dependency
* Revert to previous packet encoding
* Allow dead code on non-linux
* Add new function
2023-11-21 09:55:35 +01:00
Jon Häggblad
1728de57b9
Fix bunch of warnings on latest rustc beta ( #4161 )
2023-11-21 09:02:48 +01:00
Bogdan-Ștefan Neacşu
a5c1e4abf0
Expose the same pub key that's used for wg ( #4157 )
2023-11-17 13:04:22 +00:00
Jon Häggblad
1cdd8f6c08
Rework error handling in tun device ( #4146 )
...
* Rework error handling in tun device
* Extract out timeout constants
* Experiment with timeouts
* Update error msg
* try_send in one direction as hotfix for deadlock
* Downgrade some log from info to debug
* Update comment
* rustfmt
2023-11-17 09:52:05 +01:00
Drazen Urch
2708c0ce10
Feature/deb package ( #4153 )
...
* Add debian scaffolding, allow specifying home_dir in env
* Run as nym user
2023-11-16 12:35:02 +01:00
Tommy Verrall
428d91a536
fmt
2023-11-15 12:37:01 +00:00
Tommy Verrall
88e0eaafcb
update args to pass through correctly
2023-11-15 12:32:23 +00:00
Tommy Verrall
dd19cabf15
adding the cost parameter update to the nym-cli
2023-11-15 12:30:02 +00:00
Jon Häggblad
e6f76380f6
Add timeouts in tun handler ( #4142 )
2023-11-14 17:34:37 +01:00
Jędrzej Stuczyński
ef8e452f30
using performance^20 when calculating active set selection weight
2023-11-10 09:54:03 +00:00
Bogdan-Ștefan Neacşu
d38139be66
Add private ip assignment ( #4089 )
...
* Add private ip assignment
* Update wg IPs
2023-11-09 13:39:27 +02:00
Jon Häggblad
72bad6bb38
Fix read packet buffer size ( #4122 )
2023-11-09 02:12:58 +01:00
Jon Häggblad
18aa4707a4
wg: tun devices in wireguard and packet router are separate ( #4121 )
2023-11-08 15:16:00 +01:00
Jon Häggblad
2c90229fce
Set peer at runtime
2023-11-08 08:42:19 +01:00
Jon Häggblad
b461645d3d
Make MTU configurable at runtime
2023-11-08 08:42:19 +01:00
Jon Häggblad
f7f8b9b898
wireguard: set MTU to 1420
2023-11-08 08:42:19 +01:00
Jędrzej Stuczyński
8f53f095fb
Change default http API timeout from 3s to 10s ( #4117 )
2023-11-07 15:35:02 +00:00
Jon Häggblad
756aca36ad
Take RoutingMode as argument
2023-11-03 09:26:32 +01:00
Jon Häggblad
71a409cc0d
Add RoutingMode enum
2023-11-03 09:26:32 +01:00
Jon Häggblad
833a1b118e
on_message
2023-11-03 09:26:25 +01:00
Jon Häggblad
22dbdf0cd2
Create IpForwarderService
2023-11-03 09:26:25 +01:00
Sebastian Martinez
784ee5ace8
Revert "Add hack for working with old nym gateways"
...
This reverts commit 7129de4373 .
To avoid breaking wss
2023-11-01 13:28:49 +01:00
Jędrzej Stuczyński
1370192823
print info on exit policy on embedded NR init ( #4086 )
2023-11-01 10:31:59 +00:00
Sebastian Martinez
7129de4373
Add hack for working with old nym gateways
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-11-01 09:30:40 +01:00
Tommy Verrall
7e16920358
Merge pull request #4077 from nymtech/chore/unify-client-init
...
DRY up client cli
2023-11-01 08:26:02 +00:00
Jon Häggblad
e38b8fd419
Merge pull request #4064 from nymtech/jon/embedded-ip-forwarder-in-gateway
...
Run nym-ip-packet-router in gateway
2023-10-31 14:48:21 +01:00
Jon Häggblad
70d0aabbc1
Big chunk of search replace to the new name
2023-10-31 10:37:46 +01:00
Jędrzej Stuczyński
5fcaacc39a
wasm lock
2023-10-30 17:16:08 +00:00
Jędrzej Stuczyński
30000126d1
Incorporate basic nym-node HTTP API (with swagger) to mixnodes ( #4075 )
...
* basic nym-node router
* loading legacy routes
* dead code
* config migrations
2023-10-30 17:12:13 +00:00
Jędrzej Stuczyński
00179d563b
removed the contracicting flag
2023-10-30 17:06:36 +00:00
Jędrzej Stuczyński
4a4b0ab7e0
putting no cover and fastmode to common args
2023-10-30 16:59:40 +00:00
Jędrzej Stuczyński
b3c7801f73
moved to different submodule
2023-10-30 16:30:12 +00:00
Jędrzej Stuczyński
4716d278ce
combine client run args
2023-10-30 16:26:37 +00:00
Jędrzej Stuczyński
f6f2cd7e17
unified native, socks5, NR client inits
2023-10-30 16:14:18 +00:00
Jędrzej Stuczyński
da9d743f39
[mixnode] replace rocket with axum ( #4071 )
...
* axum-equivalent mixnode http api routes
* replaced all rocket routes with axum equivalents
* removed '_axum' suffix from the routes
2023-10-30 12:55:42 +00:00
Jon Häggblad
cfef1f8325
config handling
2023-10-30 11:11:38 +01:00
Bogdan-Ștefan Neacşu
a209b87a41
Use the same hardcoded value for wg port
2023-10-27 14:29:57 +03:00