ip-sysctl.txt 64 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786
  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 value of TTL field (Time To Live) for outgoing (but not
  11. forwarded) IP packets. Should be between 1 and 255 inclusive.
  12. Default: 64 (as recommended by RFC1700)
  13. ip_no_pmtu_disc - INTEGER
  14. Disable Path MTU Discovery. If enabled in mode 1 and a
  15. fragmentation-required ICMP is received, the PMTU to this
  16. destination will be set to min_pmtu (see below). You will need
  17. to raise min_pmtu to the smallest interface MTU on your system
  18. manually if you want to avoid locally generated fragments.
  19. In mode 2 incoming Path MTU Discovery messages will be
  20. discarded. Outgoing frames are handled the same as in mode 1,
  21. implicitly setting IP_PMTUDISC_DONT on every created socket.
  22. Mode 3 is a hardend pmtu discover mode. The kernel will only
  23. accept fragmentation-needed errors if the underlying protocol
  24. can verify them besides a plain socket lookup. Current
  25. protocols for which pmtu events will be honored are TCP, SCTP
  26. and DCCP as they verify e.g. the sequence number or the
  27. association. This mode should not be enabled globally but is
  28. only intended to secure e.g. name servers in namespaces where
  29. TCP path mtu must still work but path MTU information of other
  30. protocols should be discarded. If enabled globally this mode
  31. could break other protocols.
  32. Possible values: 0-3
  33. Default: FALSE
  34. min_pmtu - INTEGER
  35. default 552 - minimum discovered Path MTU
  36. ip_forward_use_pmtu - BOOLEAN
  37. By default we don't trust protocol path MTUs while forwarding
  38. because they could be easily forged and can lead to unwanted
  39. fragmentation by the router.
  40. You only need to enable this if you have user-space software
  41. which tries to discover path mtus by itself and depends on the
  42. kernel honoring this information. This is normally not the
  43. case.
  44. Default: 0 (disabled)
  45. Possible values:
  46. 0 - disabled
  47. 1 - enabled
  48. fwmark_reflect - BOOLEAN
  49. Controls the fwmark of kernel-generated IPv4 reply packets that are not
  50. associated with a socket for example, TCP RSTs or ICMP echo replies).
  51. If unset, these packets have a fwmark of zero. If set, they have the
  52. fwmark of the packet they are replying to. Similarly affects the fwmark
  53. used by internal routing lookups triggered by incoming packets, such as
  54. the ones used for Path MTU Discovery.
  55. Default: 0
  56. route/max_size - INTEGER
  57. Maximum number of routes allowed in the kernel. Increase
  58. this when using large numbers of interfaces and/or routes.
  59. neigh/default/gc_thresh1 - INTEGER
  60. Minimum number of entries to keep. Garbage collector will not
  61. purge entries if there are fewer than this number.
  62. Default: 128
  63. neigh/default/gc_thresh2 - INTEGER
  64. Threshold when garbage collector becomes more aggressive about
  65. purging entries. Entries older than 5 seconds will be cleared
  66. when over this number.
  67. Default: 512
  68. neigh/default/gc_thresh3 - INTEGER
  69. Maximum number of neighbor entries allowed. Increase this
  70. when using large numbers of interfaces and when communicating
  71. with large numbers of directly-connected peers.
  72. Default: 1024
  73. neigh/default/unres_qlen_bytes - INTEGER
  74. The maximum number of bytes which may be used by packets
  75. queued for each unresolved address by other network layers.
  76. (added in linux 3.3)
  77. Setting negative value is meaningless and will return error.
  78. Default: 65536 Bytes(64KB)
  79. neigh/default/unres_qlen - INTEGER
  80. The maximum number of packets which may be queued for each
  81. unresolved address by other network layers.
  82. (deprecated in linux 3.3) : use unres_qlen_bytes instead.
  83. Prior to linux 3.3, the default value is 3 which may cause
  84. unexpected packet loss. The current default value is calculated
  85. according to default value of unres_qlen_bytes and true size of
  86. packet.
  87. Default: 31
  88. mtu_expires - INTEGER
  89. Time, in seconds, that cached PMTU information is kept.
  90. min_adv_mss - INTEGER
  91. The advertised MSS depends on the first hop route MTU, but will
  92. never be lower than this setting.
  93. IP Fragmentation:
  94. ipfrag_high_thresh - INTEGER
  95. Maximum memory used to reassemble IP fragments. When
  96. ipfrag_high_thresh bytes of memory is allocated for this purpose,
  97. the fragment handler will toss packets until ipfrag_low_thresh
  98. is reached. This also serves as a maximum limit to namespaces
  99. different from the initial one.
  100. ipfrag_low_thresh - INTEGER
  101. Maximum memory used to reassemble IP fragments before the kernel
  102. begins to remove incomplete fragment queues to free up resources.
  103. The kernel still accepts new fragments for defragmentation.
  104. ipfrag_time - INTEGER
  105. Time in seconds to keep an IP fragment in memory.
  106. ipfrag_max_dist - INTEGER
  107. ipfrag_max_dist is a non-negative integer value which defines the
  108. maximum "disorder" which is allowed among fragments which share a
  109. common IP source address. Note that reordering of packets is
  110. not unusual, but if a large number of fragments arrive from a source
  111. IP address while a particular fragment queue remains incomplete, it
  112. probably indicates that one or more fragments belonging to that queue
  113. have been lost. When ipfrag_max_dist is positive, an additional check
  114. is done on fragments before they are added to a reassembly queue - if
  115. ipfrag_max_dist (or more) fragments have arrived from a particular IP
  116. address between additions to any IP fragment queue using that source
  117. address, it's presumed that one or more fragments in the queue are
  118. lost. The existing fragment queue will be dropped, and a new one
  119. started. An ipfrag_max_dist value of zero disables this check.
  120. Using a very small value, e.g. 1 or 2, for ipfrag_max_dist can
  121. result in unnecessarily dropping fragment queues when normal
  122. reordering of packets occurs, which could lead to poor application
  123. performance. Using a very large value, e.g. 50000, increases the
  124. likelihood of incorrectly reassembling IP fragments that originate
  125. from different IP datagrams, which could result in data corruption.
  126. Default: 64
  127. INET peer storage:
  128. inet_peer_threshold - INTEGER
  129. The approximate size of the storage. Starting from this threshold
  130. entries will be thrown aggressively. This threshold also determines
  131. entries' time-to-live and time intervals between garbage collection
  132. passes. More entries, less time-to-live, less GC interval.
  133. inet_peer_minttl - INTEGER
  134. Minimum time-to-live of entries. Should be enough to cover fragment
  135. time-to-live on the reassembling side. This minimum time-to-live is
  136. guaranteed if the pool size is less than inet_peer_threshold.
  137. Measured in seconds.
  138. inet_peer_maxttl - INTEGER
  139. Maximum time-to-live of entries. Unused entries will expire after
  140. this period of time if there is no memory pressure on the pool (i.e.
  141. when the number of entries in the pool is very small).
  142. Measured in seconds.
  143. TCP variables:
  144. somaxconn - INTEGER
  145. Limit of socket listen() backlog, known in userspace as SOMAXCONN.
  146. Defaults to 128. See also tcp_max_syn_backlog for additional tuning
  147. for TCP sockets.
  148. tcp_abort_on_overflow - BOOLEAN
  149. If listening service is too slow to accept new connections,
  150. reset them. Default state is FALSE. It means that if overflow
  151. occurred due to a burst, connection will recover. Enable this
  152. option _only_ if you are really sure that listening daemon
  153. cannot be tuned to accept connections faster. Enabling this
  154. option can harm clients of your server.
  155. tcp_adv_win_scale - INTEGER
  156. Count buffering overhead as bytes/2^tcp_adv_win_scale
  157. (if tcp_adv_win_scale > 0) or bytes-bytes/2^(-tcp_adv_win_scale),
  158. if it is <= 0.
  159. Possible values are [-31, 31], inclusive.
  160. Default: 1
  161. tcp_allowed_congestion_control - STRING
  162. Show/set the congestion control choices available to non-privileged
  163. processes. The list is a subset of those listed in
  164. tcp_available_congestion_control.
  165. Default is "reno" and the default setting (tcp_congestion_control).
  166. tcp_app_win - INTEGER
  167. Reserve max(window/2^tcp_app_win, mss) of window for application
  168. buffer. Value 0 is special, it means that nothing is reserved.
  169. Default: 31
  170. tcp_autocorking - BOOLEAN
  171. Enable TCP auto corking :
  172. When applications do consecutive small write()/sendmsg() system calls,
  173. we try to coalesce these small writes as much as possible, to lower
  174. total amount of sent packets. This is done if at least one prior
  175. packet for the flow is waiting in Qdisc queues or device transmit
  176. queue. Applications can still use TCP_CORK for optimal behavior
  177. when they know how/when to uncork their sockets.
  178. Default : 1
  179. tcp_available_congestion_control - STRING
  180. Shows the available congestion control choices that are registered.
  181. More congestion control algorithms may be available as modules,
  182. but not loaded.
  183. tcp_base_mss - INTEGER
  184. The initial value of search_low to be used by the packetization layer
  185. Path MTU discovery (MTU probing). If MTU probing is enabled,
  186. this is the initial MSS used by the connection.
  187. tcp_congestion_control - STRING
  188. Set the congestion control algorithm to be used for new
  189. connections. The algorithm "reno" is always available, but
  190. additional choices may be available based on kernel configuration.
  191. Default is set as part of kernel configuration.
  192. For passive connections, the listener congestion control choice
  193. is inherited.
  194. [see setsockopt(listenfd, SOL_TCP, TCP_CONGESTION, "name" ...) ]
  195. tcp_dsack - BOOLEAN
  196. Allows TCP to send "duplicate" SACKs.
  197. tcp_early_retrans - INTEGER
  198. Enable Early Retransmit (ER), per RFC 5827. ER lowers the threshold
  199. for triggering fast retransmit when the amount of outstanding data is
  200. small and when no previously unsent data can be transmitted (such
  201. that limited transmit could be used). Also controls the use of
  202. Tail loss probe (TLP) that converts RTOs occurring due to tail
  203. losses into fast recovery (draft-dukkipati-tcpm-tcp-loss-probe-01).
  204. Possible values:
  205. 0 disables ER
  206. 1 enables ER
  207. 2 enables ER but delays fast recovery and fast retransmit
  208. by a fourth of RTT. This mitigates connection falsely
  209. recovers when network has a small degree of reordering
  210. (less than 3 packets).
  211. 3 enables delayed ER and TLP.
  212. 4 enables TLP only.
  213. Default: 3
  214. tcp_ecn - INTEGER
  215. Control use of Explicit Congestion Notification (ECN) by TCP.
  216. ECN is used only when both ends of the TCP connection indicate
  217. support for it. This feature is useful in avoiding losses due
  218. to congestion by allowing supporting routers to signal
  219. congestion before having to drop packets.
  220. Possible values are:
  221. 0 Disable ECN. Neither initiate nor accept ECN.
  222. 1 Enable ECN when requested by incoming connections and
  223. also request ECN on outgoing connection attempts.
  224. 2 Enable ECN when requested by incoming connections
  225. but do not request ECN on outgoing connections.
  226. Default: 2
  227. tcp_fack - BOOLEAN
  228. Enable FACK congestion avoidance and fast retransmission.
  229. The value is not used, if tcp_sack is not enabled.
  230. tcp_fin_timeout - INTEGER
  231. The length of time an orphaned (no longer referenced by any
  232. application) connection will remain in the FIN_WAIT_2 state
  233. before it is aborted at the local end. While a perfectly
  234. valid "receive only" state for an un-orphaned connection, an
  235. orphaned connection in FIN_WAIT_2 state could otherwise wait
  236. forever for the remote to close its end of the connection.
  237. Cf. tcp_max_orphans
  238. Default: 60 seconds
  239. tcp_frto - INTEGER
  240. Enables Forward RTO-Recovery (F-RTO) defined in RFC5682.
  241. F-RTO is an enhanced recovery algorithm for TCP retransmission
  242. timeouts. It is particularly beneficial in networks where the
  243. RTT fluctuates (e.g., wireless). F-RTO is sender-side only
  244. modification. It does not require any support from the peer.
  245. By default it's enabled with a non-zero value. 0 disables F-RTO.
  246. tcp_keepalive_time - INTEGER
  247. How often TCP sends out keepalive messages when keepalive is enabled.
  248. Default: 2hours.
  249. tcp_keepalive_probes - INTEGER
  250. How many keepalive probes TCP sends out, until it decides that the
  251. connection is broken. Default value: 9.
  252. tcp_keepalive_intvl - INTEGER
  253. How frequently the probes are send out. Multiplied by
  254. tcp_keepalive_probes it is time to kill not responding connection,
  255. after probes started. Default value: 75sec i.e. connection
  256. will be aborted after ~11 minutes of retries.
  257. tcp_low_latency - BOOLEAN
  258. If set, the TCP stack makes decisions that prefer lower
  259. latency as opposed to higher throughput. By default, this
  260. option is not set meaning that higher throughput is preferred.
  261. An example of an application where this default should be
  262. changed would be a Beowulf compute cluster.
  263. Default: 0
  264. tcp_max_orphans - INTEGER
  265. Maximal number of TCP sockets not attached to any user file handle,
  266. held by system. If this number is exceeded orphaned connections are
  267. reset immediately and warning is printed. This limit exists
  268. only to prevent simple DoS attacks, you _must_ not rely on this
  269. or lower the limit artificially, but rather increase it
  270. (probably, after increasing installed memory),
  271. if network conditions require more than default value,
  272. and tune network services to linger and kill such states
  273. more aggressively. Let me to remind again: each orphan eats
  274. up to ~64K of unswappable memory.
  275. tcp_max_syn_backlog - INTEGER
  276. Maximal number of remembered connection requests, which have not
  277. received an acknowledgment from connecting client.
  278. The minimal value is 128 for low memory machines, and it will
  279. increase in proportion to the memory of machine.
  280. If server suffers from overload, try increasing this number.
  281. tcp_max_tw_buckets - INTEGER
  282. Maximal number of timewait sockets held by system simultaneously.
  283. If this number is exceeded time-wait socket is immediately destroyed
  284. and warning is printed. This limit exists only to prevent
  285. simple DoS attacks, you _must_ not lower the limit artificially,
  286. but rather increase it (probably, after increasing installed memory),
  287. if network conditions require more than default value.
  288. tcp_mem - vector of 3 INTEGERs: min, pressure, max
  289. min: below this number of pages TCP is not bothered about its
  290. memory appetite.
  291. pressure: when amount of memory allocated by TCP exceeds this number
  292. of pages, TCP moderates its memory consumption and enters memory
  293. pressure mode, which is exited when memory consumption falls
  294. under "min".
  295. max: number of pages allowed for queueing by all TCP sockets.
  296. Defaults are calculated at boot time from amount of available
  297. memory.
  298. tcp_moderate_rcvbuf - BOOLEAN
  299. If set, TCP performs receive buffer auto-tuning, attempting to
  300. automatically size the buffer (no greater than tcp_rmem[2]) to
  301. match the size required by the path for full throughput. Enabled by
  302. default.
  303. tcp_mtu_probing - INTEGER
  304. Controls TCP Packetization-Layer Path MTU Discovery. Takes three
  305. values:
  306. 0 - Disabled
  307. 1 - Disabled by default, enabled when an ICMP black hole detected
  308. 2 - Always enabled, use initial MSS of tcp_base_mss.
  309. tcp_no_metrics_save - BOOLEAN
  310. By default, TCP saves various connection metrics in the route cache
  311. when the connection closes, so that connections established in the
  312. near future can use these to set initial conditions. Usually, this
  313. increases overall performance, but may sometimes cause performance
  314. degradation. If set, TCP will not cache metrics on closing
  315. connections.
  316. tcp_orphan_retries - INTEGER
  317. This value influences the timeout of a locally closed TCP connection,
  318. when RTO retransmissions remain unacknowledged.
  319. See tcp_retries2 for more details.
  320. The default value is 8.
  321. If your machine is a loaded WEB server,
  322. you should think about lowering this value, such sockets
  323. may consume significant resources. Cf. tcp_max_orphans.
  324. tcp_reordering - INTEGER
  325. Maximal reordering of packets in a TCP stream.
  326. Default: 3
  327. tcp_retrans_collapse - BOOLEAN
  328. Bug-to-bug compatibility with some broken printers.
  329. On retransmit try to send bigger packets to work around bugs in
  330. certain TCP stacks.
  331. tcp_retries1 - INTEGER
  332. This value influences the time, after which TCP decides, that
  333. something is wrong due to unacknowledged RTO retransmissions,
  334. and reports this suspicion to the network layer.
  335. See tcp_retries2 for more details.
  336. RFC 1122 recommends at least 3 retransmissions, which is the
  337. default.
  338. tcp_retries2 - INTEGER
  339. This value influences the timeout of an alive TCP connection,
  340. when RTO retransmissions remain unacknowledged.
  341. Given a value of N, a hypothetical TCP connection following
  342. exponential backoff with an initial RTO of TCP_RTO_MIN would
  343. retransmit N times before killing the connection at the (N+1)th RTO.
  344. The default value of 15 yields a hypothetical timeout of 924.6
  345. seconds and is a lower bound for the effective timeout.
  346. TCP will effectively time out at the first RTO which exceeds the
  347. hypothetical timeout.
  348. RFC 1122 recommends at least 100 seconds for the timeout,
  349. which corresponds to a value of at least 8.
  350. tcp_rfc1337 - BOOLEAN
  351. If set, the TCP stack behaves conforming to RFC1337. If unset,
  352. we are not conforming to RFC, but prevent TCP TIME_WAIT
  353. assassination.
  354. Default: 0
  355. tcp_rmem - vector of 3 INTEGERs: min, default, max
  356. min: Minimal size of receive buffer used by TCP sockets.
  357. It is guaranteed to each TCP socket, even under moderate memory
  358. pressure.
  359. Default: 1 page
  360. default: initial size of receive buffer used by TCP sockets.
  361. This value overrides net.core.rmem_default used by other protocols.
  362. Default: 87380 bytes. This value results in window of 65535 with
  363. default setting of tcp_adv_win_scale and tcp_app_win:0 and a bit
  364. less for default tcp_app_win. See below about these variables.
  365. max: maximal size of receive buffer allowed for automatically
  366. selected receiver buffers for TCP socket. This value does not override
  367. net.core.rmem_max. Calling setsockopt() with SO_RCVBUF disables
  368. automatic tuning of that socket's receive buffer size, in which
  369. case this value is ignored.
  370. Default: between 87380B and 6MB, depending on RAM size.
  371. tcp_sack - BOOLEAN
  372. Enable select acknowledgments (SACKS).
  373. tcp_slow_start_after_idle - BOOLEAN
  374. If set, provide RFC2861 behavior and time out the congestion
  375. window after an idle period. An idle period is defined at
  376. the current RTO. If unset, the congestion window will not
  377. be timed out after an idle period.
  378. Default: 1
  379. tcp_stdurg - BOOLEAN
  380. Use the Host requirements interpretation of the TCP urgent pointer field.
  381. Most hosts use the older BSD interpretation, so if you turn this on
  382. Linux might not communicate correctly with them.
  383. Default: FALSE
  384. tcp_synack_retries - INTEGER
  385. Number of times SYNACKs for a passive TCP connection attempt will
  386. be retransmitted. Should not be higher than 255. Default value
  387. is 5, which corresponds to 31seconds till the last retransmission
  388. with the current initial RTO of 1second. With this the final timeout
  389. for a passive TCP connection will happen after 63seconds.
  390. tcp_syncookies - BOOLEAN
  391. Only valid when the kernel was compiled with CONFIG_SYN_COOKIES
  392. Send out syncookies when the syn backlog queue of a socket
  393. overflows. This is to prevent against the common 'SYN flood attack'
  394. Default: 1
  395. Note, that syncookies is fallback facility.
  396. It MUST NOT be used to help highly loaded servers to stand
  397. against legal connection rate. If you see SYN flood warnings
  398. in your logs, but investigation shows that they occur
  399. because of overload with legal connections, you should tune
  400. another parameters until this warning disappear.
  401. See: tcp_max_syn_backlog, tcp_synack_retries, tcp_abort_on_overflow.
  402. syncookies seriously violate TCP protocol, do not allow
  403. to use TCP extensions, can result in serious degradation
  404. of some services (f.e. SMTP relaying), visible not by you,
  405. but your clients and relays, contacting you. While you see
  406. SYN flood warnings in logs not being really flooded, your server
  407. is seriously misconfigured.
  408. If you want to test which effects syncookies have to your
  409. network connections you can set this knob to 2 to enable
  410. unconditionally generation of syncookies.
  411. tcp_fastopen - INTEGER
  412. Enable TCP Fast Open feature (draft-ietf-tcpm-fastopen) to send data
  413. in the opening SYN packet. To use this feature, the client application
  414. must use sendmsg() or sendto() with MSG_FASTOPEN flag rather than
  415. connect() to perform a TCP handshake automatically.
  416. The values (bitmap) are
  417. 1: Enables sending data in the opening SYN on the client w/ MSG_FASTOPEN.
  418. 2: Enables TCP Fast Open on the server side, i.e., allowing data in
  419. a SYN packet to be accepted and passed to the application before
  420. 3-way hand shake finishes.
  421. 4: Send data in the opening SYN regardless of cookie availability and
  422. without a cookie option.
  423. 0x100: Accept SYN data w/o validating the cookie.
  424. 0x200: Accept data-in-SYN w/o any cookie option present.
  425. 0x400/0x800: Enable Fast Open on all listeners regardless of the
  426. TCP_FASTOPEN socket option. The two different flags designate two
  427. different ways of setting max_qlen without the TCP_FASTOPEN socket
  428. option.
  429. Default: 1
  430. Note that the client & server side Fast Open flags (1 and 2
  431. respectively) must be also enabled before the rest of flags can take
  432. effect.
  433. See include/net/tcp.h and the code for more details.
  434. tcp_fwmark_accept - BOOLEAN
  435. If set, incoming connections to listening sockets that do not have a
  436. socket mark will set the mark of the accepting socket to the fwmark of
  437. the incoming SYN packet. This will cause all packets on that connection
  438. (starting from the first SYNACK) to be sent with that fwmark. The
  439. listening socket's mark is unchanged. Listening sockets that already
  440. have a fwmark set via setsockopt(SOL_SOCKET, SO_MARK, ...) are
  441. unaffected.
  442. Default: 0
  443. tcp_syn_retries - INTEGER
  444. Number of times initial SYNs for an active TCP connection attempt
  445. will be retransmitted. Should not be higher than 255. Default value
  446. is 6, which corresponds to 63seconds till the last retransmission
  447. with the current initial RTO of 1second. With this the final timeout
  448. for an active TCP connection attempt will happen after 127seconds.
  449. tcp_timestamps - BOOLEAN
  450. Enable timestamps as defined in RFC1323.
  451. tcp_min_tso_segs - INTEGER
  452. Minimal number of segments per TSO frame.
  453. Since linux-3.12, TCP does an automatic sizing of TSO frames,
  454. depending on flow rate, instead of filling 64Kbytes packets.
  455. For specific usages, it's possible to force TCP to build big
  456. TSO frames. Note that TCP stack might split too big TSO packets
  457. if available window is too small.
  458. Default: 2
  459. tcp_tso_win_divisor - INTEGER
  460. This allows control over what percentage of the congestion window
  461. can be consumed by a single TSO frame.
  462. The setting of this parameter is a choice between burstiness and
  463. building larger TSO frames.
  464. Default: 3
  465. tcp_tw_recycle - BOOLEAN
  466. Enable fast recycling TIME-WAIT sockets. Default value is 0.
  467. It should not be changed without advice/request of technical
  468. experts.
  469. tcp_tw_reuse - BOOLEAN
  470. Allow to reuse TIME-WAIT sockets for new connections when it is
  471. safe from protocol viewpoint. Default value is 0.
  472. It should not be changed without advice/request of technical
  473. experts.
  474. tcp_window_scaling - BOOLEAN
  475. Enable window scaling as defined in RFC1323.
  476. tcp_wmem - vector of 3 INTEGERs: min, default, max
  477. min: Amount of memory reserved for send buffers for TCP sockets.
  478. Each TCP socket has rights to use it due to fact of its birth.
  479. Default: 1 page
  480. default: initial size of send buffer used by TCP sockets. This
  481. value overrides net.core.wmem_default used by other protocols.
  482. It is usually lower than net.core.wmem_default.
  483. Default: 16K
  484. max: Maximal amount of memory allowed for automatically tuned
  485. send buffers for TCP sockets. This value does not override
  486. net.core.wmem_max. Calling setsockopt() with SO_SNDBUF disables
  487. automatic tuning of that socket's send buffer size, in which case
  488. this value is ignored.
  489. Default: between 64K and 4MB, depending on RAM size.
  490. tcp_notsent_lowat - UNSIGNED INTEGER
  491. A TCP socket can control the amount of unsent bytes in its write queue,
  492. thanks to TCP_NOTSENT_LOWAT socket option. poll()/select()/epoll()
  493. reports POLLOUT events if the amount of unsent bytes is below a per
  494. socket value, and if the write queue is not full. sendmsg() will
  495. also not add new buffers if the limit is hit.
  496. This global variable controls the amount of unsent data for
  497. sockets not using TCP_NOTSENT_LOWAT. For these sockets, a change
  498. to the global variable has immediate effect.
  499. Default: UINT_MAX (0xFFFFFFFF)
  500. tcp_workaround_signed_windows - BOOLEAN
  501. If set, assume no receipt of a window scaling option means the
  502. remote TCP is broken and treats the window as a signed quantity.
  503. If unset, assume the remote TCP is not broken even if we do
  504. not receive a window scaling option from them.
  505. Default: 0
  506. tcp_thin_linear_timeouts - BOOLEAN
  507. Enable dynamic triggering of linear timeouts for thin streams.
  508. If set, a check is performed upon retransmission by timeout to
  509. determine if the stream is thin (less than 4 packets in flight).
  510. As long as the stream is found to be thin, up to 6 linear
  511. timeouts may be performed before exponential backoff mode is
  512. initiated. This improves retransmission latency for
  513. non-aggressive thin streams, often found to be time-dependent.
  514. For more information on thin streams, see
  515. Documentation/networking/tcp-thin.txt
  516. Default: 0
  517. tcp_thin_dupack - BOOLEAN
  518. Enable dynamic triggering of retransmissions after one dupACK
  519. for thin streams. If set, a check is performed upon reception
  520. of a dupACK to determine if the stream is thin (less than 4
  521. packets in flight). As long as the stream is found to be thin,
  522. data is retransmitted on the first received dupACK. This
  523. improves retransmission latency for non-aggressive thin
  524. streams, often found to be time-dependent.
  525. For more information on thin streams, see
  526. Documentation/networking/tcp-thin.txt
  527. Default: 0
  528. tcp_limit_output_bytes - INTEGER
  529. Controls TCP Small Queue limit per tcp socket.
  530. TCP bulk sender tends to increase packets in flight until it
  531. gets losses notifications. With SNDBUF autotuning, this can
  532. result in a large amount of packets queued in qdisc/device
  533. on the local machine, hurting latency of other flows, for
  534. typical pfifo_fast qdiscs.
  535. tcp_limit_output_bytes limits the number of bytes on qdisc
  536. or device to reduce artificial RTT/cwnd and reduce bufferbloat.
  537. Default: 131072
  538. tcp_challenge_ack_limit - INTEGER
  539. Limits number of Challenge ACK sent per second, as recommended
  540. in RFC 5961 (Improving TCP's Robustness to Blind In-Window Attacks)
  541. Default: 100
  542. UDP variables:
  543. udp_mem - vector of 3 INTEGERs: min, pressure, max
  544. Number of pages allowed for queueing by all UDP sockets.
  545. min: Below this number of pages UDP is not bothered about its
  546. memory appetite. When amount of memory allocated by UDP exceeds
  547. this number, UDP starts to moderate memory usage.
  548. pressure: This value was introduced to follow format of tcp_mem.
  549. max: Number of pages allowed for queueing by all UDP sockets.
  550. Default is calculated at boot time from amount of available memory.
  551. udp_rmem_min - INTEGER
  552. Minimal size of receive buffer used by UDP sockets in moderation.
  553. Each UDP socket is able to use the size for receiving data, even if
  554. total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
  555. Default: 1 page
  556. udp_wmem_min - INTEGER
  557. Minimal size of send buffer used by UDP sockets in moderation.
  558. Each UDP socket is able to use the size for sending data, even if
  559. total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
  560. Default: 1 page
  561. CIPSOv4 Variables:
  562. cipso_cache_enable - BOOLEAN
  563. If set, enable additions to and lookups from the CIPSO label mapping
  564. cache. If unset, additions are ignored and lookups always result in a
  565. miss. However, regardless of the setting the cache is still
  566. invalidated when required when means you can safely toggle this on and
  567. off and the cache will always be "safe".
  568. Default: 1
  569. cipso_cache_bucket_size - INTEGER
  570. The CIPSO label cache consists of a fixed size hash table with each
  571. hash bucket containing a number of cache entries. This variable limits
  572. the number of entries in each hash bucket; the larger the value the
  573. more CIPSO label mappings that can be cached. When the number of
  574. entries in a given hash bucket reaches this limit adding new entries
  575. causes the oldest entry in the bucket to be removed to make room.
  576. Default: 10
  577. cipso_rbm_optfmt - BOOLEAN
  578. Enable the "Optimized Tag 1 Format" as defined in section 3.4.2.6 of
  579. the CIPSO draft specification (see Documentation/netlabel for details).
  580. This means that when set the CIPSO tag will be padded with empty
  581. categories in order to make the packet data 32-bit aligned.
  582. Default: 0
  583. cipso_rbm_structvalid - BOOLEAN
  584. If set, do a very strict check of the CIPSO option when
  585. ip_options_compile() is called. If unset, relax the checks done during
  586. ip_options_compile(). Either way is "safe" as errors are caught else
  587. where in the CIPSO processing code but setting this to 0 (False) should
  588. result in less work (i.e. it should be faster) but could cause problems
  589. with other implementations that require strict checking.
  590. Default: 0
  591. IP Variables:
  592. ip_local_port_range - 2 INTEGERS
  593. Defines the local port range that is used by TCP and UDP to
  594. choose the local port. The first number is the first, the
  595. second the last local port number. The default values are
  596. 32768 and 61000 respectively.
  597. ip_local_reserved_ports - list of comma separated ranges
  598. Specify the ports which are reserved for known third-party
  599. applications. These ports will not be used by automatic port
  600. assignments (e.g. when calling connect() or bind() with port
  601. number 0). Explicit port allocation behavior is unchanged.
  602. The format used for both input and output is a comma separated
  603. list of ranges (e.g. "1,2-4,10-10" for ports 1, 2, 3, 4 and
  604. 10). Writing to the file will clear all previously reserved
  605. ports and update the current list with the one given in the
  606. input.
  607. Note that ip_local_port_range and ip_local_reserved_ports
  608. settings are independent and both are considered by the kernel
  609. when determining which ports are available for automatic port
  610. assignments.
  611. You can reserve ports which are not in the current
  612. ip_local_port_range, e.g.:
  613. $ cat /proc/sys/net/ipv4/ip_local_port_range
  614. 32000 61000
  615. $ cat /proc/sys/net/ipv4/ip_local_reserved_ports
  616. 8080,9148
  617. although this is redundant. However such a setting is useful
  618. if later the port range is changed to a value that will
  619. include the reserved ports.
  620. Default: Empty
  621. ip_nonlocal_bind - BOOLEAN
  622. If set, allows processes to bind() to non-local IP addresses,
  623. which can be quite useful - but may break some applications.
  624. Default: 0
  625. ip_dynaddr - BOOLEAN
  626. If set non-zero, enables support for dynamic addresses.
  627. If set to a non-zero value larger than 1, a kernel log
  628. message will be printed when dynamic address rewriting
  629. occurs.
  630. Default: 0
  631. ip_early_demux - BOOLEAN
  632. Optimize input packet processing down to one demux for
  633. certain kinds of local sockets. Currently we only do this
  634. for established TCP sockets.
  635. It may add an additional cost for pure routing workloads that
  636. reduces overall throughput, in such case you should disable it.
  637. Default: 1
  638. icmp_echo_ignore_all - BOOLEAN
  639. If set non-zero, then the kernel will ignore all ICMP ECHO
  640. requests sent to it.
  641. Default: 0
  642. icmp_echo_ignore_broadcasts - BOOLEAN
  643. If set non-zero, then the kernel will ignore all ICMP ECHO and
  644. TIMESTAMP requests sent to it via broadcast/multicast.
  645. Default: 1
  646. icmp_ratelimit - INTEGER
  647. Limit the maximal rates for sending ICMP packets whose type matches
  648. icmp_ratemask (see below) to specific targets.
  649. 0 to disable any limiting,
  650. otherwise the minimal space between responses in milliseconds.
  651. Note that another sysctl, icmp_msgs_per_sec limits the number
  652. of ICMP packets sent on all targets.
  653. Default: 1000
  654. icmp_msgs_per_sec - INTEGER
  655. Limit maximal number of ICMP packets sent per second from this host.
  656. Only messages whose type matches icmp_ratemask (see below) are
  657. controlled by this limit.
  658. Default: 1000
  659. icmp_msgs_burst - INTEGER
  660. icmp_msgs_per_sec controls number of ICMP packets sent per second,
  661. while icmp_msgs_burst controls the burst size of these packets.
  662. Default: 50
  663. icmp_ratemask - INTEGER
  664. Mask made of ICMP types for which rates are being limited.
  665. Significant bits: IHGFEDCBA9876543210
  666. Default mask: 0000001100000011000 (6168)
  667. Bit definitions (see include/linux/icmp.h):
  668. 0 Echo Reply
  669. 3 Destination Unreachable *
  670. 4 Source Quench *
  671. 5 Redirect
  672. 8 Echo Request
  673. B Time Exceeded *
  674. C Parameter Problem *
  675. D Timestamp Request
  676. E Timestamp Reply
  677. F Info Request
  678. G Info Reply
  679. H Address Mask Request
  680. I Address Mask Reply
  681. * These are rate limited by default (see default mask above)
  682. icmp_ignore_bogus_error_responses - BOOLEAN
  683. Some routers violate RFC1122 by sending bogus responses to broadcast
  684. frames. Such violations are normally logged via a kernel warning.
  685. If this is set to TRUE, the kernel will not give such warnings, which
  686. will avoid log file clutter.
  687. Default: 1
  688. icmp_errors_use_inbound_ifaddr - BOOLEAN
  689. If zero, icmp error messages are sent with the primary address of
  690. the exiting interface.
  691. If non-zero, the message will be sent with the primary address of
  692. the interface that received the packet that caused the icmp error.
  693. This is the behaviour network many administrators will expect from
  694. a router. And it can make debugging complicated network layouts
  695. much easier.
  696. Note that if no primary address exists for the interface selected,
  697. then the primary address of the first non-loopback interface that
  698. has one will be used regardless of this setting.
  699. Default: 0
  700. igmp_max_memberships - INTEGER
  701. Change the maximum number of multicast groups we can subscribe to.
  702. Default: 20
  703. Theoretical maximum value is bounded by having to send a membership
  704. report in a single datagram (i.e. the report can't span multiple
  705. datagrams, or risk confusing the switch and leaving groups you don't
  706. intend to).
  707. The number of supported groups 'M' is bounded by the number of group
  708. report entries you can fit into a single datagram of 65535 bytes.
  709. M = 65536-sizeof (ip header)/(sizeof(Group record))
  710. Group records are variable length, with a minimum of 12 bytes.
  711. So net.ipv4.igmp_max_memberships should not be set higher than:
  712. (65536-24) / 12 = 5459
  713. The value 5459 assumes no IP header options, so in practice
  714. this number may be lower.
  715. conf/interface/* changes special settings per interface (where
  716. "interface" is the name of your network interface)
  717. conf/all/* is special, changes the settings for all interfaces
  718. igmp_qrv - INTEGER
  719. Controls the IGMP query robustness variable (see RFC2236 8.1).
  720. Default: 2 (as specified by RFC2236 8.1)
  721. Minimum: 1 (as specified by RFC6636 4.5)
  722. log_martians - BOOLEAN
  723. Log packets with impossible addresses to kernel log.
  724. log_martians for the interface will be enabled if at least one of
  725. conf/{all,interface}/log_martians is set to TRUE,
  726. it will be disabled otherwise
  727. accept_redirects - BOOLEAN
  728. Accept ICMP redirect messages.
  729. accept_redirects for the interface will be enabled if:
  730. - both conf/{all,interface}/accept_redirects are TRUE in the case
  731. forwarding for the interface is enabled
  732. or
  733. - at least one of conf/{all,interface}/accept_redirects is TRUE in the
  734. case forwarding for the interface is disabled
  735. accept_redirects for the interface will be disabled otherwise
  736. default TRUE (host)
  737. FALSE (router)
  738. forwarding - BOOLEAN
  739. Enable IP forwarding on this interface.
  740. mc_forwarding - BOOLEAN
  741. Do multicast routing. The kernel needs to be compiled with CONFIG_MROUTE
  742. and a multicast routing daemon is required.
  743. conf/all/mc_forwarding must also be set to TRUE to enable multicast
  744. routing for the interface
  745. medium_id - INTEGER
  746. Integer value used to differentiate the devices by the medium they
  747. are attached to. Two devices can have different id values when
  748. the broadcast packets are received only on one of them.
  749. The default value 0 means that the device is the only interface
  750. to its medium, value of -1 means that medium is not known.
  751. Currently, it is used to change the proxy_arp behavior:
  752. the proxy_arp feature is enabled for packets forwarded between
  753. two devices attached to different media.
  754. proxy_arp - BOOLEAN
  755. Do proxy arp.
  756. proxy_arp for the interface will be enabled if at least one of
  757. conf/{all,interface}/proxy_arp is set to TRUE,
  758. it will be disabled otherwise
  759. proxy_arp_pvlan - BOOLEAN
  760. Private VLAN proxy arp.
  761. Basically allow proxy arp replies back to the same interface
  762. (from which the ARP request/solicitation was received).
  763. This is done to support (ethernet) switch features, like RFC
  764. 3069, where the individual ports are NOT allowed to
  765. communicate with each other, but they are allowed to talk to
  766. the upstream router. As described in RFC 3069, it is possible
  767. to allow these hosts to communicate through the upstream
  768. router by proxy_arp'ing. Don't need to be used together with
  769. proxy_arp.
  770. This technology is known by different names:
  771. In RFC 3069 it is called VLAN Aggregation.
  772. Cisco and Allied Telesyn call it Private VLAN.
  773. Hewlett-Packard call it Source-Port filtering or port-isolation.
  774. Ericsson call it MAC-Forced Forwarding (RFC Draft).
  775. shared_media - BOOLEAN
  776. Send(router) or accept(host) RFC1620 shared media redirects.
  777. Overrides ip_secure_redirects.
  778. shared_media for the interface will be enabled if at least one of
  779. conf/{all,interface}/shared_media is set to TRUE,
  780. it will be disabled otherwise
  781. default TRUE
  782. secure_redirects - BOOLEAN
  783. Accept ICMP redirect messages only for gateways,
  784. listed in default gateway list.
  785. secure_redirects for the interface will be enabled if at least one of
  786. conf/{all,interface}/secure_redirects is set to TRUE,
  787. it will be disabled otherwise
  788. default TRUE
  789. send_redirects - BOOLEAN
  790. Send redirects, if router.
  791. send_redirects for the interface will be enabled if at least one of
  792. conf/{all,interface}/send_redirects is set to TRUE,
  793. it will be disabled otherwise
  794. Default: TRUE
  795. bootp_relay - BOOLEAN
  796. Accept packets with source address 0.b.c.d destined
  797. not to this host as local ones. It is supposed, that
  798. BOOTP relay daemon will catch and forward such packets.
  799. conf/all/bootp_relay must also be set to TRUE to enable BOOTP relay
  800. for the interface
  801. default FALSE
  802. Not Implemented Yet.
  803. accept_source_route - BOOLEAN
  804. Accept packets with SRR option.
  805. conf/all/accept_source_route must also be set to TRUE to accept packets
  806. with SRR option on the interface
  807. default TRUE (router)
  808. FALSE (host)
  809. accept_local - BOOLEAN
  810. Accept packets with local source addresses. In combination with
  811. suitable routing, this can be used to direct packets between two
  812. local interfaces over the wire and have them accepted properly.
  813. default FALSE
  814. route_localnet - BOOLEAN
  815. Do not consider loopback addresses as martian source or destination
  816. while routing. This enables the use of 127/8 for local routing purposes.
  817. default FALSE
  818. rp_filter - INTEGER
  819. 0 - No source validation.
  820. 1 - Strict mode as defined in RFC3704 Strict Reverse Path
  821. Each incoming packet is tested against the FIB and if the interface
  822. is not the best reverse path the packet check will fail.
  823. By default failed packets are discarded.
  824. 2 - Loose mode as defined in RFC3704 Loose Reverse Path
  825. Each incoming packet's source address is also tested against the FIB
  826. and if the source address is not reachable via any interface
  827. the packet check will fail.
  828. Current recommended practice in RFC3704 is to enable strict mode
  829. to prevent IP spoofing from DDos attacks. If using asymmetric routing
  830. or other complicated routing, then loose mode is recommended.
  831. The max value from conf/{all,interface}/rp_filter is used
  832. when doing source validation on the {interface}.
  833. Default value is 0. Note that some distributions enable it
  834. in startup scripts.
  835. arp_filter - BOOLEAN
  836. 1 - Allows you to have multiple network interfaces on the same
  837. subnet, and have the ARPs for each interface be answered
  838. based on whether or not the kernel would route a packet from
  839. the ARP'd IP out that interface (therefore you must use source
  840. based routing for this to work). In other words it allows control
  841. of which cards (usually 1) will respond to an arp request.
  842. 0 - (default) The kernel can respond to arp requests with addresses
  843. from other interfaces. This may seem wrong but it usually makes
  844. sense, because it increases the chance of successful communication.
  845. IP addresses are owned by the complete host on Linux, not by
  846. particular interfaces. Only for more complex setups like load-
  847. balancing, does this behaviour cause problems.
  848. arp_filter for the interface will be enabled if at least one of
  849. conf/{all,interface}/arp_filter is set to TRUE,
  850. it will be disabled otherwise
  851. arp_announce - INTEGER
  852. Define different restriction levels for announcing the local
  853. source IP address from IP packets in ARP requests sent on
  854. interface:
  855. 0 - (default) Use any local address, configured on any interface
  856. 1 - Try to avoid local addresses that are not in the target's
  857. subnet for this interface. This mode is useful when target
  858. hosts reachable via this interface require the source IP
  859. address in ARP requests to be part of their logical network
  860. configured on the receiving interface. When we generate the
  861. request we will check all our subnets that include the
  862. target IP and will preserve the source address if it is from
  863. such subnet. If there is no such subnet we select source
  864. address according to the rules for level 2.
  865. 2 - Always use the best local address for this target.
  866. In this mode we ignore the source address in the IP packet
  867. and try to select local address that we prefer for talks with
  868. the target host. Such local address is selected by looking
  869. for primary IP addresses on all our subnets on the outgoing
  870. interface that include the target IP address. If no suitable
  871. local address is found we select the first local address
  872. we have on the outgoing interface or on all other interfaces,
  873. with the hope we will receive reply for our request and
  874. even sometimes no matter the source IP address we announce.
  875. The max value from conf/{all,interface}/arp_announce is used.
  876. Increasing the restriction level gives more chance for
  877. receiving answer from the resolved target while decreasing
  878. the level announces more valid sender's information.
  879. arp_ignore - INTEGER
  880. Define different modes for sending replies in response to
  881. received ARP requests that resolve local target IP addresses:
  882. 0 - (default): reply for any local target IP address, configured
  883. on any interface
  884. 1 - reply only if the target IP address is local address
  885. configured on the incoming interface
  886. 2 - reply only if the target IP address is local address
  887. configured on the incoming interface and both with the
  888. sender's IP address are part from same subnet on this interface
  889. 3 - do not reply for local addresses configured with scope host,
  890. only resolutions for global and link addresses are replied
  891. 4-7 - reserved
  892. 8 - do not reply for all local addresses
  893. The max value from conf/{all,interface}/arp_ignore is used
  894. when ARP request is received on the {interface}
  895. arp_notify - BOOLEAN
  896. Define mode for notification of address and device changes.
  897. 0 - (default): do nothing
  898. 1 - Generate gratuitous arp requests when device is brought up
  899. or hardware address changes.
  900. arp_accept - BOOLEAN
  901. Define behavior for gratuitous ARP frames who's IP is not
  902. already present in the ARP table:
  903. 0 - don't create new entries in the ARP table
  904. 1 - create new entries in the ARP table
  905. Both replies and requests type gratuitous arp will trigger the
  906. ARP table to be updated, if this setting is on.
  907. If the ARP table already contains the IP address of the
  908. gratuitous arp frame, the arp table will be updated regardless
  909. if this setting is on or off.
  910. app_solicit - INTEGER
  911. The maximum number of probes to send to the user space ARP daemon
  912. via netlink before dropping back to multicast probes (see
  913. mcast_solicit). Defaults to 0.
  914. disable_policy - BOOLEAN
  915. Disable IPSEC policy (SPD) for this interface
  916. disable_xfrm - BOOLEAN
  917. Disable IPSEC encryption on this interface, whatever the policy
  918. igmpv2_unsolicited_report_interval - INTEGER
  919. The interval in milliseconds in which the next unsolicited
  920. IGMPv1 or IGMPv2 report retransmit will take place.
  921. Default: 10000 (10 seconds)
  922. igmpv3_unsolicited_report_interval - INTEGER
  923. The interval in milliseconds in which the next unsolicited
  924. IGMPv3 report retransmit will take place.
  925. Default: 1000 (1 seconds)
  926. promote_secondaries - BOOLEAN
  927. When a primary IP address is removed from this interface
  928. promote a corresponding secondary IP address instead of
  929. removing all the corresponding secondary IP addresses.
  930. tag - INTEGER
  931. Allows you to write a number, which can be used as required.
  932. Default value is 0.
  933. Alexey Kuznetsov.
  934. kuznet@ms2.inr.ac.ru
  935. Updated by:
  936. Andi Kleen
  937. ak@muc.de
  938. Nicolas Delon
  939. delon.nicolas@wanadoo.fr
  940. /proc/sys/net/ipv6/* Variables:
  941. IPv6 has no global variables such as tcp_*. tcp_* settings under ipv4/ also
  942. apply to IPv6 [XXX?].
  943. bindv6only - BOOLEAN
  944. Default value for IPV6_V6ONLY socket option,
  945. which restricts use of the IPv6 socket to IPv6 communication
  946. only.
  947. TRUE: disable IPv4-mapped address feature
  948. FALSE: enable IPv4-mapped address feature
  949. Default: FALSE (as specified in RFC3493)
  950. flowlabel_consistency - BOOLEAN
  951. Protect the consistency (and unicity) of flow label.
  952. You have to disable it to use IPV6_FL_F_REFLECT flag on the
  953. flow label manager.
  954. TRUE: enabled
  955. FALSE: disabled
  956. Default: TRUE
  957. auto_flowlabels - BOOLEAN
  958. Automatically generate flow labels based based on a flow hash
  959. of the packet. This allows intermediate devices, such as routers,
  960. to idenfify packet flows for mechanisms like Equal Cost Multipath
  961. Routing (see RFC 6438).
  962. TRUE: enabled
  963. FALSE: disabled
  964. Default: false
  965. anycast_src_echo_reply - BOOLEAN
  966. Controls the use of anycast addresses as source addresses for ICMPv6
  967. echo reply
  968. TRUE: enabled
  969. FALSE: disabled
  970. Default: FALSE
  971. mld_qrv - INTEGER
  972. Controls the MLD query robustness variable (see RFC3810 9.1).
  973. Default: 2 (as specified by RFC3810 9.1)
  974. Minimum: 1 (as specified by RFC6636 4.5)
  975. IPv6 Fragmentation:
  976. ip6frag_high_thresh - INTEGER
  977. Maximum memory used to reassemble IPv6 fragments. When
  978. ip6frag_high_thresh bytes of memory is allocated for this purpose,
  979. the fragment handler will toss packets until ip6frag_low_thresh
  980. is reached.
  981. ip6frag_low_thresh - INTEGER
  982. See ip6frag_high_thresh
  983. ip6frag_time - INTEGER
  984. Time in seconds to keep an IPv6 fragment in memory.
  985. conf/default/*:
  986. Change the interface-specific default settings.
  987. conf/all/*:
  988. Change all the interface-specific settings.
  989. [XXX: Other special features than forwarding?]
  990. conf/all/forwarding - BOOLEAN
  991. Enable global IPv6 forwarding between all interfaces.
  992. IPv4 and IPv6 work differently here; e.g. netfilter must be used
  993. to control which interfaces may forward packets and which not.
  994. This also sets all interfaces' Host/Router setting
  995. 'forwarding' to the specified value. See below for details.
  996. This referred to as global forwarding.
  997. proxy_ndp - BOOLEAN
  998. Do proxy ndp.
  999. fwmark_reflect - BOOLEAN
  1000. Controls the fwmark of kernel-generated IPv6 reply packets that are not
  1001. associated with a socket for example, TCP RSTs or ICMPv6 echo replies).
  1002. If unset, these packets have a fwmark of zero. If set, they have the
  1003. fwmark of the packet they are replying to. Similarly affects the fwmark
  1004. used by internal routing lookups triggered by incoming packets, such as
  1005. the ones used for Path MTU Discovery.
  1006. Default: 0
  1007. conf/interface/*:
  1008. Change special settings per interface.
  1009. The functional behaviour for certain settings is different
  1010. depending on whether local forwarding is enabled or not.
  1011. accept_ra - INTEGER
  1012. Accept Router Advertisements; autoconfigure using them.
  1013. It also determines whether or not to transmit Router
  1014. Solicitations. If and only if the functional setting is to
  1015. accept Router Advertisements, Router Solicitations will be
  1016. transmitted.
  1017. Possible values are:
  1018. 0 Do not accept Router Advertisements.
  1019. 1 Accept Router Advertisements if forwarding is disabled.
  1020. 2 Overrule forwarding behaviour. Accept Router Advertisements
  1021. even if forwarding is enabled.
  1022. Functional default: enabled if local forwarding is disabled.
  1023. disabled if local forwarding is enabled.
  1024. accept_ra_defrtr - BOOLEAN
  1025. Learn default router in Router Advertisement.
  1026. Functional default: enabled if accept_ra is enabled.
  1027. disabled if accept_ra is disabled.
  1028. accept_ra_from_local - BOOLEAN
  1029. Accept RA with source-address that is found on local machine
  1030. if the RA is otherwise proper and able to be accepted.
  1031. Default is to NOT accept these as it may be an un-intended
  1032. network loop.
  1033. Functional default:
  1034. enabled if accept_ra_from_local is enabled
  1035. on a specific interface.
  1036. disabled if accept_ra_from_local is disabled
  1037. on a specific interface.
  1038. accept_ra_pinfo - BOOLEAN
  1039. Learn Prefix Information in Router Advertisement.
  1040. Functional default: enabled if accept_ra is enabled.
  1041. disabled if accept_ra is disabled.
  1042. accept_ra_rt_info_max_plen - INTEGER
  1043. Maximum prefix length of Route Information in RA.
  1044. Route Information w/ prefix larger than or equal to this
  1045. variable shall be ignored.
  1046. Functional default: 0 if accept_ra_rtr_pref is enabled.
  1047. -1 if accept_ra_rtr_pref is disabled.
  1048. accept_ra_rtr_pref - BOOLEAN
  1049. Accept Router Preference in RA.
  1050. Functional default: enabled if accept_ra is enabled.
  1051. disabled if accept_ra is disabled.
  1052. accept_redirects - BOOLEAN
  1053. Accept Redirects.
  1054. Functional default: enabled if local forwarding is disabled.
  1055. disabled if local forwarding is enabled.
  1056. accept_source_route - INTEGER
  1057. Accept source routing (routing extension header).
  1058. >= 0: Accept only routing header type 2.
  1059. < 0: Do not accept routing header.
  1060. Default: 0
  1061. autoconf - BOOLEAN
  1062. Autoconfigure addresses using Prefix Information in Router
  1063. Advertisements.
  1064. Functional default: enabled if accept_ra_pinfo is enabled.
  1065. disabled if accept_ra_pinfo is disabled.
  1066. dad_transmits - INTEGER
  1067. The amount of Duplicate Address Detection probes to send.
  1068. Default: 1
  1069. forwarding - INTEGER
  1070. Configure interface-specific Host/Router behaviour.
  1071. Note: It is recommended to have the same setting on all
  1072. interfaces; mixed router/host scenarios are rather uncommon.
  1073. Possible values are:
  1074. 0 Forwarding disabled
  1075. 1 Forwarding enabled
  1076. FALSE (0):
  1077. By default, Host behaviour is assumed. This means:
  1078. 1. IsRouter flag is not set in Neighbour Advertisements.
  1079. 2. If accept_ra is TRUE (default), transmit Router
  1080. Solicitations.
  1081. 3. If accept_ra is TRUE (default), accept Router
  1082. Advertisements (and do autoconfiguration).
  1083. 4. If accept_redirects is TRUE (default), accept Redirects.
  1084. TRUE (1):
  1085. If local forwarding is enabled, Router behaviour is assumed.
  1086. This means exactly the reverse from the above:
  1087. 1. IsRouter flag is set in Neighbour Advertisements.
  1088. 2. Router Solicitations are not sent unless accept_ra is 2.
  1089. 3. Router Advertisements are ignored unless accept_ra is 2.
  1090. 4. Redirects are ignored.
  1091. Default: 0 (disabled) if global forwarding is disabled (default),
  1092. otherwise 1 (enabled).
  1093. hop_limit - INTEGER
  1094. Default Hop Limit to set.
  1095. Default: 64
  1096. mtu - INTEGER
  1097. Default Maximum Transfer Unit
  1098. Default: 1280 (IPv6 required minimum)
  1099. router_probe_interval - INTEGER
  1100. Minimum interval (in seconds) between Router Probing described
  1101. in RFC4191.
  1102. Default: 60
  1103. router_solicitation_delay - INTEGER
  1104. Number of seconds to wait after interface is brought up
  1105. before sending Router Solicitations.
  1106. Default: 1
  1107. router_solicitation_interval - INTEGER
  1108. Number of seconds to wait between Router Solicitations.
  1109. Default: 4
  1110. router_solicitations - INTEGER
  1111. Number of Router Solicitations to send until assuming no
  1112. routers are present.
  1113. Default: 3
  1114. use_tempaddr - INTEGER
  1115. Preference for Privacy Extensions (RFC3041).
  1116. <= 0 : disable Privacy Extensions
  1117. == 1 : enable Privacy Extensions, but prefer public
  1118. addresses over temporary addresses.
  1119. > 1 : enable Privacy Extensions and prefer temporary
  1120. addresses over public addresses.
  1121. Default: 0 (for most devices)
  1122. -1 (for point-to-point devices and loopback devices)
  1123. temp_valid_lft - INTEGER
  1124. valid lifetime (in seconds) for temporary addresses.
  1125. Default: 604800 (7 days)
  1126. temp_prefered_lft - INTEGER
  1127. Preferred lifetime (in seconds) for temporary addresses.
  1128. Default: 86400 (1 day)
  1129. max_desync_factor - INTEGER
  1130. Maximum value for DESYNC_FACTOR, which is a random value
  1131. that ensures that clients don't synchronize with each
  1132. other and generate new addresses at exactly the same time.
  1133. value is in seconds.
  1134. Default: 600
  1135. regen_max_retry - INTEGER
  1136. Number of attempts before give up attempting to generate
  1137. valid temporary addresses.
  1138. Default: 5
  1139. max_addresses - INTEGER
  1140. Maximum number of autoconfigured addresses per interface. Setting
  1141. to zero disables the limitation. It is not recommended to set this
  1142. value too large (or to zero) because it would be an easy way to
  1143. crash the kernel by allowing too many addresses to be created.
  1144. Default: 16
  1145. disable_ipv6 - BOOLEAN
  1146. Disable IPv6 operation. If accept_dad is set to 2, this value
  1147. will be dynamically set to TRUE if DAD fails for the link-local
  1148. address.
  1149. Default: FALSE (enable IPv6 operation)
  1150. When this value is changed from 1 to 0 (IPv6 is being enabled),
  1151. it will dynamically create a link-local address on the given
  1152. interface and start Duplicate Address Detection, if necessary.
  1153. When this value is changed from 0 to 1 (IPv6 is being disabled),
  1154. it will dynamically delete all address on the given interface.
  1155. accept_dad - INTEGER
  1156. Whether to accept DAD (Duplicate Address Detection).
  1157. 0: Disable DAD
  1158. 1: Enable DAD (default)
  1159. 2: Enable DAD, and disable IPv6 operation if MAC-based duplicate
  1160. link-local address has been found.
  1161. force_tllao - BOOLEAN
  1162. Enable sending the target link-layer address option even when
  1163. responding to a unicast neighbor solicitation.
  1164. Default: FALSE
  1165. Quoting from RFC 2461, section 4.4, Target link-layer address:
  1166. "The option MUST be included for multicast solicitations in order to
  1167. avoid infinite Neighbor Solicitation "recursion" when the peer node
  1168. does not have a cache entry to return a Neighbor Advertisements
  1169. message. When responding to unicast solicitations, the option can be
  1170. omitted since the sender of the solicitation has the correct link-
  1171. layer address; otherwise it would not have be able to send the unicast
  1172. solicitation in the first place. However, including the link-layer
  1173. address in this case adds little overhead and eliminates a potential
  1174. race condition where the sender deletes the cached link-layer address
  1175. prior to receiving a response to a previous solicitation."
  1176. ndisc_notify - BOOLEAN
  1177. Define mode for notification of address and device changes.
  1178. 0 - (default): do nothing
  1179. 1 - Generate unsolicited neighbour advertisements when device is brought
  1180. up or hardware address changes.
  1181. mldv1_unsolicited_report_interval - INTEGER
  1182. The interval in milliseconds in which the next unsolicited
  1183. MLDv1 report retransmit will take place.
  1184. Default: 10000 (10 seconds)
  1185. mldv2_unsolicited_report_interval - INTEGER
  1186. The interval in milliseconds in which the next unsolicited
  1187. MLDv2 report retransmit will take place.
  1188. Default: 1000 (1 second)
  1189. force_mld_version - INTEGER
  1190. 0 - (default) No enforcement of a MLD version, MLDv1 fallback allowed
  1191. 1 - Enforce to use MLD version 1
  1192. 2 - Enforce to use MLD version 2
  1193. suppress_frag_ndisc - INTEGER
  1194. Control RFC 6980 (Security Implications of IPv6 Fragmentation
  1195. with IPv6 Neighbor Discovery) behavior:
  1196. 1 - (default) discard fragmented neighbor discovery packets
  1197. 0 - allow fragmented neighbor discovery packets
  1198. optimistic_dad - BOOLEAN
  1199. Whether to perform Optimistic Duplicate Address Detection (RFC 4429).
  1200. 0: disabled (default)
  1201. 1: enabled
  1202. use_optimistic - BOOLEAN
  1203. If enabled, do not classify optimistic addresses as deprecated during
  1204. source address selection. Preferred addresses will still be chosen
  1205. before optimistic addresses, subject to other ranking in the source
  1206. address selection algorithm.
  1207. 0: disabled (default)
  1208. 1: enabled
  1209. icmp/*:
  1210. ratelimit - INTEGER
  1211. Limit the maximal rates for sending ICMPv6 packets.
  1212. 0 to disable any limiting,
  1213. otherwise the minimal space between responses in milliseconds.
  1214. Default: 1000
  1215. IPv6 Update by:
  1216. Pekka Savola <pekkas@netcore.fi>
  1217. YOSHIFUJI Hideaki / USAGI Project <yoshfuji@linux-ipv6.org>
  1218. /proc/sys/net/bridge/* Variables:
  1219. bridge-nf-call-arptables - BOOLEAN
  1220. 1 : pass bridged ARP traffic to arptables' FORWARD chain.
  1221. 0 : disable this.
  1222. Default: 1
  1223. bridge-nf-call-iptables - BOOLEAN
  1224. 1 : pass bridged IPv4 traffic to iptables' chains.
  1225. 0 : disable this.
  1226. Default: 1
  1227. bridge-nf-call-ip6tables - BOOLEAN
  1228. 1 : pass bridged IPv6 traffic to ip6tables' chains.
  1229. 0 : disable this.
  1230. Default: 1
  1231. bridge-nf-filter-vlan-tagged - BOOLEAN
  1232. 1 : pass bridged vlan-tagged ARP/IP/IPv6 traffic to {arp,ip,ip6}tables.
  1233. 0 : disable this.
  1234. Default: 0
  1235. bridge-nf-filter-pppoe-tagged - BOOLEAN
  1236. 1 : pass bridged pppoe-tagged IP/IPv6 traffic to {ip,ip6}tables.
  1237. 0 : disable this.
  1238. Default: 0
  1239. bridge-nf-pass-vlan-input-dev - BOOLEAN
  1240. 1: if bridge-nf-filter-vlan-tagged is enabled, try to find a vlan
  1241. interface on the bridge and set the netfilter input device to the vlan.
  1242. This allows use of e.g. "iptables -i br0.1" and makes the REDIRECT
  1243. target work with vlan-on-top-of-bridge interfaces. When no matching
  1244. vlan interface is found, or this switch is off, the input device is
  1245. set to the bridge interface.
  1246. 0: disable bridge netfilter vlan interface lookup.
  1247. Default: 0
  1248. proc/sys/net/sctp/* Variables:
  1249. addip_enable - BOOLEAN
  1250. Enable or disable extension of Dynamic Address Reconfiguration
  1251. (ADD-IP) functionality specified in RFC5061. This extension provides
  1252. the ability to dynamically add and remove new addresses for the SCTP
  1253. associations.
  1254. 1: Enable extension.
  1255. 0: Disable extension.
  1256. Default: 0
  1257. addip_noauth_enable - BOOLEAN
  1258. Dynamic Address Reconfiguration (ADD-IP) requires the use of
  1259. authentication to protect the operations of adding or removing new
  1260. addresses. This requirement is mandated so that unauthorized hosts
  1261. would not be able to hijack associations. However, older
  1262. implementations may not have implemented this requirement while
  1263. allowing the ADD-IP extension. For reasons of interoperability,
  1264. we provide this variable to control the enforcement of the
  1265. authentication requirement.
  1266. 1: Allow ADD-IP extension to be used without authentication. This
  1267. should only be set in a closed environment for interoperability
  1268. with older implementations.
  1269. 0: Enforce the authentication requirement
  1270. Default: 0
  1271. auth_enable - BOOLEAN
  1272. Enable or disable Authenticated Chunks extension. This extension
  1273. provides the ability to send and receive authenticated chunks and is
  1274. required for secure operation of Dynamic Address Reconfiguration
  1275. (ADD-IP) extension.
  1276. 1: Enable this extension.
  1277. 0: Disable this extension.
  1278. Default: 0
  1279. prsctp_enable - BOOLEAN
  1280. Enable or disable the Partial Reliability extension (RFC3758) which
  1281. is used to notify peers that a given DATA should no longer be expected.
  1282. 1: Enable extension
  1283. 0: Disable
  1284. Default: 1
  1285. max_burst - INTEGER
  1286. The limit of the number of new packets that can be initially sent. It
  1287. controls how bursty the generated traffic can be.
  1288. Default: 4
  1289. association_max_retrans - INTEGER
  1290. Set the maximum number for retransmissions that an association can
  1291. attempt deciding that the remote end is unreachable. If this value
  1292. is exceeded, the association is terminated.
  1293. Default: 10
  1294. max_init_retransmits - INTEGER
  1295. The maximum number of retransmissions of INIT and COOKIE-ECHO chunks
  1296. that an association will attempt before declaring the destination
  1297. unreachable and terminating.
  1298. Default: 8
  1299. path_max_retrans - INTEGER
  1300. The maximum number of retransmissions that will be attempted on a given
  1301. path. Once this threshold is exceeded, the path is considered
  1302. unreachable, and new traffic will use a different path when the
  1303. association is multihomed.
  1304. Default: 5
  1305. pf_retrans - INTEGER
  1306. The number of retransmissions that will be attempted on a given path
  1307. before traffic is redirected to an alternate transport (should one
  1308. exist). Note this is distinct from path_max_retrans, as a path that
  1309. passes the pf_retrans threshold can still be used. Its only
  1310. deprioritized when a transmission path is selected by the stack. This
  1311. setting is primarily used to enable fast failover mechanisms without
  1312. having to reduce path_max_retrans to a very low value. See:
  1313. http://www.ietf.org/id/draft-nishida-tsvwg-sctp-failover-05.txt
  1314. for details. Note also that a value of pf_retrans > path_max_retrans
  1315. disables this feature
  1316. Default: 0
  1317. rto_initial - INTEGER
  1318. The initial round trip timeout value in milliseconds that will be used
  1319. in calculating round trip times. This is the initial time interval
  1320. for retransmissions.
  1321. Default: 3000
  1322. rto_max - INTEGER
  1323. The maximum value (in milliseconds) of the round trip timeout. This
  1324. is the largest time interval that can elapse between retransmissions.
  1325. Default: 60000
  1326. rto_min - INTEGER
  1327. The minimum value (in milliseconds) of the round trip timeout. This
  1328. is the smallest time interval the can elapse between retransmissions.
  1329. Default: 1000
  1330. hb_interval - INTEGER
  1331. The interval (in milliseconds) between HEARTBEAT chunks. These chunks
  1332. are sent at the specified interval on idle paths to probe the state of
  1333. a given path between 2 associations.
  1334. Default: 30000
  1335. sack_timeout - INTEGER
  1336. The amount of time (in milliseconds) that the implementation will wait
  1337. to send a SACK.
  1338. Default: 200
  1339. valid_cookie_life - INTEGER
  1340. The default lifetime of the SCTP cookie (in milliseconds). The cookie
  1341. is used during association establishment.
  1342. Default: 60000
  1343. cookie_preserve_enable - BOOLEAN
  1344. Enable or disable the ability to extend the lifetime of the SCTP cookie
  1345. that is used during the establishment phase of SCTP association
  1346. 1: Enable cookie lifetime extension.
  1347. 0: Disable
  1348. Default: 1
  1349. cookie_hmac_alg - STRING
  1350. Select the hmac algorithm used when generating the cookie value sent by
  1351. a listening sctp socket to a connecting client in the INIT-ACK chunk.
  1352. Valid values are:
  1353. * md5
  1354. * sha1
  1355. * none
  1356. Ability to assign md5 or sha1 as the selected alg is predicated on the
  1357. configuration of those algorithms at build time (CONFIG_CRYPTO_MD5 and
  1358. CONFIG_CRYPTO_SHA1).
  1359. Default: Dependent on configuration. MD5 if available, else SHA1 if
  1360. available, else none.
  1361. rcvbuf_policy - INTEGER
  1362. Determines if the receive buffer is attributed to the socket or to
  1363. association. SCTP supports the capability to create multiple
  1364. associations on a single socket. When using this capability, it is
  1365. possible that a single stalled association that's buffering a lot
  1366. of data may block other associations from delivering their data by
  1367. consuming all of the receive buffer space. To work around this,
  1368. the rcvbuf_policy could be set to attribute the receiver buffer space
  1369. to each association instead of the socket. This prevents the described
  1370. blocking.
  1371. 1: rcvbuf space is per association
  1372. 0: rcvbuf space is per socket
  1373. Default: 0
  1374. sndbuf_policy - INTEGER
  1375. Similar to rcvbuf_policy above, this applies to send buffer space.
  1376. 1: Send buffer is tracked per association
  1377. 0: Send buffer is tracked per socket.
  1378. Default: 0
  1379. sctp_mem - vector of 3 INTEGERs: min, pressure, max
  1380. Number of pages allowed for queueing by all SCTP sockets.
  1381. min: Below this number of pages SCTP is not bothered about its
  1382. memory appetite. When amount of memory allocated by SCTP exceeds
  1383. this number, SCTP starts to moderate memory usage.
  1384. pressure: This value was introduced to follow format of tcp_mem.
  1385. max: Number of pages allowed for queueing by all SCTP sockets.
  1386. Default is calculated at boot time from amount of available memory.
  1387. sctp_rmem - vector of 3 INTEGERs: min, default, max
  1388. Only the first value ("min") is used, "default" and "max" are
  1389. ignored.
  1390. min: Minimal size of receive buffer used by SCTP socket.
  1391. It is guaranteed to each SCTP socket (but not association) even
  1392. under moderate memory pressure.
  1393. Default: 1 page
  1394. sctp_wmem - vector of 3 INTEGERs: min, default, max
  1395. Currently this tunable has no effect.
  1396. addr_scope_policy - INTEGER
  1397. Control IPv4 address scoping - draft-stewart-tsvwg-sctp-ipv4-00
  1398. 0 - Disable IPv4 address scoping
  1399. 1 - Enable IPv4 address scoping
  1400. 2 - Follow draft but allow IPv4 private addresses
  1401. 3 - Follow draft but allow IPv4 link local addresses
  1402. Default: 1
  1403. /proc/sys/net/core/*
  1404. Please see: Documentation/sysctl/net.txt for descriptions of these entries.
  1405. /proc/sys/net/unix/*
  1406. max_dgram_qlen - INTEGER
  1407. The maximum length of dgram socket receive queue
  1408. Default: 10
  1409. UNDOCUMENTED:
  1410. /proc/sys/net/irda/*
  1411. fast_poll_increase FIXME
  1412. warn_noreply_time FIXME
  1413. discovery_slots FIXME
  1414. slot_timeout FIXME
  1415. max_baud_rate FIXME
  1416. discovery_timeout FIXME
  1417. lap_keepalive_time FIXME
  1418. max_noreply_time FIXME
  1419. max_tx_data_size FIXME
  1420. max_tx_window FIXME
  1421. min_tx_turn_time FIXME