Page MenuHomeFreeBSD

Trigger soft lifetime expiration on sequence number
ClosedPublic

Authored by pdk_semihalf.com on Nov 14 2019, 12:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 11, 4:19 AM
Unknown Object (File)
Fri, Apr 10, 4:22 PM
Unknown Object (File)
Fri, Apr 10, 3:21 AM
Unknown Object (File)
Thu, Apr 9, 2:55 AM
Unknown Object (File)
Tue, Apr 7, 4:23 AM
Unknown Object (File)
Mon, Apr 6, 2:45 PM
Unknown Object (File)
Mon, Apr 6, 8:38 AM
Unknown Object (File)
Sun, Mar 22, 11:31 PM
Subscribers

Details

Summary

This patch adds 80% of UINT32_MAX limit on sequence number.
When sequence number reaches limit kernel sends SADB_EXPIRE message to
IKE daemon which is responsible to perform rekeying.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 21 2019, 11:32 PM

Since replay field is optional, I think you need add the check that it is not NULL.

This revision now requires review to proceed.Nov 22 2019, 8:28 AM

Added checking if pointer to reply structure is not NULL

This revision is now accepted and ready to land.Nov 22 2019, 1:42 PM
This revision was automatically updated to reflect the committed changes.