Re: [Swan-dev] WIP: supporting xfrm SA expire

2021-11-27 Thread Andrew Cagney
> > >> >> One thing decide as group is how to represent big number (2^64) bytes and >> packets, especially the default 2^64 will appear in "ipsec status: >> output. >> 18446744073709551615 look ugly:) > > > There's readable_humber() but that would need work. > Conversely is there something to con

Re: [Swan-dev] WIP: supporting xfrm SA expire

2021-11-27 Thread Andrew Cagney
On Sat, 27 Nov 2021 at 14:04, Antony Antony wrote: > Hi, > I rebased this branch and improved expire handling. > > #sa-expire or #sa-expire-20211127 > https://github.com/antonyantony/libreswan/tree/sa-expire > > I renamed keywords to salifebytes= salifepackets= > >

Re: [Swan-dev] WIP: supporting xfrm SA expire

2021-11-27 Thread Antony Antony
Hi, I rebased this branch and improved expire handling. #sa-expire or #sa-expire-20211127 https://github.com/antonyantony/libreswan/tree/sa-expire I renamed keywords to salifebytes= salifepackets= added few basic checks to avoid corner cases those netlink calls will return error: - do not