Commit Graph

1422 Commits

Author SHA1 Message Date
jstuczyn 689c4fc66c Updated wasm publishing instructions 2020-09-16 15:32:31 +01:00
Jędrzej Stuczyński c50e9a9ed7 Feature/wasm update (#341)
* Split text and binary client apis

* Very initial attempt at new serialization

* Defined ser+de for Recipient and ReplySURB

* Response errors

* builds with changes

* Working WS API + moved to separate crate

* updated python examples

* Fixed parsing bug

* Updated go examples

* Updated rust examples

* formatting

* Removed unused imports

* dependency updates

* Further dependency changes

* nymsphinx exposingn framing only if not in wasm32

* Cargo lock changes before develop merge

* Pending work

* Actually sending and receiving websocket from rust!

* more WIP

* Initial wasm client + establishing shared key with gateway!

* Splitting and sending a message!

* WIP

* WIP

* Initial wasm-ification of the gateway client

* Passing reconstruction result to js callback!

* Initial WASM cleaning pass

* Dependency pruning

* Moved processing loop to received_processor + at least ack unwrappingn

* Post merge fix

* Kinda updated react example

* Old print statement removed

* Removed yarn.lock

* Fixed building issue for other clients

* Fixed travis test command
2020-09-16 15:18:04 +01:00
Jedrzej Stuczynski 23edeefcdc Merge tag 'v0.8.0' into develop
Release v0.8.0
2020-09-10 14:17:29 +01:00
Jedrzej Stuczynski f58d19ab9a Merge branch 'release/v0.8.0' v0.8.0 2020-09-10 14:17:13 +01:00
Jedrzej Stuczynski 68dac6266e Updated version numbers 2020-09-10 14:17:01 +01:00
Jędrzej Stuczyński 04948d3d62 v0.8.0 Changelog update (#328)
* Updated changelog

* Changed link to future tag

* Changelog update
2020-09-10 14:14:13 +01:00
Jędrzej Stuczyński 6aada422ec placeholder contact form url (#334)
* placeholder contact form url

* Gateway URL update

* Mixnode url update
2020-09-10 14:08:48 +01:00
Jędrzej Stuczyński b487126f5f Recommended testnet gateway (#335) 2020-09-10 12:52:04 +01:00
Dave 9d2838425a Reducing default delays 2020-09-10 12:23:46 +01:00
Dave Hrycyszyn 915dba2c32 Knocking down delay on message sending default (#332)
* Knocking down delay on message sending default

* accuratizing comments
2020-09-10 11:03:16 +01:00
Jędrzej Stuczyński 66eb1913ba Made gateway mandatory during init (#331) 2020-09-10 10:57:35 +01:00
Dave Hrycyszyn 82b0d7cbcf Renaming client binary (#330) 2020-09-10 10:04:47 +01:00
Jędrzej Stuczyński 533de18175 Socks client no longer logging dns resolved addresses (#329) 2020-09-09 09:47:38 +01:00
Dave Hrycyszyn 4e88960d60 Removing onion addresses.
Tor over a mixnet would be fun though.
2020-09-08 18:43:49 +01:00
Dave Hrycyszyn 256c04bbfa Feature/sphinx socks (#326)
* Renamed simple-socks5 to sphinx-socks

* Changing default storefile path to rename

* Adding a sample list of allowed network requests

* Fixing test
2020-09-08 16:20:27 +01:00
Jędrzej Stuczyński d3ce909916 Feature/websocket js example dependency update (#323)
* Removed yarn.lock file

* Updated dependencies
2020-09-08 15:19:47 +01:00
Jędrzej Stuczyński 29074723c3 Feature/temp wasm example removal (#324)
* Removed yarn.lock file

* wasm js-example dependency updates

* Disabled wasm js-example

* Disabled wasm react example
2020-09-08 15:18:44 +01:00
Jędrzej Stuczyński 0f01893ac2 Feature/print client address on startup (#325)
* Decreased logging level

* Printing clients full address on startup
2020-09-08 15:18:09 +01:00
Jędrzej Stuczyński ae40b0d857 snake_cased replySURBs (#322) 2020-09-08 13:11:22 +01:00
Jędrzej Stuczyński 80d01f1f75 Feature/outbound request lists (#321)
* Moving main upwards

* WIP commit

* Checking outbound requests starting to happen

* Renamed Persistence to HostsStore

* Ensured that unknowns are only added once

* Ownership improvements

* Adding rand crate so we can generate test output files

* Adding dirs crate so we can save to disk

* ibid

* ibid

* Unknown hosts are written to file

* Tests ensuring that unknown requests are written only once

* Fixed up paths for easier testing

* Loading host lists from disk

* Saving domain roots in unknown file

* Only fetching the publicsuffix domains list once

* Documenting use of publicsuffix list

* Beefed up error handling

* Knocking down log level on high water mark

* Minor cleanup on domain parsing

* Noted failing filter check
2020-09-08 12:06:32 +01:00
Dave 83e78e7df1 Setting log message to trace 2020-09-08 12:02:04 +01:00
Dave 406086aec7 Removing log message 2020-09-08 12:01:43 +01:00
Dave 80a86e3bec Noted failing filter check 2020-09-05 14:14:29 +01:00
Dave eb1737264e Minor cleanup on domain parsing 2020-09-05 14:14:03 +01:00
Dave 4b16d14121 Knocking down log level on high water mark 2020-09-05 14:13:35 +01:00
Dave 4c055a8e35 Beefed up error handling 2020-09-05 13:00:18 +01:00
Dave 9ce8c42455 Documenting use of publicsuffix list 2020-09-05 12:35:34 +01:00
Dave d3cb0d25c8 Only fetching the publicsuffix domains list once 2020-09-05 11:59:58 +01:00
Dave 4d4ee26a9b Saving domain roots in unknown file 2020-09-04 20:27:19 +01:00
Dave b7a8aefbde Loading host lists from disk 2020-09-04 15:08:10 +01:00
Dave ac3829c65f Fixed up paths for easier testing 2020-09-04 14:02:46 +01:00
Dave 11000a99c1 Tests ensuring that unknown requests are written only once 2020-09-04 13:04:20 +01:00
Dave 5340716cce Unknown hosts are written to file 2020-09-04 10:53:02 +01:00
Dave 334e8f2096 ibid 2020-09-04 10:48:17 +01:00
Dave 244a8bf957 ibid 2020-09-04 10:48:11 +01:00
Dave c4e9577f78 Adding dirs crate so we can save to disk 2020-09-04 10:47:57 +01:00
Dave 80b16069e8 Adding rand crate so we can generate test output files 2020-09-04 10:47:43 +01:00
Dave 4cb9720758 Ownership improvements 2020-09-03 15:10:31 +01:00
Dave 6d1a499cbe Ensured that unknowns are only added once 2020-09-03 15:10:21 +01:00
Dave 918e134c37 Renamed Persistence to HostsStore 2020-09-03 15:04:06 +01:00
Dave dc5576e1d7 Checking outbound requests starting to happen 2020-09-03 15:02:17 +01:00
Dave 822f6350cb WIP commit 2020-09-03 11:47:28 +01:00
Dave d1b7ed8603 Moving main upwards 2020-09-02 15:25:00 +01:00
Jędrzej Stuczyński 0e7f29c48d Feature/socks5 sequencing (#318)
* Adding ordered buffer, moving socks5 request location into common

* Moved utils to available-reader

* Starting to use OrderedMessage in socks5 requests

* Renamed available reader module

* Initially included sequence numbers

* OrderedBuffer fix

* Buffer bug fix + extra test

* Bug fixes

* Removed test from an old experiment

Co-authored-by: Dave <futurechimp@users.noreply.github.com>
2020-09-01 16:53:48 +01:00
Dave Hrycyszyn be6486665b Feature/temp fix for ipv6 (#317)
* A temporary fix for IPv6 connections, which crash the SP

* Showing fewer timeouts in terminal while running
2020-08-28 10:03:48 +01:00
Jędrzej Stuczyński 993d3d10a1 Feature/socks client config (#316)
* Made base client_core config

* Updated socks5 config with mandatory provider field
2020-08-27 16:28:53 +01:00
Jędrzej Stuczyński 9efc195046 Explicit proxy runner + closing local connection if remote is over (#314)
* Updated built dependency

So that it wouldn't fail on nwindows

* Concurrent RW client-side

* Draft of a ProxyRunner

* Super experimental proxy runner for provider

Very much WIP

* Extracting shared code + cleanup

* Logging cleanup

* Removed redundant close request
2020-08-27 13:59:37 +01:00
Jędrzej Stuczyński 7f0ccea39c Removed unused dependencies (#315) 2020-08-27 12:10:12 +01:00
Jędrzej Stuczyński a0484ce082 Feature/ack messing (#313)
* Added Display for FragmentIdentifier

* AckDelayQueue as wrapper for DelayQueue

* First pass on ack controller

* Controller very initially incorporated into the client

* Cleanup

* Using socks5 build.rs

* Extra (temporary) log statements

* Decreased logging levels
2020-08-25 10:45:31 +01:00
Dave Hrycyszyn 7b2036bd33 Feature/perf messing (#311)
* Merge branch 'develop' into feature/socks5-no-core

common/client-libs/directory-client/models/src/presence/topology.rs

* More diagnostics

* WIP commit, not properly multithreaded

* WIP, now sort of multithreaded but errors all over the place

* Replaced expect with a return

* Adding abort on panic

* Removing a few noisy prints

* Another ack-related expect replaced

* Moved profile.dev annotation to workspace cargo.toml

* Semi-stabilised socks

* Assigning connection shared key post registration (#309)

* Sending return address with connect request

* WIP commit

* Reading all available data on reader + removed duplicate code

Co-authored-by: jstuczyn <jedrzej.stuczynski@gmail.com>
2020-08-20 13:43:26 +01:00