View Single Post

  #4 (permalink)  
Old 08-21-2003
Bill Unruh
 
Posts: n/a
Default Re: hosts.deny doesnt work for httpd requests

tridentadm@netscape.net (DukeNM) writes:

]i tried to disable all requests comming to my server except for
]sendmail using /etc/hosts.deny and /etc/hosts.allow

]so
]/etc/hosts.deny
]has
]ALL:ALL

]and
]/etc/hosts.allow
]has
]sendmail: ALL

]but when i try to access the server webpage using browser it works

]how very strange. shouldnt httpd server access be blocked ??

No. Only programs launched through inet or xinet with tcpwrappers activated, or
programs who have tcpwrappers included use host.deny/allow.
But if you do not web access why in the world are you running the http daemon.
That is the only way they can obtain access.If you do not want a service , DO
NOT run the associated daemon.

Reply With Quote