LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-21-2006, 03:31 AM   #1
Robin Shannon
LQ Newbie
 
Registered: May 2005
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Question /etc/hosts.deny config


G'day all,

My hosts.deny file says the following

ALL: .example.net

and yet i can still get to somewhere.net with konqueror and firefox. I'm sure i am missing something real stupid here. Any ideas? Is there something else i have to do? Incase it is important my distro is i386 kubuntu 6.06.

paz,
-rjs.
 
Old 08-21-2006, 03:47 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You can get to example.net but they can't connect to daemons (that use tcp wrappers) running on your box. Are you trying to limit the hosts that you can connect to? If not, type man 5 hosts_access in a terminal window to get more info on this.
 
Old 08-21-2006, 03:54 AM   #3
Robin Shannon
LQ Newbie
 
Registered: May 2005
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
and that would be the big and stupid thing that i was missing. So the hosts file isn't going to stop me getting to a certain site. Is there any way of blocking access to certain sites without a full blown firewall?

paz,
-rjs.
 
Old 08-21-2006, 04:00 AM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You could use the Squid proxy server. You can set up access lists for sites by host, user, time, etc. The only downside is that if you're running a browser on the box running Squid (as opposed to using a client PC on your network) you'd need a firewall to stop someone bypassing Squid and connecting directly.
 
Old 08-21-2006, 06:02 AM   #5
Robin Shannon
LQ Newbie
 
Registered: May 2005
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
thanks

Yeah. I only have the one box. Thanks, i guess i will just set up a firewall then.

paz,
-rjs.
 
  


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
/etc/hosts.deny/hosts.allow have no effect on sshd access bganesh Linux - Security 4 05-04-2006 08:06 PM
ntl cable modem and config for hosts.allow if deny all@all, paranoid Emmanuel_uk Linux - Networking 2 06-30-2005 03:22 AM
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 09:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 01:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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