#KERN.IPC
kern.ipc.somaxconn=32768 # max network stack connections
#kern.ipc.max_datalen=512 # no fucking clue. Google doesnt know either. default 132 freebsd. 6.0
kern.ipc.maxsockbuf=16777216 # max memory for socket buffer total, i think.
#KERN.MAX
kern.maxfiles=32768 # im crazy
kern.maxfilesperproc=32768 # im crazy
#kern.maxproc=65536 # im crazy
#kern.maxprocperuid=65536 # im crazy
#NET.INET
net.inet.ip.redirect=0 # [Security] Dont allow ipv4 redirects
net.inet.icmp.drop_redirect=1 # [Security] Drop ICMP redirects
net.inet.tcp.recvspace=8388608 # Set default size of TCP receive window
net.inet.tcp.sendspace=8388608 # Set default size of TCP transmit window
net.inet.tcp.blackhole=2 # [Security] 1 = SYN packets arriving on a closed port will be dropped without a RST packet being sent back. 2
net.inet.tcp.msl=7500 # Defines the Maximum Segment Life. This is the maximum amount of time to wait for an ACK in reply to a SYN-AC
#net.inet.tcp.delayed_ack=0 #
net.inet.udp.maxdgram=65536
net.inet.udp.recvspace=65536
net.inet.udp.blackhole=1 # [Security] 1 = all UDP packets arriving on a closed port will be dropped
net.inet.raw.maxdgram=65536
net.inet.raw.recvspace=65536
#net.inet6.ip6.redirect=0 # [Security] Dont allow ipv6 redirects
#MACHDEP
#machdep.cpu_idle_hlt=0 #makes the cpus not idle. Uses more power and heat, but is faster. Try default in 7.x
#VFS
#vfs.hirunningspace=8388608 #(1/2 total buffer on Harddisks. Raid (2 hardisks X 8meg buffers) /2= 8192) *1024*1024
#vfs.ufs.dirhash_maxmem=8388608