ip-sysctl.txt 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274
  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 forwarding
  515. for the interface is enabled
  516. or
  517. - at least one of conf/{all,interface}/accept_redirects is TRUE in the case
  518. 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 routing
  528. 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 - BOOLEAN
  578. 1 - do source validation by reversed path, as specified in RFC1812
  579. Recommended option for single homed hosts and stub network
  580. routers. Could cause troubles for complicated (not loop free)
  581. networks running a slow unreliable protocol (sort of RIP),
  582. or using static routes.
  583. 0 - No source validation.
  584. conf/all/rp_filter must also be set to TRUE to do source validation
  585. on the interface
  586. Default value is 0. Note that some distributions enable it
  587. in startup scripts.
  588. arp_filter - BOOLEAN
  589. 1 - Allows you to have multiple network interfaces on the same
  590. subnet, and have the ARPs for each interface be answered
  591. based on whether or not the kernel would route a packet from
  592. the ARP'd IP out that interface (therefore you must use source
  593. based routing for this to work). In other words it allows control
  594. of which cards (usually 1) will respond to an arp request.
  595. 0 - (default) The kernel can respond to arp requests with addresses
  596. from other interfaces. This may seem wrong but it usually makes
  597. sense, because it increases the chance of successful communication.
  598. IP addresses are owned by the complete host on Linux, not by
  599. particular interfaces. Only for more complex setups like load-
  600. balancing, does this behaviour cause problems.
  601. arp_filter for the interface will be enabled if at least one of
  602. conf/{all,interface}/arp_filter is set to TRUE,
  603. it will be disabled otherwise
  604. arp_announce - INTEGER
  605. Define different restriction levels for announcing the local
  606. source IP address from IP packets in ARP requests sent on
  607. interface:
  608. 0 - (default) Use any local address, configured on any interface
  609. 1 - Try to avoid local addresses that are not in the target's
  610. subnet for this interface. This mode is useful when target
  611. hosts reachable via this interface require the source IP
  612. address in ARP requests to be part of their logical network
  613. configured on the receiving interface. When we generate the
  614. request we will check all our subnets that include the
  615. target IP and will preserve the source address if it is from
  616. such subnet. If there is no such subnet we select source
  617. address according to the rules for level 2.
  618. 2 - Always use the best local address for this target.
  619. In this mode we ignore the source address in the IP packet
  620. and try to select local address that we prefer for talks with
  621. the target host. Such local address is selected by looking
  622. for primary IP addresses on all our subnets on the outgoing
  623. interface that include the target IP address. If no suitable
  624. local address is found we select the first local address
  625. we have on the outgoing interface or on all other interfaces,
  626. with the hope we will receive reply for our request and
  627. even sometimes no matter the source IP address we announce.
  628. The max value from conf/{all,interface}/arp_announce is used.
  629. Increasing the restriction level gives more chance for
  630. receiving answer from the resolved target while decreasing
  631. the level announces more valid sender's information.
  632. arp_ignore - INTEGER
  633. Define different modes for sending replies in response to
  634. received ARP requests that resolve local target IP addresses:
  635. 0 - (default): reply for any local target IP address, configured
  636. on any interface
  637. 1 - reply only if the target IP address is local address
  638. configured on the incoming interface
  639. 2 - reply only if the target IP address is local address
  640. configured on the incoming interface and both with the
  641. sender's IP address are part from same subnet on this interface
  642. 3 - do not reply for local addresses configured with scope host,
  643. only resolutions for global and link addresses are replied
  644. 4-7 - reserved
  645. 8 - do not reply for all local addresses
  646. The max value from conf/{all,interface}/arp_ignore is used
  647. when ARP request is received on the {interface}
  648. arp_accept - BOOLEAN
  649. Define behavior when gratuitous arp replies are received:
  650. 0 - drop gratuitous arp frames
  651. 1 - accept gratuitous arp frames
  652. app_solicit - INTEGER
  653. The maximum number of probes to send to the user space ARP daemon
  654. via netlink before dropping back to multicast probes (see
  655. mcast_solicit). Defaults to 0.
  656. disable_policy - BOOLEAN
  657. Disable IPSEC policy (SPD) for this interface
  658. disable_xfrm - BOOLEAN
  659. Disable IPSEC encryption on this interface, whatever the policy
  660. tag - INTEGER
  661. Allows you to write a number, which can be used as required.
  662. Default value is 0.
  663. Alexey Kuznetsov.
  664. kuznet@ms2.inr.ac.ru
  665. Updated by:
  666. Andi Kleen
  667. ak@muc.de
  668. Nicolas Delon
  669. delon.nicolas@wanadoo.fr
  670. /proc/sys/net/ipv6/* Variables:
  671. IPv6 has no global variables such as tcp_*. tcp_* settings under ipv4/ also
  672. apply to IPv6 [XXX?].
  673. bindv6only - BOOLEAN
  674. Default value for IPV6_V6ONLY socket option,
  675. which restricts use of the IPv6 socket to IPv6 communication
  676. only.
  677. TRUE: disable IPv4-mapped address feature
  678. FALSE: enable IPv4-mapped address feature
  679. Default: FALSE (as specified in RFC2553bis)
  680. IPv6 Fragmentation:
  681. ip6frag_high_thresh - INTEGER
  682. Maximum memory used to reassemble IPv6 fragments. When
  683. ip6frag_high_thresh bytes of memory is allocated for this purpose,
  684. the fragment handler will toss packets until ip6frag_low_thresh
  685. is reached.
  686. ip6frag_low_thresh - INTEGER
  687. See ip6frag_high_thresh
  688. ip6frag_time - INTEGER
  689. Time in seconds to keep an IPv6 fragment in memory.
  690. ip6frag_secret_interval - INTEGER
  691. Regeneration interval (in seconds) of the hash secret (or lifetime
  692. for the hash secret) for IPv6 fragments.
  693. Default: 600
  694. conf/default/*:
  695. Change the interface-specific default settings.
  696. conf/all/*:
  697. Change all the interface-specific settings.
  698. [XXX: Other special features than forwarding?]
  699. conf/all/forwarding - BOOLEAN
  700. Enable global IPv6 forwarding between all interfaces.
  701. IPv4 and IPv6 work differently here; e.g. netfilter must be used
  702. to control which interfaces may forward packets and which not.
  703. This also sets all interfaces' Host/Router setting
  704. 'forwarding' to the specified value. See below for details.
  705. This referred to as global forwarding.
  706. proxy_ndp - BOOLEAN
  707. Do proxy ndp.
  708. conf/interface/*:
  709. Change special settings per interface.
  710. The functional behaviour for certain settings is different
  711. depending on whether local forwarding is enabled or not.
  712. accept_ra - BOOLEAN
  713. Accept Router Advertisements; autoconfigure using them.
  714. Functional default: enabled if local forwarding is disabled.
  715. disabled if local forwarding is enabled.
  716. accept_ra_defrtr - BOOLEAN
  717. Learn default router in Router Advertisement.
  718. Functional default: enabled if accept_ra is enabled.
  719. disabled if accept_ra is disabled.
  720. accept_ra_pinfo - BOOLEAN
  721. Learn Prefix Information in Router Advertisement.
  722. Functional default: enabled if accept_ra is enabled.
  723. disabled if accept_ra is disabled.
  724. accept_ra_rt_info_max_plen - INTEGER
  725. Maximum prefix length of Route Information in RA.
  726. Route Information w/ prefix larger than or equal to this
  727. variable shall be ignored.
  728. Functional default: 0 if accept_ra_rtr_pref is enabled.
  729. -1 if accept_ra_rtr_pref is disabled.
  730. accept_ra_rtr_pref - BOOLEAN
  731. Accept Router Preference in RA.
  732. Functional default: enabled if accept_ra is enabled.
  733. disabled if accept_ra is disabled.
  734. accept_redirects - BOOLEAN
  735. Accept Redirects.
  736. Functional default: enabled if local forwarding is disabled.
  737. disabled if local forwarding is enabled.
  738. accept_source_route - INTEGER
  739. Accept source routing (routing extension header).
  740. >= 0: Accept only routing header type 2.
  741. < 0: Do not accept routing header.
  742. Default: 0
  743. autoconf - BOOLEAN
  744. Autoconfigure addresses using Prefix Information in Router
  745. Advertisements.
  746. Functional default: enabled if accept_ra_pinfo is enabled.
  747. disabled if accept_ra_pinfo is disabled.
  748. dad_transmits - INTEGER
  749. The amount of Duplicate Address Detection probes to send.
  750. Default: 1
  751. forwarding - BOOLEAN
  752. Configure interface-specific Host/Router behaviour.
  753. Note: It is recommended to have the same setting on all
  754. interfaces; mixed router/host scenarios are rather uncommon.
  755. FALSE:
  756. By default, Host behaviour is assumed. This means:
  757. 1. IsRouter flag is not set in Neighbour Advertisements.
  758. 2. Router Solicitations are being sent when necessary.
  759. 3. If accept_ra is TRUE (default), accept Router
  760. Advertisements (and do autoconfiguration).
  761. 4. If accept_redirects is TRUE (default), accept Redirects.
  762. TRUE:
  763. If local forwarding is enabled, Router behaviour is assumed.
  764. This means exactly the reverse from the above:
  765. 1. IsRouter flag is set in Neighbour Advertisements.
  766. 2. Router Solicitations are not sent.
  767. 3. Router Advertisements are ignored.
  768. 4. Redirects are ignored.
  769. Default: FALSE if global forwarding is disabled (default),
  770. otherwise TRUE.
  771. hop_limit - INTEGER
  772. Default Hop Limit to set.
  773. Default: 64
  774. mtu - INTEGER
  775. Default Maximum Transfer Unit
  776. Default: 1280 (IPv6 required minimum)
  777. router_probe_interval - INTEGER
  778. Minimum interval (in seconds) between Router Probing described
  779. in RFC4191.
  780. Default: 60
  781. router_solicitation_delay - INTEGER
  782. Number of seconds to wait after interface is brought up
  783. before sending Router Solicitations.
  784. Default: 1
  785. router_solicitation_interval - INTEGER
  786. Number of seconds to wait between Router Solicitations.
  787. Default: 4
  788. router_solicitations - INTEGER
  789. Number of Router Solicitations to send until assuming no
  790. routers are present.
  791. Default: 3
  792. use_tempaddr - INTEGER
  793. Preference for Privacy Extensions (RFC3041).
  794. <= 0 : disable Privacy Extensions
  795. == 1 : enable Privacy Extensions, but prefer public
  796. addresses over temporary addresses.
  797. > 1 : enable Privacy Extensions and prefer temporary
  798. addresses over public addresses.
  799. Default: 0 (for most devices)
  800. -1 (for point-to-point devices and loopback devices)
  801. temp_valid_lft - INTEGER
  802. valid lifetime (in seconds) for temporary addresses.
  803. Default: 604800 (7 days)
  804. temp_prefered_lft - INTEGER
  805. Preferred lifetime (in seconds) for temporary addresses.
  806. Default: 86400 (1 day)
  807. max_desync_factor - INTEGER
  808. Maximum value for DESYNC_FACTOR, which is a random value
  809. that ensures that clients don't synchronize with each
  810. other and generate new addresses at exactly the same time.
  811. value is in seconds.
  812. Default: 600
  813. regen_max_retry - INTEGER
  814. Number of attempts before give up attempting to generate
  815. valid temporary addresses.
  816. Default: 5
  817. max_addresses - INTEGER
  818. Number of maximum addresses per interface. 0 disables limitation.
  819. It is recommended not set too large value (or 0) because it would
  820. be too easy way to crash kernel to allow to create too much of
  821. autoconfigured addresses.
  822. Default: 16
  823. disable_ipv6 - BOOLEAN
  824. Disable IPv6 operation.
  825. Default: FALSE (enable IPv6 operation)
  826. accept_dad - INTEGER
  827. Whether to accept DAD (Duplicate Address Detection).
  828. 0: Disable DAD
  829. 1: Enable DAD (default)
  830. 2: Enable DAD, and disable IPv6 operation if MAC-based duplicate
  831. link-local address has been found.
  832. icmp/*:
  833. ratelimit - INTEGER
  834. Limit the maximal rates for sending ICMPv6 packets.
  835. 0 to disable any limiting,
  836. otherwise the minimal space between responses in milliseconds.
  837. Default: 1000
  838. IPv6 Update by:
  839. Pekka Savola <pekkas@netcore.fi>
  840. YOSHIFUJI Hideaki / USAGI Project <yoshfuji@linux-ipv6.org>
  841. /proc/sys/net/bridge/* Variables:
  842. bridge-nf-call-arptables - BOOLEAN
  843. 1 : pass bridged ARP traffic to arptables' FORWARD chain.
  844. 0 : disable this.
  845. Default: 1
  846. bridge-nf-call-iptables - BOOLEAN
  847. 1 : pass bridged IPv4 traffic to iptables' chains.
  848. 0 : disable this.
  849. Default: 1
  850. bridge-nf-call-ip6tables - BOOLEAN
  851. 1 : pass bridged IPv6 traffic to ip6tables' chains.
  852. 0 : disable this.
  853. Default: 1
  854. bridge-nf-filter-vlan-tagged - BOOLEAN
  855. 1 : pass bridged vlan-tagged ARP/IP/IPv6 traffic to {arp,ip,ip6}tables.
  856. 0 : disable this.
  857. Default: 1
  858. bridge-nf-filter-pppoe-tagged - BOOLEAN
  859. 1 : pass bridged pppoe-tagged IP/IPv6 traffic to {ip,ip6}tables.
  860. 0 : disable this.
  861. Default: 1
  862. proc/sys/net/sctp/* Variables:
  863. addip_enable - BOOLEAN
  864. Enable or disable extension of Dynamic Address Reconfiguration
  865. (ADD-IP) functionality specified in RFC5061. This extension provides
  866. the ability to dynamically add and remove new addresses for the SCTP
  867. associations.
  868. 1: Enable extension.
  869. 0: Disable extension.
  870. Default: 0
  871. addip_noauth_enable - BOOLEAN
  872. Dynamic Address Reconfiguration (ADD-IP) requires the use of
  873. authentication to protect the operations of adding or removing new
  874. addresses. This requirement is mandated so that unauthorized hosts
  875. would not be able to hijack associations. However, older
  876. implementations may not have implemented this requirement while
  877. allowing the ADD-IP extension. For reasons of interoperability,
  878. we provide this variable to control the enforcement of the
  879. authentication requirement.
  880. 1: Allow ADD-IP extension to be used without authentication. This
  881. should only be set in a closed environment for interoperability
  882. with older implementations.
  883. 0: Enforce the authentication requirement
  884. Default: 0
  885. auth_enable - BOOLEAN
  886. Enable or disable Authenticated Chunks extension. This extension
  887. provides the ability to send and receive authenticated chunks and is
  888. required for secure operation of Dynamic Address Reconfiguration
  889. (ADD-IP) extension.
  890. 1: Enable this extension.
  891. 0: Disable this extension.
  892. Default: 0
  893. prsctp_enable - BOOLEAN
  894. Enable or disable the Partial Reliability extension (RFC3758) which
  895. is used to notify peers that a given DATA should no longer be expected.
  896. 1: Enable extension
  897. 0: Disable
  898. Default: 1
  899. max_burst - INTEGER
  900. The limit of the number of new packets that can be initially sent. It
  901. controls how bursty the generated traffic can be.
  902. Default: 4
  903. association_max_retrans - INTEGER
  904. Set the maximum number for retransmissions that an association can
  905. attempt deciding that the remote end is unreachable. If this value
  906. is exceeded, the association is terminated.
  907. Default: 10
  908. max_init_retransmits - INTEGER
  909. The maximum number of retransmissions of INIT and COOKIE-ECHO chunks
  910. that an association will attempt before declaring the destination
  911. unreachable and terminating.
  912. Default: 8
  913. path_max_retrans - INTEGER
  914. The maximum number of retransmissions that will be attempted on a given
  915. path. Once this threshold is exceeded, the path is considered
  916. unreachable, and new traffic will use a different path when the
  917. association is multihomed.
  918. Default: 5
  919. rto_initial - INTEGER
  920. The initial round trip timeout value in milliseconds that will be used
  921. in calculating round trip times. This is the initial time interval
  922. for retransmissions.
  923. Default: 3000
  924. rto_max - INTEGER
  925. The maximum value (in milliseconds) of the round trip timeout. This
  926. is the largest time interval that can elapse between retransmissions.
  927. Default: 60000
  928. rto_min - INTEGER
  929. The minimum value (in milliseconds) of the round trip timeout. This
  930. is the smallest time interval the can elapse between retransmissions.
  931. Default: 1000
  932. hb_interval - INTEGER
  933. The interval (in milliseconds) between HEARTBEAT chunks. These chunks
  934. are sent at the specified interval on idle paths to probe the state of
  935. a given path between 2 associations.
  936. Default: 30000
  937. sack_timeout - INTEGER
  938. The amount of time (in milliseconds) that the implementation will wait
  939. to send a SACK.
  940. Default: 200
  941. valid_cookie_life - INTEGER
  942. The default lifetime of the SCTP cookie (in milliseconds). The cookie
  943. is used during association establishment.
  944. Default: 60000
  945. cookie_preserve_enable - BOOLEAN
  946. Enable or disable the ability to extend the lifetime of the SCTP cookie
  947. that is used during the establishment phase of SCTP association
  948. 1: Enable cookie lifetime extension.
  949. 0: Disable
  950. Default: 1
  951. rcvbuf_policy - INTEGER
  952. Determines if the receive buffer is attributed to the socket or to
  953. association. SCTP supports the capability to create multiple
  954. associations on a single socket. When using this capability, it is
  955. possible that a single stalled association that's buffering a lot
  956. of data may block other associations from delivering their data by
  957. consuming all of the receive buffer space. To work around this,
  958. the rcvbuf_policy could be set to attribute the receiver buffer space
  959. to each association instead of the socket. This prevents the described
  960. blocking.
  961. 1: rcvbuf space is per association
  962. 0: recbuf space is per socket
  963. Default: 0
  964. sndbuf_policy - INTEGER
  965. Similar to rcvbuf_policy above, this applies to send buffer space.
  966. 1: Send buffer is tracked per association
  967. 0: Send buffer is tracked per socket.
  968. Default: 0
  969. sctp_mem - vector of 3 INTEGERs: min, pressure, max
  970. Number of pages allowed for queueing by all SCTP sockets.
  971. min: Below this number of pages SCTP is not bothered about its
  972. memory appetite. When amount of memory allocated by SCTP exceeds
  973. this number, SCTP starts to moderate memory usage.
  974. pressure: This value was introduced to follow format of tcp_mem.
  975. max: Number of pages allowed for queueing by all SCTP sockets.
  976. Default is calculated at boot time from amount of available memory.
  977. sctp_rmem - vector of 3 INTEGERs: min, default, max
  978. See tcp_rmem for a description.
  979. sctp_wmem - vector of 3 INTEGERs: min, default, max
  980. See tcp_wmem for a description.
  981. UNDOCUMENTED:
  982. /proc/sys/net/core/*
  983. dev_weight FIXME
  984. /proc/sys/net/unix/*
  985. max_dgram_qlen FIXME
  986. /proc/sys/net/irda/*
  987. fast_poll_increase FIXME
  988. warn_noreply_time FIXME
  989. discovery_slots FIXME
  990. slot_timeout FIXME
  991. max_baud_rate FIXME
  992. discovery_timeout FIXME
  993. lap_keepalive_time FIXME
  994. max_noreply_time FIXME
  995. max_tx_data_size FIXME
  996. max_tx_window FIXME
  997. min_tx_turn_time FIXME