Re: [squid-users] Re: squid dstdom_regex not working as expected

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 04 Nov 2013 11:09:35 -0700

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

>> On Fri, Nov 1, 2013 at 4:01 PM, Sachin Gupta <chingupt_at_gmail.com> 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.
Received on Mon Nov 04 2013 - 18:09:47 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 04 2013 - 12:00:08 MST