Using TCP_WRAPPERS in code

2000-06-04 Thread James Housley

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?

Thanks,

Jim
-- 
Unix is very user-friendly.  It's just picky who its friends are.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Using TCP_WRAPPERS in code

2000-06-04 Thread James Housley

David Malone wrote:
 
 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
 
I guess that qualifies as a DU.  Pointy hat to me.  I looked in that
directory and never even thought about tcpd.c

Thanks

Jim
-- 
Unix is very user-friendly.  It's just picky who its friends are.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Using TCP_WRAPPERS in code

2000-06-04 Thread David Malone

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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Using TCP_WRAPPERS in code

2000-06-04 Thread Max Khon

hi, there!

On Sun, 4 Jun 2000, 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?

/usr/src/usr.sbin/inetd

/fjoe



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message