ip-sysctl.txt 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422
  1. /proc/sys/net/ipv4/* Variables:
  2. ip_forward - BOOLEAN
  3. 0 - disabled (default)
  4. not 0 - enabled
  5. Forward Packets between interfaces.
  6. This variable is special, its change resets all configuration
  7. parameters to their default state (RFC1122 for hosts, RFC1812
  8. for routers)
  9. ip_default_ttl - INTEGER
  10. default 64
  11. ip_no_pmtu_disc - BOOLEAN
  12. Disable Path MTU Discovery.
  13. default FALSE
  14. min_pmtu - INTEGER
  15. default 562 - minimum discovered Path MTU
  16. mtu_expires - INTEGER
  17. Time, in seconds, that cached PMTU information is kept.
  18. min_adv_mss - INTEGER
  19. The advertised MSS depends on the first hop route MTU, but will
  20. never be lower than this setting.
  21. rt_cache_rebuild_count - INTEGER
  22. The per net-namespace route cache emergency rebuild threshold.
  23. Any net-namespace having its route cache rebuilt due to
  24. a hash bucket chain being too long more than this many times
  25. will have its route caching disabled
  26. IP Fragmentation:
  27. ipfrag_high_thresh - INTEGER
  28. Maximum memory used to reassemble IP fragments. When
  29. ipfrag_high_thresh bytes of memory is allocated for this purpose,
  30. the fragment handler will toss packets until ipfrag_low_thresh
  31. is reached.
  32. ipfrag_low_thresh - INTEGER
  33. See ipfrag_high_thresh
  34. ipfrag_time - INTEGER
  35. Time in seconds to keep an IP fragment in memory.
  36. ipfrag_secret_interval - INTEGER
  37. Regeneration interval (in seconds) of the hash secret (or lifetime
  38. for the hash secret) for IP fragments.
  39. Default: 600
  40. ipfrag_max_dist - INTEGER
  41. ipfrag_max_dist is a non-negative integer value which defines the
  42. maximum "disorder" which is allowed among fragments which share a
  43. common IP source address. Note that reordering of packets is
  44. not unusual, but if a large number of fragments arrive from a source
  45. IP address while a particular fragment queue remains incomplete, it
  46. probably indicates that one or more fragments belonging to that queue
  47. have been lost. When ipfrag_max_dist is positive, an additional check
  48. is done on fragments before they are added to a reassembly queue - if
  49. ipfrag_max_dist (or more) fragments have arrived from a particular IP
  50. address between additions to any IP fragment queue using that source
  51. address, it's presumed that one or more fragments in the queue are
  52. lost. The existing fragment queue will be dropped, and a new one
  53. started. An ipfrag_max_dist value of zero disables this check.
  54. Using a very small value, e.g. 1 or 2, for ipfrag_max_dist can
  55. result in unnecessarily dropping fragment queues when normal
  56. reordering of packets occurs, which could lead to poor application
  57. performance. Using a very large value, e.g. 50000, increases the
  58. likelihood of incorrectly reassembling IP fragments that originate
  59. from different IP datagrams, which could result in data corruption.
  60. Default: 64
  61. INET peer storage:
  62. inet_peer_threshold - INTEGER
  63. The approximate size of the storage. Starting from this threshold
  64. entries will be thrown aggressively. This threshold also determines
  65. entries' time-to-live and time intervals between garbage collection
  66. passes. More entries, less time-to-live, less GC interval.
  67. inet_peer_minttl - INTEGER
  68. Minimum time-to-live of entries. Should be enough to cover fragment
  69. time-to-live on the reassembling side. This minimum time-to-live is
  70. guaranteed if the pool size is less than inet_peer_threshold.
  71. Measured in seconds.
  72. inet_peer_maxttl - INTEGER
  73. Maximum time-to-live of entries. Unused entries will expire after
  74. this period of time if there is no memory pressure on the pool (i.e.
  75. when the number of entries in the pool is very small).
  76. Measured in seconds.
  77. inet_peer_gc_mintime - INTEGER
  78. Minimum interval between garbage collection passes. This interval is
  79. in effect under high memory pressure on the pool.
  80. Measured in seconds.
  81. inet_peer_gc_maxtime - INTEGER
  82. Minimum interval between garbage collection passes. This interval is
  83. in effect under low (or absent) memory pressure on the pool.
  84. Measured in seconds.
  85. TCP variables:
  86. somaxconn - INTEGER
  87. Limit of socket listen() backlog, known in userspace as SOMAXCONN.
  88. Defaults to 128. See also tcp_max_syn_backlog for additional tuning
  89. for TCP sockets.
  90. tcp_abc - INTEGER
  91. Controls Appropriate Byte Count (ABC) defined in RFC3465.
  92. ABC is a way of increasing congestion window (cwnd) more slowly
  93. in response to partial acknowledgments.
  94. Possible values are:
  95. 0 increase cwnd once per acknowledgment (no ABC)
  96. 1 increase cwnd once per acknowledgment of full sized segment
  97. 2 allow increase cwnd by two if acknowledgment is
  98. of two segments to compensate for delayed acknowledgments.
  99. Default: 0 (off)
  100. tcp_abort_on_overflow - BOOLEAN
  101. If listening service is too slow to accept new connections,
  102. reset them. Default state is FALSE. It means that if overflow
  103. occurred due to a burst, connection will recover. Enable this
  104. option _only_ if you are really sure that listening daemon
  105. cannot be tuned to accept connections faster. Enabling this
  106. option can harm clients of your server.
  107. tcp_adv_win_scale - INTEGER
  108. Count buffering overhead as bytes/2^tcp_adv_win_scale
  109. (if tcp_adv_win_scale > 0) or bytes-bytes/2^(-tcp_adv_win_scale),
  110. if it is <= 0.
  111. Default: 2
  112. tcp_allowed_congestion_control - STRING
  113. Show/set the congestion control choices available to non-privileged
  114. processes. The list is a subset of those listed in
  115. tcp_available_congestion_control.
  116. Default is "reno" and the default setting (tcp_congestion_control).
  117. tcp_app_win - INTEGER
  118. Reserve max(window/2^tcp_app_win, mss) of window for application
  119. buffer. Value 0 is special, it means that nothing is reserved.
  120. Default: 31
  121. tcp_available_congestion_control - STRING
  122. Shows the available congestion control choices that are registered.
  123. More congestion control algorithms may be available as modules,
  124. but not loaded.
  125. tcp_base_mss - INTEGER
  126. The initial value of search_low to be used by the packetization layer
  127. Path MTU discovery (MTU probing). If MTU probing is enabled,
  128. this is the initial MSS used by the connection.
  129. tcp_congestion_control - STRING
  130. Set the congestion control algorithm to be used for new
  131. connections. The algorithm "reno" is always available, but
  132. additional choices may be available based on kernel configuration.
  133. Default is set as part of kernel configuration.
  134. tcp_cookie_size - INTEGER
  135. Default size of TCP Cookie Transactions (TCPCT) option, that may be
  136. overridden on a per socket basis by the TCPCT socket option.
  137. Values greater than the maximum (16) are interpreted as the maximum.
  138. Values greater than zero and less than the minimum (8) are interpreted
  139. as the minimum. Odd values are interpreted as the next even value.
  140. Default: 0 (off).
  141. tcp_dsack - BOOLEAN
  142. Allows TCP to send "duplicate" SACKs.
  143. tcp_ecn - BOOLEAN
  144. Enable Explicit Congestion Notification (ECN) in TCP. ECN is only
  145. used when both ends of the TCP flow support it. It is useful to
  146. avoid losses due to congestion (when the bottleneck router supports
  147. ECN).
  148. Possible values are:
  149. 0 disable ECN
  150. 1 ECN enabled
  151. 2 Only server-side ECN enabled. If the other end does
  152. not support ECN, behavior is like with ECN disabled.
  153. Default: 2
  154. tcp_fack - BOOLEAN
  155. Enable FACK congestion avoidance and fast retransmission.
  156. The value is not used, if tcp_sack is not enabled.
  157. tcp_fin_timeout - INTEGER
  158. Time to hold socket in state FIN-WAIT-2, if it was closed
  159. by our side. Peer can be broken and never close its side,
  160. or even died unexpectedly. Default value is 60sec.
  161. Usual value used in 2.2 was 180 seconds, you may restore
  162. it, but remember that if your machine is even underloaded WEB server,
  163. you risk to overflow memory with kilotons of dead sockets,
  164. FIN-WAIT-2 sockets are less dangerous than FIN-WAIT-1,
  165. because they eat maximum 1.5K of memory, but they tend
  166. to live longer. Cf. tcp_max_orphans.
  167. tcp_frto - INTEGER
  168. Enables Forward RTO-Recovery (F-RTO) defined in RFC4138.
  169. F-RTO is an enhanced recovery algorithm for TCP retransmission
  170. timeouts. It is particularly beneficial in wireless environments
  171. where packet loss is typically due to random radio interference
  172. rather than intermediate router congestion. F-RTO is sender-side
  173. only modification. Therefore it does not require any support from
  174. the peer.
  175. If set to 1, basic version is enabled. 2 enables SACK enhanced
  176. F-RTO if flow uses SACK. The basic version can be used also when
  177. SACK is in use though scenario(s) with it exists where F-RTO
  178. interacts badly with the packet counting of the SACK enabled TCP
  179. flow.
  180. tcp_frto_response - INTEGER
  181. When F-RTO has detected that a TCP retransmission timeout was
  182. spurious (i.e, the timeout would have been avoided had TCP set a
  183. longer retransmission timeout), TCP has several options what to do
  184. next. Possible values are:
  185. 0 Rate halving based; a smooth and conservative response,
  186. results in halved cwnd and ssthresh after one RTT
  187. 1 Very conservative response; not recommended because even
  188. though being valid, it interacts poorly with the rest of
  189. Linux TCP, halves cwnd and ssthresh immediately
  190. 2 Aggressive response; undoes congestion control measures
  191. that are now known to be unnecessary (ignoring the
  192. possibility of a lost retransmission that would require
  193. TCP to be more cautious), cwnd and ssthresh are restored
  194. to the values prior timeout
  195. Default: 0 (rate halving based)
  196. tcp_keepalive_time - INTEGER
  197. How often TCP sends out keepalive messages when keepalive is enabled.
  198. Default: 2hours.
  199. tcp_keepalive_probes - INTEGER
  200. How many keepalive probes TCP sends out, until it decides that the
  201. connection is broken. Default value: 9.
  202. tcp_keepalive_intvl - INTEGER
  203. How frequently the probes are send out. Multiplied by
  204. tcp_keepalive_probes it is time to kill not responding connection,
  205. after probes started. Default value: 75sec i.e. connection
  206. will be aborted after ~11 minutes of retries.
  207. tcp_low_latency - BOOLEAN
  208. If set, the TCP stack makes decisions that prefer lower
  209. latency as opposed to higher throughput. By default, this
  210. option is not set meaning that higher throughput is preferred.
  211. An example of an application where this default should be
  212. changed would be a Beowulf compute cluster.
  213. Default: 0
  214. tcp_max_orphans - INTEGER
  215. Maximal number of TCP sockets not attached to any user file handle,
  216. held by system. If this number is exceeded orphaned connections are
  217. reset immediately and warning is printed. This limit exists
  218. only to prevent simple DoS attacks, you _must_ not rely on this
  219. or lower the limit artificially, but rather increase it
  220. (probably, after increasing installed memory),
  221. if network conditions require more than default value,
  222. and tune network services to linger and kill such states
  223. more aggressively. Let me to remind again: each orphan eats
  224. up to ~64K of unswappable memory.
  225. tcp_max_syn_backlog - INTEGER
  226. Maximal number of remembered connection requests, which are
  227. still did not receive an acknowledgment from connecting client.
  228. Default value is 1024 for systems with more than 128Mb of memory,
  229. and 128 for low memory machines. If server suffers of overload,
  230. try to increase this number.
  231. tcp_max_tw_buckets - INTEGER
  232. Maximal number of timewait sockets held by system simultaneously.
  233. If this number is exceeded time-wait socket is immediately destroyed
  234. and warning is printed. This limit exists only to prevent
  235. simple DoS attacks, you _must_ not lower the limit artificially,
  236. but rather increase it (probably, after increasing installed memory),
  237. if network conditions require more than default value.
  238. tcp_mem - vector of 3 INTEGERs: min, pressure, max
  239. min: below this number of pages TCP is not bothered about its
  240. memory appetite.
  241. pressure: when amount of memory allocated by TCP exceeds this number
  242. of pages, TCP moderates its memory consumption and enters memory
  243. pressure mode, which is exited when memory consumption falls
  244. under "min".
  245. max: number of pages allowed for queueing by all TCP sockets.
  246. Defaults are calculated at boot time from amount of available
  247. memory.
  248. tcp_moderate_rcvbuf - BOOLEAN
  249. If set, TCP performs receive buffer auto-tuning, attempting to
  250. automatically size the buffer (no greater than tcp_rmem[2]) to
  251. match the size required by the path for full throughput. Enabled by
  252. default.
  253. tcp_mtu_probing - INTEGER
  254. Controls TCP Packetization-Layer Path MTU Discovery. Takes three
  255. values:
  256. 0 - Disabled
  257. 1 - Disabled by default, enabled when an ICMP black hole detected
  258. 2 - Always enabled, use initial MSS of tcp_base_mss.
  259. tcp_no_metrics_save - BOOLEAN
  260. By default, TCP saves various connection metrics in the route cache
  261. when the connection closes, so that connections established in the
  262. near future can use these to set initial conditions. Usually, this
  263. increases overall performance, but may sometimes cause performance
  264. degradation. If set, TCP will not cache metrics on closing
  265. connections.
  266. tcp_orphan_retries - INTEGER
  267. This value influences the timeout of a locally closed TCP connection,
  268. when RTO retransmissions remain unacknowledged.
  269. See tcp_retries2 for more details.
  270. The default value is 7.
  271. If your machine is a loaded WEB server,
  272. you should think about lowering this value, such sockets
  273. may consume significant resources. Cf. tcp_max_orphans.
  274. tcp_reordering - INTEGER
  275. Maximal reordering of packets in a TCP stream.
  276. Default: 3
  277. tcp_retrans_collapse - BOOLEAN
  278. Bug-to-bug compatibility with some broken printers.
  279. On retransmit try to send bigger packets to work around bugs in
  280. certain TCP stacks.
  281. tcp_retries1 - INTEGER
  282. This value influences the time, after which TCP decides, that
  283. something is wrong due to unacknowledged RTO retransmissions,
  284. and reports this suspicion to the network layer.
  285. See tcp_retries2 for more details.
  286. RFC 1122 recommends at least 3 retransmissions, which is the
  287. default.
  288. tcp_retries2 - INTEGER
  289. This value influences the timeout of an alive TCP connection,
  290. when RTO retransmissions remain unacknowledged.
  291. Given a value of N, a hypothetical TCP connection following
  292. exponential backoff with an initial RTO of TCP_RTO_MIN would
  293. retransmit N times before killing the connection at the (N+1)th RTO.
  294. The default value of 15 yields a hypothetical timeout of 924.6
  295. seconds and is a lower bound for the effective timeout.
  296. TCP will effectively time out at the first RTO which exceeds the
  297. hypothetical timeout.
  298. RFC 1122 recommends at least 100 seconds for the timeout,
  299. which corresponds to a value of at least 8.
  300. tcp_rfc1337 - BOOLEAN
  301. If set, the TCP stack behaves conforming to RFC1337. If unset,
  302. we are not conforming to RFC, but prevent TCP TIME_WAIT
  303. assassination.
  304. Default: 0
  305. tcp_rmem - vector of 3 INTEGERs: min, default, max
  306. min: Minimal size of receive buffer used by TCP sockets.
  307. It is guaranteed to each TCP socket, even under moderate memory
  308. pressure.
  309. Default: 8K
  310. default: initial size of receive buffer used by TCP sockets.
  311. This value overrides net.core.rmem_default used by other protocols.
  312. Default: 87380 bytes. This value results in window of 65535 with
  313. default setting of tcp_adv_win_scale and tcp_app_win:0 and a bit
  314. less for default tcp_app_win. See below about these variables.
  315. max: maximal size of receive buffer allowed for automatically
  316. selected receiver buffers for TCP socket. This value does not override
  317. net.core.rmem_max. Calling setsockopt() with SO_RCVBUF disables
  318. automatic tuning of that socket's receive buffer size, in which
  319. case this value is ignored.
  320. Default: between 87380B and 4MB, depending on RAM size.
  321. tcp_sack - BOOLEAN
  322. Enable select acknowledgments (SACKS).
  323. tcp_slow_start_after_idle - BOOLEAN
  324. If set, provide RFC2861 behavior and time out the congestion
  325. window after an idle period. An idle period is defined at
  326. the current RTO. If unset, the congestion window will not
  327. be timed out after an idle period.
  328. Default: 1
  329. tcp_stdurg - BOOLEAN
  330. Use the Host requirements interpretation of the TCP urgent pointer field.
  331. Most hosts use the older BSD interpretation, so if you turn this on
  332. Linux might not communicate correctly with them.
  333. Default: FALSE
  334. tcp_synack_retries - INTEGER
  335. Number of times SYNACKs for a passive TCP connection attempt will
  336. be retransmitted. Should not be higher than 255. Default value
  337. is 5, which corresponds to ~180seconds.
  338. tcp_syncookies - BOOLEAN
  339. Only valid when the kernel was compiled with CONFIG_SYNCOOKIES
  340. Send out syncookies when the syn backlog queue of a socket
  341. overflows. This is to prevent against the common 'SYN flood attack'
  342. Default: FALSE
  343. Note, that syncookies is fallback facility.
  344. It MUST NOT be used to help highly loaded servers to stand
  345. against legal connection rate. If you see SYN flood warnings
  346. in your logs, but investigation shows that they occur
  347. because of overload with legal connections, you should tune
  348. another parameters until this warning disappear.
  349. See: tcp_max_syn_backlog, tcp_synack_retries, tcp_abort_on_overflow.
  350. syncookies seriously violate TCP protocol, do not allow
  351. to use TCP extensions, can result in serious degradation
  352. of some services (f.e. SMTP relaying), visible not by you,
  353. but your clients and relays, contacting you. While you see
  354. SYN flood warnings in logs not being really flooded, your server
  355. is seriously misconfigured.
  356. tcp_syn_retries - INTEGER
  357. Number of times initial SYNs for an active TCP connection attempt
  358. will be retransmitted. Should not be higher than 255. Default value
  359. is 5, which corresponds to ~180seconds.
  360. tcp_timestamps - BOOLEAN
  361. Enable timestamps as defined in RFC1323.
  362. tcp_tso_win_divisor - INTEGER
  363. This allows control over what percentage of the congestion window
  364. can be consumed by a single TSO frame.
  365. The setting of this parameter is a choice between burstiness and
  366. building larger TSO frames.
  367. Default: 3
  368. tcp_tw_recycle - BOOLEAN
  369. Enable fast recycling TIME-WAIT sockets. Default value is 0.
  370. It should not be changed without advice/request of technical
  371. experts.
  372. tcp_tw_reuse - BOOLEAN
  373. Allow to reuse TIME-WAIT sockets for new connections when it is
  374. safe from protocol viewpoint. Default value is 0.
  375. It should not be changed without advice/request of technical
  376. experts.
  377. tcp_window_scaling - BOOLEAN
  378. Enable window scaling as defined in RFC1323.
  379. tcp_wmem - vector of 3 INTEGERs: min, default, max
  380. min: Amount of memory reserved for send buffers for TCP sockets.
  381. Each TCP socket has rights to use it due to fact of its birth.
  382. Default: 4K
  383. default: initial size of send buffer used by TCP sockets. This
  384. value overrides net.core.wmem_default used by other protocols.
  385. It is usually lower than net.core.wmem_default.
  386. Default: 16K
  387. max: Maximal amount of memory allowed for automatically tuned
  388. send buffers for TCP sockets. This value does not override
  389. net.core.wmem_max. Calling setsockopt() with SO_SNDBUF disables
  390. automatic tuning of that socket's send buffer size, in which case
  391. this value is ignored.
  392. Default: between 64K and 4MB, depending on RAM size.
  393. tcp_workaround_signed_windows - BOOLEAN
  394. If set, assume no receipt of a window scaling option means the
  395. remote TCP is broken and treats the window as a signed quantity.
  396. If unset, assume the remote TCP is not broken even if we do
  397. not receive a window scaling option from them.
  398. Default: 0
  399. tcp_dma_copybreak - INTEGER
  400. Lower limit, in bytes, of the size of socket reads that will be
  401. offloaded to a DMA copy engine, if one is present in the system
  402. and CONFIG_NET_DMA is enabled.
  403. Default: 4096
  404. tcp_thin_linear_timeouts - BOOLEAN
  405. Enable dynamic triggering of linear timeouts for thin streams.
  406. If set, a check is performed upon retransmission by timeout to
  407. determine if the stream is thin (less than 4 packets in flight).
  408. As long as the stream is found to be thin, up to 6 linear
  409. timeouts may be performed before exponential backoff mode is
  410. initiated. This improves retransmission latency for
  411. non-aggressive thin streams, often found to be time-dependent.
  412. For more information on thin streams, see
  413. Documentation/networking/tcp-thin.txt
  414. Default: 0
  415. tcp_thin_dupack - BOOLEAN
  416. Enable dynamic triggering of retransmissions after one dupACK
  417. for thin streams. If set, a check is performed upon reception
  418. of a dupACK to determine if the stream is thin (less than 4
  419. packets in flight). As long as the stream is found to be thin,
  420. data is retransmitted on the first received dupACK. This
  421. improves retransmission latency for non-aggressive thin
  422. streams, often found to be time-dependent.
  423. For more information on thin streams, see
  424. Documentation/networking/tcp-thin.txt
  425. Default: 0
  426. UDP variables:
  427. udp_mem - vector of 3 INTEGERs: min, pressure, max
  428. Number of pages allowed for queueing by all UDP sockets.
  429. min: Below this number of pages UDP is not bothered about its
  430. memory appetite. When amount of memory allocated by UDP exceeds
  431. this number, UDP starts to moderate memory usage.
  432. pressure: This value was introduced to follow format of tcp_mem.
  433. max: Number of pages allowed for queueing by all UDP sockets.
  434. Default is calculated at boot time from amount of available memory.
  435. udp_rmem_min - INTEGER
  436. Minimal size of receive buffer used by UDP sockets in moderation.
  437. Each UDP socket is able to use the size for receiving data, even if
  438. total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
  439. Default: 4096
  440. udp_wmem_min - INTEGER
  441. Minimal size of send buffer used by UDP sockets in moderation.
  442. Each UDP socket is able to use the size for sending data, even if
  443. total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
  444. Default: 4096
  445. CIPSOv4 Variables:
  446. cipso_cache_enable - BOOLEAN
  447. If set, enable additions to and lookups from the CIPSO label mapping
  448. cache. If unset, additions are ignored and lookups always result in a
  449. miss. However, regardless of the setting the cache is still
  450. invalidated when required when means you can safely toggle this on and
  451. off and the cache will always be "safe".
  452. Default: 1
  453. cipso_cache_bucket_size - INTEGER
  454. The CIPSO label cache consists of a fixed size hash table with each
  455. hash bucket containing a number of cache entries. This variable limits
  456. the number of entries in each hash bucket; the larger the value the
  457. more CIPSO label mappings that can be cached. When the number of
  458. entries in a given hash bucket reaches this limit adding new entries
  459. causes the oldest entry in the bucket to be removed to make room.
  460. Default: 10
  461. cipso_rbm_optfmt - BOOLEAN
  462. Enable the "Optimized Tag 1 Format" as defined in section 3.4.2.6 of
  463. the CIPSO draft specification (see Documentation/netlabel for details).
  464. This means that when set the CIPSO tag will be padded with empty
  465. categories in order to make the packet data 32-bit aligned.
  466. Default: 0
  467. cipso_rbm_structvalid - BOOLEAN
  468. If set, do a very strict check of the CIPSO option when
  469. ip_options_compile() is called. If unset, relax the checks done during
  470. ip_options_compile(). Either way is "safe" as errors are caught else
  471. where in the CIPSO processing code but setting this to 0 (False) should
  472. result in less work (i.e. it should be faster) but could cause problems
  473. with other implementations that require strict checking.
  474. Default: 0
  475. IP Variables:
  476. ip_local_port_range - 2 INTEGERS
  477. Defines the local port range that is used by TCP and UDP to
  478. choose the local port. The first number is the first, the
  479. second the last local port number. Default value depends on
  480. amount of memory available on the system:
  481. > 128Mb 32768-61000
  482. < 128Mb 1024-4999 or even less.
  483. This number defines number of active connections, which this
  484. system can issue simultaneously to systems not supporting
  485. TCP extensions (timestamps). With tcp_tw_recycle enabled
  486. (i.e. by default) range 1024-4999 is enough to issue up to
  487. 2000 connections per second to systems supporting timestamps.
  488. ip_nonlocal_bind - BOOLEAN
  489. If set, allows processes to bind() to non-local IP addresses,
  490. which can be quite useful - but may break some applications.
  491. Default: 0
  492. ip_dynaddr - BOOLEAN
  493. If set non-zero, enables support for dynamic addresses.
  494. If set to a non-zero value larger than 1, a kernel log
  495. message will be printed when dynamic address rewriting
  496. occurs.
  497. Default: 0
  498. icmp_echo_ignore_all - BOOLEAN
  499. If set non-zero, then the kernel will ignore all ICMP ECHO
  500. requests sent to it.
  501. Default: 0
  502. icmp_echo_ignore_broadcasts - BOOLEAN
  503. If set non-zero, then the kernel will ignore all ICMP ECHO and
  504. TIMESTAMP requests sent to it via broadcast/multicast.
  505. Default: 1
  506. icmp_ratelimit - INTEGER
  507. Limit the maximal rates for sending ICMP packets whose type matches
  508. icmp_ratemask (see below) to specific targets.
  509. 0 to disable any limiting,
  510. otherwise the minimal space between responses in milliseconds.
  511. Default: 1000
  512. icmp_ratemask - INTEGER
  513. Mask made of ICMP types for which rates are being limited.
  514. Significant bits: IHGFEDCBA9876543210
  515. Default mask: 0000001100000011000 (6168)
  516. Bit definitions (see include/linux/icmp.h):
  517. 0 Echo Reply
  518. 3 Destination Unreachable *
  519. 4 Source Quench *
  520. 5 Redirect
  521. 8 Echo Request
  522. B Time Exceeded *
  523. C Parameter Problem *
  524. D Timestamp Request
  525. E Timestamp Reply
  526. F Info Request
  527. G Info Reply
  528. H Address Mask Request
  529. I Address Mask Reply
  530. * These are rate limited by default (see default mask above)
  531. icmp_ignore_bogus_error_responses - BOOLEAN
  532. Some routers violate RFC1122 by sending bogus responses to broadcast
  533. frames. Such violations are normally logged via a kernel warning.
  534. If this is set to TRUE, the kernel will not give such warnings, which
  535. will avoid log file clutter.
  536. Default: FALSE
  537. icmp_errors_use_inbound_ifaddr - BOOLEAN
  538. If zero, icmp error messages are sent with the primary address of
  539. the exiting interface.
  540. If non-zero, the message will be sent with the primary address of
  541. the interface that received the packet that caused the icmp error.
  542. This is the behaviour network many administrators will expect from
  543. a router. And it can make debugging complicated network layouts
  544. much easier.
  545. Note that if no primary address exists for the interface selected,
  546. then the primary address of the first non-loopback interface that
  547. has one will be used regardless of this setting.
  548. Default: 0
  549. igmp_max_memberships - INTEGER
  550. Change the maximum number of multicast groups we can subscribe to.
  551. Default: 20
  552. conf/interface/* changes special settings per interface (where "interface" is
  553. the name of your network interface)
  554. conf/all/* is special, changes the settings for all interfaces
  555. log_martians - BOOLEAN
  556. Log packets with impossible addresses to kernel log.
  557. log_martians for the interface will be enabled if at least one of
  558. conf/{all,interface}/log_martians is set to TRUE,
  559. it will be disabled otherwise
  560. accept_redirects - BOOLEAN
  561. Accept ICMP redirect messages.
  562. accept_redirects for the interface will be enabled if:
  563. - both conf/{all,interface}/accept_redirects are TRUE in the case
  564. forwarding for the interface is enabled
  565. or
  566. - at least one of conf/{all,interface}/accept_redirects is TRUE in the
  567. case forwarding for the interface is disabled
  568. accept_redirects for the interface will be disabled otherwise
  569. default TRUE (host)
  570. FALSE (router)
  571. forwarding - BOOLEAN
  572. Enable IP forwarding on this interface.
  573. mc_forwarding - BOOLEAN
  574. Do multicast routing. The kernel needs to be compiled with CONFIG_MROUTE
  575. and a multicast routing daemon is required.
  576. conf/all/mc_forwarding must also be set to TRUE to enable multicast
  577. routing for the interface
  578. medium_id - INTEGER
  579. Integer value used to differentiate the devices by the medium they
  580. are attached to. Two devices can have different id values when
  581. the broadcast packets are received only on one of them.
  582. The default value 0 means that the device is the only interface
  583. to its medium, value of -1 means that medium is not known.
  584. Currently, it is used to change the proxy_arp behavior:
  585. the proxy_arp feature is enabled for packets forwarded between
  586. two devices attached to different media.
  587. proxy_arp - BOOLEAN
  588. Do proxy arp.
  589. proxy_arp for the interface will be enabled if at least one of
  590. conf/{all,interface}/proxy_arp is set to TRUE,
  591. it will be disabled otherwise
  592. proxy_arp_pvlan - BOOLEAN
  593. Private VLAN proxy arp.
  594. Basically allow proxy arp replies back to the same interface
  595. (from which the ARP request/solicitation was received).
  596. This is done to support (ethernet) switch features, like RFC
  597. 3069, where the individual ports are NOT allowed to
  598. communicate with each other, but they are allowed to talk to
  599. the upstream router. As described in RFC 3069, it is possible
  600. to allow these hosts to communicate through the upstream
  601. router by proxy_arp'ing. Don't need to be used together with
  602. proxy_arp.
  603. This technology is known by different names:
  604. In RFC 3069 it is called VLAN Aggregation.
  605. Cisco and Allied Telesyn call it Private VLAN.
  606. Hewlett-Packard call it Source-Port filtering or port-isolation.
  607. Ericsson call it MAC-Forced Forwarding (RFC Draft).
  608. shared_media - BOOLEAN
  609. Send(router) or accept(host) RFC1620 shared media redirects.
  610. Overrides ip_secure_redirects.
  611. shared_media for the interface will be enabled if at least one of
  612. conf/{all,interface}/shared_media is set to TRUE,
  613. it will be disabled otherwise
  614. default TRUE
  615. secure_redirects - BOOLEAN
  616. Accept ICMP redirect messages only for gateways,
  617. listed in default gateway list.
  618. secure_redirects for the interface will be enabled if at least one of
  619. conf/{all,interface}/secure_redirects is set to TRUE,
  620. it will be disabled otherwise
  621. default TRUE
  622. send_redirects - BOOLEAN
  623. Send redirects, if router.
  624. send_redirects for the interface will be enabled if at least one of
  625. conf/{all,interface}/send_redirects is set to TRUE,
  626. it will be disabled otherwise
  627. Default: TRUE
  628. bootp_relay - BOOLEAN
  629. Accept packets with source address 0.b.c.d destined
  630. not to this host as local ones. It is supposed, that
  631. BOOTP relay daemon will catch and forward such packets.
  632. conf/all/bootp_relay must also be set to TRUE to enable BOOTP relay
  633. for the interface
  634. default FALSE
  635. Not Implemented Yet.
  636. accept_source_route - BOOLEAN
  637. Accept packets with SRR option.
  638. conf/all/accept_source_route must also be set to TRUE to accept packets
  639. with SRR option on the interface
  640. default TRUE (router)
  641. FALSE (host)
  642. accept_local - BOOLEAN
  643. Accept packets with local source addresses. In combination with
  644. suitable routing, this can be used to direct packets between two
  645. local interfaces over the wire and have them accepted properly.
  646. default FALSE
  647. rp_filter - INTEGER
  648. 0 - No source validation.
  649. 1 - Strict mode as defined in RFC3704 Strict Reverse Path
  650. Each incoming packet is tested against the FIB and if the interface
  651. is not the best reverse path the packet check will fail.
  652. By default failed packets are discarded.
  653. 2 - Loose mode as defined in RFC3704 Loose Reverse Path
  654. Each incoming packet's source address is also tested against the FIB
  655. and if the source address is not reachable via any interface
  656. the packet check will fail.
  657. Current recommended practice in RFC3704 is to enable strict mode
  658. to prevent IP spoofing from DDos attacks. If using asymmetric routing
  659. or other complicated routing, then loose mode is recommended.
  660. The max value from conf/{all,interface}/rp_filter is used
  661. when doing source validation on the {interface}.
  662. Default value is 0. Note that some distributions enable it
  663. in startup scripts.
  664. arp_filter - BOOLEAN
  665. 1 - Allows you to have multiple network interfaces on the same
  666. subnet, and have the ARPs for each interface be answered
  667. based on whether or not the kernel would route a packet from
  668. the ARP'd IP out that interface (therefore you must use source
  669. based routing for this to work). In other words it allows control
  670. of which cards (usually 1) will respond to an arp request.
  671. 0 - (default) The kernel can respond to arp requests with addresses
  672. from other interfaces. This may seem wrong but it usually makes
  673. sense, because it increases the chance of successful communication.
  674. IP addresses are owned by the complete host on Linux, not by
  675. particular interfaces. Only for more complex setups like load-
  676. balancing, does this behaviour cause problems.
  677. arp_filter for the interface will be enabled if at least one of
  678. conf/{all,interface}/arp_filter is set to TRUE,
  679. it will be disabled otherwise
  680. arp_announce - INTEGER
  681. Define different restriction levels for announcing the local
  682. source IP address from IP packets in ARP requests sent on
  683. interface:
  684. 0 - (default) Use any local address, configured on any interface
  685. 1 - Try to avoid local addresses that are not in the target's
  686. subnet for this interface. This mode is useful when target
  687. hosts reachable via this interface require the source IP
  688. address in ARP requests to be part of their logical network
  689. configured on the receiving interface. When we generate the
  690. request we will check all our subnets that include the
  691. target IP and will preserve the source address if it is from
  692. such subnet. If there is no such subnet we select source
  693. address according to the rules for level 2.
  694. 2 - Always use the best local address for this target.
  695. In this mode we ignore the source address in the IP packet
  696. and try to select local address that we prefer for talks with
  697. the target host. Such local address is selected by looking
  698. for primary IP addresses on all our subnets on the outgoing
  699. interface that include the target IP address. If no suitable
  700. local address is found we select the first local address
  701. we have on the outgoing interface or on all other interfaces,
  702. with the hope we will receive reply for our request and
  703. even sometimes no matter the source IP address we announce.
  704. The max value from conf/{all,interface}/arp_announce is used.
  705. Increasing the restriction level gives more chance for
  706. receiving answer from the resolved target while decreasing
  707. the level announces more valid sender's information.
  708. arp_ignore - INTEGER
  709. Define different modes for sending replies in response to
  710. received ARP requests that resolve local target IP addresses:
  711. 0 - (default): reply for any local target IP address, configured
  712. on any interface
  713. 1 - reply only if the target IP address is local address
  714. configured on the incoming interface
  715. 2 - reply only if the target IP address is local address
  716. configured on the incoming interface and both with the
  717. sender's IP address are part from same subnet on this interface
  718. 3 - do not reply for local addresses configured with scope host,
  719. only resolutions for global and link addresses are replied
  720. 4-7 - reserved
  721. 8 - do not reply for all local addresses
  722. The max value from conf/{all,interface}/arp_ignore is used
  723. when ARP request is received on the {interface}
  724. arp_notify - BOOLEAN
  725. Define mode for notification of address and device changes.
  726. 0 - (default): do nothing
  727. 1 - Generate gratuitous arp replies when device is brought up
  728. or hardware address changes.
  729. arp_accept - BOOLEAN
  730. Define behavior for gratuitous ARP frames who's IP is not
  731. already present in the ARP table:
  732. 0 - don't create new entries in the ARP table
  733. 1 - create new entries in the ARP table
  734. Both replies and requests type gratuitous arp will trigger the
  735. ARP table to be updated, if this setting is on.
  736. If the ARP table already contains the IP address of the
  737. gratuitous arp frame, the arp table will be updated regardless
  738. if this setting is on or off.
  739. app_solicit - INTEGER
  740. The maximum number of probes to send to the user space ARP daemon
  741. via netlink before dropping back to multicast probes (see
  742. mcast_solicit). Defaults to 0.
  743. disable_policy - BOOLEAN
  744. Disable IPSEC policy (SPD) for this interface
  745. disable_xfrm - BOOLEAN
  746. Disable IPSEC encryption on this interface, whatever the policy
  747. tag - INTEGER
  748. Allows you to write a number, which can be used as required.
  749. Default value is 0.
  750. Alexey Kuznetsov.
  751. kuznet@ms2.inr.ac.ru
  752. Updated by:
  753. Andi Kleen
  754. ak@muc.de
  755. Nicolas Delon
  756. delon.nicolas@wanadoo.fr
  757. /proc/sys/net/ipv6/* Variables:
  758. IPv6 has no global variables such as tcp_*. tcp_* settings under ipv4/ also
  759. apply to IPv6 [XXX?].
  760. bindv6only - BOOLEAN
  761. Default value for IPV6_V6ONLY socket option,
  762. which restricts use of the IPv6 socket to IPv6 communication
  763. only.
  764. TRUE: disable IPv4-mapped address feature
  765. FALSE: enable IPv4-mapped address feature
  766. Default: FALSE (as specified in RFC2553bis)
  767. IPv6 Fragmentation:
  768. ip6frag_high_thresh - INTEGER
  769. Maximum memory used to reassemble IPv6 fragments. When
  770. ip6frag_high_thresh bytes of memory is allocated for this purpose,
  771. the fragment handler will toss packets until ip6frag_low_thresh
  772. is reached.
  773. ip6frag_low_thresh - INTEGER
  774. See ip6frag_high_thresh
  775. ip6frag_time - INTEGER
  776. Time in seconds to keep an IPv6 fragment in memory.
  777. ip6frag_secret_interval - INTEGER
  778. Regeneration interval (in seconds) of the hash secret (or lifetime
  779. for the hash secret) for IPv6 fragments.
  780. Default: 600
  781. conf/default/*:
  782. Change the interface-specific default settings.
  783. conf/all/*:
  784. Change all the interface-specific settings.
  785. [XXX: Other special features than forwarding?]
  786. conf/all/forwarding - BOOLEAN
  787. Enable global IPv6 forwarding between all interfaces.
  788. IPv4 and IPv6 work differently here; e.g. netfilter must be used
  789. to control which interfaces may forward packets and which not.
  790. This also sets all interfaces' Host/Router setting
  791. 'forwarding' to the specified value. See below for details.
  792. This referred to as global forwarding.
  793. proxy_ndp - BOOLEAN
  794. Do proxy ndp.
  795. conf/interface/*:
  796. Change special settings per interface.
  797. The functional behaviour for certain settings is different
  798. depending on whether local forwarding is enabled or not.
  799. accept_ra - BOOLEAN
  800. Accept Router Advertisements; autoconfigure using them.
  801. Functional default: enabled if local forwarding is disabled.
  802. disabled if local forwarding is enabled.
  803. accept_ra_defrtr - BOOLEAN
  804. Learn default router in Router Advertisement.
  805. Functional default: enabled if accept_ra is enabled.
  806. disabled if accept_ra is disabled.
  807. accept_ra_pinfo - BOOLEAN
  808. Learn Prefix Information in Router Advertisement.
  809. Functional default: enabled if accept_ra is enabled.
  810. disabled if accept_ra is disabled.
  811. accept_ra_rt_info_max_plen - INTEGER
  812. Maximum prefix length of Route Information in RA.
  813. Route Information w/ prefix larger than or equal to this
  814. variable shall be ignored.
  815. Functional default: 0 if accept_ra_rtr_pref is enabled.
  816. -1 if accept_ra_rtr_pref is disabled.
  817. accept_ra_rtr_pref - BOOLEAN
  818. Accept Router Preference in RA.
  819. Functional default: enabled if accept_ra is enabled.
  820. disabled if accept_ra is disabled.
  821. accept_redirects - BOOLEAN
  822. Accept Redirects.
  823. Functional default: enabled if local forwarding is disabled.
  824. disabled if local forwarding is enabled.
  825. accept_source_route - INTEGER
  826. Accept source routing (routing extension header).
  827. >= 0: Accept only routing header type 2.
  828. < 0: Do not accept routing header.
  829. Default: 0
  830. autoconf - BOOLEAN
  831. Autoconfigure addresses using Prefix Information in Router
  832. Advertisements.
  833. Functional default: enabled if accept_ra_pinfo is enabled.
  834. disabled if accept_ra_pinfo is disabled.
  835. dad_transmits - INTEGER
  836. The amount of Duplicate Address Detection probes to send.
  837. Default: 1
  838. forwarding - BOOLEAN
  839. Configure interface-specific Host/Router behaviour.
  840. Note: It is recommended to have the same setting on all
  841. interfaces; mixed router/host scenarios are rather uncommon.
  842. FALSE:
  843. By default, Host behaviour is assumed. This means:
  844. 1. IsRouter flag is not set in Neighbour Advertisements.
  845. 2. Router Solicitations are being sent when necessary.
  846. 3. If accept_ra is TRUE (default), accept Router
  847. Advertisements (and do autoconfiguration).
  848. 4. If accept_redirects is TRUE (default), accept Redirects.
  849. TRUE:
  850. If local forwarding is enabled, Router behaviour is assumed.
  851. This means exactly the reverse from the above:
  852. 1. IsRouter flag is set in Neighbour Advertisements.
  853. 2. Router Solicitations are not sent.
  854. 3. Router Advertisements are ignored.
  855. 4. Redirects are ignored.
  856. Default: FALSE if global forwarding is disabled (default),
  857. otherwise TRUE.
  858. hop_limit - INTEGER
  859. Default Hop Limit to set.
  860. Default: 64
  861. mtu - INTEGER
  862. Default Maximum Transfer Unit
  863. Default: 1280 (IPv6 required minimum)
  864. router_probe_interval - INTEGER
  865. Minimum interval (in seconds) between Router Probing described
  866. in RFC4191.
  867. Default: 60
  868. router_solicitation_delay - INTEGER
  869. Number of seconds to wait after interface is brought up
  870. before sending Router Solicitations.
  871. Default: 1
  872. router_solicitation_interval - INTEGER
  873. Number of seconds to wait between Router Solicitations.
  874. Default: 4
  875. router_solicitations - INTEGER
  876. Number of Router Solicitations to send until assuming no
  877. routers are present.
  878. Default: 3
  879. use_tempaddr - INTEGER
  880. Preference for Privacy Extensions (RFC3041).
  881. <= 0 : disable Privacy Extensions
  882. == 1 : enable Privacy Extensions, but prefer public
  883. addresses over temporary addresses.
  884. > 1 : enable Privacy Extensions and prefer temporary
  885. addresses over public addresses.
  886. Default: 0 (for most devices)
  887. -1 (for point-to-point devices and loopback devices)
  888. temp_valid_lft - INTEGER
  889. valid lifetime (in seconds) for temporary addresses.
  890. Default: 604800 (7 days)
  891. temp_prefered_lft - INTEGER
  892. Preferred lifetime (in seconds) for temporary addresses.
  893. Default: 86400 (1 day)
  894. max_desync_factor - INTEGER
  895. Maximum value for DESYNC_FACTOR, which is a random value
  896. that ensures that clients don't synchronize with each
  897. other and generate new addresses at exactly the same time.
  898. value is in seconds.
  899. Default: 600
  900. regen_max_retry - INTEGER
  901. Number of attempts before give up attempting to generate
  902. valid temporary addresses.
  903. Default: 5
  904. max_addresses - INTEGER
  905. Maximum number of autoconfigured addresses per interface. Setting
  906. to zero disables the limitation. It is not recommended to set this
  907. value too large (or to zero) because it would be an easy way to
  908. crash the kernel by allowing too many addresses to be created.
  909. Default: 16
  910. disable_ipv6 - BOOLEAN
  911. Disable IPv6 operation. If accept_dad is set to 2, this value
  912. will be dynamically set to TRUE if DAD fails for the link-local
  913. address.
  914. Default: FALSE (enable IPv6 operation)
  915. When this value is changed from 1 to 0 (IPv6 is being enabled),
  916. it will dynamically create a link-local address on the given
  917. interface and start Duplicate Address Detection, if necessary.
  918. When this value is changed from 0 to 1 (IPv6 is being disabled),
  919. it will dynamically delete all address on the given interface.
  920. accept_dad - INTEGER
  921. Whether to accept DAD (Duplicate Address Detection).
  922. 0: Disable DAD
  923. 1: Enable DAD (default)
  924. 2: Enable DAD, and disable IPv6 operation if MAC-based duplicate
  925. link-local address has been found.
  926. force_tllao - BOOLEAN
  927. Enable sending the target link-layer address option even when
  928. responding to a unicast neighbor solicitation.
  929. Default: FALSE
  930. Quoting from RFC 2461, section 4.4, Target link-layer address:
  931. "The option MUST be included for multicast solicitations in order to
  932. avoid infinite Neighbor Solicitation "recursion" when the peer node
  933. does not have a cache entry to return a Neighbor Advertisements
  934. message. When responding to unicast solicitations, the option can be
  935. omitted since the sender of the solicitation has the correct link-
  936. layer address; otherwise it would not have be able to send the unicast
  937. solicitation in the first place. However, including the link-layer
  938. address in this case adds little overhead and eliminates a potential
  939. race condition where the sender deletes the cached link-layer address
  940. prior to receiving a response to a previous solicitation."
  941. icmp/*:
  942. ratelimit - INTEGER
  943. Limit the maximal rates for sending ICMPv6 packets.
  944. 0 to disable any limiting,
  945. otherwise the minimal space between responses in milliseconds.
  946. Default: 1000
  947. IPv6 Update by:
  948. Pekka Savola <pekkas@netcore.fi>
  949. YOSHIFUJI Hideaki / USAGI Project <yoshfuji@linux-ipv6.org>
  950. /proc/sys/net/bridge/* Variables:
  951. bridge-nf-call-arptables - BOOLEAN
  952. 1 : pass bridged ARP traffic to arptables' FORWARD chain.
  953. 0 : disable this.
  954. Default: 1
  955. bridge-nf-call-iptables - BOOLEAN
  956. 1 : pass bridged IPv4 traffic to iptables' chains.
  957. 0 : disable this.
  958. Default: 1
  959. bridge-nf-call-ip6tables - BOOLEAN
  960. 1 : pass bridged IPv6 traffic to ip6tables' chains.
  961. 0 : disable this.
  962. Default: 1
  963. bridge-nf-filter-vlan-tagged - BOOLEAN
  964. 1 : pass bridged vlan-tagged ARP/IP/IPv6 traffic to {arp,ip,ip6}tables.
  965. 0 : disable this.
  966. Default: 1
  967. bridge-nf-filter-pppoe-tagged - BOOLEAN
  968. 1 : pass bridged pppoe-tagged IP/IPv6 traffic to {ip,ip6}tables.
  969. 0 : disable this.
  970. Default: 1
  971. proc/sys/net/sctp/* Variables:
  972. addip_enable - BOOLEAN
  973. Enable or disable extension of Dynamic Address Reconfiguration
  974. (ADD-IP) functionality specified in RFC5061. This extension provides
  975. the ability to dynamically add and remove new addresses for the SCTP
  976. associations.
  977. 1: Enable extension.
  978. 0: Disable extension.
  979. Default: 0
  980. addip_noauth_enable - BOOLEAN
  981. Dynamic Address Reconfiguration (ADD-IP) requires the use of
  982. authentication to protect the operations of adding or removing new
  983. addresses. This requirement is mandated so that unauthorized hosts
  984. would not be able to hijack associations. However, older
  985. implementations may not have implemented this requirement while
  986. allowing the ADD-IP extension. For reasons of interoperability,
  987. we provide this variable to control the enforcement of the
  988. authentication requirement.
  989. 1: Allow ADD-IP extension to be used without authentication. This
  990. should only be set in a closed environment for interoperability
  991. with older implementations.
  992. 0: Enforce the authentication requirement
  993. Default: 0
  994. auth_enable - BOOLEAN
  995. Enable or disable Authenticated Chunks extension. This extension
  996. provides the ability to send and receive authenticated chunks and is
  997. required for secure operation of Dynamic Address Reconfiguration
  998. (ADD-IP) extension.
  999. 1: Enable this extension.
  1000. 0: Disable this extension.
  1001. Default: 0
  1002. prsctp_enable - BOOLEAN
  1003. Enable or disable the Partial Reliability extension (RFC3758) which
  1004. is used to notify peers that a given DATA should no longer be expected.
  1005. 1: Enable extension
  1006. 0: Disable
  1007. Default: 1
  1008. max_burst - INTEGER
  1009. The limit of the number of new packets that can be initially sent. It
  1010. controls how bursty the generated traffic can be.
  1011. Default: 4
  1012. association_max_retrans - INTEGER
  1013. Set the maximum number for retransmissions that an association can
  1014. attempt deciding that the remote end is unreachable. If this value
  1015. is exceeded, the association is terminated.
  1016. Default: 10
  1017. max_init_retransmits - INTEGER
  1018. The maximum number of retransmissions of INIT and COOKIE-ECHO chunks
  1019. that an association will attempt before declaring the destination
  1020. unreachable and terminating.
  1021. Default: 8
  1022. path_max_retrans - INTEGER
  1023. The maximum number of retransmissions that will be attempted on a given
  1024. path. Once this threshold is exceeded, the path is considered
  1025. unreachable, and new traffic will use a different path when the
  1026. association is multihomed.
  1027. Default: 5
  1028. rto_initial - INTEGER
  1029. The initial round trip timeout value in milliseconds that will be used
  1030. in calculating round trip times. This is the initial time interval
  1031. for retransmissions.
  1032. Default: 3000
  1033. rto_max - INTEGER
  1034. The maximum value (in milliseconds) of the round trip timeout. This
  1035. is the largest time interval that can elapse between retransmissions.
  1036. Default: 60000
  1037. rto_min - INTEGER
  1038. The minimum value (in milliseconds) of the round trip timeout. This
  1039. is the smallest time interval the can elapse between retransmissions.
  1040. Default: 1000
  1041. hb_interval - INTEGER
  1042. The interval (in milliseconds) between HEARTBEAT chunks. These chunks
  1043. are sent at the specified interval on idle paths to probe the state of
  1044. a given path between 2 associations.
  1045. Default: 30000
  1046. sack_timeout - INTEGER
  1047. The amount of time (in milliseconds) that the implementation will wait
  1048. to send a SACK.
  1049. Default: 200
  1050. valid_cookie_life - INTEGER
  1051. The default lifetime of the SCTP cookie (in milliseconds). The cookie
  1052. is used during association establishment.
  1053. Default: 60000
  1054. cookie_preserve_enable - BOOLEAN
  1055. Enable or disable the ability to extend the lifetime of the SCTP cookie
  1056. that is used during the establishment phase of SCTP association
  1057. 1: Enable cookie lifetime extension.
  1058. 0: Disable
  1059. Default: 1
  1060. rcvbuf_policy - INTEGER
  1061. Determines if the receive buffer is attributed to the socket or to
  1062. association. SCTP supports the capability to create multiple
  1063. associations on a single socket. When using this capability, it is
  1064. possible that a single stalled association that's buffering a lot
  1065. of data may block other associations from delivering their data by
  1066. consuming all of the receive buffer space. To work around this,
  1067. the rcvbuf_policy could be set to attribute the receiver buffer space
  1068. to each association instead of the socket. This prevents the described
  1069. blocking.
  1070. 1: rcvbuf space is per association
  1071. 0: recbuf space is per socket
  1072. Default: 0
  1073. sndbuf_policy - INTEGER
  1074. Similar to rcvbuf_policy above, this applies to send buffer space.
  1075. 1: Send buffer is tracked per association
  1076. 0: Send buffer is tracked per socket.
  1077. Default: 0
  1078. sctp_mem - vector of 3 INTEGERs: min, pressure, max
  1079. Number of pages allowed for queueing by all SCTP sockets.
  1080. min: Below this number of pages SCTP is not bothered about its
  1081. memory appetite. When amount of memory allocated by SCTP exceeds
  1082. this number, SCTP starts to moderate memory usage.
  1083. pressure: This value was introduced to follow format of tcp_mem.
  1084. max: Number of pages allowed for queueing by all SCTP sockets.
  1085. Default is calculated at boot time from amount of available memory.
  1086. sctp_rmem - vector of 3 INTEGERs: min, default, max
  1087. See tcp_rmem for a description.
  1088. sctp_wmem - vector of 3 INTEGERs: min, default, max
  1089. See tcp_wmem for a description.
  1090. addr_scope_policy - INTEGER
  1091. Control IPv4 address scoping - draft-stewart-tsvwg-sctp-ipv4-00
  1092. 0 - Disable IPv4 address scoping
  1093. 1 - Enable IPv4 address scoping
  1094. 2 - Follow draft but allow IPv4 private addresses
  1095. 3 - Follow draft but allow IPv4 link local addresses
  1096. Default: 1
  1097. /proc/sys/net/core/*
  1098. dev_weight - INTEGER
  1099. The maximum number of packets that kernel can handle on a NAPI
  1100. interrupt, it's a Per-CPU variable.
  1101. Default: 64
  1102. /proc/sys/net/unix/*
  1103. max_dgram_qlen - INTEGER
  1104. The maximum length of dgram socket receive queue
  1105. Default: 10
  1106. UNDOCUMENTED:
  1107. /proc/sys/net/irda/*
  1108. fast_poll_increase FIXME
  1109. warn_noreply_time FIXME
  1110. discovery_slots FIXME
  1111. slot_timeout FIXME
  1112. max_baud_rate FIXME
  1113. discovery_timeout FIXME
  1114. lap_keepalive_time FIXME
  1115. max_noreply_time FIXME
  1116. max_tx_data_size FIXME
  1117. max_tx_window FIXME
  1118. min_tx_turn_time FIXME