Search squid archive

Re: Re: squid dstdom_regex not working as expected

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

 



On 11/01/2013 06:21 AM, Amos Jeffries wrote:

>> On Fri, Nov 1, 2013 at 4:01 PM, Sachin Gupta <chingupt@xxxxxxxxx> wrote:
>>> I have configured a list of blacklist URLs.
>>> One of these is set to (\.*)\.yahoo\.com

>>> Now if i try to access URLs http://mail.yahoo.com from my browser, it
>>> blocks.

> Strange mail.yahoo.com will not match that regex you show.

AFAICT, dstdom_regex does not automatically surround the pattern with ^$
so the above regex ACL does match the mail.yahoo.com domain and even the
www.yahoo.com.localhost domain.


HTH,

Alex.





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

  Powered by Linux