1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#!/sbin/sysctl -f
#
# $NetBSD: sysctl.conf,v 1.8 2011/09/25 21:47:22 christos Exp $
#
# sysctl(8) variables to set at boot time.
# Default on panic: dump core and reboot. See savecore(8) for information.
# Switch this to 1 if you want to enter the kernel debugger on crashes
# instead. See ddb(4) for an introduction and also try the "help" command
# at the db> prompt.
# If you understand the implication and want to change the behaviour before
# /etc/rc.d/sysctl is run, use the kernel option DDB_ONPANIC, see options(4).
ddb.onpanic?=0
# Default core name template:
#kern.defcorename=%n.core
# Number of kernel threads to use for NFS client
#vfs.nfs.iothreads=4
# Default tty/pty character queue sizes. Should be bumped to 32K or so if
# used in networking (ppp/pppoe)
#kern.tty.qsize=1024
# Disable DDB's pager (stops it asking for space to be hit during
# a backtrace).
ddb.lines=0
# enable forwarding
net.inet.ip.forwarding=1
net.inet6.ip.forwarding=1
# disable Duplicate Address Detection
net.inet.ip.dad_count=0
net.inet6.ip6.dad_count=0
# disable incremental msgid
net.ipsecif.use_fixed_reqid=1
|