Example hidden service issue

Joseph B. Kowalski jbk at hush.ai
Sat Mar 31 16:31:01 UTC 2007




On Sat, 31 Mar 2007 08:52:26 -0700 Drake Wilson 
<drake at begriffli.ch> wrote:
>Quoth Karsten Loesing <karsten.loesing at gmx.net>, on 2007-03-31 
>17:45:17 +0200:
>> > |Step Three: Connect your web server to your hidden service
>> > |
>> > |This part is very simple. Open up your torrc again, and 
>change the
>> > |HiddenServicePort line from "www.google.com:80" to 
>"localhost:5222".
>> > |Then restart Tor. Make sure that it's working by reloading 
>your hidden
>> > |service hostname in your browser.
>> > 
>> > Sounds like a pretty bad idea to me too.
>> 
>> May sound like a bad idea, but does no harm at all.
>
>Except that, as described earlier, HTTP 1.1 puts the destination
>hostname in the request, so Google will see the onion name, IINM,
>which causes the next paragraph---


Guys, this, noted in the original post is incorrect:

GET / HTTP/1.1
Host: youronionaddress


When you contact www.google.com, your request goes like this:

GET / HTTP/1.1
Host: www.google.com


You are telling the web server which web site to serve you, using
the name as an identifier. To clarify, The "HOST" field is not to
identify you, but to tell the web server you are connecting to 
which website you would like (Since many servers host multiple
sites)


Hope that helps.



Best regards,



Joe Kowalski






More information about the tor-talk mailing list