[tor-bugs] #30123 [Core Tor/Tor]: MAPADDRESS result can mix status codes

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 11 02:30:51 UTC 2019


#30123: MAPADDRESS result can mix status codes
------------------------------+-----------------------------------
     Reporter:  catalyst      |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:  Tor: 0.4.0.1-alpha
     Severity:  Normal        |   Keywords:  tor-control, tor-spec
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-----------------------------------
 When using MAPADDRESS at the control port, mixing valid and invalid
 address mappings can result in a mixture of status codes, contrary to
 Section 2.3, which says:
 {{{
   Multiple lines in a single reply from Tor to the controller are
 guaranteed to
   share the same status code.
 }}}
 Example:
 {{{
 mapaddress xxx=@@@ 0.0.0.0=bogus1.google.com
 512-syntax error: invalid address '@@@'
 250 127.199.80.246=bogus1.google.com
 }}}
 It's not clear what the right thing to do here is. Checking the syntax
 first might help, but maybe it's possible to run into resource exhaustion
 for some requested mappings and not others?

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


More information about the tor-bugs mailing list