[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #28307 [Core Tor/Tor]: DisableNetwork is set
#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: <https://trac.torproject.org/projects/tor/ticket/28307#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs