On 2022/12/22 17:58, Jason McIntyre wrote:
> > >  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?

netstat -s -p ipcomp (or just netstat -s and look in the ipcomp section)
displays statistics about ipcomp usage, but doesn't list ipcomp flows.
unless you have actually configured ipcomp (probably most easily done
via iked) you'll just see a bunch of zeroes though.

(similarly netstat -s shows some other stats for ipsec, though not flows)

Reply via email to