blob: 65895bb514146b58d5857d26fd3336c16c65adf3 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/proc/sys/net/ipv4/* Variables:
2
3ip_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
13ip_default_ttl - INTEGER
14 default 64
15
16ip_no_pmtu_disc - BOOLEAN
17 Disable Path MTU Discovery.
18 default FALSE
19
20min_pmtu - INTEGER
21 default 562 - minimum discovered Path MTU
22
23mtu_expires - INTEGER
24 Time, in seconds, that cached PMTU information is kept.
25
26min_adv_mss - INTEGER
27 The advertised MSS depends on the first hop route MTU, but will
28 never be lower than this setting.
29
30IP Fragmentation:
31
32ipfrag_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
38ipfrag_low_thresh - INTEGER
39 See ipfrag_high_thresh
40
41ipfrag_time - INTEGER
42 Time in seconds to keep an IP fragment in memory.
43
44ipfrag_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
49INET peer storage:
50
51inet_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
57inet_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
63inet_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
69inet_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
74inet_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
79TCP variables:
80
81tcp_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
86tcp_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
91tcp_keepalive_time - INTEGER
92 How often TCP sends out keepalive messages when keepalive is enabled.
93 Default: 2hours.
94
95tcp_keepalive_probes - INTEGER
96 How many keepalive probes TCP sends out, until it decides that the
97 connection is broken. Default value: 9.
98
99tcp_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
105tcp_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
111tcp_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
117tcp_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
124tcp_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
135tcp_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
143tcp_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
148tcp_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
154tcp_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
166tcp_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
174tcp_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
195tcp_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
201tcp_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
208tcp_window_scaling - BOOLEAN
209 Enable window scaling as defined in RFC1323.
210
211tcp_timestamps - BOOLEAN
212 Enable timestamps as defined in RFC1323.
213
214tcp_sack - BOOLEAN
215 Enable select acknowledgments (SACKS).
216
217tcp_fack - BOOLEAN
218 Enable FACK congestion avoidance and fast retransmission.
219 The value is not used, if tcp_sack is not enabled.
220
221tcp_dsack - BOOLEAN
222 Allows TCP to send "duplicate" SACKs.
223
224tcp_ecn - BOOLEAN
225 Enable Explicit Congestion Notification in TCP.
226
227tcp_reordering - INTEGER
228 Maximal reordering of packets in a TCP stream.
229 Default: 3
230
231tcp_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
236tcp_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
251tcp_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
268tcp_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
282tcp_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
287tcp_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
293tcp_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
299tcp_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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700307tcp_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.
Akinobu Mitae83b8602005-10-21 18:00:48 +0900312 Default: 3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700313
314tcp_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
Stephen Hemminger9d7bcfc2005-06-23 12:22:36 -0700320tcp_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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700325somaxconn - 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
330IP Variables:
331
332ip_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
345ip_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
350ip_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
357icmp_echo_ignore_all - BOOLEAN
David S. Miller7ce312462005-10-03 16:07:30 -0700358 If set non-zero, then the kernel will ignore all ICMP ECHO
359 requests sent to it.
360 Default: 0
361
Linus Torvalds1da177e2005-04-16 15:20:36 -0700362icmp_echo_ignore_broadcasts - BOOLEAN
David S. Miller7ce312462005-10-03 16:07:30 -0700363 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700366
367icmp_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
373icmp_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
395icmp_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
402igmp_max_memberships - INTEGER
403 Change the maximum number of multicast groups we can subscribe to.
404 Default: 20
405
406conf/interface/* changes special settings per interface (where "interface" is
407 the name of your network interface)
408conf/all/* is special, changes the settings for all interfaces
409
410
411log_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
417accept_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
429forwarding - BOOLEAN
430 Enable IP forwarding on this interface.
431
432mc_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
438medium_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
449proxy_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
455shared_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
463secure_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
471send_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
478bootp_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
487accept_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
494rp_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
509arp_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
528arp_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
559arp_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
577app_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
582disable_policy - BOOLEAN
583 Disable IPSEC policy (SPD) for this interface
584
585disable_xfrm - BOOLEAN
586 Disable IPSEC encryption on this interface, whatever the policy
587
588
589
590tag - 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
595Alpha 1/1024s. See the HZ define in /usr/include/asm/param.h for the exact
596value on your system.
597
598Alexey Kuznetsov.
599kuznet@ms2.inr.ac.ru
600
601Updated by:
602Andi Kleen
603ak@muc.de
604Nicolas Delon
605delon.nicolas@wanadoo.fr
606
607
608
609
610/proc/sys/net/ipv6/* Variables:
611
612IPv6 has no global variables such as tcp_*. tcp_* settings under ipv4/ also
613apply to IPv6 [XXX?].
614
615bindv6only - 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
624IPv6 Fragmentation:
625
626ip6frag_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
632ip6frag_low_thresh - INTEGER
633 See ip6frag_high_thresh
634
635ip6frag_time - INTEGER
636 Time in seconds to keep an IPv6 fragment in memory.
637
638ip6frag_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
643conf/default/*:
644 Change the interface-specific default settings.
645
646
647conf/all/*:
648 Change all the interface-specific settings.
649
650 [XXX: Other special features than forwarding?]
651
652conf/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
663conf/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
669accept_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
675accept_redirects - BOOLEAN
676 Accept Redirects.
677
678 Functional default: enabled if local forwarding is disabled.
679 disabled if local forwarding is enabled.
680
681autoconf - 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
688dad_transmits - INTEGER
689 The amount of Duplicate Address Detection probes to send.
690 Default: 1
691
692forwarding - 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
721hop_limit - INTEGER
722 Default Hop Limit to set.
723 Default: 64
724
725mtu - INTEGER
726 Default Maximum Transfer Unit
727 Default: 1280 (IPv6 required minimum)
728
729router_solicitation_delay - INTEGER
730 Number of seconds to wait after interface is brought up
731 before sending Router Solicitations.
732 Default: 1
733
734router_solicitation_interval - INTEGER
735 Number of seconds to wait between Router Solicitations.
736 Default: 4
737
738router_solicitations - INTEGER
739 Number of Router Solicitations to send until assuming no
740 routers are present.
741 Default: 3
742
743use_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
753temp_valid_lft - INTEGER
754 valid lifetime (in seconds) for temporary addresses.
755 Default: 604800 (7 days)
756
757temp_prefered_lft - INTEGER
758 Preferred lifetime (in seconds) for temporary addresses.
759 Default: 86400 (1 day)
760
761max_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
768regen_max_retry - INTEGER
769 Number of attempts before give up attempting to generate
770 valid temporary addresses.
771 Default: 5
772
773max_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
780icmp/*:
781ratelimit - 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
787IPv6 Update by:
788Pekka Savola <pekkas@netcore.fi>
789YOSHIFUJI Hideaki / USAGI Project <yoshfuji@linux-ipv6.org>
790
791
792/proc/sys/net/bridge/* Variables:
793
794bridge-nf-call-arptables - BOOLEAN
795 1 : pass bridged ARP traffic to arptables' FORWARD chain.
796 0 : disable this.
797 Default: 1
798
799bridge-nf-call-iptables - BOOLEAN
800 1 : pass bridged IPv4 traffic to iptables' chains.
801 0 : disable this.
802 Default: 1
803
804bridge-nf-call-ip6tables - BOOLEAN
805 1 : pass bridged IPv6 traffic to ip6tables' chains.
806 0 : disable this.
807 Default: 1
808
809bridge-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
815UNDOCUMENTED:
816
817dev_weight FIXME
818discovery_slots FIXME
819discovery_timeout FIXME
820fast_poll_increase FIXME
821ip6_queue_maxlen FIXME
822lap_keepalive_time FIXME
823lo_cong FIXME
824max_baud_rate FIXME
825max_dgram_qlen FIXME
826max_noreply_time FIXME
827max_tx_data_size FIXME
828max_tx_window FIXME
829min_tx_turn_time FIXME
830mod_cong FIXME
831no_cong FIXME
832no_cong_thresh FIXME
833slot_timeout FIXME
834warn_noreply_time FIXME
835
836$Id: ip-sysctl.txt,v 1.20 2001/12/13 09:00:18 davem Exp $