[TriLUG] hosts.deny question?
oberry at trilug.org
Tue Mar 7 09:58:13 EST 2006
What are you trying to accomplish here? Somebody said you should have
tcp wrappers, but why? And was that for Apache, or the server in
The server should have it by default, but you can check by running:
rpm -qi tcp_wrappers
As far as I can tell (I looked on Fedora 3 and RHEL 4), Apache is
probably not compiled to use tcp_wrappers. As Pat and Alan mentioned you
can check by running:
strings /usr/sbin/httpd | grep hosts_access
- or -
ldd /usr/sbin/httpd | grep libwrap
Assuming Apache's httpd binary is in the same place I have it.
But, as I said, what are you trying to achieve. There are many
experience sysadmins and power users on this list and somebody can
On Tue, Mar 07, 2006 at 03:00:29AM -0500, WA Brown wrote:
> Someone said that the server should use tcp wrappers. How can I find out if
> it does?
> WA brown
> ----- Original Message -----
> From: "Alan Porter" <porter at trilug.org>
> To: "Triangle Linux Users Group discussion list" <trilug at trilug.org>
> Sent: Monday, March 06, 2006 9:37 PM
> Subject: Re: [TriLUG] hosts.deny question?
> >> I am new to this group and linux. I hope you tolerate another
> >>"newbie". I have a server online at www.havenstead.net and am learning
> >>how to do things with it every day. I am running Redhat9 with an Apache
> >>2.0 server.
> >>This is what I have in the "hosts.deny" file. What have I got wrong?
> >All of these lines are syntactically OK -->
> ># protocol: IP address or wildcard
> >smtp: 220.127.116.11
> >sshd: 18.104.22.168
> >ALL: 22.214.171.124
> >ALL: .trilug.org
> >ALL: 172.31.
> >sshd: 126.96.36.199/24
> >sshd: 188.8.131.52/255.255.255.0
> >ALL: 192.168.*
More information about the TriLUG