LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PRoxy Server Error (https://www.linuxquestions.org/questions/linux-networking-3/proxy-server-error-92949/)

rhonneil 09-15-2003 06:27 AM

PRoxy Server Error
 
Hey Guyz, I'm setting-up (installed fro source-SQUID 2.5) from a new proxy server inside my LAN with only one lan card installed (192.168.0.2). Im trying to use it for my client pcs to connect to the internet however can't seem to make it work.

Right now, I can ping/resolve any external addresses using this proxy server. Passing thru my linux gateway 192.168.0.3--eth1 and 203.87.x.x --eth0.

During installation, no problem became apparent.

#squid -z
Squid is already Running! Process ID 795

But testing my proxy appears to produce invalid results. As follows:

#Telnet 192.168.0.2 8080
Trying 192.168.0.2
Connected to 192.168.0.2
Escape character is '^]'
^[^[ #PRESSING ESC 2X
#ENTER 2X

HTTP/1.0 400 Bad Request
.
.
.
X-Squid-Error:ERR_INVALID_REQ 0
X-Cache: MISS from proxy.alsterph.com
Proxy connection closed
.
.
.
<P>
Some aspect of the HTTP Request is invalid. Possible problems:
<UL>
<LI>Missing or unknown reqest method
<LI>Missing URL
<LI>Missing HTTP identifier (HTTP/1.0)
<li>Request too large
<LI>Illegal character in hostname: underscores are not allowed
etc...

One more thing I can't see any logs created. Despite that during compilation I am sure that I had the src/Makefile have the entries modified for the logs. ANd, eventually got the /var/log/squid directory created.

Thanks,

rhonneil


All times are GMT -5. The time now is 09:22 AM.