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

Re: [tor-bugs] #8860 [Flashproxy]: Registration over App Engine



#8860: Registration over App Engine
------------------------+---------------------------------------------------
 Reporter:  dcf         |          Owner:  dcf           
     Type:  project     |         Status:  needs_revision
 Priority:  major       |      Milestone:                
Component:  Flashproxy  |        Version:                
 Keywords:              |         Parent:                
   Points:              |   Actualpoints:                
------------------------+---------------------------------------------------

Comment(by dcf):

 Hot damn. Thank you for this.

 The trick to accessing appspot domains is to make a request for
 https://www.google.com/, but override the Host header in the request:
 {{{
 Host: flashproxy-reg.appspot.com
 }}}
 That is, you make a connection to port 443 on whatever IP www.google.com
 resolves to, and start TLS as if you were talking to www.google.com. But
 in the HTTP request inside the TLS, you set the Host header to the host
 you want to talk to.

 Can you see if it's easy to change the program to work this way? Maybe
 it's possible to override a header in `urllib2.urlopen`.

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