overview of default sysctl settings

Started by dinguz, September 01, 2021, 01:06:22 AM

Previous topic - Next topic
I seem to have carried over some tunables from earlier versions of OPNsense, some of which may not be applicable anymore because they were specific to FreeBSD 11 and earlier, and are not available or useful on 12.
I would like to clean them up. Where can I find the list of default sysctl tunables as setup in a fresh install, so I can compare my settings with that?
In theory there is no difference between theory and practice. In practice there is.

September 01, 2021, 04:12:58 AM #1 Last Edit: September 01, 2021, 04:31:36 AM by madj42
I would love to see this as well.

EDIT: May have found them here..  https://github.com/opnsense/core/blob/21.7.1/src/etc/config.xml.sample

It says 'default' at all settings, wouldn't it be nice to know what the defaults actually are?  ;)
In theory there is no difference between theory and practice. In practice there is.

It's difficult because the defaults are hidden in FreeBSD source files and can change from version to version.


Cheers,
Franco