[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #30121 [Applications/Tor Browser]: Create authoritative, parseable list of Tor Browser's default bridges
#30121: Create authoritative, parseable list of Tor Browser's default bridges
--------------------------------------+--------------------------
Reporter: phw | Owner: phw
Type: task | Status: assigned
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-bridges | Actual Points:
Parent ID: | Points: 1
Reviewer: | Sponsor:
--------------------------------------+--------------------------
Comment (by dcf):
Replying to [comment:6 irl]:
> If we wanted to scrape out of the tor-browser-build.git, we could define
a subset of JavaScript with strict formatting
The bridge_prefs.js file already is that. It's not actually JavaScript
code, but a configuration file with syntax that resembles JavaScript. Here
is the grammar, from Firefox's parser:
https://dxr.mozilla.org/mozilla-
central/rev/e152590056cc434823f354f149706d28b6127c66/modules/libpref/parser/src/lib.rs#11-33
https://dxr.mozilla.org/firefox/source/modules/libpref/src/prefread.cpp#184-202
(C++ parser, [https://bugzilla.mozilla.org/show_bug.cgi?id=1423840 no
longer used])
This is the reason why the bridge line for cymrubridge33 in #21917 is only
lightly obfuscated. We initially wanted to try JS-based obfuscation to
confuse a censor's scraper like
`"extensions.torlau"+"ncher.default_br"+"idge"`, but the prefs file syntax
doesn't allow it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30121#comment:7>
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