[tor-bugs] #10465 [Tor]: tor_assertion_failed_(): Bug: src/or/connection_edge.c:1176: connection_ap_handshake_rewrite_and_attach: Assertion !automap failed; aborting.

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 22 14:21:33 UTC 2013


#10465: tor_assertion_failed_(): Bug: src/or/connection_edge.c:1176:
connection_ap_handshake_rewrite_and_attach: Assertion !automap failed;
aborting.
------------------------+----------------------------------------
     Reporter:  epoch   |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  major   |  Milestone:  Tor: 0.2.4.x-final
    Component:  Tor     |    Version:  Tor: 0.2.4.18-rc
   Resolution:          |   Keywords:  assert automap tor-resolve
Actual Points:          |  Parent ID:
       Points:          |
------------------------+----------------------------------------

Comment (by nickm):

 Hm. I'm trying to reproduce the bug with DNSPort, and getting strangeness.

 I started Tor with "./src/or/tor -dnsport '9999 preferipv6automap'
 -automaphostsonresolve 1 -automaphostssuffix .  "

 Then I did:
 {{{
 [619]$ dig @localhost -p 9999 aaaa www.torproject.org

 ; <<>> DiG 9.8.3-P1 <<>> @localhost -p 9999 aaaa www.torproject.org
 ; (3 servers found)
 ;; global options: +cmd
 ;; Got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45384
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

 ;; QUESTION SECTION:
 ;www.torproject.org.            IN      AAAA

 ;; ANSWER SECTION:
 www.torproject.org.     60      IN      A       127.237.144.204

 ;; Query time: 0 msec
 ;; SERVER: 127.0.0.1#9999(127.0.0.1)
 ;; WHEN: Sun Dec 22 09:19:54 2013
 ;; MSG SIZE  rcvd: 52

 }}}

 and

 {{{
 [621]$ dig @localhost -p 9999 example.com

 ; <<>> DiG 9.8.3-P1 <<>> @localhost -p 9999 example.com
 ; (3 servers found)
 ;; global options: +cmd
 ;; Got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18398
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

 ;; QUESTION SECTION:
 ;example.com.                   IN      A

 ;; ANSWER SECTION:
 example.com.            60      IN      A       127.201.101.133

 ;; Query time: 0 msec
 ;; SERVER: 127.0.0.1#9999(127.0.0.1)
 ;; WHEN: Sun Dec 22 09:20:31 2013
 ;; MSG SIZE  rcvd: 45
 }}}

 I'm not seeing the behavior where it answers AAAA for every request. In
 fact, it seems to be sending A even if it was asked for an AAAA.

 How do I reproduce the behavior that you are talking about?

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


More information about the tor-bugs mailing list