On Thu, Dec 22, 2022 at 05:58:47PM +0000, Jason McIntyre wrote:
> On Thu, Dec 22, 2022 at 06:21:08PM +0100, Claudio Jeker wrote:
> > On Thu, Dec 22, 2022 at 05:08:15PM +0000, Jason McIntyre wrote:
> > > On Thu, Dec 22, 2022 at 07:32:18AM +0000, Jason McIntyre wrote:
> > > >
> > > > next step is to examine Xr. will get round to that when i can.
> > > >
> > >
> > > so i looked at where we are using netstat. a lot of the references still
> > > make sense. diff below is for ones i think we can change. claudio kindly
> > > help me sift through some of the less clear ones (specifically where we
> > > have an Xr to netstat(1) in SEE ALSO but do not discuss it in any way
> > > within the manual).
> > >
> > > here's the diff.
> > >
> >
> > A few comments below.
> >
> > > 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 17:04:39 -0000
> > > @@ -105,9 +105,9 @@ can be used to obtain some statistics ab
> > > .Fl p
> > > flag.
> > > Just like for IPsec, using the
> > > -.Fl r
> > > -flag,
> > > -.Xr netstat 1
> > > +.Xr route 8
> > > +.Cm show
> > > +command
> > > displays information about IPComp flows.
> >
> > That's a lie. Neither netstat nor route show IPsec flows. This was moved
> > to ipsecctl(8). At least I was not able to display the flows with netstat
> > or route.
> >
>
> ah. so i tried ipcomp but thought it was maybe just not compiled in.
>
> so what about the note above it:
>
> DIAGNOSTICS
> netstat(1) can be used to obtain some statistics about
> IPComp usage, using the -p flag.
>
> i can;t get netstat -p to do anything useful. should this whole text go,
> or just the -r text?
Oh, that is for netstat -sp ipcomp (or just netstat -s which dumps all the
various protocol counters). So maybe that DIAGNOSTICS bit could be
imporved to something like:
netstat(1) can be used to obtain some statistics about
IPComp usage, using the -s -p ipcomp arguments.
netstat -p without -s tries to print active connections so it does work
with tcp and udp but probably not much else.
--
:wq Claudio