- Oct 08, 2019
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
We need to set up the pion/webrtc logger to write output to the snowflake log, otherwise the warnings we are getting from the pion library are being lost. Note: this requires go version 1.13 and later in order to use the `log.Writer()` function.
-
Cecylia Bocovich authored
This commit fixes a small error introduced in a previous commit. Servers given by command line options weren't being added to the configuration because we were checking for `iceServers` to be nil instead of not nil.
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Modified the snowflake client to use pion/webrtc as the webrtc library. This involved a few small changes to match function signatures as well as several larger ones: - OnNegotiationNeeded is no longer supported, so CreateOffer and SetLocalDescription have been moved to a go routine called after the other peer connection callbacks are set - We need our own deserialize/serialize functions - We need to use a SettingEngine in order to access the OnICEGatheringStateChange callback
-
Cecylia Bocovich authored
The API is very similar, differences were mostly due to: - closing peer connections and datachannels (no destroy/delete methods) - different way to set datachannel/peer connection callbacks - differences in whether functions take pointers or values - no serialize/deserialize functions in the API
-
- Oct 04, 2019
-
-
Cecylia Bocovich authored
-
- Oct 02, 2019
-
-
David Fifield authored
Noted by a blog commenter at https://blog.torproject.org/comment/284258#comment-284258 In case the above link breaks, it's a comment attached to this post: https://blog.torproject.org/new-release-tor-browser-90a7
-
- Oct 01, 2019
-
-
Arlo Breault authored
Trac: 31685
-
- Sep 30, 2019
-
-
Arlo Breault authored
Trac: 31537
-
Arlo Breault authored
-
Arlo Breault authored
First check that it is enabled before doing feature testing. This will be useful in the badge so that probing only happens if it is enabled.
-
Arlo Breault authored
-
Arlo Breault authored
-
Arlo Breault authored
-
Cecylia Bocovich authored
The safelog Write function can be called from multiple go routines, and it was not thread safe. These locks in particular allow us to pass the logscrubber's output io.Writer to other libraries, such as pion.
-
- Sep 19, 2019
-
-
Cecylia Bocovich authored
Many of our log messages were being used to generate metrics, but are now being aggregated and logged to a separate metrics log file and so we don't need them in the regular logs anymore. This addresses the goal of ticket #30830, to remove unecessary messages and keep broker logs for debugging purposes.
-
- Sep 16, 2019
-
-
Cecylia Bocovich authored
Added a folder to hold snowflake specifications. This folder starts with a file containing a partial broker spec that focuses on the metrics reporting spec for CollecTor at the moment.
-
- Aug 27, 2019
-
-
Arlo Breault authored
-
Cecylia Bocovich authored
The broker /debug page was displaying proxy IDs and roundtrip times. As serna pointed out in bug #31460, the proxy IDs can be used to launch a denial of service attack. As the metrics team pointed out on #21315, the round trip time average can be potentially sensitive. This change displays only proxy counts and uses ID lengths to distinguish between standalone proxy-go instances and browser-based snowflake proxies.
-
- Aug 26, 2019
-
-
remove exclamation mark. ref https://grammar.yourdictionary.com/punctuation/when/when-to-use-exclamation-marks.html
-
Arlo Breault authored
This allows you to run `git submodule update --remote` to bump to the latest commit on that branch.
-
Arlo Breault authored
-
Arlo Breault authored
Note that getMessage in the badge depends on having a complete set of translations, unlike the webextension, which will fallback to the default for a string.
-
Arlo Breault authored
-
Arlo Breault authored
-
Arlo Breault authored
At the head of the snowflakeaddon-messages.json_completed branch
-
Cecylia Bocovich authored
Because the timeout makes the pair inactive, we should check for this state in onopen before connecting to the client. Updated tests to set the proxy pair to active before testing onopen. Also removed a redundant statement.
-
Cecylia Bocovich authored
This fixes a bug reported in #31385. There was an error with the proxy deadlock fix in #31100 where we close proxies regardless of connection status.
-
- Aug 24, 2019
-
-
David Fifield authored
This is an attempt to solve mixed-ownership permission issues. https://bugs.torproject.org/31496
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
Found these using https://validator.w3.org/.
-
David Fifield authored
The live example changed from "200px" to "240px" in 4e5a50f2.
-
David Fifield authored
-
- Aug 19, 2019
-
-
David Fifield authored
-