Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-14-2006, 03:06 PM   #1
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
How do I block web pages/sites? Is squid what I should use?

If this should be in software, then please move this thread there.

A few years ago an old friend of mine and I were playing around with some software that I believe was called squid. He was able to block anyone on his network to entering certain sites. I cannot seem to do this with my recent installation of squid (through synaptic). Is there a web address I should go to much like TeamSpeak where I can tune my squid? Is squid the right program for this job, or could it have been something else that I have seen?
Old 04-14-2006, 03:12 PM   #2
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 41
Yes squid guard will do that what you want. Download the latest version here:

Here's a config file you can view:

And if needed.. an installation howto:

I believe the last link is the best one.. it has a lot of info that you should read.

good luck,

Old 04-14-2006, 11:55 PM   #3
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Original Poster
Rep: Reputation: 30
I am having a problem. I downloaded squidGaurd via synaptic and after I went through the sgaurd howto I came to a problem...

... when I try to reconfigure my squid (# squid -k reconfigure) it spews out the following...

root@georgescomp1:/etc/squid# squid -k reconfigure
squid: ERROR: Could not send signal 1 to process 19813: (3) No such process

... if I just do
 # squid
, I get the following...

root@georgescomp1:/etc/squid# squid
FATAL: redirect_program /usr/bin/squidGaurd: (2) No such file or directory
Squid Cache (Version 2.5.STABLE10): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.001 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
I'm not too sure what I should give, I'll will be uploading my config files to my server but in a few minutes. I'll post links afterwards.
Old 02-06-2010, 01:07 PM   #4
LQ Newbie
Registered: Jan 2010
Posts: 8

Rep: Reputation: 0
I like block different users different sites

Example I have 3 user list and 3 file with block site names

acl group1 src
acl group2 src
acl group3 src


acl blocksites1 url_regex -i "/etc/squid/block1.txt"
acl blocksites2 url_regex -i "/etc/squid/block2.txt"
acl blocksites3 url_regex -i "/etc/squid/block3.txt"

I like block blocksites1 for group1, blocksites2 for group2,
blocksites3 for group3,

help me please


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 05:15 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 06:44 PM
get Squidguard to block entire countries web sites? Possible? Pcghost Linux - Software 3 09-19-2004 03:25 PM
how to block sites with squid.conf boakiba Linux - Networking 1 08-11-2003 06:45 AM
How to have SSL on two different pages/sites? Manuel-H Linux - General 1 08-05-2003 09:53 AM

All times are GMT -5. The time now is 03:54 PM.

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