- 02 Apr, 2020 1 commit
-
-
David Fifield authored
-
- 01 Apr, 2020 1 commit
-
-
Cecylia Bocovich authored
This will prevent a bug where tor skips bandwidth events for local addresses (see https://bugs.torproject.org/33693)
-
- 26 Mar, 2020 2 commits
-
-
Arlo Breault authored
Trac: 19026
-
Arlo Breault authored
Trac: 19026
-
- 25 Mar, 2020 2 commits
-
-
-
Arlo Breault authored
-
- 19 Mar, 2020 1 commit
-
-
Cecylia Bocovich authored
-
- 18 Mar, 2020 1 commit
-
-
Arlo Breault authored
-
- 17 Mar, 2020 2 commits
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
This existed solely for testing purposes and is no longer being maintained.
-
- 05 Mar, 2020 2 commits
-
-
Cecylia Bocovich authored
We no longer need standalone get commands now that we are using go modules.
-
Cecylia Bocovich authored
-
- 04 Mar, 2020 1 commit
-
-
Cecylia Bocovich authored
-
- 01 Mar, 2020 1 commit
-
-
- 25 Feb, 2020 1 commit
-
-
Cecylia Bocovich authored
Ever since we started scrubbing log messages, with the help of regexes for https://bugs.torproject.org/21304 logging has become more CPU intensive due to our use of regular expressions. Logging the byte count of every incoming and outgoing message at the proxy-go instances was taking up a lot of CPU and contrubuting to the high CPU usage seen in https://bugs.torproject.org/33211.
-
- 24 Feb, 2020 1 commit
-
-
David Fifield authored
https://cloud.google.com/appengine/docs/standard/go111/go-differences This is untested, because I wasn't actually able to deploy without enabling Cloud Build and setting up a billing account.
-
- 22 Feb, 2020 1 commit
-
-
David Fifield authored
Some proxies currently send ?client_ip=0.0.0.0 because of an error in how they attempt to grep the address from the client's SDP. That's inflating our "%d/%d connections had client_ip" logs. Instead, treat these cases as if the IP address were absent. https://bugs.torproject.org/33157 https://bugs.torproject.org/33385
-
- 18 Feb, 2020 1 commit
-
-
David Fifield authored
Unless something externally called Write after Close, the writeLoop(ws, pr2) goroutine would run forever, because nothing would ever close pw2/pr2. https://bugs.torproject.org/33367#comment:4
-
- 08 Feb, 2020 4 commits
-
-
Arlo Breault authored
-
Arlo Breault authored
Instead of string manipulation.
-
Arlo Breault authored
Unfortunately, the "public" RTCIceTransportPolicy was removed. https://developer.mozilla.org/en-US/docs/Web/API/RTCConfiguration#RTCIceTransportPolicy_enum Trac: 19026
-
Arlo Breault authored
go vet was complaining, common/websocketconn/websocketconn.go:56:2: unreachable code
-
- 05 Feb, 2020 1 commit
-
-
David Fifield authored
-
- 04 Feb, 2020 3 commits
-
-
David Fifield authored
We had already implemented Read, Write, and Close. Pass RemoteAddr, LocalAddr, SetReadDeadline, and SetWriteDeadline through to the underlying *websocket.Conn. Implement SetDeadline by calling both SetReadDeadline and SetWriteDeadline. https://bugs.torproject.org/33144
-
David Fifield authored
Makes the following changes: * permits concurrent Read/Write/Close * converts certain CloseErrors into io.EOF https://bugs.torproject.org/33144
-
-
- 03 Feb, 2020 1 commit
-
-
Cecylia Bocovich authored
-
- 31 Jan, 2020 2 commits
-
-
David Fifield authored
-
David Fifield authored
This slightly changes some log messages.
-
- 30 Jan, 2020 5 commits
-
-
David Fifield authored
Close the SOCKS connection in the same function that opens it.
-
David Fifield authored
This makes the return type satisfy the io.ReadWriteCloser interface directly.
-
David Fifield authored
Rename websocketconn.WebSocketConn to websocketconn.Conn, and websocketconn.NewWebSocketConn to websocketconn.New Following the guidelines at https://blog.golang.org/package-names#TOC_3%2e
-
David Fifield authored
Only once, not again on every call to initServer.
-
David Fifield authored
This was the only case out of the three not to show it.
-
- 29 Jan, 2020 2 commits
-
-
Cecylia Bocovich authored
We are no longer checking for nil BrokerChannels in Catch because this case is caught from the return values of NewBrokerChannel. This change caused a no longer necessary unit test to hang.
-
Cecylia Bocovich authored
We changed NewBrokerChannel to return an error value on failure. This updates the tests to check that value.
-
- 28 Jan, 2020 4 commits
-
-
David Fifield authored
-
David Fifield authored
The call was copyLoop(socks, snowflake) but the function signature was func copyLoop(WebRTC, SOCKS io.ReadWriter) { The mistake was mostly harmless, because both arguments were treated the same, except that error logs would have reported the wrong direction.
-
David Fifield authored
-
David Fifield authored
Instead of returning nil from NewBrokerChannel and having WebRTCDialer.Catch check for nil, let NewBrokerChannel return an error and bail out before calling WebRTCDialer.Catch. Suggested by cohosh. https://bugs.torproject.org/33040#comment:3
-