Trac issueshttps://gitlab.torproject.org/legacy/trac/-/issues2020-06-13T17:41:30Zhttps://gitlab.torproject.org/legacy/trac/-/issues/34182Write new integration tests for Tor Browser based on Fenix based on O1.22020-06-13T17:41:30ZMatthew FinkelWrite new integration tests for Tor Browser based on Fenix based on O1.2Add new tests.Add new tests.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/33288forrestii/fpcentral still has stretch packages (mongodb)2020-06-13T17:41:29Zanarcatforrestii/fpcentral still has stretch packages (mongodb)fpcentral requires mongodb to operate, but that package was removed from Debian stable in february 2019, mainly [because of license problems](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916107). to quote wikipedia:
> MongoDB has ...fpcentral requires mongodb to operate, but that package was removed from Debian stable in february 2019, mainly [because of license problems](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916107). to quote wikipedia:
> MongoDB has been dropped from the Debian, Fedora and Red Hat Enterprise Linux distributions due to the licensing change. Fedora determined that the SSPL version 1 is not a free software license because it is "intentionally crafted to be aggressively discriminatory" towards commercial users.
(there is also an [unpatched security issue](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934783) against mongodb, by the way...)
we can't maintain this service like that in the long term. stretch will stop being supported this summer and mongodb isn't supported in its free form.
what's the plan for replacing mongodb?cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/30450tbb-testsuite: Fix the readelf_stack_canary test2020-06-13T17:41:25Zboklmtbb-testsuite: Fix the readelf_stack_canary testThe readelf_stack_canary test currently fails on the following files:
```
abicheck
gtk2/libmozgtk.so
libmozgtk.so
TorBrowser/Tor/libstdc++/libstdc++.so.6
```The readelf_stack_canary test currently fails on the following files:
```
abicheck
gtk2/libmozgtk.so
libmozgtk.so
TorBrowser/Tor/libstdc++/libstdc++.so.6
```cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/30341tbb-testsuite: fix the screenshots test2020-06-13T17:41:24Zboklmtbb-testsuite: fix the screenshots testThe screenshots test is currently failing with the error:
```
Traceback (most recent call last):
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_harness-4.3.0-py2.7.egg/mar...The screenshots test is currently failing with the error:
```
Traceback (most recent call last):
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_harness-4.3.0-py2.7.egg/marionette_harness/marionette_test/testcases.py", line 156, in run
testMethod()
File "/home/tbb-testsuite/tbb-testsuite/marionette/tor_browser_tests/test_screenshots.py", line 27, in test_check_tpo
marionette.navigate(url)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 1632, in navigate
self._send_message("get", {"url": url})
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/decorators.py", line 23, in _
return func(*args, **kwargs)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 740, in _send_message
self._handle_error(err)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 764, in _handle_error
raise errors.lookup(error)(message, stacktrace=stacktrace)
UnknownException: Reached error page: about:neterror?e=fileNotFound&u=chrome%3A//torbutton/content/preferences.xul&c=UTF-8&f=regular&d=Die%20Dateien%20unter%20chrome%3A//torbutton/content/preferences.xul%20konnten%20nicht%20gefunden%20werden.
stacktrace:
WebDriverError@chrome://marionette/content/error.js:178:5
UnknownError@chrome://marionette/content/error.js:529:5
handleReadyState@chrome://marionette/content/listener.js:277:21
handleEvent@chrome://marionette/content/listener.js:245:9
```cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/30333tbb-testsuite: fix the download_pdf test2020-06-13T17:41:22Zboklmtbb-testsuite: fix the download_pdf testThe `download_pdf` test currently fails with the error:
```
Traceback (most recent call last):
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_harness-4.3.0-py2.7.egg/mario...The `download_pdf` test currently fails with the error:
```
Traceback (most recent call last):
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_harness-4.3.0-py2.7.egg/marionette_harness/marionette_test/testcases.py", line 156, in run
testMethod()
File "/home/tbb-testsuite/tbb-testsuite/marionette/tor_browser_tests/test_download_pdf.py", line 24, in test_download_pdf
m.set_window_size(1024, 300)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 2063, in set_window_size
return self._send_message("setWindowSize", body)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/decorators.py", line 23, in _
return func(*args, **kwargs)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 740, in _send_message
self._handle_error(err)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 764, in _handle_error
raise errors.lookup(error)(message, stacktrace=stacktrace)
UnknownCommandException: setWindowSize
stacktrace:
WebDriverError@chrome://marionette/content/error.js:178:5
UnknownCommandError@chrome://marionette/content/error.js:518:5
despatch@chrome://marionette/content/server.js:286:13
execute@chrome://marionette/content/server.js:267:11
onPacket/<@chrome://marionette/content/server.js:242:15
onPacket@chrome://marionette/content/server.js:241:8
_onJSONObjectReady/<@chrome://marionette/content/transport.js:500:9
```cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/29675Nightly build should fail if "make fetch" fails2020-06-13T17:41:20ZboklmNightly build should fail if "make fetch" failsWe run `make fetch` during the nightly builds to fetch the latest commits before starting the build. However we ignore the exit code from `make fetch`, so if there an error in the middle of fetching, then we build with old commits.
Inst...We run `make fetch` during the nightly builds to fetch the latest commits before starting the build. However we ignore the exit code from `make fetch`, so if there an error in the middle of fetching, then we build with old commits.
Instead we should make the build fail if there was an error in `make fetch`, so we can know there was something wrong and can fix it.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/29667Add android-x86 to nightly builds2020-06-13T17:41:20ZboklmAdd android-x86 to nightly builds#27210 added support to `tor-browser-build` for android-x86. We should now add it to our nightly builds.#27210 added support to `tor-browser-build` for android-x86. We should now add it to our nightly builds.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/28904tbb-testsuite: fix the settings test2020-06-13T17:41:19Zboklmtbb-testsuite: fix the settings testThe settings test currently fails with the following error:
```
TEST-UNEXPECTED-FAIL | test_settings.py Test.test_settings | AssertionError: network.http.proxy.pipelining: None != True
layers.acceleration.disabled: False != True
network....The settings test currently fails with the following error:
```
TEST-UNEXPECTED-FAIL | test_settings.py Test.test_settings | AssertionError: network.http.proxy.pipelining: None != True
layers.acceleration.disabled: False != True
network.http.pipelining.read-timeout: None != 60000
network.http.pipelining.reschedule-timeout: None != 15000
network.http.pipelining: None != True
security.enable_tls_session_tickets: None != False
network.http.spdy.enabled: True != False
network.http.pipelining.ssl: None != True
network.http.pipelining.aggressive: None != True
security.tls.version.max: 4 != 3
network.http.spdy.enabled.v3: None != False
network.http.spdy.enabled.v2: None != False
gfx.direct2d.disabled: None != True
network.http.pipelining.max-optimistic-requests: None != 3
network.http.pipelining.maxrequests: None != 12
webgl.min_capability_mode: False != True
```cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/28876tbb-testsuite: fix the noscript test2020-06-13T17:41:18Zboklmtbb-testsuite: fix the noscript testThe noscript test is currently failing, because it is trying to use the `noscript.global` pref to enable/disable noscript, which is not used anymore by the new version of noscript.
To test the different states of noscript, we can instea...The noscript test is currently failing, because it is trying to use the `noscript.global` pref to enable/disable noscript, which is not used anymore by the new version of noscript.
To test the different states of noscript, we can instead change the security level.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/28798tbb-testsuite: fix the svg-disable and svg-enable tests2020-06-13T17:41:17Zboklmtbb-testsuite: fix the svg-disable and svg-enable testsRunning the `svg-disable` test currently fails with the error:
```
Traceback (most recent call last):
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_harness-4.3.0-py2.7.eg...Running the `svg-disable` test currently fails with the error:
```
Traceback (most recent call last):
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_harness-4.3.0-py2.7.egg/marionette_harness/marionette_test/testcases.py", line 156, in run
testMethod()
File "/home/tbb-testsuite/tbb-testsuite/marionette/tor_browser_tests/test_svg.py", line 32, in test_svg
m.navigate("%s/img_src_url.html" % self.svg_dir)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 1632, in navigate
self._send_message("get", {"url": url})
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/decorators.py", line 23, in _
return func(*args, **kwargs)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 740, in _send_message
self._handle_error(err)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 764, in _handle_error
raise errors.lookup(error)(message, stacktrace=stacktrace)
UnknownException: Reached error page: about:neterror?e=fileAccessDenied&u=file%3A///home/tbb-testsuite/tbb-testsuite/test-data/svg//img_src_url.html&c=UTF-8&f=regular&d=%D8%A7%D9%84%D9%85%D9%84%D9%81%20%D9%81%D9%8A%20/home/tbb-testsuite/tbb-testsuite/test-data/svg//img_src_url.html%20%D9%84%D9%8A%D8%B3%20%D9%85%D9%82%D8%B1%D9%88%D8%A1%D9%8B%D8%A7.
stacktrace:
WebDriverError@chrome://marionette/content/error.js:178:5
UnknownError@chrome://marionette/content/error.js:529:5
handleReadyState@chrome://marionette/content/listener.js:277:21
handleEvent@chrome://marionette/content/listener.js:245:9
```
The `svg-enable` test fails with the same error:
```
Traceback (most recent call last):
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_harness-4.3.0-py2.7.egg/marionette_harness/marionette_test/testcases.py", line 156, in run
testMethod()
File "/home/tbb-testsuite/tbb-testsuite/marionette/tor_browser_tests/test_svg.py", line 32, in test_svg
m.navigate("%s/img_src_url.html" % self.svg_dir)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 1632, in navigate
self._send_message("get", {"url": url})
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/decorators.py", line 23, in _
return func(*args, **kwargs)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 740, in _send_message
self._handle_error(err)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 764, in _handle_error
raise errors.lookup(error)(message, stacktrace=stacktrace)
UnknownException: Reached error page: about:neterror?e=fileAccessDenied&u=file%3A///home/tbb-testsuite/tbb-testsuite/test-data/svg//img_src_url.html&c=UTF-8&f=regular&d=%D8%A7%D9%84%D9%85%D9%84%D9%81%20%D9%81%D9%8A%20/home/tbb-testsuite/tbb-testsuite/test-data/svg//img_src_url.html%20%D9%84%D9%8A%D8%B3%20%D9%85%D9%82%D8%B1%D9%88%D8%A1%D9%8B%D8%A7.
stacktrace:
WebDriverError@chrome://marionette/content/error.js:178:5
UnknownError@chrome://marionette/content/error.js:529:5
handleReadyState@chrome://marionette/content/listener.js:277:21
handleEvent@chrome://marionette/content/listener.js:245:9
```cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/26279Needing help with a custom browser protocol2020-06-16T00:46:47ZTracNeeding help with a custom browser protocolSo what I'm trying to do is create a protocol called "opentor" and when used like "opentor://http://www.website.com/" it'll open that website in tor from another browser. I've gotten the URI scheme working, and it's opening tor when I us...So what I'm trying to do is create a protocol called "opentor" and when used like "opentor://http://www.website.com/" it'll open that website in tor from another browser. I've gotten the URI scheme working, and it's opening tor when I use it, but it's not opening the link in it. What is the problem to this? Is it a bug in tor? Is there something I'm missing? Or is it just not possible at all?
**Trac**:
**Username**: AlienDrewcypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/26083Bridge detector. Fake?2020-06-13T18:31:19ZcypherpunksBridge detector. Fake?Some code for detection found. Is it real?Some code for detection found. Is it real?cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/25889add support for Ubuntu 18.042020-06-13T17:35:03Zcypherpunksadd support for Ubuntu 18.04The relay guide should be ready once Ubuntu 18.04 is released (2018-04-26),
this depends on #25888
- wait for #25888 to get committed
- confirm current instructions work on Ubuntu 18.04The relay guide should be ready once Ubuntu 18.04 is released (2018-04-26),
this depends on #25888
- wait for #25888 to get committed
- confirm current instructions work on Ubuntu 18.04cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/25060fpcentral: set "Accept-Encoding" header expected value assuming we are using ...2020-06-13T17:41:05Zboklmfpcentral: set "Accept-Encoding" header expected value assuming we are using httpsIn `fingerprint/acceptable/torbrowser70.json` we are expecting the value of the `Accept-Encoding` header to be `gzip, deflate`. This is true when fpcentral is deployed on http, but not on https:
https://trac.torproject.org/projects/tor/t...In `fingerprint/acceptable/torbrowser70.json` we are expecting the value of the `Accept-Encoding` header to be `gzip, deflate`. This is true when fpcentral is deployed on http, but not on https:
https://trac.torproject.org/projects/tor/ticket/22656#comment:6
As https://fpcentral.tbb.torproject.org/ is using https, we should change it to `gzip, deflate, br`.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/25059When running in apache+mod_wsgi, fpcentral fails to find its attributes defin...2020-06-13T17:41:05ZboklmWhen running in apache+mod_wsgi, fpcentral fails to find its attributes definitionsIn `fingerprint/attributes_manager.py` the functions `get_definitions` and `get_files_and_variables` are loading json files from the directory `fingerprint/attributes`. When it is being run with apache+mod_wsgi the current directory is n...In `fingerprint/attributes_manager.py` the functions `get_definitions` and `get_files_and_variables` are loading json files from the directory `fingerprint/attributes`. When it is being run with apache+mod_wsgi the current directory is not the application's directory, so this doesn't work.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/23600Make sure the Windows DLL blocklist is loaded2020-06-13T17:41:03ZGeorg KoppenMake sure the Windows DLL blocklist is loadedWe activated the DLL blocklisting feature for our Windows builds in #23582 and should write a test for our Q&A infra making sure this is enabled in our release builds.We activated the DLL blocklisting feature for our Windows builds in #23582 and should write a test for our Q&A infra making sure this is enabled in our release builds.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/22661Make FPCentral recognize the new security slider values2020-06-13T17:41:00ZcypherpunksMake FPCentral recognize the new security slider valuesNow Medium-Low doesn't exist anymore, and Medium-High is basically the new Medium.
This is bug 5 https://github.com/plaperdr/fp-central/issues/5
Apologies if this has been already fixed/addressed somewhere.Now Medium-Low doesn't exist anymore, and Medium-High is basically the new Medium.
This is bug 5 https://github.com/plaperdr/fp-central/issues/5
Apologies if this has been already fixed/addressed somewhere.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/22058Provide better testing for Tor Browser not breaking important websites (Twitt...2020-06-15T23:43:26ZGeorg KoppenProvide better testing for Tor Browser not breaking important websites (Twitter/Github etc.)We recently had to deal with Twitter being hardly usable for Tor Browser users due to a bug in our code (see #16450 and #21555). We might want to have some tests informing us as early as possible if such a breakage happens. Selenium migh...We recently had to deal with Twitter being hardly usable for Tor Browser users due to a bug in our code (see #16450 and #21555). We might want to have some tests informing us as early as possible if such a breakage happens. Selenium might be a good tool for writing such tests, maybe Marionette as well.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/21623Replace the loading icon with a Bootstrap progress bar2020-06-13T18:07:06ZcypherpunksReplace the loading icon with a Bootstrap progress barThe loading icon is an image which does not scale. A Bootstrap progress bar uses CSS thus scales properly.The loading icon is an image which does not scale. A Bootstrap progress bar uses CSS thus scales properly.cypherpunkscypherpunkshttps://gitlab.torproject.org/legacy/trac/-/issues/21518Pluggable transports for zero-rated services2020-06-13T06:04:32ZcypherpunksPluggable transports for zero-rated servicesTor increases data usage, and most of the demographics that need Tor the most have very limited data, so please make PTs available for zero-rated services.
For example FreedomPop zero-rates WhatsApp (https://9to5mac.com/2016/08/17/freed...Tor increases data usage, and most of the demographics that need Tor the most have very limited data, so please make PTs available for zero-rated services.
For example FreedomPop zero-rates WhatsApp (https://9to5mac.com/2016/08/17/freedompop-whatsapp-sim-free-iphone/) in 30 countries on a free ($0/month) plan.
A WhatsApp plugable transport would therefor allow users in poverty-stricken, massively oppressed countries to have unlimited free access to information through Tor.
I'm not sure if the component should be Orbot or Tor; the WhatsApp example is for mobile but there is also zero-rating for house internet, or someone might want to use a WhatsApp PT on a desktop/laptop/notebook with conventional Tor, tethered to a smartphone for the zero-rated protocol.cypherpunkscypherpunks