Document the new {auth,ident,tap} service and provide examples in the

configuration file.

Requested by:	green
This commit is contained in:
sheldonh 1999-07-16 15:41:14 +00:00
parent 62771172f4
commit b311ebd0a0
2 changed files with 39 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $Id: inetd.conf,v 1.34 1999/07/15 01:06:13 ache Exp $
# $Id: inetd.conf,v 1.35 1999/07/15 01:33:56 green Exp $
#
# Internet server configuration database
#
@ -63,14 +63,21 @@ ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd
#
#imap4 stream tcp nowait root /usr/local/libexec/imapd imapd
#
# Compiled with -DREAL_IDENT, this is a fully functional ident service.
# By default, this is an ident service which returns error on any request.
# Return error for all "ident" requests
#
#ident stream tcp nowait root internal
#auth stream tcp nowait root internal
#
# example entry for the optional ident server
# Provide a real ident service internally
#
#ident stream tcp wait root /usr/local/sbin/identd identd -w -t120
#auth stream tcp nowait root internal auth -r
#
# As above, but enable ~/.fakeid support as well
#
#auth stream tcp nowait root internal auth -r -f
#
# Example entry for an external ident server
#
#auth stream tcp wait kmem:kmem /usr/local/sbin/identd identd -w -t120
#
# example entry for the optional qmail MTA
#

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)inetd.8 8.3 (Berkeley) 4/13/94
.\" $Id: inetd.8,v 1.34 1999/07/09 11:18:58 sheldonh Exp $
.\" $Id: inetd.8,v 1.35 1999/07/11 08:32:24 green Exp $
.\"
.Dd February 7, 1996
.Dt INETD 8
@ -351,14 +351,32 @@ The
should be just as arguments
normally are, starting with argv[0], which is the name of
the program. If the service is provided internally, the
word
.Em service-name
of the service (and any arguments to it) or the word
.Dq internal
should take the place of this entry.
.Pp
Currently, the only internal service to take arguments is
.Dq auth .
Without options, the service will always return
.Dq ERROR:HIDDEN-USER .
The available arguments to this service that alter its behaviour are:
.Bl -tag -width indent
.It Fl r
Offer a real
.Dq auth
service, as per RFC 1413.
.It Fl f
If the file
.Pa .fakeid
exists in the home directory of the identified user, report the username
found in that file instead of the real username.
.El
.Pp
The
.Nm
program
provides several
also provides several other
.Dq trivial
services internally by use of
routines within itself. These services are
@ -597,6 +615,11 @@ socket but was unable to.
.Xr rshd 8 ,
.Xr telnetd 8 ,
.Xr tftpd 8
.Rs
.%A Michael C. St. Johns
.%T Identification Protocol
.%O RFC1413
.Re
.Sh HISTORY
The
.Nm