Hi Crypto/Xfrm Team,
I was wondering if there has been any discussion in the past
about adding stats in Xfrm to count the packets going in/out of
this sub-system? Right now we only have error stats.
thanks
--Raj
Raj Ammanur <[email protected]> wrote:
> Hi Crypto/Xfrm Team,
>
> I was wondering if there has been any discussion in the past
> about adding stats in Xfrm to count the packets going in/out of
> this sub-system? Right now we only have error stats.
Have you looked at ip -s x s?
Cheers,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
oops yes, completely forgot the lifetime stats. Thanks Herbert.
I will check this out, but after a rekey, are the stats still preserved?
thanks
--Raj
On Wed, Jun 21, 2017 at 7:42 PM, Herbert Xu <[email protected]> wrote:
> Raj Ammanur <[email protected]> wrote:
>> Hi Crypto/Xfrm Team,
>>
>> I was wondering if there has been any discussion in the past
>> about adding stats in Xfrm to count the packets going in/out of
>> this sub-system? Right now we only have error stats.
>
> Have you looked at ip -s x s?
>
> Cheers,
> --
> Email: Herbert Xu <[email protected]>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Raj Ammanur <[email protected]> wrote:
> oops yes, completely forgot the lifetime stats. Thanks Herbert.
>
> I will check this out, but after a rekey, are the stats still preserved?
No those stats are per-state. So your best bet would be to get this
feature added to your user-space key manager, and get it to read out
the final stats before deleting the SA.
Cheers,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt