[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #19374 [Core Tor/Tor]: DNSPort broken on OpenBSD 5.9



#19374: DNSPort broken on OpenBSD 5.9
--------------------------+------------------------------------
 Reporter:  cypherpunks   |          Owner:
     Type:  defect        |         Status:  needs_information
 Priority:  Medium        |      Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.2.7.6
 Severity:  Major         |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by attila):

 I believe this is the answer: http://marc.info/?l=openbsd-
 cvs&m=144575914409861&w=2

 When {dig,nslookup} were modified to use [[http://man.openbsd.org/OpenBSD-
 current/man2/pledge.2|pledge(2)]]
 the ability to change what port was used for the lookup was turned off,
 since it would
 violate `pledge("dns")` to use an arbitrary port.

 `nslookup` is dumping core because of the broken promise to `pledge(2)`.
 This is also
 why your second invocation of `tor` complains about the port being open:
 nothing happened
 to the first instance, it's still running with that port open.

 Hope this helps.
 At least, that's my read on this.  Using arbitrary ports for DNS lookups
 using the programs
 in base (`dig`, `nslookup`) is not going to work.  Nothing to do with tor.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19374#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs