/[baselayout]/trunk/etc.Linux/sysctl.conf
Gentoo

Contents of /trunk/etc.Linux/sysctl.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2547 - (show annotations) (download)
Thu Apr 5 11:18:42 2007 UTC (7 years, 4 months ago) by uberlord
File MIME type: text/plain
File size: 1459 byte(s)
    Rewrite the core parts in C. We now provide librc so other programs can
    query runlevels, services and state without using bash. We also provide
    libeinfo so other programs can easily use our informational functions.

    As such, we have dropped the requirement of using bash as the init script
    shell. We now use /bin/sh and have strived to make the scripts as portable
    as possible. Shells that work are bash and dash. busybox works provided
    you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
    should disable find too.
    zsh and ksh do not work at this time.

    Networking support is currently being re-vamped also as it was heavily bash
    array based. As such, a new config format is available like so
    config_eth0="1.2.3.4/24 5.6.7.8/16"
    or like so
    config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"

    We will still support the old bash array format provided that /bin/sh IS
    a link it bash.

    ChangeLog for baselayout-1 can be found in our SVN repo.
1 # /etc/sysctl.conf
2 #
3 # For more information on how this file works, please see
4 # the manpages sysctl(8) and sysctl.conf(5).
5 #
6 # In order for this file to work properly, you must first
7 # enable 'Sysctl support' in the kernel.
8 #
9 # Look in /proc/sys/ for all the things you can setup.
10 #
11
12 # Disables packet forwarding
13 #net.ipv4.ip_forward = 0
14 # Disables IP dynaddr
15 #net.ipv4.ip_dynaddr = 0
16 # Disable ECN
17 #net.ipv4.tcp_ecn = 0
18 # Enables source route verification
19 net.ipv4.conf.default.rp_filter = 1
20 # Enable reverse path
21 net.ipv4.conf.all.rp_filter = 1
22
23 # Enable SYN cookies (yum!)
24 # http://cr.yp.to/syncookies.html
25 #net.ipv4.tcp_syncookies = 1
26
27 # Disable source route
28 #net.ipv4.conf.all.accept_source_route = 0
29 #net.ipv4.conf.default.accept_source_route = 0
30
31 # Disable redirects
32 #net.ipv4.conf.all.accept_redirects = 0
33 #net.ipv4.conf.default.accept_redirects = 0
34
35 # Disable secure redirects
36 #net.ipv4.conf.all.secure_redirects = 0
37 #net.ipv4.conf.default.secure_redirects = 0
38
39 # Ignore ICMP broadcasts
40 #net.ipv4.icmp_echo_ignore_broadcasts = 1
41
42 # Disables the magic-sysrq key
43 #kernel.sysrq = 0
44 # When the kernel panics, automatically reboot in 3 seconds
45 #kernel.panic = 3
46 # Allow for more PIDs (cool factor!); may break some programs
47 #kernel.pid_max = 999999
48
49 # You should compile nfsd into the kernel or add it
50 # to modules.autoload for this to work properly
51 # TCP Port for lock manager
52 #fs.nfs.nlm_tcpport = 0
53 # UDP Port for lock manager
54 #fs.nfs.nlm_udpport = 0

  ViewVC Help
Powered by ViewVC 1.1.20