Hi Guys,
I've noticed my kern.random.harvest.mask is set to 65887, I've set it to 351 in tunables, pressed apply then rebooted, yet it still on 65887. I have no idea why. I can see variable set in /boot/loader.conf correctly.
It wasn't in tunables until I manually added it in.
But mask_symbolic doesn't match mask.
kern.random.harvest.mask_symbolic: PURE_RDRAND,[UMA],[FS_ATIME],SWI,[INTERRUPT],NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
kern.random.harvest.mask_bin: 000010000000101011111
kern.random.harvest.mask: 65887
Is it doing something weird like 65887=2^16+351 ??
Fresh install of OPNSense 19.1.4
Jonny
#FreeBSD on FreeNode
Told me to point you guys towards this file. Hopefully this helps.
https://github.com/HardenedBSD/hardenedBSD/blob/hardened/current/master/sys/dev/random/random_harvestq.c
They also said /boot/loader.conf is wrong place for it as it is not loader tunnable.
The HardenedBSD team is looking at this. Thanks for the report!
Hi lattera,
i've observed this topic too ...because is relevant for network performance (especially on weak embedded devices, e.g. APU). Is there currently impact on this or is it only a "display" - Problem ?
regards pylox