- Jun 25, 2019
-
-
Cecylia Bocovich authored
Updated the tests to pass with our new snowflake-ips-total stat
-
Cecylia Bocovich authored
Added another metrics item that counts the total availabel snowflakes (unique by IP address)
-
- Jun 14, 2019
-
-
Cecylia Bocovich authored
- removed trailing ","s - removed unecessary space before seconds
-
Cecylia Bocovich authored
Also moved the geoip check to occur after we've make sure the proxy IP hasn't yet been recorded. This is will cut down on unecessary computation.
-
- Jun 12, 2019
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Added unit tests for metrics logging. Refactored the logMetrics() function to allow for easier testing
-
- Jun 11, 2019
-
-
Cecylia Bocovich authored
Change it so that we log the geoip country code of proxies if they poll within the current metrics epoch. We make sure we log by unique IP address
-
Cecylia Bocovich authored
Output is now printed out in Tor Directory Protocol Format, as specified in https://trac.torproject.org/projects/tor/ticket/21315#comment:19.
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Added three new metrics: - proxyIdleCount counts the number of times a proxy polls and receives no snowflakes - clientDeniedCount counts the number of times a client requested a snowflake but none were available - clientProxyMatchCount counts the number of times a client successfully received a snowflake
-
Cecylia Bocovich authored
Set the resolution of metrics data collection to be every 24 hours
-
- Jun 03, 2019
-
-
Philipp Winter authored
So far, we request a certificate each time we start the broker. Let's Encrypt maintains several rate limiters and if we exceed one of them, we won't get a certificate. Worse, since we don't store certificates, we won't even be able to use an old one. This patch uses autocert's DirCache structure to cache certificates on disk. This patch fixes <https://bugs.torproject.org/30512>.
-
- May 28, 2019
-
-
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 16, 2019
-
-
Arlo Breault authored
-
Arlo Breault authored
NewBrokerContext now requires a logger so give it one to discard the logs.
-
- May 14, 2019
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Previously the metrics log file was hardcoded and the broker wasn't behaving properly if it was unable to open the file for logging. Added a commandline option to specify the logfile that defaults to Stdout. Fixed up some documentation and log output formatting
-
- May 09, 2019
-
-
Cecylia Bocovich authored
For now we can just log the proxy geoip statistics locally
-
- Apr 29, 2019
-
-
Cecylia Bocovich authored
Implemented geoip lookups for the snowflake broker. This heavily based off of how tor maps IP addresses to country codes, and relies on the provided ipv4 and ipv6 files.
-
- Apr 15, 2019
-
-
Cecylia Bocovich authored
Updated robots.txt file to disallow crawling as in ticket #29565.
-
- Apr 11, 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
-
- Mar 06, 2018
-
-
Arlo Breault authored
-
- Feb 24, 2018
-
-
David Fifield authored
This is needed since the recent removal of the TLS-SNI challenge types. https://community.letsencrypt.org/t/tls-sni-challenges-disabled-for-most-new-issuance/50316 The HTTP-01 challenge type requires an additional listener on port 80.
-
- Aug 11, 2017
-
-
David Fifield authored
Had been removed in 2a46db2c and was erroneously restored in the merge 36debdfd.
-
- Jul 15, 2017
-
-
David Fifield authored
Doesn't seem to be used anywhere; may have been inherited from flash proxy.
-
David Fifield authored
-
David Fifield authored
Replaces --cert and --key with --acme-hostnames and --acme-email.
-
David Fifield authored
-
David Fifield authored
-
David Fifield authored
-
- Jul 12, 2017
-
-
Hooman authored
-
- Jul 11, 2017
-
-
Hooman authored
-
- Jun 29, 2017
-
-
Hooman authored
-
- Dec 20, 2016
-
-
Arlo Breault authored
* Code lifted from meek-server
-
- Sep 20, 2016