Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-12-2004, 10:12 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
Host in hosts.deny able to access HTTP service

Hi, I'm new here and I have a newbie question. I have placed all hosts as deny in hosts.deny and I have only allowed one host in hosts.allow. Then I tried to access the web service I've just setted up from a denied host, but to my surprise I was able to see the hosted web page. Is this normal, or is there something wrong?
Old 08-12-2004, 10:40 AM   #2
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
I think hosts.allow/deny only applies to services controlled by TCP-wrapper.
I am mainly guessing now, but check /etc/xinetd.d for httpd I believe only services here are accessed/denied using hosts.allow/deny?
Better block it with iptables.


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
Deny a host access to all services objorkum Linux - Networking 5 08-17-2007 03:54 PM
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 10:41 PM
Not able to access http service curious_srk Linux - Software 5 11-30-2004 11:10 AM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 04:52 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 02:57 AM

All times are GMT -5. The time now is 02:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration