[squid-users] Whitelist domain ignored?

Jose Torres-Berrocal jetsystemservices at gmail.com
Thu Oct 6 17:52:22 UTC 2016


"dstdomain .office.net" does not match xoffice.net domain.  I do not
want to match xoffice.net with the regex.

So I should use my own last version, right?
Jose E Torres
939-777-4030
JET System Services


On Thu, Oct 6, 2016 at 1:28 PM, Alex Rousskov
<rousskov at measurement-factory.com> wrote:
> On 10/05/2016 11:45 PM, Amos Jeffries wrote:
>> On 6/10/2016 11:56 a.m., Jose Torres-Berrocal wrote:
>>> acl whitelist2 dstdom_regex -i "whitelist.acl"
>>>
>>> Where whitelist.acl content:
>>> ^familymedicinepr\.com$
>>> ^mail\.yahoo\.com$
>>> ^neodecksoftware\.com$
>>> ^office\.net$
>>> \.familymedicinepr\.com$
>>> \.mail\.yahoo\.com$
>>> \.neodecksoftware\.com$
>>> \.office\.net$
>
>
>> There is a simpler way if you are going to insisit on regex instead of
>> dstdomain. Starting the pattern with an optional '.' character:  \.?
>>
>> So whitelist.acl content:
>>
>> \.?familymedicinepr\.com$
>> \.?mail\.yahoo\.com$
>> \.?neodecksoftware\.com$
>> \.?office\.net$
>
> That simpler way is incorrect AFAICT: The top/correct ACL list does not
> match "xoffice.net" but yours does.
>
> Alex.
>


More information about the squid-users mailing list