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

Notices

Reply
 
Search this Thread
Old 04-14-2006, 02:06 PM   #1
RHLinuxGUY
Member
 
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, 02:12 PM   #2
puntjuh
Member
 
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:

http://www.squidguard.org/

Here's a config file you can view:

http://aplawrence.com/Unixart/squidguard.html

And if needed.. an installation howto:


http://www.aeronetworks.ca/squidguard-howto.html

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

good luck,

puntjuh
 
Old 04-14-2006, 10:55 PM   #3
RHLinuxGUY
Member
 
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...

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

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

Code:
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
Aborted
root@georgescomp1:/etc/squid#
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, 12:07 PM   #4
iseymur
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 192.168.0.2 192.168.0.3 192.168.0.4/24
acl group2 src 192.168.0.5 192.168.0.6 192.168.0.7/24
acl group3 src 192.168.0.8 192.168.0.9 192.168.0.10/24

and

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
 
  


Reply


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration