Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#2523 closed defect (fixed)

Orweb broken link in i2p android

Reported by: sadie Owned by: Meeh
Priority: minor Milestone: 0.9.41
Component: apps/android Version: 0.9.40
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

Orweb has been deprecated by Guardian Project and is now replaced by Orfox / Tor Browser — clicking the link to download Orweb from the Browser Configuration screen results in a dead search in the play store

Subtickets

Attachments (1)

Screenshot_20190602-114949.png (46.8 KB) - added by sadie 3 months ago.

Download all attachments as: .zip

Change History (5)

Changed 3 months ago by sadie

comment:1 Changed 3 months ago by idk

Sensitive: unset

They all need some work really. Lightning must be using I2CP to tell if i2p is running, because it can't tell. It can be worked around by manually configuring the HTTP Proxy, but being the only "recommended" browser which is billed as having native I2P support, but not functioning seems pretty bad. We might need to build it ourselves and host it on our F-Droid as "Lightning Browser(I2P Build)" or something like that.

Firefox situation isn't alot better. For one thing, leaving media.peerconnection.ice.proxy_only=false in about:config on Firefox leaves us vulnerable to WebRTC-based de-anonymization. We can recommend changing the setting, but that's yet another thing that they have to change in about:config with their thumbs. There are two ways to do this automatically, one with root, an app called user.js-updater which replaces the user.js used by Firefox for Android automatically, or with a webextension. I had a webextension lying around.

Besides that, the coverage for recommendations isn't great. I added instructions for browsers that I tested and knew to work with i2p, and marked browsers I know don't work with i2p as unsupported.

The following diff updates all the recommendations except for Lightning. It also fixes 2521.

#
# old_revision [d418dc7f5b0e9ceb0c6a34de97672b46a3b78c28]
#
# add_file "app/src/main/res/raw/help_org_gnu_icecat.html"
#  content [a99e48492f678d257dad43a3239553ce64944264]
# 
# add_file "app/src/main/res/raw/help_org_mozilla_fennec_fdroid.html"
#  content [bec93f4ba58b8f201e01c8f3b94f1810e7e28f73]
# 
# patch "app/src/main/res/raw/help_i2ptunnel.html"
#  from [4af9112c8344f2db8388a9c6c16efff97ff32db6]
#    to [3a3ec6efd6274e29f96171f4ceffe93274d102eb]
# 
# patch "app/src/main/res/raw/help_info_guardianproject_browser.html"
#  from [67d6bdffa8222c2666fe3f74439179cb4ac30e06]
#    to [3e94e7b130daff7d4f2f070af9de63784c1dfebd]
# 
# patch "app/src/main/res/raw/help_info_guardianproject_orfox.html"
#  from [3ea5ac1b6eaaec40d1d5c564608efdcee44f841c]
#    to [3e94e7b130daff7d4f2f070af9de63784c1dfebd]
# 
# patch "app/src/main/res/raw/help_main.html"
#  from [91de9a24f163c416c39e804cd1b967f1000bed92]
#    to [39c4a4f333cd23a5cfd492f33e404a888786c65b]
# 
# patch "app/src/main/res/raw/help_org_mozilla_firefox.html"
#  from [9cc592624443d6dccb51cec123d452920c68d261]
#    to [eb5bd8712235927b162a07d27810a495f029e909]
# 
# patch "app/src/main/res/raw/help_unknown_browser.html"
#  from [6144f185ab711e91d7868ee992b5b1ec9b28852b]
#    to [50f5f1cc3dcd63d8fa7d09918868ca1f8cf934c2]
# 
# patch "app/src/main/res/values/arrays.xml"
#  from [5246c61193b367dc6791acea3fdb8ea6bce9dbde]
#    to [9dec9dea58bd45458e09f61323372bc6bb07512f]
#
============================================================
--- app/src/main/res/raw/help_i2ptunnel.html	4af9112c8344f2db8388a9c6c16efff97ff32db6
+++ app/src/main/res/raw/help_i2ptunnel.html	3a3ec6efd6274e29f96171f4ceffe93274d102eb
@@ -11,7 +11,7 @@
 </ul>
 
 <h2>Using clients with pre-configured tunnels</h2>
-<p>The app starts an HTTP proxy tunnel at localhost port 4444 and IRC client tunnels at localhost ports 6668 - 6672. The IRC clients are "shared clients" on the same tunnels. Once you see the tunnel icon turn green on the main console (several minutes after startup), you should be able to connect.</p>
+<p>The app starts an HTTP proxy tunnel at 127.0.0.1 port 4444 and IRC client tunnels at 127.0.0.1 ports 6668 - 6672. The IRC clients are "shared clients" on the same tunnels. Once you see the tunnel icon turn green on the main console (several minutes after startup), you should be able to connect.</p>
 
 <h2>What does the clock icon on a yellow background mean?</h2>
 <p>When a tunnel's indicator is yellow with a clock icon, the tunnel is in standby mode. This means that I2P has not built the tunnel yet, but will do so automatically when you start using it. This helps to minimize resource use and conserve battery life.</p>
============================================================
--- app/src/main/res/raw/help_info_guardianproject_browser.html	67d6bdffa8222c2666fe3f74439179cb4ac30e06
+++ app/src/main/res/raw/help_info_guardianproject_browser.html	3e94e7b130daff7d4f2f070af9de63784c1dfebd
@@ -1,11 +1,11 @@
 <html>
 <head></head>
 <body>
-<h2>How to configure Orweb:</h2>
-<ol>
-    <li>Open Orweb's settings menu.</li>
-    <li>Change the "Proxy Port" to <code>4444</code>.</li>
-    <li>Exit Orweb using the back button, then open it again.</li>
-</ol>
+<h2>Sorry, this browser is unsupported</h2>
+<ul>
+    <li>OrFox has been deprecated by the Guardian Project in favor of Tor
+    Browser for Android. It is no longer supported.
+    </li>
+</ul>
 </body>
-</html>
\ No newline at end of file
+</html>
============================================================
--- app/src/main/res/raw/help_info_guardianproject_orfox.html	3ea5ac1b6eaaec40d1d5c564608efdcee44f841c
+++ app/src/main/res/raw/help_info_guardianproject_orfox.html	3e94e7b130daff7d4f2f070af9de63784c1dfebd
@@ -1,17 +1,11 @@
 <html>
 <head></head>
 <body>
-<h2>How to configure Orfox:</h2>
-<ol>
-    <li>Install the ProxyMob add-on. Click <a
-            href="https://guardianproject.info/downloads/proxymob.xpi">HERE</a>, and choose to open
-        the URL in Firefox.
+<h2>Sorry, this browser is unsupported</h2>
+<ul>
+    <li>OrFox has been deprecated by the Guardian Project in favor of Tor
+    Browser for Android. It is no longer supported.
     </li>
-    <li>In the main Firefox menu, click "Tools", then "Add-ons".</li>
-    <li>Click on "Proxy Mobile".</li>
-    <li>Change the value of "HTTP Proxy Port" to <code>4444</code>.</li>
-    <li>Change the value of "HTTPS Proxy Port" to <code>4444</code>.</li>
-    <li>You can now browse I2P eepsites!</li>
-</ol>
+</ul>
 </body>
-</html>
\ No newline at end of file
+</html>
============================================================
--- app/src/main/res/raw/help_main.html	91de9a24f163c416c39e804cd1b967f1000bed92
+++ app/src/main/res/raw/help_main.html	39c4a4f333cd23a5cfd492f33e404a888786c65b
@@ -9,8 +9,8 @@
 <p>With this app installed, other apps that are designed for I2P will use it automatically.</p>
 
 <h2>Pre-configured HTTP proxy</h2>
-<p>The app starts an HTTP proxy at localhost port 4444. To use it, configure your browser's HTTP proxy setting to use localhost:4444.</p>
+<p>The app starts an HTTP proxy at 127.0.0.1 port 4444. To use it, configure your browser's HTTP proxy setting to use 127.0.0.1:4444.</p>
 <p>The HTTP proxy is tested with the "Orweb" app. It should also work with Firefox 4 Mobile and the ProxyMob Firefox plugin, if you have at least 512 MB of RAM.</p>
 <p>See the "Browser configuration" help page for more info.</p>
 </body>
