Pier Angelo Vendrame pushed to branch tor-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
8acd4ac6 by Dan Ballard at 2024-10-02T16:09:15+00:00
fixup! Orfox: Centralized proxy applied to AbstractCommunicator and BaseResources.
This reverts commit a16d36fce768826615620ee73bec755fcd7081ea for tb-42660
- - - - -
10a39162 by Dan Ballard at 2024-10-02T16:09:15+00:00
Bug 42660: Disable ProxySelector.openConnectionWithProxy and NOPify CrashReporter.sendCrashReport
- - - - -
2 changed files:
- mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/ProxySelector.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/CrashReporter.java
Changes:
=====================================
mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/ProxySelector.java
=====================================
@@ -28,40 +28,19 @@ import java.net.URLConnection;
import java.util.List;
public class ProxySelector {
- private static final String TOR_PROXY_ADDRESS = "127.0.0.1";
- private static final int TOR_SOCKS_PROXY_PORT = 9150;
- private static final int TOR_HTTP_PROXY_PORT = 8218;
-
public static URLConnection openConnectionWithProxy(final URI uri) throws IOException {
- final java.net.ProxySelector ps = java.net.ProxySelector.getDefault();
- Proxy proxy = Proxy.NO_PROXY;
- if (ps != null) {
- final List<Proxy> proxies = ps.select(uri);
- if (proxies != null && !proxies.isEmpty()) {
- proxy = proxies.get(0);
- }
- }
-
- /* Ignore the proxy we found from the VM, only use Tor. We can probably
- * safely use the logic in this class in the future. */
- return uri.toURL().openConnection(getProxy());
- }
-
- public static Proxy getProxy() {
- // TODO make configurable
- return new Proxy(Proxy.Type.SOCKS, new InetSocketAddress(TOR_PROXY_ADDRESS, TOR_SOCKS_PROXY_PORT));
- }
-
- public static String getProxyHostAddress() {
- return TOR_PROXY_ADDRESS;
- }
-
- public static int getSocksProxyPort() {
- return TOR_SOCKS_PROXY_PORT;
- }
-
- public static int getHttpProxyPort() {
- return TOR_HTTP_PROXY_PORT;
+// tb-42660: This should not be used: it cannot safely get tor configs so would be a proxy leak risk
+ throw new IOException("openConnectionWithProxy disabled by tb-42660");
+// final java.net.ProxySelector ps = java.net.ProxySelector.getDefault();
+// Proxy proxy = Proxy.NO_PROXY;
+// if (ps != null) {
+// final List<Proxy> proxies = ps.select(uri);
+// if (proxies != null && !proxies.isEmpty()) {
+// proxy = proxies.get(0);
+// }
+// }
+//
+// return uri.toURL().openConnection(proxy);
}
public ProxySelector() {}
=====================================
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/CrashReporter.java
=====================================
@@ -169,6 +169,11 @@ public class CrashReporter {
@NonNull final File minidumpFile,
@NonNull final JSONObject extras)
throws IOException, URISyntaxException {
+ // tb-42660: makeing a NOP
+ if (true) {
+ return GeckoResult.fromValue("0");
+ }
+
Log.d(LOGTAG, "Sending crash report: " + minidumpFile.getPath());
HttpURLConnection conn = null;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/ac6b47…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/ac6b47…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
ac6b47d5 by Henry Wilkes at 2024-10-02T10:27:03+01:00
fixup! Add CI for Tor Browser
Bug 43181: Automatically run translation CI for strings.xml changes.
- - - - -
1 changed file:
- .gitlab/ci/update-translations.yml
Changes:
=====================================
.gitlab/ci/update-translations.yml
=====================================
@@ -6,6 +6,7 @@
- "**/*.ftl"
- "**/*.properties"
- "**/*.dtd"
+ - "**/*strings.xml"
- if: $FORCE_UPDATE_TRANSLATIONS == "true"
variables:
TOR_BROWSER_COMBINED_FILES_JSON: "combined-translation-files.json"
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ac6b47d…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ac6b47d…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
bab35eb4 by Pier Angelo Vendrame at 2024-10-02T12:53:54+02:00
Bug 41254: Stop copying cryptoSafetyPrompt.properties.
That file is not used anymore, and it was supposed to not exist, but it
has been deleted only from the en-US directory in translation.git.
- - - - -
1 changed file:
- projects/firefox/build
Changes:
=====================================
projects/firefox/build
=====================================
@@ -143,7 +143,6 @@ mkdir "$HOME/.mozbuild"
fi
[% END -%]
mv "$transl_tor_browser/$source_lang/tor-browser.ftl" "$l10ncentral/$lang/toolkit/toolkit/global/"
- mv "$transl_tor_browser/$source_lang/cryptoSafetyPrompt.properties" "$l10ncentral/$lang/browser/chrome/browser/"
mv "$transl_tor_browser/$source_lang" "$torbutton_locales/$lang"
echo "% locale torbutton $lang %locale/$lang/" >> "$torbutton_jar"
echo " locale/$lang (chrome/locale/$lang/*)" >> "$torbutton_jar"
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/b…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/b…
You're receiving this email because of your account on gitlab.torproject.org.
morgan pushed to branch maint-13.5a11 at The Tor Project / Applications / tor-browser-build
Commits:
f9e2b4a5 by Nicolas Vigier at 2024-10-01T19:36:41+02:00
Bug 41252: Do not run upload-update_responses-to-staticiforme
When signing a 13.5-legacy release, don't update and upload update_responses.
The update_responses containing both the 14.0 and 13.5-legacy releases
will be generated from the `maint-14.0` branch.
- - - - -
1 changed file:
- tools/signing/do-all-signing
Changes:
=====================================
tools/signing/do-all-signing
=====================================
@@ -206,5 +206,4 @@ do_step download-unsigned-sha256sums-gpg-signatures-from-people-tpo
do_step sync-local-to-staticiforme
do_step sync-scripts-to-staticiforme
do_step staticiforme-prepare-cdn-dist-upload
-do_step upload-update_responses-to-staticiforme
do_step finished-signing-clean-linux-signer
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/f…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/f…
You're receiving this email because of your account on gitlab.torproject.org.
morgan deleted tag mullvad-browser-115.16.0esr-13.5-1-build2 at The Tor Project / Applications / Tor Browser
--
You're receiving this email because of your account on gitlab.torproject.org.