aboutsummaryrefslogtreecommitdiff
path: root/broker
AgeCommit message (Collapse)Author
2024-05-09Use ptutil for safelog and prometheus rounded metricsmeskio
* Related: #40354
2024-03-09Implement better client IP per rendezvous method tracking for clientsMichael Pu
Implement better client IP per rendezvous method tracking for clients Add tests for added code, fix existing tests chore(deps): update module github.com/miekg/dns to v1.1.58 Implement better client IP tracking for http and ampcache Add tests for added code, fix existing tests Implement GetCandidateAddrs from SDP Add getting client IP for SQS Bug fixes Bug fix for tests
2024-02-17refactor: change deprecated "io/ioutil" package to recommended "io" packageam3o
2024-01-31Prune metrics that are reported for rendezvousMichael Pu
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-01-31Move RendezvousMethod field to messages.ArgAnthony Chang
2024-01-31Add metrics for tracking rendezvous methodMichael Pu
Update tests for metrics Add rendezvous_method to Prometheus metrics Update broker spec docs with rendezvous method metrics Bug fix
2024-01-31Fix nil ptr deference when listing client queuesMichael Pu
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-01-22Add unit tests for SQS rendezvous in brokerAndrew Wang
Co-authored-by: Michael Pu <michael.pu@uwaterloo.ca>
2024-01-22Add mocks and interfaces for testing SQS rendezvousAnthony Chang
Co-authored-by: Michael Pu <michael.pu@uwaterloo.ca>
2024-01-22Implement SQS rendezvous in client and brokerMichael Pu
This features adds an additional rendezvous method to send client offers and receive proxy answers through the use of Amazon SQS queues. https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/26151
2023-10-26Merge remote-tracking branch 'gitlab/mr/187'meskio
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-02improvement(broker): don't reject unrestricted client if there are no ↵WofWca
restricted proxies I.e. match it with an unrestricted proxy (if there is one). The old behavior exists since the inception of the restricted vs unrestricted feature, i.e. 0052c0e10c
2023-09-20Use ShouldBeNil to check for nil valuesrenovate/github.com-smartystreets-goconvey-1.xmr-origin-165Cecylia Bocovich
2023-05-31Move the development to gitlabmeskio
Related: tpo/anti-censorship/team#86
2023-05-29Broker: add warning log when proxy couldn't mach with clientitchyonion
2023-05-29Broker: update unit tests after adding SDP validationitchyonion
2023-05-29Broker: soften non-critical log from error to warningitchyonion
2023-05-29Validate SDP offers and answersitchyonion
2022-09-23Record proxy type for proxy relay statsv2.3.1Shelikhoo
2022-07-19Fix broker race conditionitchyonion
2022-06-16Add distinct IP counter to brokerShelikhoo
2022-06-16Add distinct IP counter to metricsShelikhoo
2022-06-16Fix not zero metrics for 1.3 valuesShelikhoo
2022-06-16Add document for LoadBridgeInfo inputShelikhoo
2022-06-16Disallow unknown bridge list file fieldShelikhoo
2022-06-16Represent Bridge Fingerprint As StringShelikhoo
2022-06-16Add Proxy Relay URL Metrics CollectionShelikhoo
2022-06-16Add Proxy Relay URL Rejection MetricsShelikhoo
2022-06-16Fixed desynchronized comment and behavior for log intervalShelikhoo
In 64ce7dff1b38ecda027d67c8ba54d8290755afa0, the log interval is modified while the comment is left unchanged.
2022-06-16Add Proxy Relay URL Support Counting Metrics OutputShelikhoo
2022-06-16Rejection reason feedbackShelikhoo
2022-06-16Add Broker Allowed Relay Pattern Indication Rejection for ProxyShelikhoo
2022-06-16Add Allowed Relay Hostname Pattern IndicationShelikhoo
2022-06-16Add support for specifying bridge list fileShelikhoo
2022-06-16Add Detailed Error Output for proxyPolls, proxyAnswersShelikhoo
2022-06-16Update default snowflake server addressShelikhoo
Change snowflake broker test for updated address Amend DefaultBridges Value Add Default Fingerprint Info for Snowflake
2022-06-16Add Relay Info Forwarding for SnowflakeShelikhoo
2022-06-16Add Bridge List Holder TestShelikhoo
2022-06-16Add Bridge List HolderShelikhoo
2022-06-16Add Bridge List DefinitionShelikhoo
2022-03-31Represent fingerprint internally as byte arrayArlo 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 easier to extend the list of known proxy typesmeskio
And include iptproxy as a valid proxy type.
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
2021-11-11Bump snowflake library imports and go.mod to v2v2.0.1Cecylia Bocovich
2021-10-04Use tpo geoip librarymeskio
Now the geoip implmentation has being moved to it's own library to be shared between projects.
2021-08-05Broker /amp/client route (AMP cache client registration).David Fifield