Well well well ... the squid proxy running on port 3128 is acting crazy or is it my poor application who is not working properly, or maybe the remote site is just not allowing connections coming from the proxy ! ... i need to check! i know that i could set the http_proxy environment variable in linux and try wget ... but im not on a linux box ... (BAAA :'( ), well, i could set the proxy in windows from IE connection tab, but i dont really want to use proxy, i just want this one application to use the proxy ... so what to do ?
You might already know how to test a webpage using telnet , just telnet to port 80, type GET / HTTP/1.1 and hit enter, and your in! well, it turns out that squid works in a very similar way, but obviously, you need to tell the proxy which site you wish to connect to, since you are telneting to the proxy, not the final destination , so you telnet to your proxy:
now in a second you'll get a prompt saying
there type your HTTP request, Notice that it differs from the usual HTTP request, since you need to tell the proxy which server you wish it to connect to and perform that request for you, so "/" is not enough you need the whole URL:
hit enter, then followed by the host (again)
Now hit enter twice ... and voila !
This hint was written seven days after the 33rd commemoration of "Land Day"; look it up.
You might already know how to test a webpage using telnet , just telnet to port 80, type GET / HTTP/1.1 and hit enter, and your in! well, it turns out that squid works in a very similar way, but obviously, you need to tell the proxy which site you wish to connect to, since you are telneting to the proxy, not the final destination , so you telnet to your proxy:
telnet proxy.domain.tld 3128
now in a second you'll get a prompt saying
Escape character is '^]'.
there type your HTTP request, Notice that it differs from the usual HTTP request, since you need to tell the proxy which server you wish it to connect to and perform that request for you, so "/" is not enough you need the whole URL:
GET http://www.google.com/ HTTP/1.1
hit enter, then followed by the host (again)
host:www.google.com
Now hit enter twice ... and voila !
This hint was written seven days after the 33rd commemoration of "Land Day"; look it up.
4 comments:
Good post! I find them through Google and it refresh my memory about how to do this HTTP request.
I'm checking the proxy servers from this proxy IP list that looks fast and fresh.
it is "voila" not "viola". I know damn french but it is like that :)
good one thanks
You definitely learn how to bring a difficulty to light and produce the pirate bay proxy critical.
Post a Comment