Search squid archive

Re: ACL and http_access Confusion

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

 



> > So, replace
> >
> > acl numeric_IPs urlpath_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
> >
> > with
> >
> > acl numeric_IPs dstdom_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
> >
> > and
> >
> > will this work?
> >
> > http_access deny CONNECT numeric_IPs !allowed_IPs

On 06.07.07 11:18, squid3@xxxxxxxxxxxxx wrote:
> Um, I'm starting to get a little confused here myself after that reply.
> 
> When you are wanting to test the actual destination IP you can use the
> 'dst' type ACL (squid will do any DNS lokoup needed to find it before
> testing).

note that using 'dst' acl will disable connecting to those IP's also if
they're specified by a hostname, which is probably not what 

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease

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

  Powered by Linux