-</html>
\ No newline at end of file
+</html>
============================================================
--- /dev/null	
+++ app/src/main/res/raw/help_org_gnu_icecat.html	a99e48492f678d257dad43a3239553ce64944264
@@ -0,0 +1,35 @@
+<html>
+<head></head>
+<body>
+<h2>How to configure GNU IceCat:</h2>
+<ol>
+    <li>Click <a href="about:config?filter=network.proxy">HERE</a>, and choose to open the URL in IceCatMobile.</li>
+    <li>Change the value of "network.proxy.type" to <code>1</code>.</li>
+    <li>Change the value of "network.proxy.http" to <code>127.0.0.1</code>.</li>
+    <li>Change the value of "network.proxy.http_port" to <code>4444</code>.</li>
+    <li>Change the value of "network.proxy.ssl" to <code>127.0.0.1</code>.</li>
+    <li>Change the value of "network.proxy.ssl_port" to <code>4444</code>.</li>
+    <li>Change the value of "media.peerconnection.ice.proxy_only" to <code>true</code><li>
+    <li>You may also wish to install plugins to help manage your browser's
+    default javascript settings, such as NoScript and/or uMatrix, and use
+    Private Browsing to manage your browser's cache.
+    </li>
+    <li>You can now browse I2P eepsites!</li>
+</ol>
+<h3>Alternate Configuration(Requires Root!)</h3>
+<ol>
+    <li>Install <a href="https://github.com/v1nc/user.js-updater">user.js-updater</a></li>
+    <li>Select IceCatMobile from the list of browsers</li>
+    <li>Paste the following URL where it says "type custom user.js url" <a href="https://github.com/eyedeekay/firefox.profile.i2p/raw/master/firefox.profile.i2p/user.js">https://github.com/eyedeekay/firefox.profile.i2p/raw/master/firefox.profile.i2p/user.js</a></li>
+    <li>Tap "Update"</li>
+    <li>You can now browse I2P eepsites!</li>
+</ol>
+<h3>!Experimental Rootless Configuration via Webextension</h3>
+<strong><p>Use at your own risk</p></strong>
+<ol>
+    <li>Open this link in GNU IceCat and get the WebExtension from <a href="https://github.com/eyedeekay/i2psetproxy.js/releases">Github</a></li>
+    <li>Click through the "Blocked Extension" warning</li>
+    <li>You can now browse I2P eepsites!</li>
+</ol>
+</body>
+</html>
============================================================
--- /dev/null	
+++ app/src/main/res/raw/help_org_mozilla_fennec_fdroid.html	bec93f4ba58b8f201e01c8f3b94f1810e7e28f73
@@ -0,0 +1,35 @@
+<html>
+<head></head>
+<body>
+<h2>How to configure Fennec Firefox:</h2>
+<ol>
+    <li>Click <a href="about:config?filter=proxy">HERE</a>, and choose to open the URL in Fennec.</li>
+    <li>Change the value of "network.proxy.type" to <code>1</code>.</li>
+    <li>Change the value of "network.proxy.http" to <code>127.0.0.1</code>.</li>
+    <li>Change the value of "network.proxy.http_port" to <code>4444</code>.</li>
+    <li>Change the value of "network.proxy.ssl" to <code>127.0.0.1</code>.</li>
+    <li>Change the value of "network.proxy.ssl_port" to <code>4444</code>.</li>
+    <li>Change the value of "media.peerconnection.ice.proxy_only" to <code>true</code><li>
+    <li>You may also wish to install plugins to help manage your browser's
+    default javascript settings, such as NoScript and/or uMatrix, and use
+    Private Browsing to manage your browser's cache.
+    </li>
+    <li>You can now browse I2P eepsites!</li>
+</ol>
+<h3>Alternate Configuration(Requires Root!)</h3>
+<ol>
+    <li>Install <a href="https://github.com/v1nc/user.js-updater">user.js-updater</a></li>
+    <li>Select Fennec from the list of browsers</li>
+    <li>Paste the following URL where it says "type custom user.js url" <a href="https://github.com/eyedeekay/firefox.profile.i2p/raw/master/firefox.profile.i2p/user.js">https://github.com/eyedeekay/firefox.profile.i2p/raw/master/firefox.profile.i2p/user.js</a></li>
+    <li>Tap "Update"</li>
+    <li>You can now browse I2P eepsites!</li>
+</ol>
+<h3>!Experimental Rootless Configuration via Webextension</h3>
+<strong><p>Use at your own risk</p></strong>
+<ol>
+    <li>Open this link in Fennec and get the WebExtension from <a href="https://github.com/eyedeekay/i2psetproxy.js/releases">Github</a></li>
+    <li>Click through the "Blocked Extension" warning</li>
+    <li>You can now browse I2P eepsites!</li>
+</ol>
+</body>
+</html>
============================================================
--- app/src/main/res/raw/help_org_mozilla_firefox.html	9cc592624443d6dccb51cec123d452920c68d261
+++ app/src/main/res/raw/help_org_mozilla_firefox.html	eb5bd8712235927b162a07d27810a495f029e909
@@ -3,13 +3,33 @@
 <body>
 <h2>How to configure Firefox:</h2>
 <ol>
