diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-08-28 09:47:48 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-08-28 09:47:48 +0000 |
commit | b628d245b239a0e95641449c9014de60fdd1c6dc (patch) | |
tree | bba42695da65cf1f025b1dedbc578bb36201f175 /lib/libc/net | |
parent | 4deb254ae9cf4476e21f32fce7637cf553fbdf7f (diff) |
better formatting. from wiz@netbsd
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/getnameinfo.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3 index 2416a8bf822..d99d98f50db 100644 --- a/lib/libc/net/getnameinfo.3 +++ b/lib/libc/net/getnameinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getnameinfo.3,v 1.25 2003/08/28 01:50:37 itojun Exp $ +.\" $OpenBSD: getnameinfo.3,v 1.26 2003/08/28 09:47:47 itojun Exp $ .\" $KAME: getnameinfo.3,v 1.20 2001/01/05 13:37:37 itojun Exp $ .\" .\" Copyright (c) 1983, 1987, 1991, 1993 @@ -289,8 +289,8 @@ returns both numeric and FQDN notation of the address specified in There is no return value that indicates if the string returned in .Fa host is a result of binary to numeric-text translation (like -.Xr inet_ntop 3 -), or the result of DNS reverse lookup. +.Xr inet_ntop 3) , +or the result of DNS reverse lookup. Therefore, malicious parties could set up PTR record like below: .Bd -literal -offset indent 1.0.0.127.in-addr.arpa. IN PTR 10.1.1.1 @@ -305,7 +305,7 @@ is when it actually is .Li 127.0.0.1 . .Pp -To prevent such attacks, the use of +To prevent such attacks, the use of .Li NI_NAMEREQD like below is recommended when you use the result of .Nm |