Search squid archive

Re: Issues with blacklist and a domain.

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

 



Hey,

What you are using is regular expression and as Matus wrote you need dstdom and not dst_domrex.
To understand better what maybe is going on we can try to use a regex visual editor.
I like very much:
https://rubular.com/

What you actually want is the next:
\.(party|porn|xxx|vip|me)$

Which will only match the suffix of a domain.
What you are writing in your file is actually the equivalent of:
.*(party|porn|xxx|vip|me).*

Which shouldn't match to the domain you mentioned and I assume it might be because of something else.
What is the error message you are receiving in the browser?
Also, how do you use your proxy, forward or Intercept mode?

Eliezer

----
Eliezer Croitoru
NgTech, Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd@xxxxxxxxx
Web: https://ngtech.co.il/
My-Tube: https://tube.ngtech.co.il/

-----Original Message-----
From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Periko Support
Sent: Tuesday, 17 January 2023 2:29
To: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Issues with blacklist and a domain.

I got the same question, why is doing that...

This is the blacklist setting:

acl blacklist dstdom_regex -i "/var/squid/acl/blacklist.acl"

http_access deny blacklist

Regards!!!

On Mon, Jan 16, 2023 at 1:47 PM <ngtech1ltd@xxxxxxxxx> wrote:
>
> Hey,
>
> I am not sure how exactly how the domain:
> dof.gob.mx
>
> is being blocked by the:
> .me
>
> Domain suffix?
> What exactly your squid.conf is doing? (remove private info).
>
> Eliezer
>
> ----
> Eliezer Croitoru
> NgTech, Tech Support
> Mobile: +972-5-28704261
> Email: ngtech1ltd@xxxxxxxxx
> Web: https://ngtech.co.il/
> My-Tube: https://tube.ngtech.co.il/
>
> -----Original Message-----
> From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Periko Support
> Sent: Monday, 16 January 2023 20:30
> To: squid-users@xxxxxxxxxxxxxxxxxxxxx
> Subject:  Issues with blacklist and a domain.
>
> Hello people.
>
> I running squid 5.7, I got an issue that would like to know if I could fix this.
> In my blacklist I got this entries:
>
> .party
> .porn
> .xxx
> .vip
> .me
>
> Which I have found on adult sites that I want to block.
>
> Now, the problem is the ".me" because I found that it is blocking a
> government domain on my country.
>
> "dof.gob.mx"
>
> If I remove ".me" from my blacklist I can surf on my government site.
>
> Then what I see is that once squid detects ".m" it will block any domain.
>
> If I add the url on the whitelist won't fix the issue.
>
> Any recommendations?
>
> Regards!!!
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users
>
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
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