[tor-bugs] #9842 [Tor]: dnsport listener using tcp and not udp

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 1 04:33:35 UTC 2013


#9842: dnsport listener using tcp and not udp
------------------------+--------------------------------
     Reporter:  phin    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.4.x-final
    Component:  Tor     |    Version:  Tor: 0.2.4.17-rc
   Resolution:          |   Keywords:  tor-relay
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by phin):

 Replying to [comment:2 arma]:
 > How odd. I don't see how the deb would be different from whatever you
 built from source. Unless you are running the one you built from source
 wrong, or built it wrong, or something?

 Tested again using a fresh install of arch and same result, DNS listener
 on TCP port 5353 and not UDP port 5353 when using the sources located
 here:

 https://www.torproject.org/dist/tor-0.2.4.17-rc.tar.gz

 sha1 ed19e93188d620e1a5bca0e6c243ef5941490c05  tor-0.2.4.17-rc.tar.gz
 md5 2cdfb8dcc3306a43cf465a858bf97b2d  tor-0.2.4.17-rc.tar.gz

 # tor --version
 Tor version 0.2.4.17-rc (git-00fb525b23cf070f).

 # ss -atunp | grep tor
 tcp    UNCONN     0      0              127.0.0.1:5353
 *:*      users:(("tor",424,7))
 tcp    LISTEN     0      128            127.0.0.1:9050
 *:*      users:(("tor",424,6))


 Did a './configure', and then a 'make', finally a 'make install' to build.
 Then created a torrc with only 'DNSPort 5353' in it and did 'tor -f
 torrc'.

 So I don't see where I could have built or be running it wrong. The
 results imply the tarball and .deb are indeed different. As do the git ids
 but that could be merges, rebases, etc.

 I'll test again tomorrow with a fresh gentoo and ubuntu install to make
 sure it isn't my tool chain but I'm pretty certain it's the tarball. And
 regardless of the existence of a difference in the tarball and the .deb,
 the tarball is definitely bug'd since a DNS listener on TCP is not
 intended behavior by everything I have read.

 I guess I could search git commits but the motivation escapes me at the
 moment. :)

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


More information about the tor-bugs mailing list