File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / sysctl.conf
Revision 1.1.1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Sun Sep 25 19:18:07 2011 UTC (12 years, 9 months ago) by misho
Branches: elwix1_4
CVS tags: Patch1
Diff to: branchpoint 1.1.1.1: preferred, unified
another fix for csh/tcsh fix links

#!/bin/sh
#
# elwix sysctl.conf
#
# $Id: sysctl.conf,v 1.1.1.1.2.1 2011/09/25 19:18:07 misho Exp $

sysctl -w net.inet.ip.forwarding=1
sysctl -w net.inet.ip.fastforwarding=1
sysctl -w kern.maxfilesperproc=4096

#kern.ipc.maxsockbuf=16777216
#net.inet.tcp.recvbuf_max=16777216
#net.inet.tcp.sendbuf_max=16777216
#net.inet.tcp.sendspace=65536
#net.inet.tcp.recvspace=65536
#net.inet.udp.recvspace=65536

#net.inet.tcp.mssdflt=1452
#net.inet.tcp.hostcache.expire=1

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>