Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-02-2004, 04:39 PM   #1
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
get Squidguard to block entire countries web sites? Possible?

Lately I have discovered that virtually nothing worth a crap is being hosted in several key countries. I would like to configure SquidGuard to block all sites with specific suffixes (like .ru for example). Adding wildcards to the database doesn't seem to work. I tried things like *.*.ru and so forth, but it has no effect. Does anyone know of a way to block an entire suffix using SquidGuard or another Squid redirector?
Old 09-02-2004, 07:49 PM   #2
LQ Newbie
Registered: Aug 2004
Distribution: Shrike & Tettnang
Posts: 18

Rep: Reputation: 0
Very interesting post. I can sure use any replies as well.
Old 09-03-2004, 06:30 AM   #3
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 30
We use squid and dansguardian at work, so this may not be exactly what your looking for, but I thought someone may find it useful. For global domain blocks like this, a couple of lines in the http_access section of squid.conf does the job for us.

# define an acl named blockedurls
acl blockedurls dstdomain .ru
http_access deny blockedurls

Old 09-19-2004, 02:25 PM   #4
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Original Poster
Rep: Reputation: 46
Thanks madluther. I will give that a shot when I get to work tomorrow and post my results.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
block some sites nkutty Linux - Security 1 10-03-2005 04:15 AM
How to BLOCK SLEEZE SITES? saugato Linux - Security 3 02-11-2005 08:39 PM
IP Table help, Droping entire 200 block of ip's? Wide glide Linux - Security 2 12-03-2004 12:39 AM
allow certain sites and block rest all of them mcgrath Programming 1 11-24-2004 10:53 AM
how to block an entire IP range? enzo250gto Linux - Networking 2 05-01-2004 08:59 AM

All times are GMT -5. The time now is 05:13 AM.

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