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
Paths
| Differential D20555 Authored by jhb on Jun 7 2019, 9:18 PM.
Details
Summary New sysctl/tunables can now set the interval (in seconds) between
Test Plan
Diff Detail
Event TimelineHerald added a subscriber: ae. · View Herald TranscriptJun 7 2019, 9:18 PM2019-06-07 21:18:50 (UTC+0) Harbormaster completed remote builds in B24763: Diff 58381.Jun 7 2019, 9:18 PM2019-06-07 21:18:50 (UTC+0) jhb added child revisions: D20554: Add warnings to /dev/crypto for deprecated algorithms., D20343: Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429..Jun 7 2019, 9:19 PM2019-06-07 21:19:19 (UTC+0) jhb removed child revisions: D20343: Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429., D20554: Add warnings to /dev/crypto for deprecated algorithms.. jhb added parent revisions: D20554: Add warnings to /dev/crypto for deprecated algorithms., D20343: Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429.. Comment ActionsUnrelated to this is the fact that the current warning intervals are a bit of a random hodge-podge, IPsec is 1 second, KGSSAPI is 1 hour, /dev/crypto is 1 minute. I am open to suggestions on picking something more sensible for all three. This revision is now accepted and ready to land.Jun 8 2019, 4:15 AM2019-06-08 04:15:09 (UTC+0) This revision now requires review to proceed.Jun 10 2019, 10:46 PM2019-06-10 22:46:38 (UTC+0) Harbormaster completed remote builds in B24804: Diff 58502.Jun 10 2019, 10:46 PM2019-06-10 22:46:40 (UTC+0) This revision is now accepted and ready to land.Jun 10 2019, 11:01 PM2019-06-10 23:01:48 (UTC+0) Closed by commit rS348970: Make the warning intervals for deprecated crypto algorithms tunable. (authored by jhb). · Explain WhyJun 11 2019, 11:01 PM2019-06-11 23:01:11 (UTC+0) This revision was automatically updated to reflect the committed changes. Herald added a reviewer: jmg. · View Herald TranscriptJun 11 2019, 11:01 PM2019-06-11 23:01:12 (UTC+0)
Revision Contents
Diff 58549 head/share/man/man9/Makefile
head/share/man/man9/sysctl.9
head/sys/kern/kern_sysctl.c
head/sys/kgssapi/krb5/kcrypto.h
head/sys/kgssapi/krb5/kcrypto.c
|