[tor-bugs] #18079 [Stem]: Improve (IPv6) parsing of "connection resolvers"

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 27 18:44:33 UTC 2016


#18079: Improve (IPv6) parsing of "connection resolvers"
--------------------+--------------------------
 Reporter:  toralf  |          Owner:  atagar
     Type:  defect  |         Status:  reopened
 Priority:  Medium  |      Milestone:
Component:  Stem    |        Version:
 Severity:  Normal  |     Resolution:
 Keywords:  ipv6    |  Actual Points:
Parent ID:          |         Points:
  Sponsor:          |
--------------------+--------------------------

Comment (by toralf):

 I applied 02723814521e891260637764c236c9f9e5f429e2 here on top of the
 patched 1-4-0 stem - works fine, so is "DisableDebuggerAttachment 0" is no
 longer needed ?

 :-)

 For debug purpose I printed out all ipv6 connections I got from
 "get_connections(resolver, process_pid=pid, process_name='tor')":
 {{{
 ms-magpie stem-1.4.0 # /home/tfoerste/info.py
 ['proc', 'netstat', 'lsof', 'ss'] : proc
 ipv6 : ::ffff:78.54.157.219
 ipv6 : 2001:6f8:126f:11::26
 ipv6 : ::ffff:195.42.115.146
 ipv6 : 2001:858:2:2:aabb:0:563b:1526
 ipv6 : ::ffff:78.54.157.219
 ipv6 : ::ffff:78.54.157.219
 }}}
 and compared this to netstat it seems, that the beam connections (related
 to ejabberd) are still counted for Tor too, or :
 {{{
 ms-magpie stem-1.4.0 # netstat -npW -6
 Active Internet connections (w/o servers)
 Proto Recv-Q Send-Q Local Address           Foreign Address         State
 PID/Program name
 tcp6       0      0 5.9.158.75:5222         78.54.157.219:45954
 ESTABLISHED 1629/beam
 tcp6       0      0 2a01:4f8:190:514a::2:5269 2001:6f8:126f:11::26:47612
 ESTABLISHED 1629/beam
 tcp6       0      0 5.9.158.75:5269         195.42.115.146:60442
 ESTABLISHED 1629/beam
 tcp6       0      0 2a01:4f8:190:514a::2:443
 2001:858:2:2:aabb:0:563b:1526:45515 ESTABLISHED 1903/tor
 tcp6       0   1599 5.9.158.75:5222         78.54.157.219:42950
 ESTABLISHED 1629/beam
 tcp6       0      0 5.9.158.75:5222         78.54.157.219:43052
 ESTABLISHED 1629/beam
 }}}

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


More information about the tor-bugs mailing list