summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-07-16 15:41:14 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-07-16 15:41:14 +0000
commitb311ebd0a02fc55bec2fbb454cef884ec85d5de2 (patch)
tree37992f4c5d3c1b6c8829fb7dc9087cf7f2d1b9e1
parent62771172f4e1b703f46fbece196e1c900c35dd79 (diff)
downloadFreeBSD-src-b311ebd0a02fc55bec2fbb454cef884ec85d5de2.zip
FreeBSD-src-b311ebd0a02fc55bec2fbb454cef884ec85d5de2.tar.gz
Document the new {auth,ident,tap} service and provide examples in the
configuration file. Requested by: green
-rw-r--r--etc/inetd.conf19
-rw-r--r--usr.sbin/inetd/inetd.829
2 files changed, 39 insertions, 9 deletions
diff --git a/etc/inetd.conf b/etc/inetd.conf
index 44fe31e..0311584 100644
--- a/etc/inetd.conf
+++ b/etc/inetd.conf
@@ -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
#
diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8
index 11d9f21..1cae83d 100644
--- a/usr.sbin/inetd/inetd.8
+++ b/usr.sbin/inetd/inetd.8
@@ -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
OpenPOWER on IntegriCloud