ip-sysctl.txt 45 KB

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