summaryrefslogtreecommitdiff
path: root/lib/libwrap
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-04-30 16:31:43 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-04-30 16:31:43 +0000
commit53d632a56390b1be823ac94e26c8cbea0b0886ed (patch)
treec883cb4deabbed473bc5d3a0faba13f99da8281f /lib/libwrap
parent98acfc3b963a7db3fbfdedc7829303261eb50d63 (diff)
Initial cleanup:
o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok
Diffstat (limited to 'lib/libwrap')
-rw-r--r--lib/libwrap/rfc1413.328
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/libwrap/rfc1413.3 b/lib/libwrap/rfc1413.3
index 6f379d9a66f..59d2a11e6aa 100644
--- a/lib/libwrap/rfc1413.3
+++ b/lib/libwrap/rfc1413.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rfc1413.3,v 1.3 2001/09/06 15:04:34 mpech Exp $
+.\" $OpenBSD: rfc1413.3,v 1.4 2002/04/30 16:31:42 mpech Exp $
.\"
.\" Copyright (c) 2001, Bob Beck. All rights reserved.
.\"
@@ -42,21 +42,21 @@
.Fn rfc1413 "struct sockaddr *rmt_sin" "struct sockaddr *our_sin" "char *dest" "size_t dsize" "int ident_timeout_time"
.Sh DESCRIPTION
.Fn rfc1413
-retrieves a user name from a remote system using the
+retrieves a user name from a remote system using the
.Nm ident
-protocol described in rfc 1413. It is implenented in the
+protocol described in rfc 1413. It is implenented in the
.Nm libwrap.a
-library.
+library.
.Pp
-.Fn rfc1413
+.Fn rfc1413
takes two sockaddr pointers as parameters:
.Nm rmt_sin
-for the remote host end of a connected TCP socket, and
+for the remote host end of a connected TCP socket, and
.Nm our_sin
-for the local end.
-.Nm dest
+for the local end.
+.Nm dest
should be allocated by the caller to store the found username,
-and must be of length at least
+and must be of length at least
.Nm dsize.
.Nm ident_timeout_time
is a timeout in seconds on the entire ident query, used to ensure
@@ -67,11 +67,11 @@ When username lookup is successful,
.Fn rfc1413
strips the trailing CRLF from the returned value and stores up to
.Nm "dsize - 1"
-bytes of the returned username into
-.Nm dest,
-always terminating with a nul byte. In this case 0 is returned.
+bytes of the returned username into
+.Nm dest,
+always terminating with a nul byte. In this case 0 is returned.
.Fn rfc1413
-returns -1 if any failure occurs such that it was unable to
+returns -1 if any failure occurs such that it was unable to
retrieve the remote username.
.Sh SEE ALSO
.Xr hosts_access 3
@@ -82,5 +82,5 @@ Ident connections are made unencrypted, and nothing prevents the
remote server from lying about who the user is. Consequently, ident
should never be used to authenticate users. ident is however, quite
useful for logging users of connections from multiuser machines that
-can be trusted not to lie about it.
+can be trusted not to lie about it.
\" @(#) hosts_access.3 1.8 96/02/11 17:01:26