aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-31Wrap client NAT logwrap-client-NAT-errorsitchyonion
2022-05-27Avoid performing two NAT probe tests at startupCecylia Bocovich
After the initial NAT probe test, a full interval before starting the recurring NAT retests.
2022-05-26Update snowflake CI to test with go 1.18Cecylia Bocovich
2022-05-25Updated ChangeLog for v2.2.0 releasev2.2.0Cecylia Bocovich
2022-05-25Move ptEventLogger into the client/snowflake.gomeskio
Remove client/pt_event_logger.go file as is very minimal.
2022-05-25Implement String() method on eventsmeskio
To make it safe for logging safelog.Scrub function is now public. Closes: #40141
2022-05-25Wait some time before displaying the proxy usage logitchyonion
2022-05-24Bump version of pion/webrtc to v3.1.41Cecylia Bocovich
This bumps the version of pion/dtls to v2.1.5 to fix three CVEs: - https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-29189 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-29190 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-29222
2022-04-12Bump webrtc library versionCecylia Bocovich
go get github.com/pion/webrtc/v3@latest go mod tidy
2022-04-12Scrub ptEvent logsitchyonion
2022-04-11Fix gitlab CI to work with multiple client .go filesCecylia Bocovich
2022-04-11Move tor-specific code outside of client libraryCecylia Bocovich
2022-03-31Represent fingerprint internally as byte arrayArlo Breault
2022-03-21Add some test cases for client poll requestsArlo Breault
2022-03-21Forward bridge fingerprintArlo Breault
gitlab 28651
2022-03-21Stop storing version in ClientPollRequestArlo Breault
This continues to asserts the known version while decoding. The client will only ever generate the latest version while encoding and if the response needs to change, the impetus will be a new feature, set in the deserialized request, which can be used as a distinguisher.
2022-03-21Make the proxy type configurable for users of the librarymeskio
Closes: #40104
2022-03-21Make easier to extend the list of known proxy typesmeskio
And include iptproxy as a valid proxy type.
2022-03-16Introduce an unexported newBrokerChannelFromConfigArlo Breault
A follow-up wants to pass in a new property from the ClientConfig but it would be an API breaking change to NewBrokerChannel. However, it's unclear why NewBrokerChannel is exported at all. No other package in the repo depends on it and the known users of the library probably wouldn't be construct them. While this patch was being reviewed, a new constructor was added, NewBrokerChannelWithUTLSSettings, with effectively the same issue. Both of those exported ones are deleted here.
2022-03-16Parse ClientPollRequest version in DecodeClientPollRequestArlo Breault
Instead of IPC.ClientOffers. This makes things consistent with EncodeClientPollRequest which adds the version while serializing.
2022-03-16Rename *PollRequest methods to distinguish client/proxyArlo Breault
2022-03-16Add document for NewUTLSHTTPRoundTripperShelikhoo
2022-03-16Move uTLS configuration to socks5 argShelikhoo
2022-03-16Add connection expire time for uTLS pendingConnShelikhoo
2022-03-16Harmonize identifiers to uTLSShelikhoo
2022-03-16Add line wrap to NewBrokerChannelWithUTlsSettingsShelikhoo
2022-03-16Update utls test to match uTLS Round Tripper constructorShelikhoo
2022-03-16Use uTLS aware broker channel constructorShelikhoo
2022-03-16Add uTLS remove SNI to snowflake clientShelikhoo
2022-03-16Add utls imitate setting to snowflake clientShelikhoo
2022-03-16Add name to utls client hello idMax Bittman
2022-03-16Add reformat for utls roundtripperShelikhoo
2022-03-16Add repeated test for utls roundtripperShelikhoo
2022-03-16Add utls roundtripperShelikhoo
2022-03-11Merge remote-tracking branch 'gitlab/mr/78'meskio
2022-03-02Fixed up/downstream metricsJake Vossen
2022-02-28Fix proxy logging verb tensepjsier
2022-02-27Generate tarballs in release CIAnna “CyberTailor”
The `generate_tarball` job vendors all Go modules to make packaging for distributions easier.
2022-02-14Fix client library testCecylia Bocovich
Initialize eventsLogger for WebRTCPeer in client library test.
2022-02-14Make all snowflake events LogSeverityNoticeCecylia Bocovich
Let's reserve Tor error logs for more severe events that indicate a client-side bug or absolute failure. By default, tor logs at severity level notice (and above).
2022-02-14Add connection failure events for proxy timeoutsCecylia Bocovich
This change adds two new connection failure events for snowflake proxies. One fires when the datachannel times out and another fires when the connection to the proxy goes stale.
2022-02-08Initialize SnowflakeListener.closedCecylia Bocovich
Fixes a bug where an uninitialized channel causes a panic when closed (#40099).
2022-02-08Update ChangeLog for v2.1.0 releasev2.1.0Cecylia Bocovich
2022-02-07Remove support for oneshot modeCecylia Bocovich
Due to a bug (#40098), legacy oneshot connections have not worked for awhile. Connections without the turbotunnel token would cause the server to crash. This fixes that bug by removing support altogether and simply closes the connection.
2022-02-03Add verbosity switch to suppress diagnostic outputShelikhoo
2022-01-28Use log instead of fmt in proxy event loggerShelikhoo
See also: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/72#note_2772839
2022-01-26Fix build break in Go 1.16 for missing importShelikhoo
See also: https://gitlab.torproject.org/shelikhoo/snowflake/-/jobs/86751
2022-01-25Fix ProxyEventLogger outputShelikhoo
2022-01-25Fix ProxyEventLogger outputShelikhoo
2022-01-25Add Proxy Event LoggerShelikhoo