Search squid archive

Re: Fast acl for ip-based url

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

 



Amos Jeffries writes:

> is there a fast acl to match ip-based urls?
>
> I would have thought to use dstdom_regex, but the docs say that a
> reverse lookup is done if no match is found, which means (I think) that
> it will become a slow acl for all regular urls.

dtsdom* will only do a lookup if the URL content is a raw-IP that fails
to match the pattern. "regular URLs" already have a domain named so no
lookup is needed.

Also, if an asynchronous lookup is required by an ACL when testing in
the non-blocking (fast) access check the ACL is considered a non-match.
The inverted (!) result is also a non-match which can confuse.

I understand. Thanks a lot!

Regards,

Roel
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





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

  Powered by Linux