Hi,
I have had the exact same problem. BUT, I think I have encountered ANOTHER
problem while trying to prevent access to the cache from clients who use
this buggy software called "babylon".
Since the clients have generated a huge ammount of logging, I wanted to
prevent access to the cache from these clients. So I created the following
ruleset:
acl client_with_babylon src 192.168.1.1/255.255.255.255
http_access deny client_with_babylon
This ruleset had no effect whatsoever (at least not for the Babylon
software).
It seems as if squid cannot handle this due to the URL parsing. I think that
squid does the URL parsing before it looks at the acl's??
So, when an invalid request arrives, squid analyzes the URL, and loggs an
error prior to reaching the acl list. Is this correct? If so, I think you
may want to change this behaviour in upcoming versions of squid.
/Stefan
> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@hem.passagen.se]
> Sent: den 10 april 2001 00:51
> To: u.poliak@msh.de
> Cc: squid-users@squid-cache.org; w1mirza74@yahoo.com
> Subject: Re: [squid-users] Illegal character in hostname!
>
>
> This is caused by a buggy advertisment libary using HTTP to
> download the
> new adverts, not actually a Squid problem..
>
> --
> Henrik Nordstrom
> Squid Hacker
>
>
> Uwe Poliak wrote:
> >
> > Hi,
> >
> > I have the same problem with all of my squid installations.
> >
> > The following is an excerpt from the access-log-file:
> >
> > xx - - [09/Apr/2001:17:40:56 +0200] "GET
> > http://mshias04:9091mshias04:9091 HTTP/0.0" 400 1191 NONE:NONE
> > xx - - [09/Apr/2001:17:40:56 +0200] "GET
> > http://mshias04:9091mshias04:9091 HTTP/0.0" 400 1191 NONE:NONE
> > xx - - [09/Apr/2001:17:40:56 +0200] "GET
> >
> /scripts/cms/CmsInit.ASP?ID=1&D2=Q`o@Cs????@??&AW=167&LV=2045&
> CU=31166414
> > HTTP/0.0" 400 1304 NONE:NONE
> > xx - - [09/Apr/2001:17:41:06 +0200] "GET
> > http://mshias04:9091mshias04:9091 HTTP/0.0" 400 1191 NONE:NONE
> > xx - - [09/Apr/2001:17:41:06 +0200] "GET
> > http://mshias04:9091mshias04:9091 HTTP/0.0" 400 1191 NONE:NONE
> > xx - - [09/Apr/2001:17:41:06 +0200] "GET
> >
> /scripts/cms/CmsInit.ASP?ID=1&D2=Q`o@Cs????@??&AW=167&LV=2045&
> CU=31176479
> > HTTP/0.0" 400 1304 NONE:NONE
> >
> > This happens all 10 seconds, when the computer with the ip
> xx is online.
> > The program, which generates those requests is Babylon, the online
> > translator...
> > When Babylon is stopped, no more requests like those are generated.
> >
> > It sends requests to an unknown server, using the
> proxy-settings of IE.
> > Squid replies with the error code "Invalid URL => Missing Hostname".
> >
> > At the moment, we don't have a workaround except stopping
> Babylon....
> >
> > cu
> > Uwe Poliak
> > Online Services
> > Medien System Haus Stuttgart
> >
> > > -----Original Message-----
> > > From: Robert Collins [mailto:robert.collins@itdomain.com.au]
> > > Sent: Saturday, March 24, 2001 11:02 AM
> > > To: ssdd sdsds; squid-users@squid-cache.org
> > > Subject: Re: [squid-users] Illegal character in hostname!
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "ssdd sdsds" <w1mirza74@yahoo.com>
> > > To: <squid-users@squid-cache.org>
> > > Sent: Saturday, March 24, 2001 9:01 PM
> > > Subject: [squid-users] Illegal character in hostname!
> > >
> > >
> > > > Hi,
> > > > We r getting continueous errors in cache log:
> > > > urlParse: Illegal character in hostname" our proxy
> > > > address"
> > > > and they r comming after every 3-5 secs.
> > > > There is no illegal, underscore, charector in the
> > > > address.
> > > > any one hv idea??
> > > >
> > > > thanx in advance
> > > >
> > >
> > >
> > > Without any example, no.
> > >
> > > Rob
> > >
>
Received on Fri Apr 20 2001 - 01:55:17 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:24 MST