aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-08Scrub space separated ip addressesgl40306Arlo Breault
The issue with ReplaceAllFunc is that it's capturing the leading and trailing spaces in the regexp, so successive ips don't match. From the docstring, > If 'All' is present, the routine matches successive non-overlapping > matches of the entire expression. For #40306
2024-01-04Update recommended torrc options in the client readmegl40294Arlo Breault
For #40294
2024-01-04Add vcs revision to version stringgl40285Arlo Breault
For #40285
2023-12-21Bump version to v2.8.1v2.8.1Cecylia Bocovich
2023-12-21Suppress logs of EventOnProxyConnectionOverCecylia Bocovich
2023-12-20Merge remote-tracking branch 'gitlab/mr/224'meskio
2023-12-19chore(deps): update module golang.org/x/crypto to v0.17.0 [security]renovate/go-golang.org/x/crypto-vulnerabilityRenovate Bot
2023-12-18chore(deps): update module github.com/refraction-networking/utls to v1.6.0Renovate Bot
2023-12-18Add Ignore Android Restriction Workaround for Proxyn8fr8
2023-12-14chore(deps): update module github.com/pion/webrtc/v3 to v3.2.24Renovate Bot
2023-11-30chore(deps): update module golang.org/x/net to v0.19.0Renovate Bot
2023-11-30chore(deps): update module golang.org/x/crypto to v0.16.0Renovate Bot
2023-11-30chore(deps): update module golang.org/x/sys to v0.15.0Renovate Bot
2023-11-21Merge branch 'encapsulation-readdata-buffer'David Fifield
2023-11-21Link a section in the pion/webrtc@3.0.0 release notes.David Fifield
2023-11-20Bump version to 2.8.0v2.8.0Cecylia Bocovich
2023-11-20chore(deps): update module github.com/pion/webrtc/v3 to v3.2.23Renovate Bot
2023-11-20Document that prometheus transfer metrics are in KBCecylia Bocovich
2023-11-20chore(deps): update module github.com/miekg/dns to v1.1.57Renovate Bot
2023-11-13Merge remote-tracking branch 'gitlab/mr/207'meskio
2023-11-08chore(deps): update module golang.org/x/net to v0.18.0Renovate Bot
2023-11-07Have encapsulation.ReadData return an error when the buffer is short.David Fifield
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/154#note_2919109 Still ignoring the io.ErrShortBuffer at the callers, which retains current behavior.
2023-11-07Have encapsulation.ReadData read into a provided buffer.David Fifield
Instead of unconditionally allocating its own.
2023-11-05chore(deps): update module github.com/gorilla/websocket to v1.5.1renovate/github.com-gorilla-websocket-1.xRenovate Bot
2023-10-31Refactor disabling the stats loggerCecylia Bocovich
Have Snowflake proxy periodically collect throughput stats even if the stats logger is disabled so that it can be handled by the prometheus metrics.
2023-10-31Update prometheus metrics to use new EventOnProxyStatsCecylia Bocovich
2023-10-31Process and properly log connection closure statsCecylia Bocovich
2023-10-30Modify EventOnProxyStats to include summary dataCecylia Bocovich
2023-10-30Proxy stats log only what occurred that time intervalCecylia Bocovich
Modify the periodic stats output by standalone snowflake proxies to only include the data transferred during the time interval being logged. This is an improvement of previous behaviour that logged the total data transferred by all proxy connections that were closed within the time interval being logged.. Closes #40302: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40302
2023-10-30Move creation of periodic stats task inside proxy libraryCecylia Bocovich
This adds a new type of SnowflakeEvent. EventOnProxyStats is triggered by the periodic task run at SummaryInterval and produces an event with a proxy stats output string.
2023-10-30Zero bytesSyncLogger stats after reading themCecylia Bocovich
This also makes the call to GetStat() more thread safe.
2023-10-30Remove ThroughputSummary from bytesLoggerCecylia Bocovich
This was leftover from when we used to log the total throughput of connections when they close. It should be removed for privacy reasons as mentioned in https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40079
2023-10-26Check if multiple front domains argument is emptyCecylia Bocovich
This fixes a regression introduced in 9fdfb3d1, where the list of front domains always contained an empty string if none were supplied via the commandline options, causing rendezvous failures for both amp cache and domain fronting. This fix checks to see whether the commandline option was supplied.
2023-10-26Merge remote-tracking branch 'gitlab/mr/187'meskio
2023-10-25chore(deps): update module github.com/prometheus/client_golang to v1.17.0Renovate Bot
2023-10-25chore(deps): update module github.com/refraction-networking/utls to v1.5.4Renovate Bot
2023-10-24Add outbound proxy configuration propagationShelikhoo
2023-10-24Add transport wrapperShelikhoo
2023-10-24Add common proxy utilitiesShelikhoo
2023-10-24Merge remote-tracking branch 'gitlab/mr/195'meskio
2023-10-23chore(deps): update module github.com/prometheus/client_model to v0.5.0Renovate Bot
2023-10-23chore(deps): update module golang.org/x/net to v0.17.0 [security]Renovate Bot
2023-10-20chore(deps): update module github.com/xtaci/kcp-go/v5 to v5.6.5Renovate Bot
2023-10-16Use go 1.21 in renovatemeskio
2023-10-16update version to 2.7.0v2.7.0Shelikhoo
2023-10-12fix(proxy): Correctly close connection pipe when dealing with errorKokaKiwi
2023-10-09Remove proxy churn measurements from broker.David Fifield
We've done the analysis we planned to do on these measurements. A program to analyze the proxy churn and extract hour-by-hour intersections is available at: https://github.com/turfed/snowflake-paper/tree/main/figures/proxy-churn Closes #40280.
2023-10-09fix(proxy): remove _potential_ deadlockWofWca
The `dc.Send()` should increase the `bufferedAmount` value, so there is no need to add the message length a second time. Also replace GT with GE, for the case where `BufferedAmountLowThreshold === maxBufferedAmount` Currently the deadlock cannot happen because `maxBufferedAmount` and `BufferedAmountLowThreshold` are too far apart, in fact the former is 2x the latter. See - https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/144#note_2902956 - https://github.com/pion/webrtc/pull/2473 - https://github.com/pion/webrtc/pull/2474
2023-10-05Maintain backward compatability with old clientsCecylia Bocovich
Introduce a new commandline and SOCKS argument for comma-separated domain fronts rather than repurposing the old one so that we can maintain backwards compatability with users running old versions of the client. A new bridge line shared on circumvention settings could have both the front= and fronts= options set.
2023-10-05Randomly select front domain from comma-separated listCecylia Bocovich
This commmit changes the command-line and Bridge line arguments to take a comma-separated list of front domains. The change is backwards compatible with old Bridge and ClientTransportPlugin lines. At rendezvous time, a front domain will be randomly chosen from the list.