Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

enabling squid for whois request

116 views
Skip to first unread message

patric...@gmail.com

unread,
Nov 7, 2013, 12:04:17 PM11/7/13
to


I'm trying to use squid as proxy server for my whois request. However I'm getting this error:

Invalid Request error was encountered while trying to process the request: http://whois.mynic.net.my:43 HTTP/1.1 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.29 Safari/537.22 Host: whois.mynic.net.my:43 Accept: / Referer: http://whois.mynic.net.my Proxy-Connection: Keep-Alive

Some possible problems are: Missing or unknown request method. Missing HTTP Identifier (HTTP/1.0). Request is too large. Content-Length missing for POST or PUT requests. Illegal character in hostname; underscores are not allowed. HTTP/1.1 Expect: feature is being asked from an HTTP/1.0 software. Your cache administrator is webmaster.

It works if I'm not using squid and connecting direct. Anyone with an idea? I've already enable port 43 on my squid.conf:

acl Safe_ports port 43 # whois
0 new messages