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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 22 07:04:27 UTC 2016


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

Comment (by cypherpunks):

 Yes!  Just funny endiannes: the address is an array of 4 little-endian
 unsigned ints and the kernel just dumps them as-they-are.

 See:
 {{{
 /net/ipv6/tcp_ipv6.c              : get_tcp6_sock
 /include/linux/in6.h              : in6_addr
 /include/linux/types.h            : __be32
 /include/asm-generic/int-[l]l64.h : __u32
 }}}

 So no glibc bug, and just an "IPv4-mapped".

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


More information about the tor-bugs mailing list