[tor-commits] [obfsproxy/master] Increase closing threshold.

asn at torproject.org asn at torproject.org
Tue Jul 15 12:23:07 UTC 2014


commit ea2e71ffe07fbb1e8a307d4b33e9718d6b9b2576
Author: Philipp Winter <phw at torproject.org>
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()
 





More information about the tor-commits mailing list