[Pkg-privacy-commits] [obfsproxy] 313/353: Increase closing threshold.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:02:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfsproxy.

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()
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git



More information about the Pkg-privacy-commits mailing list