[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [obfsproxy/master] Increase closing threshold.
commit ea2e71ffe07fbb1e8a307d4b33e9718d6b9b2576
Author: Philipp Winter <phw@xxxxxxxxxxxxxx>
Date: Tue Mar 4 00:04:36 2014 +0100
Increase closing threshold.
Since we no longer process data after authentication has failed, we might as
well increase the closing threshold. The larger interval hopefully makes
ScrambleSuit bridges less fingerprintable for active adversaries.
---
obfsproxy/transports/scramblesuit/state.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/obfsproxy/transports/scramblesuit/state.py b/obfsproxy/transports/scramblesuit/state.py
index f015755..8068914 100644
--- a/obfsproxy/transports/scramblesuit/state.py
+++ b/obfsproxy/transports/scramblesuit/state.py
@@ -116,7 +116,7 @@ class State( object ):
# Unauthenticated connections are closed after having received the
# following amount of bytes.
self.closingThreshold = prng.randint(const.MAX_HANDSHAKE_LENGTH,
- const.MAX_HANDSHAKE_LENGTH * 2)
+ const.MAX_HANDSHAKE_LENGTH * 5)
self.writeState()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits