Benarson.Behajaina@swh.sk writes:
>
> Hi Squid users,
>
>When I used acl pattern to block some domain site, then
>users used IP address as URL address instead of hostname.
>Let's say
> www.foo.com IP address 204.181.154.146
> www.foo1.org ==> 204.176.100.100
> www.foo2.com ==> 193.111.222.190
> www.foo3.net ==> 191.161.5.12
>
>Users use http://204.181.154.146 instead of http://www.foo.com
>
>So , is it possible to define a deny access to host which sends an
>IP address in URL address, or I must define an ACL for each
>IP address ?
If you're using a newer version (1.0.8 or later) then you could
try the new 'url_regex' ACL:
acl IPADDRS url_regex ://[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
Duane W.
Received on Tue Aug 27 1996 - 10:36:11 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:52 MST