[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #10598 [Obfsproxy]: Merge ScrambleSuit v2014.01.a.
#10598: Merge ScrambleSuit v2014.01.a.
-----------------------------+-----------------------------------------
Reporter: phw | Owner: asn
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Obfsproxy | Version:
Resolution: | Keywords: pt, obfsproxy, scramblesuit
Actual Points: | Parent ID:
Points: |
-----------------------------+-----------------------------------------
Comment (by asn):
Also, it would be nice if we could test scramblesuit automatically using
the integration tester in `obfsproxy/test/tester.py`. It's pretty easy: we
just need to add:
{{{
+class DirectScramblesuit(DirectTest, unittest.TestCase):
+ transport = "scramblesuit"
+ server_args = ("scramblesuit", "server",
+ "127.0.0.1:%d" % SERVER_PORT,
+ "--shared-secret=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
+ "--dest=127.0.0.1:%d" % EXIT_PORT)
+ client_args = ("scramblesuit", "client",
+ "127.0.0.1:%d" % ENTRY_PORT,
+ "--shared-secret=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
+ "--dest=127.0.0.1:%d" % SERVER_PORT)
+
+
}}}
But maybe it would be nice to clean up the session ticket after such a
test. How should we do this? We could add a hidden test-only CLI switch to
scramblesuit that disables session resumption but it would be a bit ugly.
Maybe we can do post-test cleanup in unittest?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10598#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs