LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2009, 12:35 PM   #1
valdez_42
LQ Newbie
 
Registered: Jun 2009
Location: corpus christi
Posts: 2

Rep: Reputation: 0
Blocking websites


I used the method off the command line to block certain sites but in a medium to large domain I cant input 1000 websites for every user. So what software or hardware device do yall reconmmend me to use to filter out unneeded websites for my domain!
 
Old 06-19-2009, 12:46 PM   #2
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
Well personally I use a filtering proxy using dansguardian with antivirus.
http://dansguardian.org. You could make the proxy transparent and that would force all machines to route web traffic through that proxy.
 
Old 06-19-2009, 02:18 PM   #3
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Manjaro, Debian64 stable
Posts: 528

Rep: Reputation: 167Reputation: 167
dnsmasq for blocking web sites

I use dnsmasq only as a caching name server for my personal computer, but it has options like the following:

Code:
# Add domains which you want to force to an IP address here.
# The example below send any host in doubleclick.net to a local
# webserver.
#address=/doubleclick.net/127.0.0.1
Quote:

Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and (optionally) DHCP to a small network. It can serve the names of local machines which are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central configuration file. Dnsmasq supports static and dynamic DHCP leases and BOOTP/TFTP for network booting of diskless machines.
 
Old 06-22-2009, 01:58 PM   #4
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by valdez_42 View Post
I used the method off the command line to block certain sites but in a medium to large domain I cant input 1000 websites for every user. So what software or hardware device do yall reconmmend me to use to filter out unneeded websites for my domain!
You can use squid.

-C
 
Old 06-22-2009, 03:20 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Untangle is another option.

http://www.untangle.com/

can be setup as a transparent bridge, so you can insert it between your network and your firewall, without changing any of your other network settings.
 
Old 06-28-2009, 10:19 PM   #6
Suncoast
Member
 
Registered: Apr 2009
Location: Largo, Florida
Distribution: Slackware
Posts: 208

Rep: Reputation: 35
There is also DNS server poisoning.

If the goal is to prevent your users from being redirected to a malicious site, you can black-hole a valid host name within your companies DNS server. Sounds like what you started to do at the host level. There are sites that maintain lists of these domain names that can be resolved to either 127.0.0.1 or a internal virtual domain name with a page that explains the site requested is blocked.

This method is not suitable if your goal is to prevent anyone from accessing say Twitter, as this method is easily circumvented by pointing the work station to an external DNS server.
 
Old 06-28-2009, 11:01 PM   #7
Febi881
Member
 
Registered: Jun 2009
Location: India
Distribution: Fedora,Redhat
Posts: 111
Blog Entries: 1

Rep: Reputation: 17
Ya...I think SQUID will do...Easy to configure and will tighten your security..
 
  


Reply



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
blocking websites with squid tariq07 Linux - Security 2 03-03-2007 02:39 AM
blocking websites fakie_flip Linux - Software 7 09-02-2006 07:57 PM
Squid problem ... blocking some websites rickyinman Linux - Networking 4 04-11-2006 12:26 PM
linblock blocking websites synaptical Linux - Software 3 09-07-2004 11:12 PM
Iptables blocking certain websites?? Ikik Linux - Security 3 09-29-2003 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:58 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