Page MenuHomeFreeBSD

Make the warning intervals for deprecated crypto algorithms tunable.
ClosedPublic

Authored by jhb on Jun 7 2019, 9:18 PM.
Tags
None
Referenced Files
F133195169: D20555.id58381.diff
Thu, Oct 23, 8:58 PM
F133195168: D20555.id58502.diff
Thu, Oct 23, 8:58 PM
F133195167: D20555.id58549.diff
Thu, Oct 23, 8:58 PM
F133195165: D20555.id.diff
Thu, Oct 23, 8:58 PM
Unknown Object (File)
Thu, Oct 23, 12:36 PM
Unknown Object (File)
Mon, Oct 6, 1:29 PM
Unknown Object (File)
Thu, Oct 2, 12:57 PM
Unknown Object (File)
Wed, Oct 1, 11:40 PM
Subscribers

Details

Summary

New sysctl/tunables can now set the interval (in seconds) between
rate-limited crypto warnings. The new sysctls are:

  • kern.cryptodev_warn_interval for /dev/crypto
  • net.inet.ipsec.crypto_warn_interval for IPsec
  • kern.kgssapi_warn_interval for KGSSAPI
Test Plan
  • tested that the sysctl worked for both cryptodev and IPsec by changing the interval and verifying warnings did or didn't fire when triggering use of a deprecated algorithm
  • did not test kgssapi, but given how identical the code is I expect it to also work

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.Jun 8 2019, 4:15 AM
  • Document the new sysctl node types.
This revision now requires review to proceed.Jun 10 2019, 10:46 PM
This revision is now accepted and ready to land.Jun 10 2019, 11:01 PM
This revision was automatically updated to reflect the committed changes.