ip-sysctl.txt 52 KB

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