*BSD News Article 81218


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!news.us.world.net!ns2.mainstreet.net!news.roble.com!not-for-mail
From: marquis@roble.com (Roger Marquis)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Tcp_wrappers won't work!
Date: 20 Oct 1996 15:50:40 GMT
Organization: Roble Systems (http://www.roble.com)
Lines: 23
Message-ID: <54dhoh$obk@alba.roble.com>
References: <548avr$184@news.ox.ac.uk> <01bbbd62$271bd240$32498796@rc6855.ResComp.Arizona.EDU> <549hup$l92@dewey.udel.edu>
NNTP-Posting-Host: ns.roble.com
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

Jerry Alexandratos (alexandr@stimpy.eecis.udel.edu) wrote:
>In article <01bbbd62$271bd240$32498796@rc6855.ResComp.Arizona.EDU>,
>Tim Jensen <tlj@u.arizona.edu> wrote:
>:I had the same problem until I actually read the Makefile.  By default the
>:tcp_wrapper will NOT look in /etc for the hosts.allow and hosts.deny files.
>: I can't remember where it does look but it is easily changed by editing
>:the Makefile.
>
>If you built tcp_wrapper via the ports system, then the hosts.* files
>will be located in /usr/local/etc.  Check it out, the patch is plain as
>day.

The last time I built the tcp_wrappers port all the documentation said
that hosts.allow and hosts.deny were located in /etc.  This is the
default location.  Had to run 'strings' on the tcpd binary to find out
where it was actually looking for the files.

This seems to be the achillies heel of FreeBSD, the ports that is.  So
many of them are hastily compiled, have incorrect documentation, or
just won't compile in the first place.  To bad such a clean OS has so
many dirty ports.

Roger Marquis