NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Finding out at runtime which IPSEC options are built into the kernel (IPSEC_NAT_T?)



On Sun, Jun 06, 2021 at 05:53:37AM -0700, Andy Ruhl wrote:
> Hopefully this helps someone searching:
> 
> The options(4) man page shows this line:
> 
> strings netbsd | sed -n 's/^_CFG_//p' | unvis (note that "netbsd" is
> the kernel file, usually at /netbsd)
> 
> This will work if the kernel has the INCLUDE_CONFIG_FILE option which
> I believe is on by default.

See also config(1)'s -x


Home | Main Index | Thread Index | Old Index