- Jun 25, 2019
-
-
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
-
- 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
-
Arlo Breault authored
Similar to c28c8ca4 for proxy-goc
-
- May 20, 2019
-
-
Arlo Breault authored
-
- May 16, 2019
-
-
Arlo Breault authored
-
Arlo Breault authored
NewBrokerContext now requires a logger so give it one to discard the logs.
-
Arlo Breault authored
Now that the page is no longer necessary.
-
Arlo Breault authored
-
Arlo Breault authored
-
Arlo Breault authored
-
Arlo Breault authored
-
Arlo Breault authored
-
Arlo Breault authored
Otherwise, this is set on the prototype and shared across instances :/ Note the change to the test that highlights this bug. A proxy pair was already created when an earlier test called `beginWebRTC()` but a new Snowflake instance should start with an empty array.
-
Arlo Breault authored
-
- May 15, 2019
-
-
Cecylia Bocovich authored
-
- 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
-
- May 08, 2019
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
This fixes a bug introduced by the deadlock patch for ticket #25688.
-
Cecylia Bocovich authored
Our log scrubber was a bit over-zealous and was scrubbing timestamps as well. While we're still over-scrubbing, we're now more precise and ensure that compressed IPv6 addresses have "::"
-
Arlo Breault authored
The browser icon shows the on/off state.
-
Arlo Breault authored
Permits further ui extension
-