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
F135349954: D22370.id78308.diff
Sun, Nov 9, 12:27 AM
Unknown Object (File)
Fri, Nov 7, 9:42 PM
Unknown Object (File)
Fri, Oct 31, 3:42 AM
Unknown Object (File)
Sun, Oct 26, 1:27 AM
Unknown Object (File)
Tue, Oct 21, 2:28 AM
Unknown Object (File)
Sun, Oct 19, 1:45 PM
Unknown Object (File)
Fri, Oct 17, 7:45 PM
Unknown Object (File)
Fri, Oct 17, 7:45 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.