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

[tor-bugs] #5910 [Tor Client]: Tor does not ignore unknown managed proxy output



#5910: Tor does not ignore unknown managed proxy output
------------------------+---------------------------------------------------
 Reporter:  asn         |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:  pt          |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 Tor marks a managed proxy as broken when it receives unknown output from
 it.

 This is bad for forward compatibility. The 180 spec also wants managed
 proxies to ignore unknown output:
 {{{
   Tor MUST ignore lines with keywords that it doesn't recognize.
 }}}

 In `src/or/transports.c`:
 {{{
   log_warn(LD_CONFIG, "Unknown line received by managed proxy. (%s)",
 line);

  err:
   mp->conf_state = PT_PROTO_BROKEN;
   log_warn(LD_CONFIG, "Managed proxy at '%s' failed the configuration
 protocol"
            " and will be destroyed.", mp->argv[0]);
 }
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5910>
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