- Oct 08, 2019
-
-
-
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
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
-
- May 28, 2019
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
MaxBytesReader is only documented for server side reads, so we're using a local limitedRead function instead that uses an io.LimitedReader. Declared limits in a commented constant
-
Cecylia Bocovich authored
This is a fix for #26348
-
- May 21, 2019
-
-
Arlo Breault authored
Amounts to the same thing as currently implemented in go-webrtc
-
- May 08, 2019
-
-
Arlo Breault authored
-
- Apr 12, 2019
-
-
Cecylia Bocovich authored
-
- Mar 25, 2019
-
-
Cecylia Bocovich authored
Removed raw bytes of ICE answers from broker logs and the SDP stanzas from the client logs
-
- Dec 19, 2018
-
-
David Fifield authored
Maybe we'll able to remove this in the far future.
-
- Nov 21, 2018
-
-
Arlo Breault authored
-
- Jun 10, 2018
-
-
David Fifield authored
https://bugs.torproject.org/25600#comment:14 Snowflake in Tor Browser has been hanging after surfing for a while. (Tor reports "no running bridges".) It only began happening after commit 12922a23, which caused snowflake-client not to log to a file by default (leaving it to log to its default stderr). What seems to be happening is that tor doesn't read from its PT clients' stderr, leaving a buffer to fill up that eventually causes a hang.
-
- Apr 30, 2018
-
- Apr 16, 2018
-
-
David Fifield authored
https://snowflake-reg-test.appspot.com/ for the client (needs domain fronting) https://snowflake-broker.bamsoftware.com/ for the proxies (no fronting) Note that fronting to App Engine doesn't currently actually work because of https://bugs.torproject.org/25804; this commit doesn't change that.
-
- Mar 21, 2018
-
-
David Fifield authored
Cf. https://bugs.torproject.org/24875
-
David Fifield authored
This actually caused a nil pointer dereference panic when Accept returned an error, because conn was nil.
-
- Mar 20, 2018
-
- Mar 13, 2018
-
-
This way works when the base URL lacks a path, e.g. "http://127.0.0.1:8080". https://bugs.torproject.org/25472
-
Arlo Breault authored
-
- Mar 05, 2018
-
-
Arlo Breault authored
-
- Oct 18, 2017
-
-
Arlo Breault authored
-
Arlo Breault authored
It also expects to be called with a non-empty string, which isn't the case with this Split which always envokes the loop at least once. If -ice was omitted, an error was logged.
-
- Oct 12, 2017
-
-
Arlo Breault authored
-
Arlo Breault authored
* From https://github.com/keroserene/go-webrtc/pull/59
-
- Aug 14, 2017
-
-
David Fifield authored
Rather than having it happen as a side effect of flag parsing. Having it happen as a side effect of flag parsing caused log messages related to handling the option (e.g. "IceServerList:") to always go to stderr, despite the presence of a -log option. This is because the requested log file had not been opened yet.
-
- Jul 16, 2017
-
-
David Fifield authored
-
- Jun 29, 2017
-
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
-
- Sep 20, 2016
-
-
Serene H authored
-
- Aug 22, 2016
-
-
Arlo Breault authored
-
- Aug 01, 2016
-
-
Serene H authored
-
- Jul 29, 2016
-
-
Serene H authored
-
- Jun 18, 2016
-
-
Serene Han authored
-
- Jun 16, 2016
-
-
Serene Han authored
- stabilize rest of WebRTCPeer - use uid for the datachannel label - store a consistent WebRTC config in the dialer
-