ip-sysctl.txt 46 KB

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