]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/networking/ip-sysctl.txt
[TCP]: fix tcp_tso_win_divisor documentation
[karo-tx-linux.git] / Documentation / networking / ip-sysctl.txt
1 /proc/sys/net/ipv4/* Variables:
2
3 ip_forward - BOOLEAN
4         0 - disabled (default)
5         not 0 - enabled 
6
7         Forward Packets between interfaces.
8
9         This variable is special, its change resets all configuration
10         parameters to their default state (RFC1122 for hosts, RFC1812
11         for routers)
12
13 ip_default_ttl - INTEGER
14         default 64
15
16 ip_no_pmtu_disc - BOOLEAN
17         Disable Path MTU Discovery.
18         default FALSE
19
20 min_pmtu - INTEGER
21         default 562 - minimum discovered Path MTU
22
23 mtu_expires - INTEGER
24         Time, in seconds, that cached PMTU information is kept.
25
26 min_adv_mss - INTEGER
27         The advertised MSS depends on the first hop route MTU, but will
28         never be lower than this setting.
29
30 IP Fragmentation:
31
32 ipfrag_high_thresh - INTEGER
33         Maximum memory used to reassemble IP fragments. When 
34         ipfrag_high_thresh bytes of memory is allocated for this purpose,
35         the fragment handler will toss packets until ipfrag_low_thresh
36         is reached.
37         
38 ipfrag_low_thresh - INTEGER
39         See ipfrag_high_thresh  
40
41 ipfrag_time - INTEGER
42         Time in seconds to keep an IP fragment in memory.       
43
44 ipfrag_secret_interval - INTEGER
45         Regeneration interval (in seconds) of the hash secret (or lifetime 
46         for the hash secret) for IP fragments.
47         Default: 600
48
49 INET peer storage:
50
51 inet_peer_threshold - INTEGER
52         The approximate size of the storage.  Starting from this threshold      
53         entries will be thrown aggressively.  This threshold also determines
54         entries' time-to-live and time intervals between garbage collection
55         passes.  More entries, less time-to-live, less GC interval.
56
57 inet_peer_minttl - INTEGER
58         Minimum time-to-live of entries.  Should be enough to cover fragment
59         time-to-live on the reassembling side.  This minimum time-to-live  is
60         guaranteed if the pool size is less than inet_peer_threshold.
61         Measured in jiffies(1).
62
63 inet_peer_maxttl - INTEGER
64         Maximum time-to-live of entries.  Unused entries will expire after
65         this period of time if there is no memory pressure on the pool (i.e.
66         when the number of entries in the pool is very small).
67         Measured in jiffies(1).
68
69 inet_peer_gc_mintime - INTEGER
70         Minimum interval between garbage collection passes.  This interval is
71         in effect under high memory pressure on the pool.
72         Measured in jiffies(1).
73
74 inet_peer_gc_maxtime - INTEGER
75         Minimum interval between garbage collection passes.  This interval is
76         in effect under low (or absent) memory pressure on the pool.
77         Measured in jiffies(1).
78
79 TCP variables: 
80
81 tcp_syn_retries - INTEGER
82         Number of times initial SYNs for an active TCP connection attempt
83         will be retransmitted. Should not be higher than 255. Default value
84         is 5, which corresponds to ~180seconds.
85
86 tcp_synack_retries - INTEGER
87         Number of times SYNACKs for a passive TCP connection attempt will
88         be retransmitted. Should not be higher than 255. Default value
89         is 5, which corresponds to ~180seconds.
90
91 tcp_keepalive_time - INTEGER
92         How often TCP sends out keepalive messages when keepalive is enabled.
93         Default: 2hours.
94
95 tcp_keepalive_probes - INTEGER
96         How many keepalive probes TCP sends out, until it decides that the
97         connection is broken. Default value: 9.
98
99 tcp_keepalive_intvl - INTEGER
100         How frequently the probes are send out. Multiplied by
101         tcp_keepalive_probes it is time to kill not responding connection,
102         after probes started. Default value: 75sec i.e. connection
103         will be aborted after ~11 minutes of retries.
104
105 tcp_retries1 - INTEGER
106         How many times to retry before deciding that something is wrong
107         and it is necessary to report this suspicion to network layer.
108         Minimal RFC value is 3, it is default, which corresponds
109         to ~3sec-8min depending on RTO.
110
111 tcp_retries2 - INTEGER
112         How may times to retry before killing alive TCP connection.
113         RFC1122 says that the limit should be longer than 100 sec.
114         It is too small number. Default value 15 corresponds to ~13-30min
115         depending on RTO.
116
117 tcp_orphan_retries - INTEGER
118         How may times to retry before killing TCP connection, closed
119         by our side. Default value 7 corresponds to ~50sec-16min
120         depending on RTO. If you machine is loaded WEB server,
121         you should think about lowering this value, such sockets
122         may consume significant resources. Cf. tcp_max_orphans.
123
124 tcp_fin_timeout - INTEGER
125         Time to hold socket in state FIN-WAIT-2, if it was closed
126         by our side. Peer can be broken and never close its side,
127         or even died unexpectedly. Default value is 60sec.
128         Usual value used in 2.2 was 180 seconds, you may restore
129         it, but remember that if your machine is even underloaded WEB server,
130         you risk to overflow memory with kilotons of dead sockets,
131         FIN-WAIT-2 sockets are less dangerous than FIN-WAIT-1,
132         because they eat maximum 1.5K of memory, but they tend
133         to live longer. Cf. tcp_max_orphans.
134
135 tcp_max_tw_buckets - INTEGER
136         Maximal number of timewait sockets held by system simultaneously.
137         If this number is exceeded time-wait socket is immediately destroyed
138         and warning is printed. This limit exists only to prevent
139         simple DoS attacks, you _must_ not lower the limit artificially,
140         but rather increase it (probably, after increasing installed memory),
141         if network conditions require more than default value.
142
143 tcp_tw_recycle - BOOLEAN
144         Enable fast recycling TIME-WAIT sockets. Default value is 0.
145         It should not be changed without advice/request of technical
146         experts.
147
148 tcp_tw_reuse - BOOLEAN
149         Allow to reuse TIME-WAIT sockets for new connections when it is
150         safe from protocol viewpoint. Default value is 0.
151         It should not be changed without advice/request of technical
152         experts.
153
154 tcp_max_orphans - INTEGER
155         Maximal number of TCP sockets not attached to any user file handle,
156         held by system. If this number is exceeded orphaned connections are
157         reset immediately and warning is printed. This limit exists
158         only to prevent simple DoS attacks, you _must_ not rely on this
159         or lower the limit artificially, but rather increase it
160         (probably, after increasing installed memory),
161         if network conditions require more than default value,
162         and tune network services to linger and kill such states
163         more aggressively. Let me to remind again: each orphan eats
164         up to ~64K of unswappable memory.
165
166 tcp_abort_on_overflow - BOOLEAN
167         If listening service is too slow to accept new connections,
168         reset them. Default state is FALSE. It means that if overflow
169         occurred due to a burst, connection will recover. Enable this
170         option _only_ if you are really sure that listening daemon
171         cannot be tuned to accept connections faster. Enabling this
172         option can harm clients of your server.
173
174 tcp_syncookies - BOOLEAN
175         Only valid when the kernel was compiled with CONFIG_SYNCOOKIES
176         Send out syncookies when the syn backlog queue of a socket 
177         overflows. This is to prevent against the common 'syn flood attack'
178         Default: FALSE
179
180         Note, that syncookies is fallback facility.
181         It MUST NOT be used to help highly loaded servers to stand
182         against legal connection rate. If you see synflood warnings
183         in your logs, but investigation shows that they occur
184         because of overload with legal connections, you should tune
185         another parameters until this warning disappear.
186         See: tcp_max_syn_backlog, tcp_synack_retries, tcp_abort_on_overflow.
187
188         syncookies seriously violate TCP protocol, do not allow
189         to use TCP extensions, can result in serious degradation
190         of some services (f.e. SMTP relaying), visible not by you,
191         but your clients and relays, contacting you. While you see
192         synflood warnings in logs not being really flooded, your server
193         is seriously misconfigured.
194
195 tcp_stdurg - BOOLEAN
196         Use the Host requirements interpretation of the TCP urg pointer field.
197         Most hosts use the older BSD interpretation, so if you turn this on
198         Linux might not communicate correctly with them.        
199         Default: FALSE 
200         
201 tcp_max_syn_backlog - INTEGER
202         Maximal number of remembered connection requests, which are
203         still did not receive an acknowledgment from connecting client.
204         Default value is 1024 for systems with more than 128Mb of memory,
205         and 128 for low memory machines. If server suffers of overload,
206         try to increase this number.
207
208 tcp_window_scaling - BOOLEAN
209         Enable window scaling as defined in RFC1323.
210
211 tcp_timestamps - BOOLEAN
212         Enable timestamps as defined in RFC1323.
213
214 tcp_sack - BOOLEAN
215         Enable select acknowledgments (SACKS).
216
217 tcp_fack - BOOLEAN
218         Enable FACK congestion avoidance and fast retransmission.
219         The value is not used, if tcp_sack is not enabled.
220
221 tcp_dsack - BOOLEAN
222         Allows TCP to send "duplicate" SACKs.
223
224 tcp_ecn - BOOLEAN
225         Enable Explicit Congestion Notification in TCP.
226
227 tcp_reordering - INTEGER
228         Maximal reordering of packets in a TCP stream.
229         Default: 3      
230
231 tcp_retrans_collapse - BOOLEAN
232         Bug-to-bug compatibility with some broken printers.
233         On retransmit try to send bigger packets to work around bugs in
234         certain TCP stacks.
235
236 tcp_wmem - vector of 3 INTEGERs: min, default, max
237         min: Amount of memory reserved for send buffers for TCP socket.
238         Each TCP socket has rights to use it due to fact of its birth.
239         Default: 4K
240
241         default: Amount of memory allowed for send buffers for TCP socket
242         by default. This value overrides net.core.wmem_default used
243         by other protocols, it is usually lower than net.core.wmem_default.
244         Default: 16K
245
246         max: Maximal amount of memory allowed for automatically selected
247         send buffers for TCP socket. This value does not override
248         net.core.wmem_max, "static" selection via SO_SNDBUF does not use this.
249         Default: 128K
250
251 tcp_rmem - vector of 3 INTEGERs: min, default, max
252         min: Minimal size of receive buffer used by TCP sockets.
253         It is guaranteed to each TCP socket, even under moderate memory
254         pressure.
255         Default: 8K
256
257         default: default size of receive buffer used by TCP sockets.
258         This value overrides net.core.rmem_default used by other protocols.
259         Default: 87380 bytes. This value results in window of 65535 with
260         default setting of tcp_adv_win_scale and tcp_app_win:0 and a bit
261         less for default tcp_app_win. See below about these variables.
262
263         max: maximal size of receive buffer allowed for automatically
264         selected receiver buffers for TCP socket. This value does not override
265         net.core.rmem_max, "static" selection via SO_RCVBUF does not use this.
266         Default: 87380*2 bytes.
267
268 tcp_mem - vector of 3 INTEGERs: min, pressure, max
269         low: below this number of pages TCP is not bothered about its
270         memory appetite.
271
272         pressure: when amount of memory allocated by TCP exceeds this number
273         of pages, TCP moderates its memory consumption and enters memory
274         pressure mode, which is exited when memory consumption falls
275         under "low".
276
277         high: number of pages allowed for queueing by all TCP sockets.
278
279         Defaults are calculated at boot time from amount of available
280         memory.
281
282 tcp_app_win - INTEGER
283         Reserve max(window/2^tcp_app_win, mss) of window for application
284         buffer. Value 0 is special, it means that nothing is reserved.
285         Default: 31
286
287 tcp_adv_win_scale - INTEGER
288         Count buffering overhead as bytes/2^tcp_adv_win_scale
289         (if tcp_adv_win_scale > 0) or bytes-bytes/2^(-tcp_adv_win_scale),
290         if it is <= 0.
291         Default: 2
292
293 tcp_rfc1337 - BOOLEAN
294         If set, the TCP stack behaves conforming to RFC1337. If unset,
295         we are not conforming to RFC, but prevent TCP TIME_WAIT
296         assassination.   
297         Default: 0
298
299 tcp_low_latency - BOOLEAN
300         If set, the TCP stack makes decisions that prefer lower
301         latency as opposed to higher throughput.  By default, this
302         option is not set meaning that higher throughput is preferred.
303         An example of an application where this default should be
304         changed would be a Beowulf compute cluster.
305         Default: 0
306
307 tcp_tso_win_divisor - INTEGER
308        This allows control over what percentage of the congestion window
309        can be consumed by a single TSO frame.
310        The setting of this parameter is a choice between burstiness and
311        building larger TSO frames.
312        Default: 3
313
314 tcp_frto - BOOLEAN
315         Enables F-RTO, an enhanced recovery algorithm for TCP retransmission
316         timeouts.  It is particularly beneficial in wireless environments
317         where packet loss is typically due to random radio interference
318         rather than intermediate router congestion.
319
320 tcp_congestion_control - STRING
321         Set the congestion control algorithm to be used for new
322         connections. The algorithm "reno" is always available, but
323         additional choices may be available based on kernel configuration.
324
325 somaxconn - INTEGER
326         Limit of socket listen() backlog, known in userspace as SOMAXCONN.
327         Defaults to 128.  See also tcp_max_syn_backlog for additional tuning
328         for TCP sockets.
329
330 IP Variables:
331
332 ip_local_port_range - 2 INTEGERS
333         Defines the local port range that is used by TCP and UDP to
334         choose the local port. The first number is the first, the 
335         second the last local port number. Default value depends on
336         amount of memory available on the system:
337         > 128Mb 32768-61000
338         < 128Mb 1024-4999 or even less.
339         This number defines number of active connections, which this
340         system can issue simultaneously to systems not supporting
341         TCP extensions (timestamps). With tcp_tw_recycle enabled
342         (i.e. by default) range 1024-4999 is enough to issue up to
343         2000 connections per second to systems supporting timestamps.
344
345 ip_nonlocal_bind - BOOLEAN
346         If set, allows processes to bind() to non-local IP addresses,
347         which can be quite useful - but may break some applications.
348         Default: 0
349
350 ip_dynaddr - BOOLEAN
351         If set non-zero, enables support for dynamic addresses.
352         If set to a non-zero value larger than 1, a kernel log
353         message will be printed when dynamic address rewriting
354         occurs.
355         Default: 0
356
357 icmp_echo_ignore_all - BOOLEAN
358         If set non-zero, then the kernel will ignore all ICMP ECHO
359         requests sent to it.
360         Default: 0
361
362 icmp_echo_ignore_broadcasts - BOOLEAN
363         If set non-zero, then the kernel will ignore all ICMP ECHO and
364         TIMESTAMP requests sent to it via broadcast/multicast.
365         Default: 1
366
367 icmp_ratelimit - INTEGER
368         Limit the maximal rates for sending ICMP packets whose type matches
369         icmp_ratemask (see below) to specific targets.
370         0 to disable any limiting, otherwise the maximal rate in jiffies(1)
371         Default: 100
372
373 icmp_ratemask - INTEGER
374         Mask made of ICMP types for which rates are being limited.
375         Significant bits: IHGFEDCBA9876543210
376         Default mask:     0000001100000011000 (6168)
377
378         Bit definitions (see include/linux/icmp.h):
379                 0 Echo Reply
380                 3 Destination Unreachable *
381                 4 Source Quench *
382                 5 Redirect
383                 8 Echo Request
384                 B Time Exceeded *
385                 C Parameter Problem *
386                 D Timestamp Request
387                 E Timestamp Reply
388                 F Info Request
389                 G Info Reply
390                 H Address Mask Request
391                 I Address Mask Reply
392
393         * These are rate limited by default (see default mask above)
394
395 icmp_ignore_bogus_error_responses - BOOLEAN
396         Some routers violate RFC1122 by sending bogus responses to broadcast
397         frames.  Such violations are normally logged via a kernel warning.
398         If this is set to TRUE, the kernel will not give such warnings, which
399         will avoid log file clutter.
400         Default: FALSE
401
402 igmp_max_memberships - INTEGER
403         Change the maximum number of multicast groups we can subscribe to.
404         Default: 20
405
406 conf/interface/*  changes special settings per interface (where "interface" is 
407                   the name of your network interface)
408 conf/all/*        is special, changes the settings for all interfaces
409
410
411 log_martians - BOOLEAN
412         Log packets with impossible addresses to kernel log.
413         log_martians for the interface will be enabled if at least one of
414         conf/{all,interface}/log_martians is set to TRUE,
415         it will be disabled otherwise
416
417 accept_redirects - BOOLEAN
418         Accept ICMP redirect messages.
419         accept_redirects for the interface will be enabled if:
420         - both conf/{all,interface}/accept_redirects are TRUE in the case forwarding
421           for the interface is enabled
422         or
423         - at least one of conf/{all,interface}/accept_redirects is TRUE in the case
424           forwarding for the interface is disabled
425         accept_redirects for the interface will be disabled otherwise
426         default TRUE (host)
427                 FALSE (router)
428
429 forwarding - BOOLEAN
430         Enable IP forwarding on this interface.
431
432 mc_forwarding - BOOLEAN
433         Do multicast routing. The kernel needs to be compiled with CONFIG_MROUTE
434         and a multicast routing daemon is required.
435         conf/all/mc_forwarding must also be set to TRUE to enable multicast routing
436         for the interface
437
438 medium_id - INTEGER
439         Integer value used to differentiate the devices by the medium they
440         are attached to. Two devices can have different id values when
441         the broadcast packets are received only on one of them.
442         The default value 0 means that the device is the only interface
443         to its medium, value of -1 means that medium is not known.
444         
445         Currently, it is used to change the proxy_arp behavior:
446         the proxy_arp feature is enabled for packets forwarded between
447         two devices attached to different media.
448
449 proxy_arp - BOOLEAN
450         Do proxy arp.
451         proxy_arp for the interface will be enabled if at least one of
452         conf/{all,interface}/proxy_arp is set to TRUE,
453         it will be disabled otherwise
454
455 shared_media - BOOLEAN
456         Send(router) or accept(host) RFC1620 shared media redirects.
457         Overrides ip_secure_redirects.
458         shared_media for the interface will be enabled if at least one of
459         conf/{all,interface}/shared_media is set to TRUE,
460         it will be disabled otherwise
461         default TRUE
462
463 secure_redirects - BOOLEAN
464         Accept ICMP redirect messages only for gateways,
465         listed in default gateway list.
466         secure_redirects for the interface will be enabled if at least one of
467         conf/{all,interface}/secure_redirects is set to TRUE,
468         it will be disabled otherwise
469         default TRUE
470
471 send_redirects - BOOLEAN
472         Send redirects, if router.
473         send_redirects for the interface will be enabled if at least one of
474         conf/{all,interface}/send_redirects is set to TRUE,
475         it will be disabled otherwise
476         Default: TRUE
477
478 bootp_relay - BOOLEAN
479         Accept packets with source address 0.b.c.d destined
480         not to this host as local ones. It is supposed, that
481         BOOTP relay daemon will catch and forward such packets.
482         conf/all/bootp_relay must also be set to TRUE to enable BOOTP relay
483         for the interface
484         default FALSE
485         Not Implemented Yet.
486
487 accept_source_route - BOOLEAN
488         Accept packets with SRR option.
489         conf/all/accept_source_route must also be set to TRUE to accept packets
490         with SRR option on the interface
491         default TRUE (router)
492                 FALSE (host)
493
494 rp_filter - BOOLEAN
495         1 - do source validation by reversed path, as specified in RFC1812
496             Recommended option for single homed hosts and stub network
497             routers. Could cause troubles for complicated (not loop free)
498             networks running a slow unreliable protocol (sort of RIP),
499             or using static routes.
500
501         0 - No source validation.
502
503         conf/all/rp_filter must also be set to TRUE to do source validation
504         on the interface
505
506         Default value is 0. Note that some distributions enable it
507         in startup scripts.
508
509 arp_filter - BOOLEAN
510         1 - Allows you to have multiple network interfaces on the same
511         subnet, and have the ARPs for each interface be answered
512         based on whether or not the kernel would route a packet from
513         the ARP'd IP out that interface (therefore you must use source
514         based routing for this to work). In other words it allows control
515         of which cards (usually 1) will respond to an arp request.
516
517         0 - (default) The kernel can respond to arp requests with addresses
518         from other interfaces. This may seem wrong but it usually makes
519         sense, because it increases the chance of successful communication.
520         IP addresses are owned by the complete host on Linux, not by
521         particular interfaces. Only for more complex setups like load-
522         balancing, does this behaviour cause problems.
523
524         arp_filter for the interface will be enabled if at least one of
525         conf/{all,interface}/arp_filter is set to TRUE,
526         it will be disabled otherwise
527
528 arp_announce - INTEGER
529         Define different restriction levels for announcing the local
530         source IP address from IP packets in ARP requests sent on
531         interface:
532         0 - (default) Use any local address, configured on any interface
533         1 - Try to avoid local addresses that are not in the target's
534         subnet for this interface. This mode is useful when target
535         hosts reachable via this interface require the source IP
536         address in ARP requests to be part of their logical network
537         configured on the receiving interface. When we generate the
538         request we will check all our subnets that include the
539         target IP and will preserve the source address if it is from
540         such subnet. If there is no such subnet we select source
541         address according to the rules for level 2.
542         2 - Always use the best local address for this target.
543         In this mode we ignore the source address in the IP packet
544         and try to select local address that we prefer for talks with
545         the target host. Such local address is selected by looking
546         for primary IP addresses on all our subnets on the outgoing
547         interface that include the target IP address. If no suitable
548         local address is found we select the first local address
549         we have on the outgoing interface or on all other interfaces,
550         with the hope we will receive reply for our request and
551         even sometimes no matter the source IP address we announce.
552
553         The max value from conf/{all,interface}/arp_announce is used.
554
555         Increasing the restriction level gives more chance for
556         receiving answer from the resolved target while decreasing
557         the level announces more valid sender's information.
558
559 arp_ignore - INTEGER
560         Define different modes for sending replies in response to
561         received ARP requests that resolve local target IP addresses:
562         0 - (default): reply for any local target IP address, configured
563         on any interface
564         1 - reply only if the target IP address is local address
565         configured on the incoming interface
566         2 - reply only if the target IP address is local address
567         configured on the incoming interface and both with the
568         sender's IP address are part from same subnet on this interface
569         3 - do not reply for local addresses configured with scope host,
570         only resolutions for global and link addresses are replied
571         4-7 - reserved
572         8 - do not reply for all local addresses
573
574         The max value from conf/{all,interface}/arp_ignore is used
575         when ARP request is received on the {interface}
576
577 app_solicit - INTEGER
578         The maximum number of probes to send to the user space ARP daemon
579         via netlink before dropping back to multicast probes (see
580         mcast_solicit).  Defaults to 0.
581
582 disable_policy - BOOLEAN
583         Disable IPSEC policy (SPD) for this interface
584
585 disable_xfrm - BOOLEAN
586         Disable IPSEC encryption on this interface, whatever the policy
587
588
589
590 tag - INTEGER
591         Allows you to write a number, which can be used as required.
592         Default value is 0.
593
594 (1) Jiffie: internal timeunit for the kernel. On the i386 1/100s, on the
595 Alpha 1/1024s. See the HZ define in /usr/include/asm/param.h for the exact
596 value on your system. 
597
598 Alexey Kuznetsov.
599 kuznet@ms2.inr.ac.ru
600
601 Updated by:
602 Andi Kleen
603 ak@muc.de
604 Nicolas Delon
605 delon.nicolas@wanadoo.fr
606
607
608
609
610 /proc/sys/net/ipv6/* Variables:
611
612 IPv6 has no global variables such as tcp_*.  tcp_* settings under ipv4/ also
613 apply to IPv6 [XXX?].
614
615 bindv6only - BOOLEAN
616         Default value for IPV6_V6ONLY socket option,
617         which restricts use of the IPv6 socket to IPv6 communication 
618         only.
619                 TRUE: disable IPv4-mapped address feature
620                 FALSE: enable IPv4-mapped address feature
621
622         Default: FALSE (as specified in RFC2553bis)
623
624 IPv6 Fragmentation:
625
626 ip6frag_high_thresh - INTEGER
627         Maximum memory used to reassemble IPv6 fragments. When 
628         ip6frag_high_thresh bytes of memory is allocated for this purpose,
629         the fragment handler will toss packets until ip6frag_low_thresh
630         is reached.
631         
632 ip6frag_low_thresh - INTEGER
633         See ip6frag_high_thresh 
634
635 ip6frag_time - INTEGER
636         Time in seconds to keep an IPv6 fragment in memory.
637
638 ip6frag_secret_interval - INTEGER
639         Regeneration interval (in seconds) of the hash secret (or lifetime 
640         for the hash secret) for IPv6 fragments.
641         Default: 600
642
643 conf/default/*:
644         Change the interface-specific default settings.
645
646
647 conf/all/*:
648         Change all the interface-specific settings.  
649
650         [XXX:  Other special features than forwarding?]
651
652 conf/all/forwarding - BOOLEAN
653         Enable global IPv6 forwarding between all interfaces.  
654
655         IPv4 and IPv6 work differently here; e.g. netfilter must be used 
656         to control which interfaces may forward packets and which not.
657
658         This also sets all interfaces' Host/Router setting 
659         'forwarding' to the specified value.  See below for details.
660
661         This referred to as global forwarding.
662
663 conf/interface/*:
664         Change special settings per interface.
665
666         The functional behaviour for certain settings is different 
667         depending on whether local forwarding is enabled or not.
668
669 accept_ra - BOOLEAN
670         Accept Router Advertisements; autoconfigure using them.
671         
672         Functional default: enabled if local forwarding is disabled.
673                             disabled if local forwarding is enabled.
674
675 accept_redirects - BOOLEAN
676         Accept Redirects.
677
678         Functional default: enabled if local forwarding is disabled.
679                             disabled if local forwarding is enabled.
680
681 autoconf - BOOLEAN
682         Autoconfigure addresses using Prefix Information in Router 
683         Advertisements.
684
685         Functional default: enabled if accept_ra is enabled.
686                             disabled if accept_ra is disabled.
687
688 dad_transmits - INTEGER
689         The amount of Duplicate Address Detection probes to send.
690         Default: 1
691         
692 forwarding - BOOLEAN
693         Configure interface-specific Host/Router behaviour.  
694
695         Note: It is recommended to have the same setting on all 
696         interfaces; mixed router/host scenarios are rather uncommon.
697
698         FALSE:
699
700         By default, Host behaviour is assumed.  This means:
701
702         1. IsRouter flag is not set in Neighbour Advertisements.
703         2. Router Solicitations are being sent when necessary.
704         3. If accept_ra is TRUE (default), accept Router 
705            Advertisements (and do autoconfiguration).
706         4. If accept_redirects is TRUE (default), accept Redirects.
707
708         TRUE:
709
710         If local forwarding is enabled, Router behaviour is assumed. 
711         This means exactly the reverse from the above:
712
713         1. IsRouter flag is set in Neighbour Advertisements.
714         2. Router Solicitations are not sent.
715         3. Router Advertisements are ignored.
716         4. Redirects are ignored.
717
718         Default: FALSE if global forwarding is disabled (default),
719                  otherwise TRUE.
720
721 hop_limit - INTEGER
722         Default Hop Limit to set.
723         Default: 64
724
725 mtu - INTEGER
726         Default Maximum Transfer Unit
727         Default: 1280 (IPv6 required minimum)
728
729 router_solicitation_delay - INTEGER
730         Number of seconds to wait after interface is brought up
731         before sending Router Solicitations.
732         Default: 1
733
734 router_solicitation_interval - INTEGER
735         Number of seconds to wait between Router Solicitations.
736         Default: 4
737
738 router_solicitations - INTEGER
739         Number of Router Solicitations to send until assuming no 
740         routers are present.
741         Default: 3
742
743 use_tempaddr - INTEGER
744         Preference for Privacy Extensions (RFC3041).
745           <= 0 : disable Privacy Extensions
746           == 1 : enable Privacy Extensions, but prefer public
747                  addresses over temporary addresses.
748           >  1 : enable Privacy Extensions and prefer temporary
749                  addresses over public addresses.
750         Default:  0 (for most devices)
751                  -1 (for point-to-point devices and loopback devices)
752
753 temp_valid_lft - INTEGER
754         valid lifetime (in seconds) for temporary addresses.
755         Default: 604800 (7 days)
756
757 temp_prefered_lft - INTEGER
758         Preferred lifetime (in seconds) for temporary addresses.
759         Default: 86400 (1 day)
760
761 max_desync_factor - INTEGER
762         Maximum value for DESYNC_FACTOR, which is a random value
763         that ensures that clients don't synchronize with each 
764         other and generate new addresses at exactly the same time.
765         value is in seconds.
766         Default: 600
767         
768 regen_max_retry - INTEGER
769         Number of attempts before give up attempting to generate
770         valid temporary addresses.
771         Default: 5
772
773 max_addresses - INTEGER
774         Number of maximum addresses per interface.  0 disables limitation.
775         It is recommended not set too large value (or 0) because it would 
776         be too easy way to crash kernel to allow to create too much of 
777         autoconfigured addresses.
778         Default: 16
779
780 icmp/*:
781 ratelimit - INTEGER
782         Limit the maximal rates for sending ICMPv6 packets.
783         0 to disable any limiting, otherwise the maximal rate in jiffies(1)
784         Default: 100
785
786
787 IPv6 Update by:
788 Pekka Savola <pekkas@netcore.fi>
789 YOSHIFUJI Hideaki / USAGI Project <yoshfuji@linux-ipv6.org>
790
791
792 /proc/sys/net/bridge/* Variables:
793
794 bridge-nf-call-arptables - BOOLEAN
795         1 : pass bridged ARP traffic to arptables' FORWARD chain.
796         0 : disable this.
797         Default: 1
798
799 bridge-nf-call-iptables - BOOLEAN
800         1 : pass bridged IPv4 traffic to iptables' chains.
801         0 : disable this.
802         Default: 1
803
804 bridge-nf-call-ip6tables - BOOLEAN
805         1 : pass bridged IPv6 traffic to ip6tables' chains.
806         0 : disable this.
807         Default: 1
808
809 bridge-nf-filter-vlan-tagged - BOOLEAN
810         1 : pass bridged vlan-tagged ARP/IP traffic to arptables/iptables.
811         0 : disable this.
812         Default: 1
813
814
815 UNDOCUMENTED:
816
817 dev_weight FIXME
818 discovery_slots FIXME
819 discovery_timeout FIXME
820 fast_poll_increase FIXME
821 ip6_queue_maxlen FIXME
822 lap_keepalive_time FIXME
823 lo_cong FIXME
824 max_baud_rate FIXME
825 max_dgram_qlen FIXME
826 max_noreply_time FIXME
827 max_tx_data_size FIXME
828 max_tx_window FIXME
829 min_tx_turn_time FIXME
830 mod_cong FIXME
831 no_cong FIXME
832 no_cong_thresh FIXME
833 slot_timeout FIXME
834 warn_noreply_time FIXME
835
836 $Id: ip-sysctl.txt,v 1.20 2001/12/13 09:00:18 davem Exp $