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
282b27646f
review comments
2024-06-10 11:19:27 +01:00
Jędrzej Stuczyński
f412f45b50
proper type conversions and client compat
2024-06-10 11:03:26 +01:00
Jędrzej Stuczyński
9c19452758
scaffolding of using new endpoints in the client
2024-06-10 10:11:07 +01:00
Jon Häggblad
a06ae48e2f
Add methods to MixnetClient to sign messages ( #4602 )
2024-05-20 10:22:28 +02: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
519d419bbf
bugfix: use OptionFuture for creating metrics server
2024-03-28 15:16:28 +00:00
Jędrzej Stuczyński
a5a9b5128f
Merge pull request #4508 from nymtech/chore/beta-CI
...
fixed beta clippy: lints + updated cosmwasm to 1.4
2024-03-28 10:12:33 +00:00
Jędrzej Stuczyński
7c14a92baa
decreased logging level
2024-03-27 17:20:38 +00:00
Jędrzej Stuczyński
c07b782afa
added bool to list gateways to indicate currently active gateway
2024-03-27 17:20:38 +00:00
Jędrzej Stuczyński
1b5a0f8cf2
list gateways cli command
2024-03-27 17:20:04 +00:00
Jędrzej Stuczyński
a4e5b2af93
further wasm fixes
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
67c5a36894
building wasm-client-core
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
765ac715c1
fixing builds of x86-based binaries
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
c4bc156cac
actual sql
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
40f08dcbb2
impl GatewaysDetailsStore for OnDiskGatewaysDetails
...
without the underlying sql
2024-03-27 17:20:02 +00:00
Jędrzej Stuczyński
fc43cb590b
further adjusting storage and setup to allow for wg use
2024-03-27 17:20:02 +00:00
Jędrzej Stuczyński
d31fddf940
gateway info migration + impl for native client
...
other clients are broken
2024-03-27 17:20:02 +00:00
Jędrzej Stuczyński
a3b1a7337d
checking for already registered gateways
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
Jędrzej Stuczyński
1916adedcc
socks5 client compiling
...
but definitely not working yet
2024-03-27 17:20:00 +00:00
Jędrzej Stuczyński
a3132b907a
further propagation of new gateway/key types
2024-03-27 17:20:00 +00:00
Jędrzej Stuczyński
0e09826140
initial work on client config migration
2024-03-27 17:20:00 +00:00
Jędrzej Stuczyński
6915fef99f
removing generics from 'GatewaySelectionSpecification'
2024-03-27 17:20:00 +00:00
Jędrzej Stuczyński
c80c0b88bf
starting to weave in new storage trait
2024-03-27 17:20:00 +00:00
Jędrzej Stuczyński
f0072ce828
moved reply surb storage to separate subcrate
2024-03-27 17:19:58 +00:00
Jędrzej Stuczyński
7e6feb0cd2
fixed beta clippy: lints + updated cosmwasm to 1.4
2024-03-27 16:04:51 +00:00
durch
5fe6a2c63d
Undo duplication
2024-03-27 16:31:26 +01:00
durch
90ff36afe8
Fix wasm
2024-03-27 16:24:41 +01:00
durch
d2f482c743
Feature gate metrics-server
2024-03-27 16:23:30 +01:00
Jędrzej Stuczyński
400f248e83
cherry-pick 80066d330527b7993cc85833b1b3ae96cc487bb9 to fix wasm build
2024-03-27 14:13:20 +00:00
Jon Häggblad
fb5d775857
Fix warnings for rustc 1.77
2024-03-21 22:20:43 +01:00
durch
eb914463dc
Fix wasm build
2024-03-20 13:27:58 +01:00
durch
7ecac4a7b4
Fix predictable port range :)
2024-03-20 12:59:10 +01:00
durch
0b82109e3c
Predictable IP range
2024-03-20 12:59:10 +01:00
durch
46a319bd7a
Randomize port assignemnt
2024-03-20 12:59:10 +01:00
durch
af68da9406
Dont panic on error
2024-03-20 12:59:10 +01:00
durch
27978908d0
Disable metrics server for wasm
2024-03-20 12:59:10 +01:00
durch
72cffc71cc
Light server to statistics control
2024-03-20 12:59:10 +01:00
Drazen
5753c30973
Instrument client-core
2024-03-20 12:59:10 +01:00
Bogdan-Ștefan Neacşu
9ff37d2f9f
Propagate gateway ws fd into sdk ( #4398 )
...
* Propagate gateway ws fd into sdk
* Wrap fd in a more general struct
2024-02-21 12:27:18 +02:00
Jon Häggblad
cec05a99f4
Tweak packet rate log string
2024-02-12 13:05:30 +01:00
Jon Häggblad
9b53473bee
Tweak retransmission log info ( #4387 )
2024-02-09 18:22:25 +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
Jon Häggblad
3510ee8df6
Report packet traffic rates in nym client ( #4345 )
...
* Report packet traffic rates
* Tweak log
* Check for unusual events
* Log tweaks
2024-01-26 12:13:46 +01:00
Jon Häggblad
dbe6a5de7d
Fix reported sizes of the received packets ( #4343 )
...
The received packet sizes as reported in the stats should include the
encryption that is decrypted by the client. Note that this does not
include the sphinx encryption, which is already removed by the exit
gateway. This is also the reason for the relatively large discrepancy of
the reported sent and received packets.
2024-01-24 14:54:40 +01:00
Jon Häggblad
643f54024b
Client packet counters ( #4325 )
...
* WIP: put in some packet counters
* ws packet counters
* wip
* Add static counters to client traffic stream
* Tweak status log message
* Add packet statistics control
* fixup! Add static counters to client traffic stream
* tweak log
* Move the packet statistics control one level up
* Redo packet stats control to collect locally
* Switch loop cover traffic report over to new channel mechanism
* Switch packet stats in real message stream to channel report
* Finished switching over to channel reporting
* Fix handle stats event
* Log packets received
* Tidy up
* rustfmt
* Add strongly typed stats reporter
* Count cover packets as well
* Log packet sizes sent
* Also log recieved sizes
2024-01-22 09:00:11 +01:00
Jędrzej Stuczyński
2d9e34cc81
clippy
2024-01-02 10:27:43 +00:00
Jon Häggblad
723e30fb1d
Replace panic with error for inserting duplicate pending ack ( #4248 )
2023-12-14 10:13:59 +01:00