[tor-bugs] #18079 [Stem]: stem can't parse output of resolver "ss -nput"

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 20 19:32:25 UTC 2016


#18079: stem can't parse output of resolver "ss -nput"
--------------------+------------------------
 Reporter:  toralf  |          Owner:  atagar
     Type:  defect  |         Status:  closed
 Priority:  Medium  |      Milestone:
Component:  Stem    |        Version:
 Severity:  Normal  |     Resolution:  fixed
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
  Sponsor:          |
--------------------+------------------------

Comment (by toralf):

 which remineds me to press ENTER after changing a trac ticket.
 Hi atagar, ss now works, the other 3 not (for IPv6).
 here are the info :
 {{{
 ms-magpie ~ # netstat -np | head -n 5
 Active Internet connections (w/o servers)
 Proto Recv-Q Send-Q Local Address           Foreign Address         State
 PID/Program name
 tcp        0      0 5.9.158.75:50914        217.69.133.148:443
 ESTABLISHED 1904/tor
 tcp        0      0 5.9.158.75:53798        173.194.44.72:443
 TIME_WAIT   -
 tcp        0      0 5.9.158.75:38788        54.225.129.170:443
 ESTABLISHED 1904/tor
 ms-magpie ~ # netstat -np | grep '::'
 tcp6       0      0 2a01:4f8:190:514a:::443 2001:858:2:2:aabb:44811
 ESTABLISHED 1904/tor
 tcp6       0      0 2a01:4f8:190:514a:::443 2001:638:a000:414:38490
 ESTABLISHED 1904/tor
 }}}
 and
 {{{
 ms-magpie ~ # lsof -wnPi | head -n 5
 COMMAND  PID     USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
 dnsmasq 1450  dnsmasq    4u  IPv4     1454      0t0  UDP *:53
 dnsmasq 1450  dnsmasq    5u  IPv4     1455      0t0  TCP *:53 (LISTEN)
 dnsmasq 1450  dnsmasq    6u  IPv6     1456      0t0  UDP *:53
 dnsmasq 1450  dnsmasq    7u  IPv6     1457      0t0  TCP *:53 (LISTEN)
 ms-magpie ~ # lsof -wnPi | grep '::'
 ntpd    1818     root   20u  IPv6      530      0t0  UDP [::1]:123
 ntpd    1818     root   21u  IPv6      532      0t0  UDP
 [2a01:4f8:190:514a::2]:123
 ntpd    1818     root   22u  IPv6      534      0t0  UDP
 [fe80::3285:a9ff:feed:1cb]:123
 tor     1904      tor   10u  IPv6     4372      0t0  TCP
 [2a01:4f8:190:514a::2]:443 (LISTEN)
 tor     1904      tor 3228u  IPv6 10303350      0t0  TCP
 [2a01:4f8:190:514a::2]:443->[2001:858:2:2:aabb:0:563b:1526]:44811
 (ESTABLISHED)
 }}}
 :-)

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


More information about the tor-bugs mailing list