LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-30-2003, 08:53 PM   #1
lovswr
LQ Newbie
 
Registered: Sep 2003
Location: [H]otlanta!
Distribution: FC3
Posts: 19

Rep: Reputation: 0
Blocking web sites


I use my redhat 9 box as my gateway/firewall (via eartlink DSL) for the web. Is there any way that I can block web sites on a global basis. In particular I want to block www.gator.com & www.claria.com. I know that I could go to each machine & stop them via the hosts file, but that seems too cumbersome as I add more sites in the future. I use turtlefirewall & I suppose I could try to add the raw ip's & stop them from passing throuth the firewall itself, but that too, seems much to unelagant.
 
Old 10-30-2003, 09:35 PM   #2
joseph
Member
 
Registered: Jul 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
the best way is to deny it entering your firewall, so you must do some in your firewall.
 
Old 10-30-2003, 10:35 PM   #3
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
Website filtering

Use squid and squidGuard
see http://www.squid-cache.org/
 
Old 10-31-2003, 06:05 AM   #4
lovswr
LQ Newbie
 
Registered: Sep 2003
Location: [H]otlanta!
Distribution: FC3
Posts: 19

Original Poster
Rep: Reputation: 0
Re: Website filtering

Quote:
Originally posted by Jerre Cope
Use squid and squidGuard
see http://www.squid-cache.org/

A proxy huh, I really don't want that overhaed, but maybe that is the only way.
 
Old 10-31-2003, 09:41 AM   #5
linux inside
LQ Newbie
 
Registered: Aug 2003
Distribution: red hat 9
Posts: 6

Rep: Reputation: 0
dont you have a router that lets you block a list of sites, i do i have a linksys router and i believe it can do that ,and im stuck with earthlink.
try going to 192.168.1.1 or 192.168.0.1
thats could work
 
Old 10-31-2003, 10:34 AM   #6
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
squid

It isn't much overhead and I think you will find that you will need to block more sites than you think you do. Squid is the basis for many commercial products. If you are really interested in solving the problem you will need a black list on the order of 100,000 entries.
 
Old 11-03-2003, 01:10 PM   #7
lovswr
LQ Newbie
 
Registered: Sep 2003
Location: [H]otlanta!
Distribution: FC3
Posts: 19

Original Poster
Rep: Reputation: 0
Ok...I got a very simple squid up this past weekend via webmin. Since I use my RH9 as the gateway & Ihave gator blocked in the host file in that machine, any browser on my network that is pointed to squid, gets protected automatically. My hits friday were 100% missed but now I'm up to almost 40% just over the weekend. I barely understand how squid works, but I guess I'll play with it some more.
 
  


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
Personal web server for testing web sites? Ariod Linux - Newbie 12 09-29-2005 05:30 PM
iptables is blocking sites... The_wave Linux - Networking 9 09-09-2005 05:44 PM
controlling access through squid( blocking all sites except for one) jomy Linux - Networking 1 12-15-2004 07:27 AM
Blocking some sites... gani *BSD 2 11-05-2004 10:07 PM
Blocking porn sites debug019 Linux - Newbie 4 09-07-2004 02:13 AM


All times are GMT -5. The time now is 06:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration