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

[tor-bugs] #26831 [- Select a component]: Feature: conditionally allow non-localhost inbound connections with command-line flag



#26831: Feature: conditionally allow non-localhost inbound connections with
command-line flag
--------------------------------------+--------------------
     Reporter:  dbkaplun              |      Owner:  (none)
         Type:  defect                |     Status:  new
     Priority:  Medium                |  Milestone:
    Component:  - Select a component  |    Version:
     Severity:  Normal                |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |   Reviewer:
      Sponsor:                        |
--------------------------------------+--------------------
 I am able to run ZNC without torsocks. Here's my attempt to proxy ZNC via
 torsocks:
 {{{
 foo@foo:~$ torsocks -d znc
 1531790543 DEBUG torsocks[2727]: Logging subsytem initialized. Level 5,
 file (null), time 1 (in init_logging() at torsocks.c:303)
 1531790543 DEBUG torsocks[2727]: Config file not provided by
 TORSOCKS_CONF_FILE. Using default /etc/tor/torsocks.conf (in
 config_file_read() at config-file.c:543)
 1531790543 DEBUG torsocks[2727]: Config file setting tor address to
 127.0.0.1 (in conf_file_set_tor_address() at config-file.c:298)
 1531790543 DEBUG torsocks[2727]: Config file setting tor port to 9050 (in
 conf_file_set_tor_port() at config-file.c:254)
 1531790543 DEBUG torsocks[2727]: [config] Onion address range set to
 127.42.42.0/24 (in set_onion_info() at config-file.c:108)
 1531790543 DEBUG torsocks[2727]: Config file /etc/tor/torsocks.conf opened
 and parsed. (in config_file_read() at config-file.c:572)
 1531790543 DEBUG torsocks[2727]: [fclose] Close caught for fd 3 (in
 tsocks_fclose() at fclose.c:45)
 1531790543 DEBUG torsocks[2727]: [onion] Pool init with subnet 127.42.42.0
 and mask 24 (in onion_pool_init() at onion.c:104)
 1531790543 DEBUG torsocks[2727]: [onion] Pool initialized with base 0,
 max_pos 255 and size 8 (in onion_pool_init() at onion.c:132)
 1531790543 DEBUG torsocks[2727]: [fclose] Close caught for fd 5 (in
 tsocks_fclose() at fclose.c:45)
 [ .. ] Checking for list of available modules...
 [ >> ] ok
 [ .. ] Opening config [/home/foo/.znc/configs/znc.conf]...
 [ >> ] ok
 [ .. ] Loading global module [webadmin]...
 [ >> ] [/usr/lib/znc/webadmin.so]
 [ .. ] Binding to port [+21212]...
 1531790543 DEBUG torsocks[2727]: [socket] Creating socket with domain 10,
 type 1 and protocol 6 (in tsocks_socket() at socket.c:33)
 1531790543 DEBUG torsocks[2727]: [listen] Non localhost inbound connection
 are not allowed. (in tsocks_listen() at listen.c:64)
 1531790543 DEBUG torsocks[2727]: [close] Close caught for fd 6 (in
 tsocks_close() at close.c:33)
 [ !! ] Unable to bind [Operation not permitted]
 [ ** ] Unrecoverable config error.
 1531790543 DEBUG torsocks[2727]: [close] Close caught for fd 5 (in
 tsocks_close() at close.c:33)
 1531790543 DEBUG torsocks[2727]: [onion] Destroying onion pool containing
 0 entry (in onion_pool_destroy() at onion.c:148)
 1531790543 DEBUG torsocks[2727]: [fclose] Close caught for fd 2 (in
 tsocks_fclose() at fclose.c:45)
 foo@foo:~$
 }}}

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