Search squid archive

Re: unknown hosts matching in squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following works for me:

acl anywhere dst 0.0.0.0/0
http_access deny !anywhere

Or to get a better error message:

always_direct allow !anywhere

Regards
Henrik





On tis, 2008-05-20 at 19:52 +0300, John Kougoulos wrote:
> Hello,
> 
> Sorry for the direct mail, I just saw that you have committed this 
> change in squid-2.5 so I thought of sending this in unicast before 
> sending to the whole squid list.
> 
> I have just upgraded from squid-2.5.STABLE4 to squid-2.6-STABLE17.
> In our configuration we used some acls to prevent squid from forwarding 
> requests to a parent proxy when the requested URL could not be resolved.
> I have something like:
> acl nodnslist dst 255.255.255.255/32
> http_access allow myhosts !nodnslist
> 
> After the upgrade this didn't work....
> 
> I saw a few posts about the handling of unresolvable hosts in squid, 
> specifically:
> http://www.squid-cache.org/bugs/show_bug.cgi?id=1394
> 
> But the work around that you provide there does not work, as you can see 
>   also in the following (an older post from you):
> http://groups.google.gr/group/mailing.unix.squid-users/browse_frm/thread/15572c573f6b9b35/091e9c212eb1b268
> 
> Do you know of any other way that we can prevent squid from forwarding 
> unresolvable requests in squid 2.6?
> 
> 
> Best Regards,
> John Kougoulos


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux