From owner-freebsd-hackers Sun Jun 4 16:56:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 690FA37B61B for ; Sun, 4 Jun 2000 16:56:43 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 5 Jun 2000 00:56:42 +0100 (BST) Date: Mon, 5 Jun 2000 00:56:41 +0100 From: David Malone To: James Housley Cc: freebsd-hackers@freebsd.org Subject: Re: Using TCP_WRAPPERS in code Message-ID: <20000605005641.A43900@walton.maths.tcd.ie> References: <393AE79E.F330ADDD@thehousleys.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <393AE79E.F330ADDD@thehousleys.net>; from jim@thehousleys.net on Sun, Jun 04, 2000 at 07:34:54PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jun 04, 2000 at 07:34:54PM -0400, James Housley wrote: > I would like to use tcp_wrappers (libwrap) in a program. I din't see > any examples or a reference to a web site. I have read the man page. > Is there a good example of a program in the FreeBSD 4 tree that is not > inetd spawned and uses libwrap? The source to tcpd, which just uses libwrap, is fairly easy to read.. Have a look at /usr/src/contrib/tcp_wrappers/tcpd.c David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message