summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd/inetd.8
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-01-19 22:03:12 +0000
committergreen <green@FreeBSD.org>2000-01-19 22:03:12 +0000
commitc67a07f9044f4c118aa469bbd95a7d6007921f56 (patch)
treeb19836c390b792e9109fb306a243ab440b085ad0 /usr.sbin/inetd/inetd.8
parentc3602b40ed34a9af47c53412fe994aeabac6f163 (diff)
downloadFreeBSD-src-c67a07f9044f4c118aa469bbd95a7d6007921f56.zip
FreeBSD-src-c67a07f9044f4c118aa469bbd95a7d6007921f56.tar.gz
Implement -g and -d options in my ident code. The -g flag uses a random
garbage value for the username (hex garbage, that is), and the -d flag provides a default username for fallback purposes if the user cannot be looked up. That is very useful for the case where inetd auth is running on a NAT box. While I'm here updating the manpage, clean up an English error and a few small nits.
Diffstat (limited to 'usr.sbin/inetd/inetd.8')
-rw-r--r--usr.sbin/inetd/inetd.828
1 files changed, 22 insertions, 6 deletions
diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8
index f063f27..3796c50 100644
--- a/usr.sbin/inetd/inetd.8
+++ b/usr.sbin/inetd/inetd.8
@@ -360,17 +360,36 @@ 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:
+The available arguments to this service that alter its behavior are:
.Bl -tag -width indent
+.It Fl d Ar fallback
+Instead of returning an error if getting the socket credentials or
+looking up the user name fails, return a default
+.Ar fallback
+user name to the requesting ident client. This is primarily useful
+when running this service on a NAT machine.
+.It Fl t Ar sec[.usec]
+Specify a timeout for the service. The default timeout is 10.0 seconds.
.It Fl r
Offer a real
.Dq auth
-service, as per RFC 1413. All the following flags apply only in this case.
+service, as per RFC 1413. All the remaining flags apply only in this case.
.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.
+.It Fl g
+Instead of returning the user's name to the ident requester, report a
+username made up of random alphanumeric characters, e.g.
+.Dq c0c993 .
+The
+.Fl g
+flag overrides not only the user names, but also any
+.Pa .fakeid
+or
+.Pa .noident
+files.
.It Fl n
If the file
.Pa .noident
@@ -380,11 +399,8 @@ instead.
.It Fl o Ar osname
Use
.Ar osname
-instead of the name of the system implementation
-returned by
+instead of the name of the system as reported by
.Xr uname 3 .
-.It Fl t Ar sec[.usec]
-Specify a timeout for the service. The default timeout is 10.0 seconds.
.El
.Pp
The
OpenPOWER on IntegriCloud