LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-16-2023, 12:43 PM   #1
klabacita
Member
 
Registered: Dec 2009
Posts: 33

Rep: Reputation: 16
Squid blacklist entry block a good 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!!!
 
Old 01-17-2023, 01:25 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,174
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Quote:
Originally Posted by klabacita View Post
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!!!
I don't see why blocking the ".me" TLD blocks also a ".mx" TLD!

Anyway if you want to whitelist a specific (sub)domain you need to use (in your case) a "http_access allow dof.gob.mx" before any "http_access deny ..." directive(s).
 
  


Reply

Tags
squid



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackpkg blacklist xorg can't seem to blacklist it khronosschoty Slackware 2 11-13-2021 02:19 AM
[SOLVED] slackpkg+ blacklist - how to blacklist third party package set? zdolar Slackware 17 06-07-2021 09:37 AM
slackpkg blacklist kde should not blacklist polkit anymore frushiyama Slackware 1 09-25-2020 05:19 AM
IPtables - block subdomains (a.domain.com, b.domain.com, c.domain.com,...) benjalien Linux - Networking 6 06-24-2009 07:03 AM
?Odd bug. modprobe.blacklist~ behaves as modprobe.blacklist arubin Slackware 1 11-05-2006 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration