- Apr 23, 2020
-
-
David Fifield authored
The client opts into turbotunnel mode by sending a magic token at the beginning of each WebSocket connection (before sending even the ClientID). The token is just a random byte string I generated. The server peeks at the token and, if it matches, uses turbotunnel mode. Otherwise, it unreads the token and continues in the old one-session-per-WebSocket mode.
-
David Fifield authored
Copied and slightly modified from https://gitweb.torproject.org/pluggable-transports/meek.git/log/?h=turbotunnel&id=7eb94209f857fc71c2155907b0462cc587fc76cc https://github.com/net4people/bbs/issues/21 RedialPacketConn is adapted from clientPacketConn in https://dip.torproject.org/dcf/obfs4/blob/c64a61c6da3bf1c2f98221bb1e1af8a358f22b87/obfs4proxy/turbotunnel_client.go https://github.com/net4people/bbs/issues/14#issuecomment-544747519
-
David Fifield authored
Formerly we waiting until *both* directions finished. What this meant in practice is that when the remote connection ended, copyLoop would become useless but would continue blocking its caller until something else finally closed the socks connection.
-
David Fifield authored
-
- Apr 22, 2020
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Now that the web proxies are in a different repository, no need to distinguish the two.
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
- Apr 16, 2020
-
-
Cecylia Bocovich authored
We're moving all web proxy code to a different repsitory.
-
Cecylia Bocovich authored
We're moving all web proxy code to another repository.
-
- Apr 03, 2020
-
- Apr 02, 2020
-
-
David Fifield authored
-
- Apr 01, 2020
-
-
Cecylia Bocovich authored
This will prevent a bug where tor skips bandwidth events for local addresses (see https://bugs.torproject.org/33693)
-
- Mar 26, 2020
-
-
Arlo Breault authored
Trac: 19026
-
Arlo Breault authored
Trac: 19026
-
- Mar 25, 2020
-
-
Arlo Breault authored
- Mar 19, 2020
-
-
Cecylia Bocovich authored
-
- Mar 18, 2020
-
-
Arlo Breault authored
-
- Mar 17, 2020
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
This existed solely for testing purposes and is no longer being maintained.
-
- Mar 05, 2020
-
-
Cecylia Bocovich authored
We no longer need standalone get commands now that we are using go modules.
-
Cecylia Bocovich authored
-
- Mar 04, 2020
-
- Mar 01, 2020
-
- Feb 25, 2020
-
-
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.
-
- Feb 24, 2020
-
-
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.
-
- Feb 22, 2020
-
-
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
-
- Feb 18, 2020
-
-
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
-
- Feb 08, 2020
-
-
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
-
- Feb 05, 2020
-
-
David Fifield authored
-
- Feb 04, 2020
-
-
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
-
- Feb 03, 2020
-
- Jan 31, 2020
-
-
David Fifield authored
-
David Fifield authored
This slightly changes some log messages.
-