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?
Note: This post may have been lightly edited by AI for spelling and minor readability improvements. The content and findings are entirely my own.

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?  ;)
Note: This post may have been lightly edited by AI for spelling and minor readability improvements. The content and findings are entirely my own.

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


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT