ip-sysctl.txt 44 KB

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