From 899edecdbe92f678c3c96572c8877cdbc6763e9a Mon Sep 17 00:00:00 2001 From: Gordon Bergling Date: Wed, 7 Dec 2022 12:31:44 +0100 Subject: [PATCH] protocols.5: Update the description of /etc/protocols The reference to the "DARPA Internet" seems not quite up to date in 2022, so move that to the HISTORY section. Mention RFC 2780 and RFC 5237. Obtained from: NetBSD MFC after: 3 days --- share/man/man5/protocols.5 | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/share/man/man5/protocols.5 b/share/man/man5/protocols.5 index 1ccf0ce2be61..16c02c207496 100644 --- a/share/man/man5/protocols.5 +++ b/share/man/man5/protocols.5 @@ -28,7 +28,7 @@ .\" @(#)protocols.5 8.1 (Berkeley) 6/5/93 .\" $FreeBSD$ .\" -.Dd June 5, 1993 +.Dd December 7, 2020 .Dt PROTOCOLS 5 .Os .Sh NAME @@ -37,9 +37,8 @@ .Sh DESCRIPTION The .Nm -file contains information regarding the known protocols used in the -.Tn DARPA -Internet. +file contains information regarding the assigned protocol numbers +used by IPv4 and IPv6 to identify the next level protocol. For each protocol a single line should be present with the following information: .Bd -unfilled -offset indent @@ -67,10 +66,22 @@ file resides in .El .Sh SEE ALSO .Xr getprotoent 3 +.Rs +.%R RFC 2780 +.%D March 2000 +.%T "IANA Allocation Guidelines For Values In the \ +Internet Protocol and Related Headers" +.Re +.Rs +.%R RFC 5237 +.%D February 2008 +.%T "IANA Allocation Guidelines for the Protocol Field" +.Re .Sh HISTORY The .Nm file format appeared in -.Bx 4.2 . +.Bx 4.2 , +describing the "known protocols used in the DARPA Internet". .Sh BUGS A name server should be used instead of a static file.