[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbutton/master] Bug #10419: Don't allow connections to localhost.



commit 3d84b2ada3389899d324223007f7a29ef6b90a17
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
Date:   Mon Feb 3 10:35:19 2014 -0800

    Bug #10419: Don't allow connections to localhost.
    
    Also sync up the banned ports list with TBB.
    
    These settings shouldn't get applied in TBB normally. This is just defensive,
    in case someone somehow manages to toggle Tor state still.
---
 src/defaults/preferences/preferences.js |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/defaults/preferences/preferences.js b/src/defaults/preferences/preferences.js
index c5e896f..bc63bb1 100644
--- a/src/defaults/preferences/preferences.js
+++ b/src/defaults/preferences/preferences.js
@@ -27,7 +27,7 @@ pref("extensions.torbutton.locked_mode",true);
 pref("extensions.torbutton.test_url","https://check.torproject.org/?TorButton=true";);
 pref("extensions.torbutton.test_url_interactive", "https://check.torproject.org/?lang=__LANG__";);
 pref("extensions.torbutton.test_failed",false);
-pref("extensions.torbutton.no_proxies_on","127.0.0.1");
+pref("extensions.torbutton.no_proxies_on","");
 pref("extensions.torbutton.versioncheck_url","https://check.torproject.org/RecommendedTBBVersions";);
 pref("extensions.torbutton.versioncheck_enabled",true);
 
@@ -59,7 +59,7 @@ pref("extensions.torbutton.saved.socks_host","");
 pref("extensions.torbutton.saved.socks_version",0);
 pref("extensions.torbutton.saved.socks_port",0);
 pref("extensions.torbutton.saved.socks_remote_dns",false);
-pref("extensions.torbutton.saved.no_proxies_on","localhost, 127.0.0.1");
+pref("extensions.torbutton.saved.no_proxies_on","");
 
 pref("extensions.torbutton.saved.tor_protocol",false);
 
@@ -150,7 +150,7 @@ pref("extensions.torbutton.close_newnym",true);
 pref("extensions.torbutton.block_js_history",true);
 pref("extensions.torbutton.resize_on_toggle",true);
 pref("extensions.torbutton.resize_new_windows",true);
-pref("extensions.torbutton.banned_ports","8118,8123,9050,9051");
+pref("extensions.torbutton.banned_ports","9050,9051,9150,9151");
 pref("extensions.torbutton.block_tor_file_net",true);
 pref("extensions.torbutton.block_nontor_file_net",false);
 pref("extensions.torbutton.jar_certs",false);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits