[tor-bugs] #2752 [Tor Client]: Tor limits HttpProxyAuthenticator values to 48 characters

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon May 16 15:37:50 UTC 2011


#2752: Tor limits HttpProxyAuthenticator values to 48 characters
-----------------------------------------+----------------------------------
 Reporter:  dudumomo                     |          Owner:  chiiph             
     Type:  defect                       |         Status:  new                
 Priority:  normal                       |      Milestone:  Tor: 0.2.3.x-final 
Component:  Tor Client                   |        Version:  Tor: 0.2.2.23-alpha
 Keywords:  48 chars, http, proxy, easy  |         Parent:                     
   Points:                               |   Actualpoints:                     
-----------------------------------------+----------------------------------

Comment(by mikey):

 Seems like there is a real hard-coded limit of 48 (the user needs 51
 characters at least):
   if (options->HTTPProxyAuthenticator) {
     if (strlen(options->HTTPProxyAuthenticator) >= 48)
       REJECT("HTTPProxyAuthenticator is too long (>= 48 chars).");
   }

 So newlines aren't necessarily the issue here until this limit is raised.
 Not sure what the next step here is.

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


More information about the tor-bugs mailing list