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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs