Kconfig 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # IP configuration
  4. #
  5. config IP_MULTICAST
  6. bool "IP: multicasting"
  7. help
  8. This is code for addressing several networked computers at once,
  9. enlarging your kernel by about 2 KB. You need multicasting if you
  10. intend to participate in the MBONE, a high bandwidth network on top
  11. of the Internet which carries audio and video broadcasts. More
  12. information about the MBONE is on the WWW at
  13. <https://www.savetz.com/mbone/>. For most people, it's safe to say N.
  14. config IP_ADVANCED_ROUTER
  15. bool "IP: advanced router"
  16. help
  17. If you intend to run your Linux box mostly as a router, i.e. as a
  18. computer that forwards and redistributes network packets, say Y; you
  19. will then be presented with several options that allow more precise
  20. control about the routing process.
  21. The answer to this question won't directly affect the kernel:
  22. answering N will just cause the configurator to skip all the
  23. questions about advanced routing.
  24. Note that your box can only act as a router if you enable IP
  25. forwarding in your kernel; you can do that by saying Y to "/proc
  26. file system support" and "Sysctl support" below and executing the
  27. line
  28. echo "1" > /proc/sys/net/ipv4/ip_forward
  29. at boot time after the /proc file system has been mounted.
  30. If you turn on IP forwarding, you should consider the rp_filter, which
  31. automatically rejects incoming packets if the routing table entry
  32. for their source address doesn't match the network interface they're
  33. arriving on. This has security advantages because it prevents the
  34. so-called IP spoofing, however it can pose problems if you use
  35. asymmetric routing (packets from you to a host take a different path
  36. than packets from that host to you) or if you operate a non-routing
  37. host which has several IP addresses on different interfaces. To turn
  38. rp_filter on use:
  39. echo 1 > /proc/sys/net/ipv4/conf/<device>/rp_filter
  40. or
  41. echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter
  42. Note that some distributions enable it in startup scripts.
  43. For details about rp_filter strict and loose mode read
  44. <file:Documentation/networking/ip-sysctl.rst>.
  45. If unsure, say N here.
  46. config IP_FIB_TRIE_STATS
  47. bool "FIB TRIE statistics"
  48. depends on IP_ADVANCED_ROUTER
  49. help
  50. Keep track of statistics on structure of FIB TRIE table.
  51. Useful for testing and measuring TRIE performance.
  52. config IP_MULTIPLE_TABLES
  53. bool "IP: policy routing"
  54. depends on IP_ADVANCED_ROUTER
  55. select FIB_RULES
  56. help
  57. Normally, a router decides what to do with a received packet based
  58. solely on the packet's final destination address. If you say Y here,
  59. the Linux router will also be able to take the packet's source
  60. address into account. Furthermore, the TOS (Type-Of-Service) field
  61. of the packet can be used for routing decisions as well.
  62. If you need more information, see the Linux Advanced
  63. Routing and Traffic Control documentation at
  64. <https://lartc.org/howto/lartc.rpdb.html>
  65. If unsure, say N.
  66. config IP_ROUTE_MULTIPATH
  67. bool "IP: equal cost multipath"
  68. depends on IP_ADVANCED_ROUTER
  69. help
  70. Normally, the routing tables specify a single action to be taken in
  71. a deterministic manner for a given packet. If you say Y here
  72. however, it becomes possible to attach several actions to a packet
  73. pattern, in effect specifying several alternative paths to travel
  74. for those packets. The router considers all these paths to be of
  75. equal "cost" and chooses one of them in a non-deterministic fashion
  76. if a matching packet arrives.
  77. config IP_ROUTE_VERBOSE
  78. bool "IP: verbose route monitoring"
  79. depends on IP_ADVANCED_ROUTER
  80. help
  81. If you say Y here, which is recommended, then the kernel will print
  82. verbose messages regarding the routing, for example warnings about
  83. received packets which look strange and could be evidence of an
  84. attack or a misconfigured system somewhere. The information is
  85. handled by the klogd daemon which is responsible for kernel messages
  86. ("man klogd").
  87. config IP_ROUTE_CLASSID
  88. bool
  89. config IP_PNP
  90. bool "IP: kernel level autoconfiguration"
  91. help
  92. This enables automatic configuration of IP addresses of devices and
  93. of the routing table during kernel boot, based on either information
  94. supplied on the kernel command line or by BOOTP or RARP protocols.
  95. You need to say Y only for diskless machines requiring network
  96. access to boot (in which case you want to say Y to "Root file system
  97. on NFS" as well), because all other machines configure the network
  98. in their startup scripts.
  99. config IP_PNP_DHCP
  100. bool "IP: DHCP support"
  101. depends on IP_PNP
  102. help
  103. If you want your Linux box to mount its whole root file system (the
  104. one containing the directory /) from some other computer over the
  105. net via NFS and you want the IP address of your computer to be
  106. discovered automatically at boot time using the DHCP protocol (a
  107. special protocol designed for doing this job), say Y here. In case
  108. the boot ROM of your network card was designed for booting Linux and
  109. does DHCP itself, providing all necessary information on the kernel
  110. command line, you can say N here.
  111. If unsure, say Y. Note that if you want to use DHCP, a DHCP server
  112. must be operating on your network. Read
  113. <file:Documentation/admin-guide/nfs/nfsroot.rst> for details.
  114. config IP_PNP_BOOTP
  115. bool "IP: BOOTP support"
  116. depends on IP_PNP
  117. help
  118. If you want your Linux box to mount its whole root file system (the
  119. one containing the directory /) from some other computer over the
  120. net via NFS and you want the IP address of your computer to be
  121. discovered automatically at boot time using the BOOTP protocol (a
  122. special protocol designed for doing this job), say Y here. In case
  123. the boot ROM of your network card was designed for booting Linux and
  124. does BOOTP itself, providing all necessary information on the kernel
  125. command line, you can say N here. If unsure, say Y. Note that if you
  126. want to use BOOTP, a BOOTP server must be operating on your network.
  127. Read <file:Documentation/admin-guide/nfs/nfsroot.rst> for details.
  128. config IP_PNP_RARP
  129. bool "IP: RARP support"
  130. depends on IP_PNP
  131. help
  132. If you want your Linux box to mount its whole root file system (the
  133. one containing the directory /) from some other computer over the
  134. net via NFS and you want the IP address of your computer to be
  135. discovered automatically at boot time using the RARP protocol (an
  136. older protocol which is being obsoleted by BOOTP and DHCP), say Y
  137. here. Note that if you want to use RARP, a RARP server must be
  138. operating on your network. Read
  139. <file:Documentation/admin-guide/nfs/nfsroot.rst> for details.
  140. config NET_IPIP
  141. tristate "IP: tunneling"
  142. select INET_TUNNEL
  143. select NET_IP_TUNNEL
  144. help
  145. Tunneling means encapsulating data of one protocol type within
  146. another protocol and sending it over a channel that understands the
  147. encapsulating protocol. This particular tunneling driver implements
  148. encapsulation of IP within IP, which sounds kind of pointless, but
  149. can be useful if you want to make your (or some other) machine
  150. appear on a different network than it physically is, or to use
  151. mobile-IP facilities (allowing laptops to seamlessly move between
  152. networks without changing their IP addresses).
  153. Saying Y to this option will produce two modules ( = code which can
  154. be inserted in and removed from the running kernel whenever you
  155. want). Most people won't need this and can say N.
  156. config NET_IPGRE_DEMUX
  157. tristate "IP: GRE demultiplexer"
  158. help
  159. This is helper module to demultiplex GRE packets on GRE version field criteria.
  160. Required by ip_gre and pptp modules.
  161. config NET_IP_TUNNEL
  162. tristate
  163. select DST_CACHE
  164. select GRO_CELLS
  165. default n
  166. config NET_IPGRE
  167. tristate "IP: GRE tunnels over IP"
  168. depends on (IPV6 || IPV6=n) && NET_IPGRE_DEMUX
  169. select NET_IP_TUNNEL
  170. help
  171. Tunneling means encapsulating data of one protocol type within
  172. another protocol and sending it over a channel that understands the
  173. encapsulating protocol. This particular tunneling driver implements
  174. GRE (Generic Routing Encapsulation) and at this time allows
  175. encapsulating of IPv4 or IPv6 over existing IPv4 infrastructure.
  176. This driver is useful if the other endpoint is a Cisco router: Cisco
  177. likes GRE much better than the other Linux tunneling driver ("IP
  178. tunneling" above). In addition, GRE allows multicast redistribution
  179. through the tunnel.
  180. config NET_IPGRE_BROADCAST
  181. bool "IP: broadcast GRE over IP"
  182. depends on IP_MULTICAST && NET_IPGRE
  183. help
  184. One application of GRE/IP is to construct a broadcast WAN (Wide Area
  185. Network), which looks like a normal Ethernet LAN (Local Area
  186. Network), but can be distributed all over the Internet. If you want
  187. to do that, say Y here and to "IP multicast routing" below.
  188. config IP_MROUTE_COMMON
  189. bool
  190. depends on IP_MROUTE || IPV6_MROUTE
  191. config IP_MROUTE
  192. bool "IP: multicast routing"
  193. depends on IP_MULTICAST
  194. select IP_MROUTE_COMMON
  195. help
  196. This is used if you want your machine to act as a router for IP
  197. packets that have several destination addresses. It is needed on the
  198. MBONE, a high bandwidth network on top of the Internet which carries
  199. audio and video broadcasts. In order to do that, you would most
  200. likely run the program mrouted. If you haven't heard about it, you
  201. don't need it.
  202. config IP_MROUTE_MULTIPLE_TABLES
  203. bool "IP: multicast policy routing"
  204. depends on IP_MROUTE && IP_ADVANCED_ROUTER
  205. select FIB_RULES
  206. help
  207. Normally, a multicast router runs a userspace daemon and decides
  208. what to do with a multicast packet based on the source and
  209. destination addresses. If you say Y here, the multicast router
  210. will also be able to take interfaces and packet marks into
  211. account and run multiple instances of userspace daemons
  212. simultaneously, each one handling a single table.
  213. If unsure, say N.
  214. config IP_PIMSM_V1
  215. bool "IP: PIM-SM version 1 support"
  216. depends on IP_MROUTE
  217. help
  218. Kernel side support for Sparse Mode PIM (Protocol Independent
  219. Multicast) version 1. This multicast routing protocol is used widely
  220. because Cisco supports it. You need special software to use it
  221. (pimd-v1). Please see <http://netweb.usc.edu/pim/> for more
  222. information about PIM.
  223. Say Y if you want to use PIM-SM v1. Note that you can say N here if
  224. you just want to use Dense Mode PIM.
  225. config IP_PIMSM_V2
  226. bool "IP: PIM-SM version 2 support"
  227. depends on IP_MROUTE
  228. help
  229. Kernel side support for Sparse Mode PIM version 2. In order to use
  230. this, you need an experimental routing daemon supporting it (pimd or
  231. gated-5). This routing protocol is not used widely, so say N unless
  232. you want to play with it.
  233. config SYN_COOKIES
  234. bool "IP: TCP syncookie support"
  235. help
  236. Normal TCP/IP networking is open to an attack known as "SYN
  237. flooding". This denial-of-service attack prevents legitimate remote
  238. users from being able to connect to your computer during an ongoing
  239. attack and requires very little work from the attacker, who can
  240. operate from anywhere on the Internet.
  241. SYN cookies provide protection against this type of attack. If you
  242. say Y here, the TCP/IP stack will use a cryptographic challenge
  243. protocol known as "SYN cookies" to enable legitimate users to
  244. continue to connect, even when your machine is under attack. There
  245. is no need for the legitimate users to change their TCP/IP software;
  246. SYN cookies work transparently to them. For technical information
  247. about SYN cookies, check out <https://cr.yp.to/syncookies.html>.
  248. If you are SYN flooded, the source address reported by the kernel is
  249. likely to have been forged by the attacker; it is only reported as
  250. an aid in tracing the packets to their actual source and should not
  251. be taken as absolute truth.
  252. SYN cookies may prevent correct error reporting on clients when the
  253. server is really overloaded. If this happens frequently better turn
  254. them off.
  255. If you say Y here, you can disable SYN cookies at run time by
  256. saying Y to "/proc file system support" and
  257. "Sysctl support" below and executing the command
  258. echo 0 > /proc/sys/net/ipv4/tcp_syncookies
  259. after the /proc file system has been mounted.
  260. If unsure, say N.
  261. config NET_IPVTI
  262. tristate "Virtual (secure) IP: tunneling"
  263. depends on IPV6 || IPV6=n
  264. select INET_TUNNEL
  265. select NET_IP_TUNNEL
  266. select XFRM
  267. help
  268. Tunneling means encapsulating data of one protocol type within
  269. another protocol and sending it over a channel that understands the
  270. encapsulating protocol. This can be used with xfrm mode tunnel to give
  271. the notion of a secure tunnel for IPSEC and then use routing protocol
  272. on top.
  273. config NET_UDP_TUNNEL
  274. tristate
  275. select NET_IP_TUNNEL
  276. default n
  277. config NET_FOU
  278. tristate "IP: Foo (IP protocols) over UDP"
  279. select NET_UDP_TUNNEL
  280. help
  281. Foo over UDP allows any IP protocol to be directly encapsulated
  282. over UDP include tunnels (IPIP, GRE, SIT). By encapsulating in UDP
  283. network mechanisms and optimizations for UDP (such as ECMP
  284. and RSS) can be leveraged to provide better service.
  285. config NET_FOU_IP_TUNNELS
  286. bool "IP: FOU encapsulation of IP tunnels"
  287. depends on NET_IPIP || NET_IPGRE || IPV6_SIT
  288. select NET_FOU
  289. help
  290. Allow configuration of FOU or GUE encapsulation for IP tunnels.
  291. When this option is enabled IP tunnels can be configured to use
  292. FOU or GUE encapsulation.
  293. config INET_AH
  294. tristate "IP: AH transformation"
  295. select XFRM_AH
  296. help
  297. Support for IPsec AH (Authentication Header).
  298. AH can be used with various authentication algorithms. Besides
  299. enabling AH support itself, this option enables the generic
  300. implementations of the algorithms that RFC 8221 lists as MUST be
  301. implemented. If you need any other algorithms, you'll need to enable
  302. them in the crypto API. You should also enable accelerated
  303. implementations of any needed algorithms when available.
  304. If unsure, say Y.
  305. config INET_ESP
  306. tristate "IP: ESP transformation"
  307. select XFRM_ESP
  308. help
  309. Support for IPsec ESP (Encapsulating Security Payload).
  310. ESP can be used with various encryption and authentication algorithms.
  311. Besides enabling ESP support itself, this option enables the generic
  312. implementations of the algorithms that RFC 8221 lists as MUST be
  313. implemented. If you need any other algorithms, you'll need to enable
  314. them in the crypto API. You should also enable accelerated
  315. implementations of any needed algorithms when available.
  316. If unsure, say Y.
  317. config INET_ESP_OFFLOAD
  318. tristate "IP: ESP transformation offload"
  319. depends on INET_ESP
  320. select XFRM_OFFLOAD
  321. default n
  322. help
  323. Support for ESP transformation offload. This makes sense
  324. only if this system really does IPsec and want to do it
  325. with high throughput. A typical desktop system does not
  326. need it, even if it does IPsec.
  327. If unsure, say N.
  328. config INET_ESPINTCP
  329. bool "IP: ESP in TCP encapsulation (RFC 8229)"
  330. depends on XFRM && INET_ESP
  331. select STREAM_PARSER
  332. select NET_SOCK_MSG
  333. select XFRM_ESPINTCP
  334. help
  335. Support for RFC 8229 encapsulation of ESP and IKE over
  336. TCP/IPv4 sockets.
  337. If unsure, say N.
  338. config INET_IPCOMP
  339. tristate "IP: IPComp transformation"
  340. select INET_XFRM_TUNNEL
  341. select XFRM_IPCOMP
  342. help
  343. Support for IP Payload Compression Protocol (IPComp) (RFC3173),
  344. typically needed for IPsec.
  345. If unsure, say Y.
  346. config INET_TABLE_PERTURB_ORDER
  347. int "INET: Source port perturbation table size (as power of 2)" if EXPERT
  348. default 16
  349. help
  350. Source port perturbation table size (as power of 2) for
  351. RFC 6056 3.3.4. Algorithm 4: Double-Hash Port Selection Algorithm.
  352. The default is almost always what you want.
  353. Only change this if you know what you are doing.
  354. config INET_XFRM_TUNNEL
  355. tristate
  356. select INET_TUNNEL
  357. default n
  358. config INET_TUNNEL
  359. tristate
  360. default n
  361. config INET_DIAG
  362. tristate "INET: socket monitoring interface"
  363. default y
  364. help
  365. Support for INET (TCP, DCCP, etc) socket monitoring interface used by
  366. native Linux tools such as ss. ss is included in iproute2, currently
  367. downloadable at:
  368. http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
  369. If unsure, say Y.
  370. config INET_TCP_DIAG
  371. depends on INET_DIAG
  372. def_tristate INET_DIAG
  373. config INET_UDP_DIAG
  374. tristate "UDP: socket monitoring interface"
  375. depends on INET_DIAG && (IPV6 || IPV6=n)
  376. default n
  377. help
  378. Support for UDP socket monitoring interface used by the ss tool.
  379. If unsure, say Y.
  380. config INET_RAW_DIAG
  381. tristate "RAW: socket monitoring interface"
  382. depends on INET_DIAG && (IPV6 || IPV6=n)
  383. default n
  384. help
  385. Support for RAW socket monitoring interface used by the ss tool.
  386. If unsure, say Y.
  387. config INET_DIAG_DESTROY
  388. bool "INET: allow privileged process to administratively close sockets"
  389. depends on INET_DIAG
  390. default n
  391. help
  392. Provides a SOCK_DESTROY operation that allows privileged processes
  393. (e.g., a connection manager or a network administration tool such as
  394. ss) to close sockets opened by other processes. Closing a socket in
  395. this way interrupts any blocking read/write/connect operations on
  396. the socket and causes future socket calls to behave as if the socket
  397. had been disconnected.
  398. If unsure, say N.
  399. menuconfig TCP_CONG_ADVANCED
  400. bool "TCP: advanced congestion control"
  401. help
  402. Support for selection of various TCP congestion control
  403. modules.
  404. Nearly all users can safely say no here, and a safe default
  405. selection will be made (CUBIC with new Reno as a fallback).
  406. If unsure, say N.
  407. if TCP_CONG_ADVANCED
  408. config TCP_CONG_BIC
  409. tristate "Binary Increase Congestion (BIC) control"
  410. default m
  411. help
  412. BIC-TCP is a sender-side only change that ensures a linear RTT
  413. fairness under large windows while offering both scalability and
  414. bounded TCP-friendliness. The protocol combines two schemes
  415. called additive increase and binary search increase. When the
  416. congestion window is large, additive increase with a large
  417. increment ensures linear RTT fairness as well as good
  418. scalability. Under small congestion windows, binary search
  419. increase provides TCP friendliness.
  420. See http://www.csc.ncsu.edu/faculty/rhee/export/bitcp/
  421. config TCP_CONG_CUBIC
  422. tristate "CUBIC TCP"
  423. default y
  424. help
  425. This is version 2.0 of BIC-TCP which uses a cubic growth function
  426. among other techniques.
  427. See http://www.csc.ncsu.edu/faculty/rhee/export/bitcp/cubic-paper.pdf
  428. config TCP_CONG_WESTWOOD
  429. tristate "TCP Westwood+"
  430. default m
  431. help
  432. TCP Westwood+ is a sender-side only modification of the TCP Reno
  433. protocol stack that optimizes the performance of TCP congestion
  434. control. It is based on end-to-end bandwidth estimation to set
  435. congestion window and slow start threshold after a congestion
  436. episode. Using this estimation, TCP Westwood+ adaptively sets a
  437. slow start threshold and a congestion window which takes into
  438. account the bandwidth used at the time congestion is experienced.
  439. TCP Westwood+ significantly increases fairness wrt TCP Reno in
  440. wired networks and throughput over wireless links.
  441. config TCP_CONG_HTCP
  442. tristate "H-TCP"
  443. default m
  444. help
  445. H-TCP is a send-side only modifications of the TCP Reno
  446. protocol stack that optimizes the performance of TCP
  447. congestion control for high speed network links. It uses a
  448. modeswitch to change the alpha and beta parameters of TCP Reno
  449. based on network conditions and in a way so as to be fair with
  450. other Reno and H-TCP flows.
  451. config TCP_CONG_HSTCP
  452. tristate "High Speed TCP"
  453. default n
  454. help
  455. Sally Floyd's High Speed TCP (RFC 3649) congestion control.
  456. A modification to TCP's congestion control mechanism for use
  457. with large congestion windows. A table indicates how much to
  458. increase the congestion window by when an ACK is received.
  459. For more detail see https://www.icir.org/floyd/hstcp.html
  460. config TCP_CONG_HYBLA
  461. tristate "TCP-Hybla congestion control algorithm"
  462. default n
  463. help
  464. TCP-Hybla is a sender-side only change that eliminates penalization of
  465. long-RTT, large-bandwidth connections, like when satellite legs are
  466. involved, especially when sharing a common bottleneck with normal
  467. terrestrial connections.
  468. config TCP_CONG_VEGAS
  469. tristate "TCP Vegas"
  470. default n
  471. help
  472. TCP Vegas is a sender-side only change to TCP that anticipates
  473. the onset of congestion by estimating the bandwidth. TCP Vegas
  474. adjusts the sending rate by modifying the congestion
  475. window. TCP Vegas should provide less packet loss, but it is
  476. not as aggressive as TCP Reno.
  477. config TCP_CONG_NV
  478. tristate "TCP NV"
  479. default n
  480. help
  481. TCP NV is a follow up to TCP Vegas. It has been modified to deal with
  482. 10G networks, measurement noise introduced by LRO, GRO and interrupt
  483. coalescence. In addition, it will decrease its cwnd multiplicatively
  484. instead of linearly.
  485. Note that in general congestion avoidance (cwnd decreased when # packets
  486. queued grows) cannot coexist with congestion control (cwnd decreased only
  487. when there is packet loss) due to fairness issues. One scenario when they
  488. can coexist safely is when the CA flows have RTTs << CC flows RTTs.
  489. For further details see http://www.brakmo.org/networking/tcp-nv/
  490. config TCP_CONG_SCALABLE
  491. tristate "Scalable TCP"
  492. default n
  493. help
  494. Scalable TCP is a sender-side only change to TCP which uses a
  495. MIMD congestion control algorithm which has some nice scaling
  496. properties, though is known to have fairness issues.
  497. See http://www.deneholme.net/tom/scalable/
  498. config TCP_CONG_LP
  499. tristate "TCP Low Priority"
  500. default n
  501. help
  502. TCP Low Priority (TCP-LP), a distributed algorithm whose goal is
  503. to utilize only the excess network bandwidth as compared to the
  504. ``fair share`` of bandwidth as targeted by TCP.
  505. See http://www-ece.rice.edu/networks/TCP-LP/
  506. config TCP_CONG_VENO
  507. tristate "TCP Veno"
  508. default n
  509. help
  510. TCP Veno is a sender-side only enhancement of TCP to obtain better
  511. throughput over wireless networks. TCP Veno makes use of state
  512. distinguishing to circumvent the difficult judgment of the packet loss
  513. type. TCP Veno cuts down less congestion window in response to random
  514. loss packets.
  515. See <http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=1177186>
  516. config TCP_CONG_YEAH
  517. tristate "YeAH TCP"
  518. select TCP_CONG_VEGAS
  519. default n
  520. help
  521. YeAH-TCP is a sender-side high-speed enabled TCP congestion control
  522. algorithm, which uses a mixed loss/delay approach to compute the
  523. congestion window. It's design goals target high efficiency,
  524. internal, RTT and Reno fairness, resilience to link loss while
  525. keeping network elements load as low as possible.
  526. For further details look here:
  527. http://wil.cs.caltech.edu/pfldnet2007/paper/YeAH_TCP.pdf
  528. config TCP_CONG_ILLINOIS
  529. tristate "TCP Illinois"
  530. default n
  531. help
  532. TCP-Illinois is a sender-side modification of TCP Reno for
  533. high speed long delay links. It uses round-trip-time to
  534. adjust the alpha and beta parameters to achieve a higher average
  535. throughput and maintain fairness.
  536. For further details see:
  537. http://www.ews.uiuc.edu/~shaoliu/tcpillinois/index.html
  538. config TCP_CONG_DCTCP
  539. tristate "DataCenter TCP (DCTCP)"
  540. default n
  541. help
  542. DCTCP leverages Explicit Congestion Notification (ECN) in the network to
  543. provide multi-bit feedback to the end hosts. It is designed to provide:
  544. - High burst tolerance (incast due to partition/aggregate),
  545. - Low latency (short flows, queries),
  546. - High throughput (continuous data updates, large file transfers) with
  547. commodity, shallow-buffered switches.
  548. All switches in the data center network running DCTCP must support
  549. ECN marking and be configured for marking when reaching defined switch
  550. buffer thresholds. The default ECN marking threshold heuristic for
  551. DCTCP on switches is 20 packets (30KB) at 1Gbps, and 65 packets
  552. (~100KB) at 10Gbps, but might need further careful tweaking.
  553. For further details see:
  554. http://simula.stanford.edu/~alizade/Site/DCTCP_files/dctcp-final.pdf
  555. config TCP_CONG_CDG
  556. tristate "CAIA Delay-Gradient (CDG)"
  557. default n
  558. help
  559. CAIA Delay-Gradient (CDG) is a TCP congestion control that modifies
  560. the TCP sender in order to:
  561. o Use the delay gradient as a congestion signal.
  562. o Back off with an average probability that is independent of the RTT.
  563. o Coexist with flows that use loss-based congestion control.
  564. o Tolerate packet loss unrelated to congestion.
  565. For further details see:
  566. D.A. Hayes and G. Armitage. "Revisiting TCP congestion control using
  567. delay gradients." In Networking 2011. Preprint: http://goo.gl/No3vdg
  568. config TCP_CONG_BBR
  569. tristate "BBR TCP"
  570. default n
  571. help
  572. BBR (Bottleneck Bandwidth and RTT) TCP congestion control aims to
  573. maximize network utilization and minimize queues. It builds an explicit
  574. model of the bottleneck delivery rate and path round-trip propagation
  575. delay. It tolerates packet loss and delay unrelated to congestion. It
  576. can operate over LAN, WAN, cellular, wifi, or cable modem links. It can
  577. coexist with flows that use loss-based congestion control, and can
  578. operate with shallow buffers, deep buffers, bufferbloat, policers, or
  579. AQM schemes that do not provide a delay signal. It requires the fq
  580. ("Fair Queue") pacing packet scheduler.
  581. choice
  582. prompt "Default TCP congestion control"
  583. default DEFAULT_CUBIC
  584. help
  585. Select the TCP congestion control that will be used by default
  586. for all connections.
  587. config DEFAULT_BIC
  588. bool "Bic" if TCP_CONG_BIC=y
  589. config DEFAULT_CUBIC
  590. bool "Cubic" if TCP_CONG_CUBIC=y
  591. config DEFAULT_HTCP
  592. bool "Htcp" if TCP_CONG_HTCP=y
  593. config DEFAULT_HYBLA
  594. bool "Hybla" if TCP_CONG_HYBLA=y
  595. config DEFAULT_VEGAS
  596. bool "Vegas" if TCP_CONG_VEGAS=y
  597. config DEFAULT_VENO
  598. bool "Veno" if TCP_CONG_VENO=y
  599. config DEFAULT_WESTWOOD
  600. bool "Westwood" if TCP_CONG_WESTWOOD=y
  601. config DEFAULT_DCTCP
  602. bool "DCTCP" if TCP_CONG_DCTCP=y
  603. config DEFAULT_CDG
  604. bool "CDG" if TCP_CONG_CDG=y
  605. config DEFAULT_BBR
  606. bool "BBR" if TCP_CONG_BBR=y
  607. config DEFAULT_RENO
  608. bool "Reno"
  609. endchoice
  610. endif
  611. config TCP_CONG_CUBIC
  612. tristate
  613. depends on !TCP_CONG_ADVANCED
  614. default y
  615. config DEFAULT_TCP_CONG
  616. string
  617. default "bic" if DEFAULT_BIC
  618. default "cubic" if DEFAULT_CUBIC
  619. default "htcp" if DEFAULT_HTCP
  620. default "hybla" if DEFAULT_HYBLA
  621. default "vegas" if DEFAULT_VEGAS
  622. default "westwood" if DEFAULT_WESTWOOD
  623. default "veno" if DEFAULT_VENO
  624. default "reno" if DEFAULT_RENO
  625. default "dctcp" if DEFAULT_DCTCP
  626. default "cdg" if DEFAULT_CDG
  627. default "bbr" if DEFAULT_BBR
  628. default "cubic"
  629. config TCP_MD5SIG
  630. bool "TCP: MD5 Signature Option support (RFC2385)"
  631. select CRYPTO
  632. select CRYPTO_MD5
  633. help
  634. RFC2385 specifies a method of giving MD5 protection to TCP sessions.
  635. Its main (only?) use is to protect BGP sessions between core routers
  636. on the Internet.
  637. If unsure, say N.