[tor-bugs] #31542 [Core Tor/Tor]: Cannot connect to IPv6 addresses using Tor SOCKS

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 28 05:07:11 UTC 2019


#31542: Cannot connect to IPv6 addresses using Tor SOCKS
------------------------------+------------------------------------
 Reporter:  sega01            |          Owner:  (none)
     Type:  defect            |         Status:  needs_information
 Priority:  Medium            |      Milestone:  Tor: 0.4.2.x-final
Component:  Core Tor/Tor      |        Version:  Tor: 0.4.1.5
 Severity:  Normal            |     Resolution:
 Keywords:  042-should, ipv6  |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+------------------------------------

Comment (by sega01):

 At the top of my ticket I have my complete configuration.

 If I add "Log notice stderr", I get nothing extra when I try to connect.

 If I add "Log info stderr", I get this.

 {{{
 Aug 28 05:03:10 red_identity_vm tor[27186]: Aug 28 05:03:10.000 [info]
 connection_handle_listener_read(): New SOCKS connection opened from [::1].
 Aug 28 05:03:10 red_identity_vm tor[27186]: Aug 28 05:03:10.000 [info]
 add_predicted_port(): New port prediction added. Will continue predictive
 circ building for 2619 more seconds.
 Aug 28 05:03:10 red_identity_vm tor[27186]: Aug 28 05:03:10.000 [info]
 connection_edge_process_inbuf(): data from edge while in 'waiting for
 circuit' state. Leaving it on buffer.
 Aug 28 05:03:10 red_identity_vm tor[27186]: Aug 28 05:03:10.000 [info]
 exit circ (length 3): $AF9E103026FBCB20179233D293C4982665D2A01C(open)
 $4E98AA295B7171996D18DD1F6A19F64AB4036B4A(open)
 $96E095D5CDBFC3988DEB708EC155346472402C32(open)
 Aug 28 05:03:10 red_identity_vm tor[27186]: Aug 28 05:03:10.000 [info]
 link_apconn_to_circ(): Looks like completed circuit to [scrubbed] does
 allow optimistic data for connection to [scrubbed]
 Aug 28 05:03:10 red_identity_vm tor[27186]: Aug 28 05:03:10.000 [info]
 connection_ap_handshake_send_begin(): Sending relay cell 0 on circ
 3481194959 to begin stream 48431.
 Aug 28 05:03:10 red_identity_vm tor[27186]: Aug 28 05:03:10.000 [info]
 connection_ap_handshake_send_begin(): Address/port sent, ap socket 16,
 n_circ_id 3481194959
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 circuit_predict_and_launch_new(): Have 7 clean circs need another
 buildtime test circ.
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 choose_good_exit_server_general(): Found 992 servers that might support
 0/0 pending connections.
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 compute_weighted_bandwidths(): Empty routerlist passed in to consensus
 weight node selection for rule weight as exit
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 choose_good_exit_server_general(): Chose exit server
 '$6FB41ED1D68FCC399DCE81600CE30360DCFFE263~Unnamed at 62.210.37.82'
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 extend_info_from_node(): Including Ed25519 ID for
 $6FB41ED1D68FCC399DCE81600CE30360DCFFE263~Unnamed at 62.210.37.82
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 select_primary_guard_for_circuit(): Selected primary guard zwiuhel
 ($AF9E103026FBCB20179233D293C4982665D2A01C) for circuit.
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 extend_info_from_node(): Including Ed25519 ID for
 $AF9E103026FBCB20179233D293C4982665D2A01C~zwiuhel at 95.216.203.16
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 extend_info_from_node(): Including Ed25519 ID for
 $E6C04728E9339DF22F331B7017D4A7AA3F252F0B~malekalcom at 149.202.208.203
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 circuit_send_first_onion_skin(): First hop: finished sending CREATE cell
 to '$AF9E103026FBCB20179233D293C4982665D2A01C~zwiuhel at 95.216.203.16'
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 command_process_relay_cell(): circuit_receive_relay_cell (backward)
 failed. Closing.
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 circuit_mark_for_close_(): Circuit 3481194959 (id: 12) marked for close at
 ../src/core/or/command.c:582 (orig reason: 1, new reason: 0)
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 connection_edge_destroy(): CircID 0: At an edge. Marking connection for
 close.
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 circuit_free_(): Circuit 0 (id: 12) has been freed.
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 circuit_finish_handshake(): Finished building circuit hop:
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 exit circ (length 3, last hop Unnamed):
 $AF9E103026FBCB20179233D293C4982665D2A01C(open)
 $E6C04728E9339DF22F331B7017D4A7AA3F252F0B(closed)
 $6FB41ED1D68FCC399DCE81600CE30360DCFFE263(closed)
 Aug 28 05:03:11 red_identity_vm tor[27186]: Aug 28 05:03:11.000 [info]
 circuit_send_intermediate_onion_skin(): Sending extend relay cell.
 Aug 28 05:03:12 red_identity_vm tor[27186]: Aug 28 05:03:12.000 [info]
 entry_guard_inc_circ_attempt_count(): Got success count 8.000000/9.000000
 for guard zwiuhel ($AF9E103026FBCB20179233D293C4982665D2A01C)
 Aug 28 05:03:12 red_identity_vm tor[27186]: Aug 28 05:03:12.000 [info]
 circuit_finish_handshake(): Finished building circuit hop:
 Aug 28 05:03:12 red_identity_vm tor[27186]: Aug 28 05:03:12.000 [info]
 exit circ (length 3, last hop Unnamed):
 $AF9E103026FBCB20179233D293C4982665D2A01C(open)
 $E6C04728E9339DF22F331B7017D4A7AA3F252F0B(open)
 $6FB41ED1D68FCC399DCE81600CE30360DCFFE263(closed)
 Aug 28 05:03:12 red_identity_vm tor[27186]: Aug 28 05:03:12.000 [info]
 circuit_send_intermediate_onion_skin(): Sending extend relay cell.
 Aug 28 05:03:13 red_identity_vm tor[27186]: Aug 28 05:03:13.000 [info]
 circuit_finish_handshake(): Finished building circuit hop:
 Aug 28 05:03:13 red_identity_vm tor[27186]: Aug 28 05:03:13.000 [info]
 exit circ (length 3, last hop Unnamed):
 $AF9E103026FBCB20179233D293C4982665D2A01C(open)
 $E6C04728E9339DF22F331B7017D4A7AA3F252F0B(open)
 $6FB41ED1D68FCC399DCE81600CE30360DCFFE263(open)
 Aug 28 05:03:13 red_identity_vm tor[27186]: Aug 28 05:03:13.000 [info]
 entry_guards_note_guard_success(): Recorded success for primary confirmed
 guard zwiuhel ($AF9E103026FBCB20179233D293C4982665D2A01C)
 Aug 28 05:03:13 red_identity_vm tor[27186]: Aug 28 05:03:13.000 [info]
 circuit_build_no_more_hops(): circuit built!
 Aug 28 05:03:13 red_identity_vm tor[27186]: Aug 28 05:03:13.000 [info]
 pathbias_count_build_success(): Got success count 9.000000/9.000000 for
 guard zwiuhel ($AF9E103026FBCB20179233D293C4982665D2A01C)
 }}}

 I'm sure I have some extraneous stuff in there. You can see the SOCKS
 connection but I didn't notice anything useful. I don't think Tor thinks
 it's broken in any way.

 I am not sure yet on 0.3.5 or 0.2.9.

 Can someone else reproduce this? I wonder if there's something weird where
 my IPv6Traffic option for SocksPort is somehow causing an issue.

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


More information about the tor-bugs mailing list