Page MenuHomeFreeBSD

netdump: Don't store sensitive key data we don't need
ClosedPublic

Authored by cem on May 10 2019, 8:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 9, 8:32 AM
Unknown Object (File)
Jun 30 2025, 3:30 AM
Unknown Object (File)
Jun 29 2025, 10:23 AM
Unknown Object (File)
Jun 28 2025, 8:03 AM
Unknown Object (File)
Jun 26 2025, 2:47 AM
Unknown Object (File)
Jun 24 2025, 7:41 PM
Unknown Object (File)
Jun 23 2025, 5:21 PM
Unknown Object (File)
Jun 20 2025, 1:38 AM
Subscribers

Details

Summary

The diocskerneldump_arg and netdump_conf (with embedded diocskerneldump_arg)
before it were copied in whole to the global nd_conf variable. After EKCD,
the diocskerneldump_arg contains sensitive key material. Before this
revision, de-configuring netdump would not remove the the key material from
global nd_conf.

Netdump doesn't have any use for the key data (that is handled in the core
dumper code), so just don't store it.

Unfortunately, I think this dates to the initial import of netdump in
r333283.

Diff Detail

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