 | Distinguished Member with 2,088 posts. | | Join Date: Sep 2004 Location: Sydney, Australia Experience: Fix it until it's broken | | Hosts file equivalent on Linux? Hi all,
This is not a problem as such, more just a bit of curiosity...
I was wondering if Linux has an equivalent of the Windows Hosts file, to allow me to redirect "undesirable" websites (you know the ones I mean...  ) to 127.0.0.1. I am running Ubuntu 8.04, if that is relevant.
Thank you in advanced. | | Senior Member with 140 posts. | | Join Date: Jun 2008 Location: Colombo Experience: Intermediate | | Yes Yes you can find a text file called /etc/hosts | | Distinguished Member with 2,088 posts. | | Join Date: Sep 2004 Location: Sydney, Australia Experience: Fix it until it's broken | | Cool. I'll check that up tomorrow. Thanks. | | Distinguished Member with 14,984 posts. | | Join Date: Sep 2003 Location: -71.45091, 42.27841 | | Hi techkid,
Just a footnote: The /etc/hosts file saw its birth in Unix, so its invention was not from the Windows world where undoubtedly it was sorely needed for the purpose you mention.
-- Tom | | Distinguished Member with 2,088 posts. | | Join Date: Sep 2004 Location: Sydney, Australia Experience: Fix it until it's broken | | I can't say that I'm surprised at that. But it is an interesting snippet of information.
Thanks for all the help and info. | | Junior Member with 11 posts. | | | | Winblows... And no, I didn't mispell it by accident LOL | | Senior Member with 1,349 posts. | | Join Date: Jun 2007 Experience: Once, again if I like it | | FWIW, using a hosts file for security is antiquated and can actually create security exposures. Use a firewall instead. | | Distinguished Member with 2,088 posts. | | Join Date: Sep 2004 Location: Sydney, Australia Experience: Fix it until it's broken | | Yeah, I know. And I already have a firewall up and running (Built-in Firestarter firewall). This is for when my dad's mate comes around. I allow him to use my computer, but I want to block access to sites I know are bad. | | Senior Member with 161 posts. | | Join Date: Dec 2004 Experience: Intermediate | | Your firewall should be able to do that too and is a better permanent solution. | | Senior Member with 210 posts. | | Join Date: May 2007 Experience: Intermediate |
10-Mar-2009, 09:00 PM
#10 | | | | Distinguished Member with 14,984 posts. | | Join Date: Sep 2003 Location: -71.45091, 42.27841 |
11-Mar-2009, 09:51 AM
#11 | Hi absolutezero1287,
The best reference on iptables is Linux Firewalls and there you will also find the best price if you want to purchase it.
-- Tom |  THIS THREAD HAS EXPIRED.
Are you having the same problem?
We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.
|
Smart Search
| Find your solution! | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |  WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
| You Are Using: |
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:58 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd. | |
|