On Thu, Dec 22, 2022 at 07:31:26PM +0000, Jason McIntyre wrote:
> 
> anyway, how about this text for ipcomp/ipsec?
> jmc
> 

for completeness sake, here's the full diff.
jmc

Index: sbin/ifconfig/ifconfig.8
===================================================================
RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v
retrieving revision 1.387
diff -u -p -r1.387 ifconfig.8
--- sbin/ifconfig/ifconfig.8    26 Nov 2022 07:26:43 -0000      1.387
+++ sbin/ifconfig/ifconfig.8    22 Dec 2022 20:44:16 -0000
@@ -2329,11 +2329,11 @@ tried to alter an interface's configurat
 .Xr inet 4 ,
 .Xr intro 4 ,
 .Xr netintro 4 ,
-.Xr route 4 ,
 .Xr rtable 4 ,
 .Xr hostname.if 5 ,
 .Xr hosts 5 ,
 .Xr rc 8 ,
+.Xr route 8 ,
 .Xr slaacd 8 ,
 .Xr tcpdump 8
 .Sh HISTORY
Index: sbin/ping/ping.8
===================================================================
RCS file: /cvs/src/sbin/ping/ping.8,v
retrieving revision 1.65
diff -u -p -r1.65 ping.8
--- sbin/ping/ping.8    21 Feb 2021 17:18:01 -0000      1.65
+++ sbin/ping/ping.8    22 Dec 2022 20:44:16 -0000
@@ -418,8 +418,8 @@ Others may use completely wild values.
 exits 0 if at least one reply is received,
 and >0 if no reply is received or an error occurred.
 .Sh SEE ALSO
-.Xr netstat 1 ,
-.Xr ifconfig 8
+.Xr ifconfig 8 ,
+.Xr route 8
 .Sh HISTORY
 The
 .Nm
Index: share/man/man4/ipcomp.4
===================================================================
RCS file: /cvs/src/share/man/man4/ipcomp.4,v
retrieving revision 1.16
diff -u -p -r1.16 ipcomp.4
--- share/man/man4/ipcomp.4     12 Jan 2018 04:36:44 -0000      1.16
+++ share/man/man4/ipcomp.4     22 Dec 2022 20:44:16 -0000
@@ -101,14 +101,9 @@ compressed.
 .El
 .Sh DIAGNOSTICS
 .Xr netstat 1
-can be used to obtain some statistics about IPComp usage, using the
-.Fl p
-flag.
-Just like for IPsec, using the
-.Fl r
-flag,
-.Xr netstat 1
-displays information about IPComp flows.
+can be used to obtain some statistics about IPComp usage:
+.Pp
+.Dl $ netstat -s -p ipcomp
 .Sh SEE ALSO
 .Xr enc 4 ,
 .Xr inet 4 ,
Index: share/man/man4/ipsec.4
===================================================================
RCS file: /cvs/src/share/man/man4/ipsec.4,v
retrieving revision 1.88
diff -u -p -r1.88 ipsec.4
--- share/man/man4/ipsec.4      31 Mar 2022 17:27:21 -0000      1.88
+++ share/man/man4/ipsec.4      22 Dec 2022 20:44:16 -0000
@@ -356,14 +356,15 @@ was given.
 .El
 .Pp
 .Xr netstat 1
-can be used to obtain some statistics about AH and ESP usage, using the
-.Fl p
-flag.
-Using the
-.Fl r
-flag,
-.Xr netstat 1
-displays information about IPsec flows.
+can be used to obtain some statistics about AH or ESP usage:
+.Bd -literal -offset indent
+$ netstat -s -p ah
+$ netstat -s -p esp
+.Ed
+.Pp
+The
+.Xr ipsecctl 8
+command can be used to display information about IPsec flows.
 .Pp
 .Xr vmstat 8
 displays information about memory use by IPsec with the
Index: share/man/man8/afterboot.8
===================================================================
RCS file: /cvs/src/share/man/man8/afterboot.8,v
retrieving revision 1.171
diff -u -p -r1.171 afterboot.8
--- share/man/man8/afterboot.8  13 Apr 2022 18:00:34 -0000      1.171
+++ share/man/man8/afterboot.8  22 Dec 2022 20:44:16 -0000
@@ -183,9 +183,8 @@ See
 .Xr hostname.if 5
 for instructions on configuring interfaces with DHCP.
 .Pp
-Routing tables can be viewed by issuing a
-.Ic netstat -rn
-command.
+Routing tables can be viewed by issuing
+.Dq route -n show .
 The default gateway address is stored in the
 .Pa /etc/mygate
 file.
@@ -199,8 +198,10 @@ Or, you may prefer to manually configure
 .Ic route add
 and
 .Ic route delete
-commands (see
-.Xr route 8 ) .
+commands.
+See
+.Xr route 8
+for more information.
 .Pp
 If you wish to route packets between interfaces, add one or both
 of the following directives (depending on whether IPv4 or IPv6 routing
Index: usr.sbin/traceroute/traceroute.8
===================================================================
RCS file: /cvs/src/usr.sbin/traceroute/traceroute.8,v
retrieving revision 1.74
diff -u -p -r1.74 traceroute.8
--- usr.sbin/traceroute/traceroute.8    30 Jul 2022 07:19:31 -0000      1.74
+++ usr.sbin/traceroute/traceroute.8    22 Dec 2022 20:44:16 -0000
@@ -387,8 +387,8 @@ Because of the load it could impose on t
 .Nm
 during normal operations or from automated scripts.
 .Sh SEE ALSO
-.Xr netstat 1 ,
-.Xr ping 8
+.Xr ping 8 ,
+.Xr route 8
 .Sh HISTORY
 The very first
 .Nm

Reply via email to