commit d57cd0759918d9f6c6734440acc58b24dc95766d
Author: Cecylia Bocovich
Date: Tue Jun 11 14:16:01 2019 -0400
Implemented count metrics for broker events
Added three new metrics:
- proxyIdleCount counts the number of times a proxy polls and receives
no snowflakes
- clie
commit 0293674e38f5a3a389c92560412f9074307cb911
Author: Cecylia Bocovich
Date: Tue Jun 11 14:19:14 2019 -0400
Zero out counts for next time step
---
broker/metrics.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/broker/metrics.go b/broker/metrics.go
index 38cdc10..4159f70 100644
commit 254e6b9a3d404d1f2bde5e12a2e6d1cf7a08dc80
Author: Cecylia Bocovich
Date: Tue May 28 13:14:18 2019 -0400
Simplified limitedReader by reading one extra byte
---
client/lib/rendezvous.go | 13 +++--
proxy-go/snowflake.go| 13 +++--
2 files changed, 6 insertions(+), 2
commit 0842dad38e6cfd464166f16ed8088b02055714e3
Author: Cecylia Bocovich
Date: Fri May 10 15:39:05 2019 -0400
Added tests to check large read guards
---
broker/snowflake-broker_test.go | 10 ++
client/lib/lib_test.go | 28 +---
2 files changed, 31 i
commit ce3101d0169f6a0f483a72a8cf18d7da8359b6d5
Author: Cecylia Bocovich
Date: Fri May 10 15:36:04 2019 -0400
Guard against large reads
This is a fix for #26348
---
broker/broker.go | 6 +++---
client/lib/rendezvous.go | 2 +-
proxy-go/snowflake.go| 2 +-
3 files chang
commit 1d76d3ca2e581bbb345b09444dd1d25dd985673c
Author: Cecylia Bocovich
Date: Fri May 10 17:16:35 2019 -0400
Implement limitedRead function for client side
MaxBytesReader is only documented for server side reads, so we're using
a local limitedRead function instead that uses an
commit cd650fa0097f948b15889ad2e6908b58bd66
Author: Cecylia Bocovich
Date: Tue May 28 13:58:16 2019 -0400
Keyed composite literal to avoid go vet warning
---
client/lib/rendezvous.go | 2 +-
proxy-go/snowflake.go| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a
commit 72e54bdc2e277e7189cc9481bd57dfd1401d
Author: Cecylia Bocovich
Date: Thu May 9 18:13:48 2019 -0400
Remove geoip metrics from /debug
For now we can just log the proxy geoip statistics locally
---
broker/broker.go | 1 -
1 file changed, 1 deletion(-)
diff --git a/broker/b
commit 6b002c5f22e0e794c086d6655afe72dc3cd7bc43
Merge: 1133e01 ba4fe1a
Author: Cecylia Bocovich
Date: Wed May 15 11:07:33 2019 -0400
Merge branch 'geoip_squashed'
broker/broker.go| 73 ++-
broker/geoip.go | 240
broker/metrics.go |
commit ba4fe1a73e57016915004ef49e9e10abd306422d
Author: Cecylia Bocovich
Date: Fri May 10 12:03:07 2019 -0400
Added an option to specify metrics log file
Previously the metrics log file was hardcoded and the broker wasn't
behaving properly if it was unable to open the file for
commit 171c55a9b1aa34a0ec6d4413eb4e4b14954450d1
Author: Cecylia Bocovich
Date: Wed Mar 13 13:51:38 2019 -0400
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.
---
brok
commit 1133e01363d88ca21f2abcc22cbe53698ceb4d9e
Author: Cecylia Bocovich
Date: Tue May 14 17:01:45 2019 -0400
Added an option to use a conventional certificate
---
broker/broker.go | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/broker/broker.go b/brok
commit 83fb5df260d5d98a7679d9a69cacb26f2e1f8b09
Author: Cecylia Bocovich
Date: Wed May 8 12:31:53 2019 -0400
Fixed log scrubber to not scrub timestamps
Our log scrubber was a bit over-zealous and was scrubbing timestamps as
well. While we're still over-scrubbing, we're now more
commit d865b7c252d3a7efd789a84757fc2635b1964921
Merge: 3844122 83fb5df
Author: Cecylia Bocovich
Date: Wed May 8 17:48:05 2019 -0400
Merge branch 'ticket30434'
common/safelog/log.go | 9 ++---
common/safelog/log_test.go | 8
2 files changed, 14 insertions(+), 3 deletions(
commit 38441228094408e74abc7893bff0709c7544c26b
Merge: e7f3ade 695dd10
Author: Cecylia Bocovich
Date: Wed May 8 17:46:33 2019 -0400
Merge branch 'ticket30206'
proxy-go/snowflake.go | 12
1 file changed, 8 insertions(+), 4 deletions(-)
commit 695dd10b2c7a1b0c1227d024e3784e2a3207bc6c
Author: Cecylia Bocovich
Date: Fri Apr 26 13:27:20 2019 -0400
Fix for ticket #30206
This fixes a bug introduced by the deadlock patch for ticket #25688.
---
proxy-go/snowflake.go | 12
1 file changed, 8 insertions(+), 4
commit b4a4a256db08d14093edf442ab77e8a1763ee80b
Author: Cecylia Bocovich
Date: Fri Apr 12 09:52:23 2019 -0400
Ported log sanitization to client
---
client/snowflake.go | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/client/snowflake.go b/client/snowf
commit d11e55aabe3753dbddca18ae084c80ad09e282d3
Merge: d4c5d4e b4a4a25
Author: Cecylia Bocovich
Date: Tue Apr 16 12:59:56 2019 -0400
Merge branch 'ticket30125'
broker/broker.go | 7 +++
client/snowflake.go| 18 +++---
common/safelog/log.go | 59 +
commit 482d60d9d36cf8df077b01f30fd2e06f70c82739
Author: Cecylia Bocovich
Date: Thu Apr 11 14:47:31 2019 -0400
Use safelog scrubber in broker and proxy-go
---
broker/broker.go | 7 +++
proxy-go/snowflake.go | 7 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a
commit 49042511a3dd8184fe9a5d85d05e8597e0ed21d6
Author: Cecylia Bocovich
Date: Thu Apr 11 14:02:18 2019 -0400
Refactored server log scrubber into package
The server log scrubbing code from ticket #21304 is now refactored into
a safelog package, along with the appropriate tests
commit d4c5d4e65b89fb3da83826edfdd5cfd5bf4a0efb
Author: Cecylia Bocovich
Date: Mon Apr 15 16:43:21 2019 -0400
Updated robots.txt handler on broker
Updated robots.txt file to disallow crawling as in ticket #29565.
---
broker/broker.go | 2 +-
1 file changed, 1 insertion(+), 1 delet
commit 62fddab153019ac7e5d7efd1d327b20aede921c3
Author: Cecylia Bocovich
Date: Fri Apr 5 10:40:11 2019 -0400
Moved data channel timeout to constant
---
proxy-go/snowflake.go | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/proxy-go/snowflake.go b/proxy-go/snowflake.g
commit 6399ef9d4fa7d1dced903b43f329a43d3a80dfc7
Merge: 3eb9064 62fddab
Author: Cecylia Bocovich
Date: Thu Apr 11 09:57:38 2019 -0400
Merge branch 'deadlock'
proxy-go/snowflake.go | 57 +--
1 file changed, 32 insertions(+), 25 deletions(-)
_
commit c28c8ca489633aae2d9b9dbea0e781ca5e44cc66
Author: Cecylia Bocovich
Date: Sat Mar 30 12:19:29 2019 -0400
Fix for proxy deadlock bug
This is a fix for the proxy-go deadlock bug (ticket #25688). The
assumption that OnIceComplete is always followed by a successful
connect
commit 08f5205461573bf8a6e8961540ac620865a3b45c
Author: Cecylia Bocovich
Date: Wed Apr 3 15:59:47 2019 -0400
Added check to see if peer connection succeeded
This is related to the proxy-go deadlock bug #25688. If a client doesn't
do anything with the SDP answer, a token will ge
commit c6a4a4191f2031abc744013d63f536612c37b512
Author: Cecylia Bocovich
Date: Mon Mar 25 10:51:47 2019 -0400
Modified log scrubber to handle split lines
Log scrubber now scrubs addresses even in the case where they are split
across calls to the scrubber's output io.Writer.
commit 5bc881702815942057f5c8d265fbef7d4917c82e
Author: Cecylia Bocovich
Date: Thu Mar 21 10:11:11 2019 -0400
Simplified log scrubber
IPv6 regexes didn't need to be that precise, added more tests for
edge-cases.
---
server/server.go | 3 ++-
server/server_test.go | 15 ++
commit 1ea467c4cf950b571ccb25b434b6cb29682fef07
Author: Cecylia Bocovich
Date: Mon Mar 25 09:59:20 2019 -0400
Restructured scrubbing code and tests
It is now more readable, and the regexp's are only compiled once
---
server/server.go | 34 +++--
server/server_
commit 3eb9064438ca6242f935173aed88ec29a0c16c7d
Author: Cecylia Bocovich
Date: Mon Mar 25 15:15:22 2019 -0400
Removed unecessary output from logs
Removed raw bytes of ICE answers from broker logs and the SDP stanzas
from the client logs
---
broker/broker.go | 2 +-
client/
commit 611cb889c5f2a12e1ccd3a3bea5bf6c6bf4234cb
Author: Cecylia Bocovich
Date: Mon Mar 25 12:56:10 2019 -0400
Made regular expressions more precise
Modified regular expressions to not scrub fingerprints, but catch all
instances of IPv4 and IPv6 addresses. Expanded test cases wi
commit f586a4bab8fc428fa93ed7523da150fc45a13533
Author: Cecylia Bocovich
Date: Wed Mar 20 15:50:55 2019 -0400
Sanitize IP addresses from server log output
Added a scrubber that takes all logging output to the standard logger
and passes through a series of regular expressions to
501 - 531 of 531 matches
Mail list logo