Re: [tor-bugs] #28307 [Core Tor/Tor]: DisableNetwork is set

2018-12-05 Thread Tor Bug Tracker & Wiki
#28307: DisableNetwork is set
--+--
 Reporter:  Cyber 404 |  Owner:  (none)
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--

Comment (by dcf):

 {{{
 [NOTICE] DisableNetwork is set.
 }}}

 This is a normal message when running Tor Browser. If everything else
 works, there is no problem.

 Tor Browser sets `DisableNetwork=1` via the control port. It doesn't set
 it in torrc, which is why you didn't see it there.
 https://gitweb.torproject.org/tor-launcher.git/tree/src/components/tl-
 process.js?id=49df74bbb79cec5c5505abe0e174117eb509c9cc#n474
 {{{
   // Start tor with networking disabled if first run or if the
   // "Use Default Bridges of Type" option is turned on.  Networking
 will
   // be enabled after initial settings are chosen or after the default
   // bridge settings have been configured.
   [...]
   if (aForceDisableNetwork ||
 TorLauncherUtil.shouldShowNetworkSettings ||
   defaultBridgeType)
   {
 args.push("DisableNetwork");
 args.push("1");
   }
 }}}

 https://gitweb.torproject.org/tor-launcher.git/tree/src/chrome/content
 /network-settings.js?id=49df74bbb79cec5c5505abe0e174117eb509c9cc#n1892
 {{{
   // Tell tor to disable use of the network; this should stop the
 bootstrap
   // process.
   const kErrorPrefix = "Setting DisableNetwork=1 failed: ";
   try
   {
 let settings = {};
 settings["DisableNetwork"] = true;
 let errObj = {};
 if (!gProtocolSvc.TorSetConfWithReply(settings, errObj))
   TorLauncherLogger.log(5, kErrorPrefix + errObj.details);
   }
   catch(e)
   {
 TorLauncherLogger.log(5, kErrorPrefix + e);
   }
 }}}

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28307 [Core Tor/Tor]: DisableNetwork is set

2018-11-05 Thread Tor Bug Tracker & Wiki
#28307: DisableNetwork is set
--+--
 Reporter:  Cyber 404 |  Owner:  (none)
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--
Changes (by nickm):

 * component:  - Select a component => Core Tor/Tor
 * milestone:   => Tor: unspecified


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs