[tor-bugs] #25471 [Obfuscation/Snowflake]: "log to pt_state directory" option for snowflake-client
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 13 02:27:17 UTC 2018
#25471: "log to pt_state directory" option for snowflake-client
---------------------------------------+--------------------
Reporter: dcf | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Obfuscation/Snowflake | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
---------------------------------------+--------------------
From #25449:
[comment:3:ticket:25449 dcf]:
> My removal of default logging in [https://gitweb.torproject.org
/pluggable-
transports/snowflake.git/commit/?id=12922a232ba63bd8d94c92ced32e23aa2fb055ed
12922a232b] was arguably rash: while obviously eventually we would have to
stop logging by default, requiring a `-log` option with a path prevents
writing to a log file that's inside the `pt_state` directory, which, in
sandbox situations, may be the only place the transport plugin is allowed
to write. obfs4proxy just has a boolean option `-enableLogging` that
doesn't take a path, unconditionally writing to `pt_state/obfs4proxy.log`.
Perhaps something like that would be better, even if it's less convenient
for development.
[comment:4:ticket:25449 arlolra]:
> Maybe just add another flag, `-logToStateDir` or the like
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25471>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list