Cant format request to squid?

This is a discussion on Cant format request to squid? within the Squid Users forums, part of the Web Server and Related Forums category; We have a fully functioning squid server (2.5.STABLE1). I need to script a monitoring tool to pass through ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-16-2006
scubaal
 
Posts: n/a
Default Cant format request to squid?

We have a fully functioning squid server (2.5.STABLE1).
I need to script a monitoring tool to pass through it. To do this, I am
trying to pass a valid request to the squid proxy. I telnet to port
8080 and enter the following text:

GET http://www.microsoft.com/ HTTP/1.0
Host: www.microsoft.com
Accept: */*
User-Agent: WhatsUp Professional/1.0
Proxy-Connection: Keep-Alive

I press return twice at the end (for the two linefeeds) and Squid
*always* chokes and returns a HTTP/1.0 400 Bad Request - Some aspect of
the HTTP Request is invalid etc.

I have spent hours on this trying to get the syntax correct. I have
even sniffed packets from my browser to the proxy (which works) and
they look *exactly* the same! Can anyone put me out of my misery? Why
does SQUID barf on the text above?

Al Blake (Australia)

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:12 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0