[tor-bugs] #24759 [Core Tor/Tor]: (Sandbox) Caught a bad syscall attempt (syscall socket)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 20 20:39:45 UTC 2018


#24759: (Sandbox) Caught a bad syscall attempt (syscall socket)
-------------------------------------------------+-------------------------
 Reporter:  mig5                                 |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.1.9
 Severity:  Normal                               |     Resolution:
 Keywords:  sandbox, 033-must, crash,            |  Actual Points:
  033-triage-20180320, 033-included-20180320     |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by mig5):

 The good and bad news is that I can't seem to reproduce this now!

 Still a Fedora 26 AppVM in QubesOS - the only thing that's different is
 newer Tor, so perhaps this bug was somehow fixed in 0.3.1.10.


 {{{
 Mar 21 07:37:13.832 [notice] Tor 0.3.1.10 (git-e3966d47c7252409) running
 on Linux with Libevent 2.0.22-stable, OpenSSL 1.1.0g-fips, Zlib 1.2.11,
 Liblzma N/A, and Libzstd N/A.
 Mar 21 07:37:13.832 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Mar 21 07:37:13.832 [notice] Read configuration file "/home/user/torrc".
 Mar 21 07:37:13.835 [notice] Opening Socks listener on 127.0.0.1:20315
 Mar 21 07:37:13.835 [notice] Opening Control listener on
 /tmp/tmpvgh5zfbs/control_socket
 Mar 21 07:37:13.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
 Mar 21 07:37:13.000 [notice] Parsing GEOIP IPv6 file
 /usr/share/tor/geoip6.
 Mar 21 07:37:14.000 [notice] Bootstrapped 0%: Starting
 Mar 21 07:37:14.000 [notice] Starting with guard context "default"
 Mar 21 07:37:15.000 [notice] Bootstrapped 5%: Connecting to directory
 server
 Mar 21 07:37:15.000 [notice] Bootstrapped 10%: Finishing handshake with
 directory server
 Mar 21 07:37:17.000 [notice] Bootstrapped 15%: Establishing an encrypted
 directory connection
 Mar 21 07:37:17.000 [notice] Bootstrapped 20%: Asking for networkstatus
 consensus
 Mar 21 07:37:18.000 [notice] Bootstrapped 25%: Loading networkstatus
 consensus
 Mar 21 07:37:23.000 [notice] I learned some more directory information,
 but not enough to build a circuit: We have no usable consensus.
 Mar 21 07:37:24.000 [notice] Bootstrapped 40%: Loading authority key certs
 Mar 21 07:37:25.000 [notice] I learned some more directory information,
 but not enough to build a circuit: We're missing descriptors for some of
 our primary entry guards
 Mar 21 07:37:29.000 [notice] Bootstrapped 50%: Loading relay descriptors
 Mar 21 07:37:33.000 [notice] Bootstrapped 57%: Loading relay descriptors
 Mar 21 07:37:33.000 [notice] Bootstrapped 65%: Loading relay descriptors
 Mar 21 07:37:34.000 [notice] Bootstrapped 70%: Loading relay descriptors
 Mar 21 07:37:35.000 [notice] Bootstrapped 78%: Loading relay descriptors
 Mar 21 07:37:36.000 [notice] Bootstrapped 80%: Connecting to the Tor
 network
 Mar 21 07:37:37.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
 Mar 21 07:37:39.000 [notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 Mar 21 07:37:39.000 [notice] Bootstrapped 100%: Done
 }}}

 {{{
 [user at onionshare ~]$ cat torrc
 Sandbox 1
 DataDirectory /tmp/tmpvgh5zfbs
 SocksPort 20315
 ControlSocket /tmp/tmpvgh5zfbs/control_socket
 CookieAuthentication 1
 CookieAuthFile /tmp/tmpvgh5zfbs/cookie
 AvoidDiskWrites 1
 Log notice stdout
 GeoIPFile /usr/share/tor/geoip
 GeoIPv6File /usr/share/tor/geoip6
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24759#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list