-    <li>Click <a href="about:config?filter=network.proxy">HERE</a>, and choose to open the URL in Firefox.</li>
+    <li>Click <a href="about:config?filter=proxy">HERE</a>, and choose to open the URL in Firefox.</li>
     <li>Change the value of "network.proxy.type" to <code>1</code>.</li>
     <li>Change the value of "network.proxy.http" to <code>127.0.0.1</code>.</li>
     <li>Change the value of "network.proxy.http_port" to <code>4444</code>.</li>
     <li>Change the value of "network.proxy.ssl" to <code>127.0.0.1</code>.</li>
     <li>Change the value of "network.proxy.ssl_port" to <code>4444</code>.</li>
+    <li>Change the value of "media.peerconnection.ice.proxy_only" to <code>true</code><li>
+    <li>You may also wish to install plugins to help manage your browser's
+    default javascript settings, such as NoScript and/or uMatrix, and use
+    Private Browsing to manage your browser's cache.
+    </li>
     <li>You can now browse I2P eepsites!</li>
 </ol>
+<h3>Alternate Configuration(Requires Root!)</h3>
+<ol>
+    <li>Install <a href="https://github.com/v1nc/user.js-updater">user.js-updater</a></li>
+    <li>Select Firefox from the list of browsers</li>
+    <li>Paste the following URL where it says "type custom user.js url" <a href="https://github.com/eyedeekay/firefox.profile.i2p/raw/master/firefox.profile.i2p/user.js">https://github.com/eyedeekay/firefox.profile.i2p/raw/master/firefox.profile.i2p/user.js</a></li>
+    <li>Tap "Update"</li>
+    <li>You can now browse I2P eepsites!</li>
+</ol>
+<h3>!Experimental Rootless Configuration via Webextension</h3>
+<strong><p>Use at your own risk</p></strong>
+<ol>
+    <li>Open this link in Firefox and get the WebExtension from <a href="https://github.com/eyedeekay/i2psetproxy.js/releases">Github</a></li>
+    <li>Click through the "Blocked Extension" warning</li>
+    <li>You can now browse I2P eepsites!</li>
+</ol>
 </body>
 </html>
============================================================
--- app/src/main/res/raw/help_unknown_browser.html	6144f185ab711e91d7868ee992b5b1ec9b28852b
+++ app/src/main/res/raw/help_unknown_browser.html	50f5f1cc3dcd63d8fa7d09918868ca1f8cf934c2
@@ -4,6 +4,6 @@
 <h2>This browser is unknown</h2>
 <p>We have not tested this browser with I2P, so we don't know anything about it.</p>
 <p>But if this browser supports proxies, it will work with I2P.</p>
-<p>Configure this browser's HTTP and HTTPS proxy settings to use <code>localhost:4444</code>.</p>
+<p>Configure this browser's HTTP and HTTPS proxy settings to use <code>127.0.0.1:4444</code>.</p>
 </body>
-</html>
\ No newline at end of file
+</html>
============================================================
--- app/src/main/res/values/arrays.xml	5246c61193b367dc6791acea3fdb8ea6bce9dbde
+++ app/src/main/res/values/arrays.xml	9dec9dea58bd45458e09f61323372bc6bb07512f
@@ -114,20 +114,29 @@
         <item>Lightning</item>
     </string-array>
     <string-array name="supported_browsers">
-        <item>info.guardianproject.browser</item>
         <item>org.mozilla.firefox</item>
+        <item>org.mozilla.fennec_fdroid</item>
+        <item>org.gnu.icecat</item>
     </string-array>
     <string-array name="supported_browser_labels">
-        <item>Orweb</item>
         <item>Firefox</item>
+        <item>Fennec F-Droid</item>
+        <item>IceCatMobile</item>
     </string-array>
     <string-array name="unsupported_browsers">
         <item>com.android.chrome</item>
+        <item>com.brave.browser</item>
         <item>com.android.browser</item>
         <item>com.sec.android.app.sbrowser</item>
+        <item>com.stoutner.privacybrowser.standard</item>
+        <item>info.guardianproject.browser</item>
         <item>mobi.mgeek.TunnyBrowser</item>
         <item>com.lastpass.lpandroid</item>
         <item>org.mozilla.focus</item>
+        <item>org.mozilla.rocket</item>
+        <item>org.mozilla.klar</item>
+        <item>org.torproject.torbrowser</item>
+        <item>org.torproject.torbrowser_alpha</item>
     </string-array>
     <string-array name="tunnel_profiles">
         <item>bulk</item>
Last edited 3 months ago by Meeh (previous) (diff)

comment:2 Changed 3 months ago by Meeh

I don't see anything wrong with this. Good work!

comment:3 Changed 3 months ago by idk

Resolution: fixed
Status: newclosed

comment:4 Changed 3 months ago by zzz

Milestone: undecided0.9.41
Note: See TracTickets for help on using tickets.