- 16 Jul, 2017 1 commit
-
-
David Fifield authored
-
- 15 Jul, 2017 4 commits
-
-
David Fifield authored
This is a hedge against any bugs that may cause the badge to hang when left running for a long time, and it also means that badges will effectively check for updated code once a day.
-
David Fifield authored
Doesn't seem to be used anywhere; may have been inherited from flash proxy.
-
David Fifield authored
-
David Fifield authored
-
- 29 Jun, 2017 9 commits
-
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
math/rand always uses a deterministic seed. The sequence of session IDs was therefore always the same: Uv38ByGCZU8WP18PmmIdcg lWbHTRDYaB0NhtHpHgAWeQ ... Multiple copies of this program would have had session ID collisions. I don't know what the consequences of that would be.
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
-
- 04 May, 2017 1 commit
-
-
David Fifield authored
-
- 24 Apr, 2017 1 commit
-
-
yinghuocho authored
-
- 31 Mar, 2017 1 commit
-
-
David Fifield authored
-
- 02 Mar, 2017 2 commits
- 01 Mar, 2017 1 commit
-
-
Serene H authored
-
- 23 Jan, 2017 2 commits
-
-
Arlo Breault authored
-
Arlo Breault authored
-
- 21 Jan, 2017 9 commits
-
-
David Fifield authored
-
David Fifield authored
This way, we don't lose state of certificates every time the process is restarted. There's a possibility, otherwise, that if you have to restart the server rapidly, you might run into Let's Encrypt rate limits and be unable to create a cert for a while. https://godoc.org/rsc.io/letsencrypt#hdr-Persistent_Storage
-
David Fifield authored
-
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
This removes the --tls-cert and --tls-keys options and replaces them with --acme-hostname and (optional) --acme-email. It uses https://godoc.org/golang.org/x/crypto/acme/autocert, which is kind of a successor to https://godoc.org/rsc.io/letsencrypt. The autocert package only works when the listener runs on port 443. For that reason, if TOR_PT_SERVER_BINDADDR asks for a port other than 443, the program will open an *additional* listening port on 443. If there is an error opening the listener, it is reported through an SMETHOD-ERROR for the requested address. The inspiration for this code came from George Tankersley's patch for meek-server: https://bugs.torproject.org/18655#comment:8 https://github.com/gtank/meek/tree/letsencrypt
-
David Fifield authored
-
- 20 Jan, 2017 6 commits
-
-
David Fifield authored
This was a bug added in 8378f859 when this code was moved out of a switch.
-
David Fifield authored
-
David Fifield authored
Might make this controlled by ServerTransportOptions instead of the --disable-tls command line option.
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
-
- 19 Jan, 2017 3 commits
-
-
David Fifield authored
This was only needed for very very old Firefox before WebSockets were properly standardized.
-
David Fifield authored
Recommend ServerTransportListenAddr in torrc instead.
-
David Fifield authored
pt-spec no longer talks about SIGINT.
-