Jon Häggblad
d34c829174
Create UserAgent that can be passed from the binary to the nym api client ( #4677 )
...
* Create UserAgent that can be passed from the binary to the nym api client
* TryFrom for UserAgent to HeaderValue
* Add user agent for getting the list of gateways
* Fix wasm client
* Move clap behind feature flag in bin-common
* Implement conversion to UserAgent
* Set user_agent on base client in native and socks5 clients
* Set user agent in socks5-listener lib
* wip
* wip
* Deserialize cargo_triple to unknown by default
* Abbreviate git hash
* Remove unused import
* Add missing dep, and remove dbg statements
* Reorder string representation
* Remove commented out code
* Revert temporary log level change
2024-07-01 13:29:10 +02:00
Jędrzej Stuczyński
0626e54b6a
make embedded NR/IPR ignore performance of the gateway
2024-06-21 10:03:24 +01:00
Jon Häggblad
7019dcc11f
Clean up parsing request
2024-05-28 22:26:13 +02:00
Jon Häggblad
bab842d277
Move comment
2024-05-28 19:35:23 +02:00
Jon Häggblad
a374bca601
Check timestamp
2024-05-28 15:10:45 +02:00
Jon Häggblad
d4d3041816
Verify signature if present
2024-05-28 12:22:39 +02:00
Jon Häggblad
70766b6d3e
Handle v6 and v7 requests in the IPR, but reply with v6
2024-05-28 09:00:08 +02:00
Jon Häggblad
9badeac832
cargo autoinherit in root workspace
2024-05-20 13:16:25 +02:00
Jędrzej Stuczyński
f826904407
fix credential expiration + improve errors + naively stop client when out of bandwidth
2024-04-12 15:00:49 +01:00
Jędrzej Stuczyński
4c5351ba60
Feature/one binary to rule them all ( #4500 )
2024-04-05 19:34:31 +02:00
Jędrzej Stuczyński
4c43935862
change NR+IPR return types
2024-03-28 08:49:30 +00:00
Jędrzej Stuczyński
f012a1a069
fixed add gateway commands for nr and ipr
2024-03-27 17:22:30 +00:00
Jędrzej Stuczyński
74d03bfb3b
moved for adding new gateways to separate command and made client init only first time setup related
2024-03-27 17:22:30 +00:00
Jędrzej Stuczyński
b8ab07020c
fixed eda61b57dc8d349a9b0af70cbd02743eba1e10bf
2024-03-27 17:22:29 +00:00
Jędrzej Stuczyński
ebd1eeb38d
allow gateways to migrate configs of embedded NR/IPR
2024-03-27 17:20:39 +00:00
Jędrzej Stuczyński
062f4517d6
added cli command for switching active gateway
2024-03-27 17:20:38 +00:00
Jędrzej Stuczyński
28b02c83db
unified credential import cli + added it for ipr
2024-03-27 17:20:36 +00:00
Jędrzej Stuczyński
1b5a0f8cf2
list gateways cli command
2024-03-27 17:20:04 +00:00
Jędrzej Stuczyński
6c0573cb01
split up InitialisableClient trait
2024-03-27 17:20:04 +00:00
Jędrzej Stuczyński
b59487cfb0
fixed ipr imports
2024-03-27 17:20:04 +00:00
Jędrzej Stuczyński
9b10871efb
ipr config migration
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
c7f7e77099
updated config templates
2024-03-27 17:20:01 +00:00
Jędrzej Stuczyński
5bb96bf42c
additional fixes to key creation
2024-03-27 17:20:01 +00:00
Jędrzej Stuczyński
c0ae924c58
move storage helpers
2024-03-27 17:20:01 +00:00
Bogdan-Ștefan Neacşu
c1e67cdc15
Increase subnet range for IPPR ( #4487 )
...
* Increase subnet range for IPPR
* Fix for IPv6
* Fix range
* Add unit test
* Bump version
2024-03-21 13:18:43 +02:00
Jon Häggblad
0e56d8c2f7
Add severity level to IPR response and downgrade filter check failed ( #4447 )
...
* Add info level to response from ipr
* Downgrade exit policy filter check failed to warning
* Bump ipr request response version
2024-03-08 15:21:41 +01:00
Bogdan-Ștefan Neacşu
d3ba008b88
Add IPPair constructor ( #4440 )
...
* Add IPPair constructor
* Rename
2024-03-04 12:56:10 +02:00
Bogdan-Ștefan Neacşu
aebd386382
Add IPv6 support to IPPR ( #4431 )
2024-03-01 19:28:21 +02:00
Jędrzej Stuczyński
e7d0c1812a
added import commands for client binaries
2024-02-19 11:43:15 +00:00
Jędrzej Stuczyński
7bbac26676
replaced usage of lazy_static to oncelock for build information
2024-02-19 11:42:57 +00:00
Jon Häggblad
b9e9809938
Extract out handle_responses
2024-02-12 12:14:51 +01:00
Jon Häggblad
3fde9e648f
Add health request response
2024-02-10 23:53:03 +01:00
Jon Häggblad
0b37b9fb1c
Add ping pong request response
2024-02-10 23:35:36 +01:00
Jon Häggblad
92ab794294
Encode packets in connection handler
2024-02-10 23:07:45 +01:00
Jon Häggblad
3f0210d56a
Handle incoming multi-ip packets in IPR
2024-02-10 22:40:21 +01:00
Jon Häggblad
8450df28df
Tweak logging
2024-02-09 10:58:49 +01:00
Jon Häggblad
0b23d1624f
Switch to JoinHandle
2024-02-09 09:49:18 +01:00
Jon Häggblad
2026ffd61f
Error logging
2024-02-09 09:49:18 +01:00
Jon Häggblad
48e5aecda1
Don't unwrap on failed to send close signal
2024-02-09 09:49:18 +01:00
Jon Häggblad
d8e484b77e
Disconnect stopped client handlers
2024-02-09 09:49:18 +01:00
Jon Häggblad
d4ca2a7220
Implement drop for client handlers too
2024-02-09 09:49:18 +01:00
Jon Häggblad
2f0074821c
Downgrade some logging after checking it works
2024-02-09 09:49:18 +01:00
Jon Häggblad
d5e332ad39
Deduplicate and clean up
2024-02-09 09:49:18 +01:00
Jon Häggblad
14bf5645b1
Add missing module
2024-02-09 09:49:18 +01:00
Jon Häggblad
a11582749c
Add connected_client_handler
2024-02-09 09:49:18 +01:00
Jon Häggblad
b21346064e
Add disconnect request/response for the future
2024-02-07 10:18:23 +01:00
Jon Häggblad
d7da6ed1ab
Remove unused error case
2024-02-05 09:01:11 +01:00
Jon Häggblad
4d62dc9c74
Respond to sender on version mismatch
2024-02-04 18:34:29 +01:00
Jon Häggblad
d7d4c9f09a
Split ip-packet-requests types into modules
2024-02-02 14:49:51 +01:00
Jon Häggblad
b874fc9314
Standalone ip-packet-router ( #4342 )
...
* Initial copy of code from network-requester
* Fix unused
* Fix reading nym-api
* Log env setup steps
* rustfmt
* fix
* Fix unused
* Log number of retransmissions instead of rate
2024-01-30 13:15:34 +01:00