[tor-bugs] #34199 [Core Tor/Torsocks]: torsocks irssi weird bug

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 13 04:31:34 UTC 2020


#34199: torsocks irssi weird bug
---------------------------------------+-----------------------------------
 Reporter:  crab                       |          Owner:  (none)
     Type:  defect                     |         Status:  new
 Priority:  High                       |      Component:  Core Tor/Torsocks
  Version:  Tor: 0.4.2.7               |       Severity:  Major
 Keywords:  tor irssi bug debug weird  |  Actual Points:
Parent ID:                             |         Points:
 Reviewer:                             |        Sponsor:
---------------------------------------+-----------------------------------
 Depending on the arguments to torsocks the output varies even though it
 shouldn't

 case-1: torsocks irssi
 `/connect oftc` gives following error
 Irssi: Unable to connect server irc.oftc.net port 6697 [Interrupted system
 call]

 case 2: torsocks -d irssi
 `/connect oftc` works as expected

 I don't think there should be difference in output just because logging is
 enabled. This just might be the "torsocks uncertainty principle". I think
 we are onto something. Below I've attached the log dumped on the terminal.

 1589343629 DEBUG torsocks[22051]: Logging subsytem initialized. Level 5,
 file (null), time 1 (in init_logging() at torsocks.c:303)
 1589343629 DEBUG torsocks[22051]: Config file not provided by
 TORSOCKS_CONF_FILE. Using default /etc/torsocks.conf (in
 config_file_read() at config-file.c:543)
 1589343629 DEBUG torsocks[22051]: Config file setting tor address to
 127.0.0.1 (in conf_file_set_tor_address() at config-file.c:298)
 1589343629 DEBUG torsocks[22051]: Config file setting tor port to 9050 (in
 conf_file_set_tor_port() at config-file.c:254)
 1589343629 DEBUG torsocks[22051]: [config] Onion address range set to
 127.42.42.0/24 (in set_onion_info() at config-file.c:108)
 1589343629 DEBUG torsocks[22051]: Config file /etc/torsocks.conf opened
 and parsed. (in config_file_read() at config-file.c:572)
 1589343629 DEBUG torsocks[22051]: [fclose] Close caught for fd 3 (in
 tsocks_fclose() at fclose.c:45)
 1589343629 DEBUG torsocks[22051]: [onion] Pool init with subnet
 127.42.42.0 and mask 24 (in onion_pool_init() at onion.c:104)
 1589343629 DEBUG torsocks[22051]: [onion] Pool initialized with base 0,
 max_pos 255 and size 8 (in onion_pool_init() at onion.c:132)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 3 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 3 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 3 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1589343629 DEBUG torsocks[22051]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)

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


More information about the tor-bugs mailing list