[tor-bugs] #29489 [Obfuscation/Snowflake]: Set up automated local testing environment for Snowflake
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Mar 7 18:11:05 UTC 2019
#29489: Set up automated local testing environment for Snowflake
--------------------------------------------+-----------------------------
Reporter: cohosh | Owner: cohosh
Type: task | Status: closed
Priority: Medium | Milestone:
Component: Obfuscation/Snowflake | Version:
Severity: Normal | Resolution: implemented
Keywords: network-team-roadmap-2019-Q1Q2 | Actual Points: 3.3
Parent ID: #29259 | Points:
Reviewer: | Sponsor: Sponsor19
--------------------------------------------+-----------------------------
Comment (by dcf):
I tried it today. I don't know Docker very well, but it looks good, this
is solid work.
I [https://gitweb.torproject.org/pluggable-
transports/snowflake.git/commit/?id=88f282c7334f9ee76dccbf9b84dc7bcf0b39cd5b
added a link] from the main README. I'm not opposed to moving this into
the main snowflake tree if you think that's a better place for it.
It's possible to override torrc settings on the command line. An
alternative to writing separate torrc-$count files is this:
{{{#!diff
- cp torrc-localhost torrc-$count
- sed -i -e "s/datadir/datadir$count/g" torrc-$count
- echo "SOCKSPort $(($count+9050))" >> torrc-$count
+ config_override=""
+ config_override="$config_override DataDirectory datadir$count"
+ config_override="$config_override SOCKSPort $(($count+9050))"
- nohup tor -f torrc-$count > client-$count.log 2> client-$count.err &
+ nohup tor -f torrc-localhost $config_override > client-$count.log 2>
client-$count.err &
}}}
I was going to file a pull request for this, but then I thought, it could
be nice to have a torrc file to examine. So I'll just leave the idea here.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29489#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list