📄 ip-sysctl.txt
字号:
memory.tcp_app_win - INTEGER Reserve max(window/2^tcp_app_win, mss) of window for application buffer. Value 0 is special, it means that nothing is reserved. Default: 31tcp_adv_win_scale - INTEGER Count buffering overhead as bytes/2^tcp_adv_win_scale (if tcp_adv_win_scale > 0) or bytes-bytes/2^(-tcp_adv_win_scale), if it is <= 0. Default: 2tcp_rfc1337 - BOOLEAN If set, the TCP stack behaves conforming to RFC1337. If unset, we are not conforming to RFC, but prevent TCP TIME_WAIT asassination. Default: 0ip_local_port_range - 2 INTEGERS Defines the local port range that is used by TCP and UDP to choose the local port. The first number is the first, the second the last local port number. Default value depends on amount of memory available on the system: > 128Mb 32768-61000 < 128Mb 1024-4999 or even less. This number defines number of active connections, which this system can issue simultaneously to systems not supporting TCP extensions (timestamps). With tcp_tw_recycle enabled (i.e. by default) range 1024-4999 is enough to issue up to 2000 connections per second to systems supporting timestamps.ip_nonlocal_bind - BOOLEAN If set, allows processes to bind() to non-local IP adresses, which can be quite useful - but may break some applications. Default: 0ip_dynaddr - BOOLEAN If set non-zero, enables support for dynamic addresses. If set to a non-zero value larger than 1, a kernel log message will be printed when dynamic address rewriting occurs. Default: 0icmp_echo_ignore_all - BOOLEANicmp_echo_ignore_broadcasts - BOOLEAN If either is set to true, then the kernel will ignore either all ICMP ECHO requests sent to it or just those to broadcast/multicast addresses, respectively.icmp_ratelimit - INTEGER Limit the maximal rates for sending ICMP packets whose type matches icmp_ratemask (see below) to specific targets. 0 to disable any limiting, otherwise the maximal rate in jiffies(1) Default: 1icmp_ratemask - INTEGER Mask made of ICMP types for which rates are being limited. Default: 6168 Note: 6168 = 0x1818 = 1<<ICMP_DEST_UNREACH + 1<<ICMP_SOURCE_QUENCH + 1<<ICMP_TIME_EXCEEDED + 1<<ICMP_PARAMETERPROB, which means dest unreachable (3), source quench (4), time exceeded (11) and parameter problem (12) ICMP packets are rate limited (check values in icmp.h)icmp_ignore_bogus_error_responses - BOOLEAN Some routers violate RFC 1122 by sending bogus responses to broadcast frames. Such violations are normally logged via a kernel warning. If this is set to TRUE, the kernel will not give such warnings, which will avoid log file clutter. Default: FALSE(1) Jiffie: internal timeunit for the kernel. On the i386 1/100s, on theAlpha 1/1024s. See the HZ define in /usr/include/asm/param.h for the exactvalue on your system. igmp_max_memberships - INTEGER Change the maximum number of multicast groups we can subscribe to. Default: 20conf/interface/*: conf/all/* is special and changes the settings for all interfaces. Change special settings per interface.log_martians - BOOLEAN Log packets with impossible addresses to kernel log.accept_redirects - BOOLEAN Accept ICMP redirect messages. default TRUE (host) FALSE (router)forwarding - BOOLEAN Enable IP forwarding on this interface.mc_forwarding - BOOLEAN Do multicast routing. The kernel needs to be compiled with CONFIG_MROUTE and a multicast routing daemon is required.proxy_arp - BOOLEAN Do proxy arp.shared_media - BOOLEAN Send(router) or accept(host) RFC1620 shared media redirects. Overrides ip_secure_redirects. default TRUEsecure_redirects - BOOLEAN Accept ICMP redirect messages only for gateways, listed in default gateway list. default TRUEsend_redirects - BOOLEAN Send redirects, if router. Default: TRUEbootp_relay - BOOLEAN Accept packets with source address 0.b.c.d destined not to this host as local ones. It is supposed, that BOOTP relay daemon will catch and forward such packets. default FALSE Not Implemented Yet.accept_source_route - BOOLEAN Accept packets with SRR option. default TRUE (router) FALSE (host)rp_filter - BOOLEAN 1 - do source validation by reversed path, as specified in RFC1812 Recommended option for single homed hosts and stub network routers. Could cause troubles for complicated (not loop free) networks running a slow unreliable protocol (sort of RIP), or using static routes. 0 - No source validation. Default value is 0. Note that some distributions enable it in startip scripts.Alexey Kuznetsov.kuznet@ms2.inr.ac.ruUpdated by:Andi Kleenak@muc.de/proc/sys/net/ipv6/* Variables:IPv6 has no global variables such as tcp_*. tcp_* settings under ipv4/ alsoapply to IPv6 [XXX?].conf/default/*: Change the interface-specific default settings.conf/all/*: Change all the interface-specific settings. [XXX: Other special features than forwarding?]conf/all/forwarding - BOOLEAN Enable global IPv6 forwarding between all interfaces. IPv4 and IPv6 work differently here; e.g. netfilter must be used to control which interfaces may forward packets and which not. This also sets all interfaces' Host/Router setting 'forwarding' to the specified value. See below for details. This referred to as global forwarding.conf/interface/*: Change special settings per interface. The functional behaviour for certain settings is different depending on whether local forwarding is enabled or not.accept_ra - BOOLEAN Accept Router Advertisements; autoconfigure using them. Functional default: enabled if local forwarding is disabled. disabled if local forwarding is enabled.accept_redirects - BOOLEAN Accept Redirects. Functional default: enabled if local forwarding is disabled. disabled if local forwarding is enabled.autoconf - BOOLEAN Configure link-local addresses using L2 hardware addresses. Default: TRUEdad_transmits - INTEGER The amount of Duplicate Address Detection probes to send. Default: 1 forwarding - BOOLEAN Configure interface-specific Host/Router behaviour. Note: It is recommended to have the same setting on all interfaces; mixed router/host scenarios are rather uncommon. FALSE: By default, Host behaviour is assumed. This means: 1. IsRouter flag is not set in Neighbour Advertisements. 2. Router Solicitations are being sent when necessary. 3. If accept_ra is TRUE (default), accept Router Advertisements (and do autoconfiguration). 4. If accept_redirects is TRUE (default), accept Redirects. TRUE: If local forwarding is enabled, Router behaviour is assumed. This means exactly the reverse from the above: 1. IsRouter flag is set in Neighbour Advertisements. 2. Router Solicitations are not sent. 3. Router Advertisements are ignored. 4. Redirects are ignored. Default: FALSE if global forwarding is disabled (default), otherwise TRUE.hop_limit - INTEGER Default Hop Limit to set. Default: 64mtu - INTEGER Default Maximum Transfer Unit Default: 1280 (IPv6 required minimum)router_solicitation_delay - INTEGER Number of seconds to wait after interface is brought up before sending Router Solicitations. Default: 1router_solicitation_interval - INTEGER Number of seconds to wait between Router Solicitations. Default: 4router_solicitations - INTEGER Number of Router Solicitations to send until assuming no routers are present. Default: 3IPv6 Update by:Pekka Savolapekkas@netcore.fi$Id: ip-sysctl.txt,v 1.19.2.1 2001/12/13 08:59:27 davem Exp $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -