tcpwrappers?
Carter Bullard
carter at qosient.com
Tue Aug 15 07:38:47 EDT 2000
Hey Peter,
The ./configure program, when it finds the libwrap.a
library and source, will define "TCPWRAPPER=1" and put
it on the defines section of the ./server/Makefile.
This is how the code makes its way into argus.
To have ./configure find libwrap.a easily, put the
distribution directory for tcpwrappers at the same level
as the argus distribution, remove ./lib/libwrap.a and
the ./wrapper directory, if it exists in your current
./argus-1.8.1 distribution directory and then rerun
./configure. Or if you want to make it a little less
obvious, copy libwrap.a into the ./lib directory and make
a link, ./wrapper, that points to the tcpwrapper source
directory. Then run ./configure.
Or just place a '-DTCPWRAPPER=1' at the end of the DEF
definition on line 47 of the ./server/Makefile. That
should at least include the code. It should complain
about the libraries and include files that might be
missing, if the stuff above hasn't been done, but it
at least will get you started.
Hope this helps,
Carter
-----Original Message-----
From: owner-argus at lists.andrew.cmu.edu
[mailto:owner-argus at lists.andrew.cmu.edu]On Behalf Of Peter Van Epp
Sent: Monday, August 14, 2000 6:16 PM
To: argus
Subject: tcpwrappers?
What is the correct way to enable the tcp wrappers? I added a
-DHOSTS_ACCESS to the server Makefile.in @defs@ line and reconfigured make
clean
and make. I expect there is a proper way to activate this that I'm missing
(and it doesn't immediately seem to be working either, although the code
looks
to be there). tcpdmatch looks to correctly deny, but I can still connect to
the
server port.
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
More information about the argus
mailing list