Date: Wed, 10 Nov 1999 10:24:52 -0500 From: Carroll Kong <damascus@eden.rutgers.edu> To: freebsd-stable@FreeBSD.ORG Subject: Tcp_wrappers - using 3.2-release Message-ID: <4.2.0.58.19991110101255.00ad7df0@email.eden.rutgers.edu>
next in thread | raw e-mail | index | archive | help
Hi. I am using a commercial software that has hardcoded their lib_wrap (built into binary) to read in /etc/hosts.allow /etc/hosts.deny, however, they are using the old version / old format. I tried mixing and matching, no good. :) The final ALL: ALL in the /etc/hosts.allow that normally denies everything and backfingers and mails is being read in as a pass all for the hardcoded binary. The author suggested I recompile libwrap to point elsewhere. Ok. I went into /usr/src/lib/libwrap, modified the Makefile, make clean; make; make install. Ok. Now my /usr/lib has the new libwraps. However, do I have to recompile tcp_wrappers? I tried doing cd /usr/src/contrib/tcp_wrappers/ make REAL_DAEMON_DIR=/usr/sbin -DSTYLE=PROCESS_OPTIONS -DHOSTS_ALLOW="/etc/wrap/hosts.allow"...... freebsd, then as I read the compilation, it says that it is using "/etc/hosts.allow" instead! Basic problem: Need to get tcp_wrappers to read from a different directory. Potential solutions: 1) Use tcp_wrapper port, however, if I do, how do I get future ports to properly "wrap" against the port, since I have not properly uninstalled the default tcp_wrapper installation. 2) reinstall the lib_wrap and tcp_wrappers from my /usr/src tree so that they read in the /etc/wrap/hosts.* files instead of /etc/hosts.* 3) beg the author to statically recompile the binary just for me. Thanks guys. I would appreciate any kind of viable solution or work around. Thanks in advance! -Carroll Kong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.0.58.19991110101255.00ad7df0>