[tor-bugs] #11090 [Torsocks]: torsocks should log errors to stderr and not stdout

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 23 09:08:54 UTC 2015


#11090: torsocks should log errors to stderr and not stdout
---------------------------+-----------------------
     Reporter:  infinity0  |      Owner:  infinity0
         Type:  defect     |     Status:  assigned
     Priority:  normal     |  Milestone:
    Component:  Torsocks   |    Version:
   Resolution:             |   Keywords:
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+-----------------------

Comment (by infinity0):

 {{{
 $ sudo sed -i -e 's/9050/9059/g' /etc/tor/torsocks.conf # force an error
 from torsocks

 $ parcimonie --verbose 2>/dev/null
 [Apr 23 11:08:39] PERROR torsocks[29673]: socks5 libc connect: Connection
 refused (in socks5_connect() at socks5.c:185)
 gpgkeys: HTTP fetch error 6: Could not resolve host: pool.sks-
 keyservers.net
 }}}

 Using versions from Debian sid:
 {{{
 $ apt-cache policy torsocks
 torsocks:
   Installed: 2.0.0-3
   Candidate: 2.0.0-3
   Version table:
  *** 2.0.0-3 0
         990 http://ftp.uk.debian.org/debian/ testing/main amd64 Packages
         500 http://ftp.uk.debian.org/debian/ unstable/main amd64 Packages
         100 /var/lib/dpkg/status
      1.3-3~precise 0
         500 http://ppa.launchpad.net/guardianproject/ppa/ubuntu/
 precise/main amd64 Packages

 $ apt-cache policy parcimonie
 parcimonie:
   Installed: 0.8.4-1
   Candidate: 0.8.4-1
   Version table:
  *** 0.8.4-1 0
         990 http://ftp.uk.debian.org/debian/ testing/main amd64 Packages
         500 http://ftp.uk.debian.org/debian/ unstable/main amd64 Packages
         100 /var/lib/dpkg/status
      0.7.1-1+deb7u1 0
         500 http://security.debian.org/ stable/updates/main amd64 Packages
 }}}

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


More information about the tor-bugs mailing list