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

[tor-bugs] #11970 [Tor]: `[err] sandbox_getaddrinfo(): Bug: (Sandbox) failed to get address localhost!`



#11970: `[err] sandbox_getaddrinfo(): Bug: (Sandbox) failed to get address
localhost!`
-----------------------+------------------------------------
 Reporter:  alphawolf  |          Owner:
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor        |        Version:  Tor: 0.2.5.4-alpha
 Keywords:  sandbox    |  Actual Points:
Parent ID:             |         Points:
-----------------------+------------------------------------
 Built from git, but using Debian init.d scripts, and configure options.
 Sandbox appears to cause a crash when the logs are rotated.  (The
 following coincides with the time the logs are normally rotated):

 {{{
 May 15 06:25:02.000 [notice] Received reload signal (hup). Reloading
 config and resetting internal state.
 May 15 06:25:02.000 [notice] Read configuration file "/usr/share/tor/tor-
 service-defaults-torrc".
 May 15 06:25:02.000 [notice] Read configuration file "/etc/tor/torrc".
 May 15 06:25:02.000 [err] sandbox_getaddrinfo(): Bug: (Sandbox) failed to
 get address localhost!
 May 15 06:25:02.000 [warn] Couldn't parse address '"localhost:9050"' for
 SocksPort
 May 15 06:25:02.000 [warn] Failed to parse/validate config: Invalid
 SocksPort/SocksListenAddress configuration
 May 15 06:25:02.000 [err] Reading config failed--see warnings above. For
 usage, try -h.
 May 15 06:25:02.000 [warn] Restart failed (config error?). Exiting.
 }}}

 /usr/share/tor/tor-service-defaults-torrc:
 {{{
 DataDirectory /var/lib/tor
 PidFile /var/run/tor/tor.pid
 RunAsDaemon 1
 User debian-tor

 ControlSocket /var/run/tor/control
 ControlSocketsGroupWritable 1

 CookieAuthentication 1
 CookieAuthFileGroupReadable 1
 CookieAuthFile /var/run/tor/control.authcookie

 Log notice file /var/log/tor/log
 }}}

 torrc:
 {{{
 SocksPort localhost:9050
 SocksPort 192.168.108.51:9100

 SocksPolicy accept 127.0.0.1
 SocksPolicy accept 192.168.108.0/24
 SocksPolicy reject *

 ORPort 443 NoListen
 ORPort 9001 NoAdvertise

 Nickname PrivateJoker

 RelayBandwidthRate 128 KB
 RelayBandwidthBurst 172 KB
 BandwidthRate 128 KB
 BandwidthBurst 172 KB

 DirPort 80 NoListen
 DirPort 9030 NoAdvertise
 DirReqStatistics 0
 DirPortFrontPage /etc/tor/tor-exit-notice.html

 ExitPolicy reject *:*

 AvoidDiskWrites 1
 NumCPUs 2
 FastFirstHopPK 0
 ShutdownWaitLength 60
 SafeSocks 1
 ProtocolWarnings 1
 WarnUnsafeSocks 1
 HeartbeatPeriod 3 hours
 TLSECGroup P256
 DisableAllSwap 1
 DisableDebuggerAttachment 1
 Sandbox 1
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11970>
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