xref: /openbmc/linux/net/ipv4/Kconfig (revision 6d25886e)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# IP configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvaldsconfig IP_MULTICAST
51da177e4SLinus Torvalds	bool "IP: multicasting"
61da177e4SLinus Torvalds	help
71da177e4SLinus Torvalds	  This is code for addressing several networked computers at once,
81da177e4SLinus Torvalds	  enlarging your kernel by about 2 KB. You need multicasting if you
91da177e4SLinus Torvalds	  intend to participate in the MBONE, a high bandwidth network on top
101da177e4SLinus Torvalds	  of the Internet which carries audio and video broadcasts. More
111da177e4SLinus Torvalds	  information about the MBONE is on the WWW at
12936bb14cSAdrian Bunk	  <http://www.savetz.com/mbone/>. Information about the multicast
131da177e4SLinus Torvalds	  capabilities of the various network cards is contained in
141da177e4SLinus Torvalds	  <file:Documentation/networking/multicast.txt>. For most people, it's
151da177e4SLinus Torvalds	  safe to say N.
161da177e4SLinus Torvalds
171da177e4SLinus Torvaldsconfig IP_ADVANCED_ROUTER
181da177e4SLinus Torvalds	bool "IP: advanced router"
191da177e4SLinus Torvalds	---help---
201da177e4SLinus Torvalds	  If you intend to run your Linux box mostly as a router, i.e. as a
211da177e4SLinus Torvalds	  computer that forwards and redistributes network packets, say Y; you
221da177e4SLinus Torvalds	  will then be presented with several options that allow more precise
231da177e4SLinus Torvalds	  control about the routing process.
241da177e4SLinus Torvalds
251da177e4SLinus Torvalds	  The answer to this question won't directly affect the kernel:
261da177e4SLinus Torvalds	  answering N will just cause the configurator to skip all the
271da177e4SLinus Torvalds	  questions about advanced routing.
281da177e4SLinus Torvalds
291da177e4SLinus Torvalds	  Note that your box can only act as a router if you enable IP
301da177e4SLinus Torvalds	  forwarding in your kernel; you can do that by saying Y to "/proc
311da177e4SLinus Torvalds	  file system support" and "Sysctl support" below and executing the
321da177e4SLinus Torvalds	  line
331da177e4SLinus Torvalds
341da177e4SLinus Torvalds	  echo "1" > /proc/sys/net/ipv4/ip_forward
351da177e4SLinus Torvalds
361da177e4SLinus Torvalds	  at boot time after the /proc file system has been mounted.
371da177e4SLinus Torvalds
38b2cc46a8SJesper Dangaard Brouer	  If you turn on IP forwarding, you should consider the rp_filter, which
391da177e4SLinus Torvalds	  automatically rejects incoming packets if the routing table entry
401da177e4SLinus Torvalds	  for their source address doesn't match the network interface they're
411da177e4SLinus Torvalds	  arriving on. This has security advantages because it prevents the
421da177e4SLinus Torvalds	  so-called IP spoofing, however it can pose problems if you use
431da177e4SLinus Torvalds	  asymmetric routing (packets from you to a host take a different path
441da177e4SLinus Torvalds	  than packets from that host to you) or if you operate a non-routing
451da177e4SLinus Torvalds	  host which has several IP addresses on different interfaces. To turn
46d7394372SDave Jones	  rp_filter on use:
471da177e4SLinus Torvalds
48d7394372SDave Jones	  echo 1 > /proc/sys/net/ipv4/conf/<device>/rp_filter
49750e9fadSNicolas Dichtel	   or
50d7394372SDave Jones	  echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter
511da177e4SLinus Torvalds
52b2cc46a8SJesper Dangaard Brouer	  Note that some distributions enable it in startup scripts.
53d18921a0SJesper Dangaard Brouer	  For details about rp_filter strict and loose mode read
54d18921a0SJesper Dangaard Brouer	  <file:Documentation/networking/ip-sysctl.txt>.
55b2cc46a8SJesper Dangaard Brouer
561da177e4SLinus Torvalds	  If unsure, say N here.
571da177e4SLinus Torvalds
5866a2f7fdSStephen Hemmingerconfig IP_FIB_TRIE_STATS
5966a2f7fdSStephen Hemminger	bool "FIB TRIE statistics"
603630b7c0SDavid S. Miller	depends on IP_ADVANCED_ROUTER
6166a2f7fdSStephen Hemminger	---help---
6266a2f7fdSStephen Hemminger	  Keep track of statistics on structure of FIB TRIE table.
6366a2f7fdSStephen Hemminger	  Useful for testing and measuring TRIE performance.
6466a2f7fdSStephen Hemminger
651da177e4SLinus Torvaldsconfig IP_MULTIPLE_TABLES
661da177e4SLinus Torvalds	bool "IP: policy routing"
671da177e4SLinus Torvalds	depends on IP_ADVANCED_ROUTER
68e1ef4bf2SThomas Graf	select FIB_RULES
691da177e4SLinus Torvalds	---help---
701da177e4SLinus Torvalds	  Normally, a router decides what to do with a received packet based
711da177e4SLinus Torvalds	  solely on the packet's final destination address. If you say Y here,
721da177e4SLinus Torvalds	  the Linux router will also be able to take the packet's source
731da177e4SLinus Torvalds	  address into account. Furthermore, the TOS (Type-Of-Service) field
741da177e4SLinus Torvalds	  of the packet can be used for routing decisions as well.
751da177e4SLinus Torvalds
761da177e4SLinus Torvalds	  If you are interested in this, please see the preliminary
771da177e4SLinus Torvalds	  documentation at <http://www.compendium.com.ar/policy-routing.txt>
781da177e4SLinus Torvalds	  and <ftp://post.tepkom.ru/pub/vol2/Linux/docs/advanced-routing.tex>.
791da177e4SLinus Torvalds	  You will need supporting software from
801da177e4SLinus Torvalds	  <ftp://ftp.tux.org/pub/net/ip-routing/>.
811da177e4SLinus Torvalds
821da177e4SLinus Torvalds	  If unsure, say N.
831da177e4SLinus Torvalds
841da177e4SLinus Torvaldsconfig IP_ROUTE_MULTIPATH
851da177e4SLinus Torvalds	bool "IP: equal cost multipath"
861da177e4SLinus Torvalds	depends on IP_ADVANCED_ROUTER
871da177e4SLinus Torvalds	help
881da177e4SLinus Torvalds	  Normally, the routing tables specify a single action to be taken in
891da177e4SLinus Torvalds	  a deterministic manner for a given packet. If you say Y here
901da177e4SLinus Torvalds	  however, it becomes possible to attach several actions to a packet
911da177e4SLinus Torvalds	  pattern, in effect specifying several alternative paths to travel
921da177e4SLinus Torvalds	  for those packets. The router considers all these paths to be of
931da177e4SLinus Torvalds	  equal "cost" and chooses one of them in a non-deterministic fashion
941da177e4SLinus Torvalds	  if a matching packet arrives.
951da177e4SLinus Torvalds
961da177e4SLinus Torvaldsconfig IP_ROUTE_VERBOSE
971da177e4SLinus Torvalds	bool "IP: verbose route monitoring"
981da177e4SLinus Torvalds	depends on IP_ADVANCED_ROUTER
991da177e4SLinus Torvalds	help
1001da177e4SLinus Torvalds	  If you say Y here, which is recommended, then the kernel will print
1011da177e4SLinus Torvalds	  verbose messages regarding the routing, for example warnings about
1021da177e4SLinus Torvalds	  received packets which look strange and could be evidence of an
1031da177e4SLinus Torvalds	  attack or a misconfigured system somewhere. The information is
1041da177e4SLinus Torvalds	  handled by the klogd daemon which is responsible for kernel messages
1051da177e4SLinus Torvalds	  ("man klogd").
1061da177e4SLinus Torvalds
107c7066f70SPatrick McHardyconfig IP_ROUTE_CLASSID
108c7066f70SPatrick McHardy	bool
109c7066f70SPatrick McHardy
1101da177e4SLinus Torvaldsconfig IP_PNP
1111da177e4SLinus Torvalds	bool "IP: kernel level autoconfiguration"
1121da177e4SLinus Torvalds	help
1131da177e4SLinus Torvalds	  This enables automatic configuration of IP addresses of devices and
1141da177e4SLinus Torvalds	  of the routing table during kernel boot, based on either information
1151da177e4SLinus Torvalds	  supplied on the kernel command line or by BOOTP or RARP protocols.
1161da177e4SLinus Torvalds	  You need to say Y only for diskless machines requiring network
1171da177e4SLinus Torvalds	  access to boot (in which case you want to say Y to "Root file system
1181da177e4SLinus Torvalds	  on NFS" as well), because all other machines configure the network
1191da177e4SLinus Torvalds	  in their startup scripts.
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvaldsconfig IP_PNP_DHCP
1221da177e4SLinus Torvalds	bool "IP: DHCP support"
1231da177e4SLinus Torvalds	depends on IP_PNP
1241da177e4SLinus Torvalds	---help---
1251da177e4SLinus Torvalds	  If you want your Linux box to mount its whole root file system (the
1261da177e4SLinus Torvalds	  one containing the directory /) from some other computer over the
1271da177e4SLinus Torvalds	  net via NFS and you want the IP address of your computer to be
1281da177e4SLinus Torvalds	  discovered automatically at boot time using the DHCP protocol (a
1291da177e4SLinus Torvalds	  special protocol designed for doing this job), say Y here. In case
1301da177e4SLinus Torvalds	  the boot ROM of your network card was designed for booting Linux and
1311da177e4SLinus Torvalds	  does DHCP itself, providing all necessary information on the kernel
1321da177e4SLinus Torvalds	  command line, you can say N here.
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvalds	  If unsure, say Y. Note that if you want to use DHCP, a DHCP server
1351da177e4SLinus Torvalds	  must be operating on your network.  Read
136dc7a0816SJ. Bruce Fields	  <file:Documentation/filesystems/nfs/nfsroot.txt> for details.
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvaldsconfig IP_PNP_BOOTP
1391da177e4SLinus Torvalds	bool "IP: BOOTP support"
1401da177e4SLinus Torvalds	depends on IP_PNP
1411da177e4SLinus Torvalds	---help---
1421da177e4SLinus Torvalds	  If you want your Linux box to mount its whole root file system (the
1431da177e4SLinus Torvalds	  one containing the directory /) from some other computer over the
1441da177e4SLinus Torvalds	  net via NFS and you want the IP address of your computer to be
1451da177e4SLinus Torvalds	  discovered automatically at boot time using the BOOTP protocol (a
1461da177e4SLinus Torvalds	  special protocol designed for doing this job), say Y here. In case
1471da177e4SLinus Torvalds	  the boot ROM of your network card was designed for booting Linux and
1481da177e4SLinus Torvalds	  does BOOTP itself, providing all necessary information on the kernel
1491da177e4SLinus Torvalds	  command line, you can say N here. If unsure, say Y. Note that if you
1501da177e4SLinus Torvalds	  want to use BOOTP, a BOOTP server must be operating on your network.
151dc7a0816SJ. Bruce Fields	  Read <file:Documentation/filesystems/nfs/nfsroot.txt> for details.
1521da177e4SLinus Torvalds
1531da177e4SLinus Torvaldsconfig IP_PNP_RARP
1541da177e4SLinus Torvalds	bool "IP: RARP support"
1551da177e4SLinus Torvalds	depends on IP_PNP
1561da177e4SLinus Torvalds	help
1571da177e4SLinus Torvalds	  If you want your Linux box to mount its whole root file system (the
1581da177e4SLinus Torvalds	  one containing the directory /) from some other computer over the
1591da177e4SLinus Torvalds	  net via NFS and you want the IP address of your computer to be
1601da177e4SLinus Torvalds	  discovered automatically at boot time using the RARP protocol (an
1611da177e4SLinus Torvalds	  older protocol which is being obsoleted by BOOTP and DHCP), say Y
1621da177e4SLinus Torvalds	  here. Note that if you want to use RARP, a RARP server must be
1636ded55daSJ. Bruce Fields	  operating on your network. Read
164dc7a0816SJ. Bruce Fields	  <file:Documentation/filesystems/nfs/nfsroot.txt> for details.
1651da177e4SLinus Torvalds
1661da177e4SLinus Torvaldsconfig NET_IPIP
1671da177e4SLinus Torvalds	tristate "IP: tunneling"
168d2acc347SHerbert Xu	select INET_TUNNEL
1691da177e4SLinus Torvalds	---help---
1701da177e4SLinus Torvalds	  Tunneling means encapsulating data of one protocol type within
1711da177e4SLinus Torvalds	  another protocol and sending it over a channel that understands the
1721da177e4SLinus Torvalds	  encapsulating protocol. This particular tunneling driver implements
1731da177e4SLinus Torvalds	  encapsulation of IP within IP, which sounds kind of pointless, but
1741da177e4SLinus Torvalds	  can be useful if you want to make your (or some other) machine
1751da177e4SLinus Torvalds	  appear on a different network than it physically is, or to use
1761da177e4SLinus Torvalds	  mobile-IP facilities (allowing laptops to seamlessly move between
1771da177e4SLinus Torvalds	  networks without changing their IP addresses).
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvalds	  Saying Y to this option will produce two modules ( = code which can
1801da177e4SLinus Torvalds	  be inserted in and removed from the running kernel whenever you
1811da177e4SLinus Torvalds	  want). Most people won't need this and can say N.
1821da177e4SLinus Torvalds
18300959adeSDmitry Kozlovconfig NET_IPGRE_DEMUX
18400959adeSDmitry Kozlov	tristate "IP: GRE demultiplexer"
18500959adeSDmitry Kozlov	help
18600959adeSDmitry Kozlov	 This is helper module to demultiplex GRE packets on GRE version field criteria.
18700959adeSDmitry Kozlov	 Required by ip_gre and pptp modules.
18800959adeSDmitry Kozlov
1891da177e4SLinus Torvaldsconfig NET_IPGRE
1901da177e4SLinus Torvalds	tristate "IP: GRE tunnels over IP"
19121a180cdSDavid S. Miller	depends on (IPV6 || IPV6=n) && NET_IPGRE_DEMUX
1921da177e4SLinus Torvalds	help
1931da177e4SLinus Torvalds	  Tunneling means encapsulating data of one protocol type within
1941da177e4SLinus Torvalds	  another protocol and sending it over a channel that understands the
1951da177e4SLinus Torvalds	  encapsulating protocol. This particular tunneling driver implements
1961da177e4SLinus Torvalds	  GRE (Generic Routing Encapsulation) and at this time allows
1971da177e4SLinus Torvalds	  encapsulating of IPv4 or IPv6 over existing IPv4 infrastructure.
1981da177e4SLinus Torvalds	  This driver is useful if the other endpoint is a Cisco router: Cisco
1991da177e4SLinus Torvalds	  likes GRE much better than the other Linux tunneling driver ("IP
2001da177e4SLinus Torvalds	  tunneling" above). In addition, GRE allows multicast redistribution
2011da177e4SLinus Torvalds	  through the tunnel.
2021da177e4SLinus Torvalds
2031da177e4SLinus Torvaldsconfig NET_IPGRE_BROADCAST
2041da177e4SLinus Torvalds	bool "IP: broadcast GRE over IP"
2051da177e4SLinus Torvalds	depends on IP_MULTICAST && NET_IPGRE
2061da177e4SLinus Torvalds	help
2071da177e4SLinus Torvalds	  One application of GRE/IP is to construct a broadcast WAN (Wide Area
2081da177e4SLinus Torvalds	  Network), which looks like a normal Ethernet LAN (Local Area
2091da177e4SLinus Torvalds	  Network), but can be distributed all over the Internet. If you want
2101da177e4SLinus Torvalds	  to do that, say Y here and to "IP multicast routing" below.
2111da177e4SLinus Torvalds
2121da177e4SLinus Torvaldsconfig IP_MROUTE
2131da177e4SLinus Torvalds	bool "IP: multicast routing"
2141da177e4SLinus Torvalds	depends on IP_MULTICAST
2151da177e4SLinus Torvalds	help
2161da177e4SLinus Torvalds	  This is used if you want your machine to act as a router for IP
2171da177e4SLinus Torvalds	  packets that have several destination addresses. It is needed on the
2181da177e4SLinus Torvalds	  MBONE, a high bandwidth network on top of the Internet which carries
2191da177e4SLinus Torvalds	  audio and video broadcasts. In order to do that, you would most
2201da177e4SLinus Torvalds	  likely run the program mrouted. Information about the multicast
2211da177e4SLinus Torvalds	  capabilities of the various network cards is contained in
2221da177e4SLinus Torvalds	  <file:Documentation/networking/multicast.txt>. If you haven't heard
2231da177e4SLinus Torvalds	  about it, you don't need it.
2241da177e4SLinus Torvalds
225f0ad0860SPatrick McHardyconfig IP_MROUTE_MULTIPLE_TABLES
226f0ad0860SPatrick McHardy	bool "IP: multicast policy routing"
22766496d49SPatrick McHardy	depends on IP_MROUTE && IP_ADVANCED_ROUTER
228f0ad0860SPatrick McHardy	select FIB_RULES
229f0ad0860SPatrick McHardy	help
230f0ad0860SPatrick McHardy	  Normally, a multicast router runs a userspace daemon and decides
231f0ad0860SPatrick McHardy	  what to do with a multicast packet based on the source and
232f0ad0860SPatrick McHardy	  destination addresses. If you say Y here, the multicast router
233f0ad0860SPatrick McHardy	  will also be able to take interfaces and packet marks into
234f0ad0860SPatrick McHardy	  account and run multiple instances of userspace daemons
235f0ad0860SPatrick McHardy	  simultaneously, each one handling a single table.
236f0ad0860SPatrick McHardy
237f0ad0860SPatrick McHardy	  If unsure, say N.
238f0ad0860SPatrick McHardy
2391da177e4SLinus Torvaldsconfig IP_PIMSM_V1
2401da177e4SLinus Torvalds	bool "IP: PIM-SM version 1 support"
2411da177e4SLinus Torvalds	depends on IP_MROUTE
2421da177e4SLinus Torvalds	help
2431da177e4SLinus Torvalds	  Kernel side support for Sparse Mode PIM (Protocol Independent
2441da177e4SLinus Torvalds	  Multicast) version 1. This multicast routing protocol is used widely
2451da177e4SLinus Torvalds	  because Cisco supports it. You need special software to use it
2461da177e4SLinus Torvalds	  (pimd-v1). Please see <http://netweb.usc.edu/pim/> for more
2471da177e4SLinus Torvalds	  information about PIM.
2481da177e4SLinus Torvalds
2491da177e4SLinus Torvalds	  Say Y if you want to use PIM-SM v1. Note that you can say N here if
2501da177e4SLinus Torvalds	  you just want to use Dense Mode PIM.
2511da177e4SLinus Torvalds
2521da177e4SLinus Torvaldsconfig IP_PIMSM_V2
2531da177e4SLinus Torvalds	bool "IP: PIM-SM version 2 support"
2541da177e4SLinus Torvalds	depends on IP_MROUTE
2551da177e4SLinus Torvalds	help
2561da177e4SLinus Torvalds	  Kernel side support for Sparse Mode PIM version 2. In order to use
2571da177e4SLinus Torvalds	  this, you need an experimental routing daemon supporting it (pimd or
2581da177e4SLinus Torvalds	  gated-5). This routing protocol is not used widely, so say N unless
2591da177e4SLinus Torvalds	  you want to play with it.
2601da177e4SLinus Torvalds
2611da177e4SLinus Torvaldsconfig ARPD
262e61a4b63STimo Teräs	bool "IP: ARP daemon support"
2631da177e4SLinus Torvalds	---help---
264e61a4b63STimo Teräs	  The kernel maintains an internal cache which maps IP addresses to
265e61a4b63STimo Teräs	  hardware addresses on the local network, so that Ethernet/Token Ring/
266e61a4b63STimo Teräs	  etc. frames are sent to the proper address on the physical networking
267e61a4b63STimo Teräs	  layer. Normally, kernel uses the ARP protocol to resolve these
268e61a4b63STimo Teräs	  mappings.
2691da177e4SLinus Torvalds
270e61a4b63STimo Teräs	  Saying Y here adds support to have an user space daemon to do this
271e61a4b63STimo Teräs	  resolution instead. This is useful for implementing an alternate
272e61a4b63STimo Teräs	  address resolution protocol (e.g. NHRP on mGRE tunnels) and also for
273e61a4b63STimo Teräs	  testing purposes.
2741da177e4SLinus Torvalds
275e61a4b63STimo Teräs	  If unsure, say N.
2761da177e4SLinus Torvalds
2771da177e4SLinus Torvaldsconfig SYN_COOKIES
27857f1553eSFlorian Westphal	bool "IP: TCP syncookie support"
2791da177e4SLinus Torvalds	---help---
2801da177e4SLinus Torvalds	  Normal TCP/IP networking is open to an attack known as "SYN
2811da177e4SLinus Torvalds	  flooding". This denial-of-service attack prevents legitimate remote
2821da177e4SLinus Torvalds	  users from being able to connect to your computer during an ongoing
2831da177e4SLinus Torvalds	  attack and requires very little work from the attacker, who can
2841da177e4SLinus Torvalds	  operate from anywhere on the Internet.
2851da177e4SLinus Torvalds
2861da177e4SLinus Torvalds	  SYN cookies provide protection against this type of attack. If you
2871da177e4SLinus Torvalds	  say Y here, the TCP/IP stack will use a cryptographic challenge
2881da177e4SLinus Torvalds	  protocol known as "SYN cookies" to enable legitimate users to
2891da177e4SLinus Torvalds	  continue to connect, even when your machine is under attack. There
2901da177e4SLinus Torvalds	  is no need for the legitimate users to change their TCP/IP software;
2911da177e4SLinus Torvalds	  SYN cookies work transparently to them. For technical information
2921da177e4SLinus Torvalds	  about SYN cookies, check out <http://cr.yp.to/syncookies.html>.
2931da177e4SLinus Torvalds
2941da177e4SLinus Torvalds	  If you are SYN flooded, the source address reported by the kernel is
2951da177e4SLinus Torvalds	  likely to have been forged by the attacker; it is only reported as
2961da177e4SLinus Torvalds	  an aid in tracing the packets to their actual source and should not
2971da177e4SLinus Torvalds	  be taken as absolute truth.
2981da177e4SLinus Torvalds
2991da177e4SLinus Torvalds	  SYN cookies may prevent correct error reporting on clients when the
3001da177e4SLinus Torvalds	  server is really overloaded. If this happens frequently better turn
3011da177e4SLinus Torvalds	  them off.
3021da177e4SLinus Torvalds
30357f1553eSFlorian Westphal	  If you say Y here, you can disable SYN cookies at run time by
30457f1553eSFlorian Westphal	  saying Y to "/proc file system support" and
3051da177e4SLinus Torvalds	  "Sysctl support" below and executing the command
3061da177e4SLinus Torvalds
30757f1553eSFlorian Westphal	  echo 0 > /proc/sys/net/ipv4/tcp_syncookies
3081da177e4SLinus Torvalds
30957f1553eSFlorian Westphal	  after the /proc file system has been mounted.
3101da177e4SLinus Torvalds
3111da177e4SLinus Torvalds	  If unsure, say N.
3121da177e4SLinus Torvalds
3131da177e4SLinus Torvaldsconfig INET_AH
3141da177e4SLinus Torvalds	tristate "IP: AH transformation"
3151da177e4SLinus Torvalds	select XFRM
3161da177e4SLinus Torvalds	select CRYPTO
3171da177e4SLinus Torvalds	select CRYPTO_HMAC
3181da177e4SLinus Torvalds	select CRYPTO_MD5
3191da177e4SLinus Torvalds	select CRYPTO_SHA1
3201da177e4SLinus Torvalds	---help---
3211da177e4SLinus Torvalds	  Support for IPsec AH.
3221da177e4SLinus Torvalds
3231da177e4SLinus Torvalds	  If unsure, say Y.
3241da177e4SLinus Torvalds
3251da177e4SLinus Torvaldsconfig INET_ESP
3261da177e4SLinus Torvalds	tristate "IP: ESP transformation"
3271da177e4SLinus Torvalds	select XFRM
3281da177e4SLinus Torvalds	select CRYPTO
329ed58dd41SHerbert Xu	select CRYPTO_AUTHENC
3301da177e4SLinus Torvalds	select CRYPTO_HMAC
3311da177e4SLinus Torvalds	select CRYPTO_MD5
3326b7326c8SHerbert Xu	select CRYPTO_CBC
3331da177e4SLinus Torvalds	select CRYPTO_SHA1
3341da177e4SLinus Torvalds	select CRYPTO_DES
3351da177e4SLinus Torvalds	---help---
3361da177e4SLinus Torvalds	  Support for IPsec ESP.
3371da177e4SLinus Torvalds
3381da177e4SLinus Torvalds	  If unsure, say Y.
3391da177e4SLinus Torvalds
3401da177e4SLinus Torvaldsconfig INET_IPCOMP
3411da177e4SLinus Torvalds	tristate "IP: IPComp transformation"
342d2acc347SHerbert Xu	select INET_XFRM_TUNNEL
3436fccab67SHerbert Xu	select XFRM_IPCOMP
3441da177e4SLinus Torvalds	---help---
3451da177e4SLinus Torvalds	  Support for IP Payload Compression Protocol (IPComp) (RFC3173),
3461da177e4SLinus Torvalds	  typically needed for IPsec.
3471da177e4SLinus Torvalds
3481da177e4SLinus Torvalds	  If unsure, say Y.
3491da177e4SLinus Torvalds
350d2acc347SHerbert Xuconfig INET_XFRM_TUNNEL
351d2acc347SHerbert Xu	tristate
352d2acc347SHerbert Xu	select INET_TUNNEL
353d2acc347SHerbert Xu	default n
3541da177e4SLinus Torvalds
355d2acc347SHerbert Xuconfig INET_TUNNEL
356d2acc347SHerbert Xu	tristate
357d2acc347SHerbert Xu	default n
3581da177e4SLinus Torvalds
359b59f45d0SHerbert Xuconfig INET_XFRM_MODE_TRANSPORT
360b59f45d0SHerbert Xu	tristate "IP: IPsec transport mode"
361b59f45d0SHerbert Xu	default y
362b59f45d0SHerbert Xu	select XFRM
363b59f45d0SHerbert Xu	---help---
364b59f45d0SHerbert Xu	  Support for IPsec transport mode.
365b59f45d0SHerbert Xu
366b59f45d0SHerbert Xu	  If unsure, say Y.
367b59f45d0SHerbert Xu
368b59f45d0SHerbert Xuconfig INET_XFRM_MODE_TUNNEL
369b59f45d0SHerbert Xu	tristate "IP: IPsec tunnel mode"
370b59f45d0SHerbert Xu	default y
371b59f45d0SHerbert Xu	select XFRM
372b59f45d0SHerbert Xu	---help---
373b59f45d0SHerbert Xu	  Support for IPsec tunnel mode.
374b59f45d0SHerbert Xu
375b59f45d0SHerbert Xu	  If unsure, say Y.
376b59f45d0SHerbert Xu
3770a69452cSDiego Beltramiconfig INET_XFRM_MODE_BEET
3780a69452cSDiego Beltrami	tristate "IP: IPsec BEET mode"
3790a69452cSDiego Beltrami	default y
3800a69452cSDiego Beltrami	select XFRM
3810a69452cSDiego Beltrami	---help---
3820a69452cSDiego Beltrami	  Support for IPsec BEET mode.
3830a69452cSDiego Beltrami
3840a69452cSDiego Beltrami	  If unsure, say Y.
3850a69452cSDiego Beltrami
38671c87e0cSJan-Bernd Themannconfig INET_LRO
387c5d35571SBen Hutchings	tristate "Large Receive Offload (ipv4/tcp)"
388bc8a5397SFrans Pop	default y
38971c87e0cSJan-Bernd Themann	---help---
39071c87e0cSJan-Bernd Themann	  Support for Large Receive Offload (ipv4/tcp).
39171c87e0cSJan-Bernd Themann
39271c87e0cSJan-Bernd Themann	  If unsure, say Y.
39371c87e0cSJan-Bernd Themann
39417b085eaSArnaldo Carvalho de Meloconfig INET_DIAG
39517b085eaSArnaldo Carvalho de Melo	tristate "INET: socket monitoring interface"
3961da177e4SLinus Torvalds	default y
3971da177e4SLinus Torvalds	---help---
39873c1f4a0SArnaldo Carvalho de Melo	  Support for INET (TCP, DCCP, etc) socket monitoring interface used by
39973c1f4a0SArnaldo Carvalho de Melo	  native Linux tools such as ss. ss is included in iproute2, currently
400c996d8b9SMichael Witten	  downloadable at:
401c996d8b9SMichael Witten
402c996d8b9SMichael Witten	    http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
4031da177e4SLinus Torvalds
4041da177e4SLinus Torvalds	  If unsure, say Y.
4051da177e4SLinus Torvalds
40617b085eaSArnaldo Carvalho de Meloconfig INET_TCP_DIAG
40717b085eaSArnaldo Carvalho de Melo	depends on INET_DIAG
40817b085eaSArnaldo Carvalho de Melo	def_tristate INET_DIAG
40917b085eaSArnaldo Carvalho de Melo
410507dd796SPavel Emelyanovconfig INET_UDP_DIAG
4116d62a66eSDavid S. Miller	tristate "UDP: socket monitoring interface"
4126d25886eSAnisse Astier	depends on INET_DIAG && (IPV6 || IPV6=n)
4136d62a66eSDavid S. Miller	default n
4146d62a66eSDavid S. Miller	---help---
4156d62a66eSDavid S. Miller	  Support for UDP socket monitoring interface used by the ss tool.
4166d62a66eSDavid S. Miller	  If unsure, say Y.
417507dd796SPavel Emelyanov
4183d2573f7SStephen Hemmingermenuconfig TCP_CONG_ADVANCED
419a6484045SDavid S. Miller	bool "TCP: advanced congestion control"
420a6484045SDavid S. Miller	---help---
421a6484045SDavid S. Miller	  Support for selection of various TCP congestion control
422a6484045SDavid S. Miller	  modules.
423a6484045SDavid S. Miller
424a6484045SDavid S. Miller	  Nearly all users can safely say no here, and a safe default
425597811ecSStephen Hemminger	  selection will be made (CUBIC with new Reno as a fallback).
426a6484045SDavid S. Miller
427a6484045SDavid S. Miller	  If unsure, say N.
428a6484045SDavid S. Miller
4293d2573f7SStephen Hemmingerif TCP_CONG_ADVANCED
43083803034SStephen Hemminger
43183803034SStephen Hemmingerconfig TCP_CONG_BIC
43283803034SStephen Hemminger	tristate "Binary Increase Congestion (BIC) control"
433597811ecSStephen Hemminger	default m
43483803034SStephen Hemminger	---help---
43583803034SStephen Hemminger	BIC-TCP is a sender-side only change that ensures a linear RTT
43683803034SStephen Hemminger	fairness under large windows while offering both scalability and
43783803034SStephen Hemminger	bounded TCP-friendliness. The protocol combines two schemes
43883803034SStephen Hemminger	called additive increase and binary search increase. When the
43983803034SStephen Hemminger	congestion window is large, additive increase with a large
44083803034SStephen Hemminger	increment ensures linear RTT fairness as well as good
44183803034SStephen Hemminger	scalability. Under small congestion windows, binary search
44283803034SStephen Hemminger	increase provides TCP friendliness.
44383803034SStephen Hemminger	See http://www.csc.ncsu.edu/faculty/rhee/export/bitcp/
44483803034SStephen Hemminger
445df3271f3SStephen Hemmingerconfig TCP_CONG_CUBIC
446df3271f3SStephen Hemminger	tristate "CUBIC TCP"
447597811ecSStephen Hemminger	default y
448df3271f3SStephen Hemminger	---help---
449df3271f3SStephen Hemminger	This is version 2.0 of BIC-TCP which uses a cubic growth function
450df3271f3SStephen Hemminger	among other techniques.
451df3271f3SStephen Hemminger	See http://www.csc.ncsu.edu/faculty/rhee/export/bitcp/cubic-paper.pdf
452df3271f3SStephen Hemminger
45387270762SStephen Hemmingerconfig TCP_CONG_WESTWOOD
45487270762SStephen Hemminger	tristate "TCP Westwood+"
45587270762SStephen Hemminger	default m
45687270762SStephen Hemminger	---help---
45787270762SStephen Hemminger	TCP Westwood+ is a sender-side only modification of the TCP Reno
45887270762SStephen Hemminger	protocol stack that optimizes the performance of TCP congestion
45987270762SStephen Hemminger	control. It is based on end-to-end bandwidth estimation to set
46087270762SStephen Hemminger	congestion window and slow start threshold after a congestion
46187270762SStephen Hemminger	episode. Using this estimation, TCP Westwood+ adaptively sets a
46287270762SStephen Hemminger	slow start threshold and a congestion window which takes into
46387270762SStephen Hemminger	account the bandwidth used  at the time congestion is experienced.
46487270762SStephen Hemminger	TCP Westwood+ significantly increases fairness wrt TCP Reno in
46587270762SStephen Hemminger	wired networks and throughput over wireless links.
46687270762SStephen Hemminger
467a7868ea6SBaruch Evenconfig TCP_CONG_HTCP
468a7868ea6SBaruch Even        tristate "H-TCP"
469a7868ea6SBaruch Even        default m
470a7868ea6SBaruch Even	---help---
471a7868ea6SBaruch Even	H-TCP is a send-side only modifications of the TCP Reno
472a7868ea6SBaruch Even	protocol stack that optimizes the performance of TCP
473a7868ea6SBaruch Even	congestion control for high speed network links. It uses a
474a7868ea6SBaruch Even	modeswitch to change the alpha and beta parameters of TCP Reno
475a7868ea6SBaruch Even	based on network conditions and in a way so as to be fair with
476a7868ea6SBaruch Even	other Reno and H-TCP flows.
477a7868ea6SBaruch Even
478a628d29bSJohn Heffnerconfig TCP_CONG_HSTCP
479a628d29bSJohn Heffner	tristate "High Speed TCP"
4806a2e9b73SSam Ravnborg	depends on EXPERIMENTAL
481a628d29bSJohn Heffner	default n
482a628d29bSJohn Heffner	---help---
483a628d29bSJohn Heffner	Sally Floyd's High Speed TCP (RFC 3649) congestion control.
484a628d29bSJohn Heffner	A modification to TCP's congestion control mechanism for use
485a628d29bSJohn Heffner	with large congestion windows. A table indicates how much to
486a628d29bSJohn Heffner	increase the congestion window by when an ACK is received.
487a628d29bSJohn Heffner 	For more detail	see http://www.icir.org/floyd/hstcp.html
488a628d29bSJohn Heffner
489835b3f0cSDaniele Lacameraconfig TCP_CONG_HYBLA
490835b3f0cSDaniele Lacamera	tristate "TCP-Hybla congestion control algorithm"
4916a2e9b73SSam Ravnborg	depends on EXPERIMENTAL
492835b3f0cSDaniele Lacamera	default n
493835b3f0cSDaniele Lacamera	---help---
494835b3f0cSDaniele Lacamera	TCP-Hybla is a sender-side only change that eliminates penalization of
495835b3f0cSDaniele Lacamera	long-RTT, large-bandwidth connections, like when satellite legs are
49644c09201SMatt LaPlante	involved, especially when sharing a common bottleneck with normal
497835b3f0cSDaniele Lacamera	terrestrial connections.
498835b3f0cSDaniele Lacamera
499b87d8561SStephen Hemmingerconfig TCP_CONG_VEGAS
500b87d8561SStephen Hemminger	tristate "TCP Vegas"
5016a2e9b73SSam Ravnborg	depends on EXPERIMENTAL
502b87d8561SStephen Hemminger	default n
503b87d8561SStephen Hemminger	---help---
504b87d8561SStephen Hemminger	TCP Vegas is a sender-side only change to TCP that anticipates
505b87d8561SStephen Hemminger	the onset of congestion by estimating the bandwidth. TCP Vegas
506b87d8561SStephen Hemminger	adjusts the sending rate by modifying the congestion
507b87d8561SStephen Hemminger	window. TCP Vegas should provide less packet loss, but it is
508b87d8561SStephen Hemminger	not as aggressive as TCP Reno.
509b87d8561SStephen Hemminger
5100e57976bSJohn Heffnerconfig TCP_CONG_SCALABLE
5110e57976bSJohn Heffner	tristate "Scalable TCP"
5126a2e9b73SSam Ravnborg	depends on EXPERIMENTAL
5130e57976bSJohn Heffner	default n
5140e57976bSJohn Heffner	---help---
5150e57976bSJohn Heffner	Scalable TCP is a sender-side only change to TCP which uses a
5160e57976bSJohn Heffner	MIMD congestion control algorithm which has some nice scaling
5170e57976bSJohn Heffner	properties, though is known to have fairness issues.
518f4b9479dSBaruch Even	See http://www.deneholme.net/tom/scalable/
519a7868ea6SBaruch Even
5207c106d7eSWong Hoi Sing Edisonconfig TCP_CONG_LP
5217c106d7eSWong Hoi Sing Edison	tristate "TCP Low Priority"
5227c106d7eSWong Hoi Sing Edison	depends on EXPERIMENTAL
5237c106d7eSWong Hoi Sing Edison	default n
5247c106d7eSWong Hoi Sing Edison	---help---
5257c106d7eSWong Hoi Sing Edison	TCP Low Priority (TCP-LP), a distributed algorithm whose goal is
526cab00891SMatt LaPlante	to utilize only the excess network bandwidth as compared to the
5277c106d7eSWong Hoi Sing Edison	``fair share`` of bandwidth as targeted by TCP.
5287c106d7eSWong Hoi Sing Edison	See http://www-ece.rice.edu/networks/TCP-LP/
5297c106d7eSWong Hoi Sing Edison
53076f10177SBin Zhouconfig TCP_CONG_VENO
53176f10177SBin Zhou	tristate "TCP Veno"
53276f10177SBin Zhou	depends on EXPERIMENTAL
53376f10177SBin Zhou	default n
53476f10177SBin Zhou	---help---
53576f10177SBin Zhou	TCP Veno is a sender-side only enhancement of TCP to obtain better
53676f10177SBin Zhou	throughput over wireless networks. TCP Veno makes use of state
53776f10177SBin Zhou	distinguishing to circumvent the difficult judgment of the packet loss
53876f10177SBin Zhou	type. TCP Veno cuts down less congestion window in response to random
53976f10177SBin Zhou	loss packets.
540631dd1a8SJustin P. Mattock	See <http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=1177186>
54176f10177SBin Zhou
5425ef81475SAngelo P. Castellaniconfig TCP_CONG_YEAH
5435ef81475SAngelo P. Castellani	tristate "YeAH TCP"
5445ef81475SAngelo P. Castellani	depends on EXPERIMENTAL
5452ff011efSDavid S. Miller	select TCP_CONG_VEGAS
5465ef81475SAngelo P. Castellani	default n
5475ef81475SAngelo P. Castellani	---help---
5485ef81475SAngelo P. Castellani	YeAH-TCP is a sender-side high-speed enabled TCP congestion control
5495ef81475SAngelo P. Castellani	algorithm, which uses a mixed loss/delay approach to compute the
5505ef81475SAngelo P. Castellani	congestion window. It's design goals target high efficiency,
5515ef81475SAngelo P. Castellani	internal, RTT and Reno fairness, resilience to link loss while
5525ef81475SAngelo P. Castellani	keeping network elements load as low as possible.
5535ef81475SAngelo P. Castellani
5545ef81475SAngelo P. Castellani	For further details look here:
5555ef81475SAngelo P. Castellani	  http://wil.cs.caltech.edu/pfldnet2007/paper/YeAH_TCP.pdf
5565ef81475SAngelo P. Castellani
557c462238dSStephen Hemmingerconfig TCP_CONG_ILLINOIS
558c462238dSStephen Hemminger	tristate "TCP Illinois"
559c462238dSStephen Hemminger	depends on EXPERIMENTAL
560c462238dSStephen Hemminger	default n
561c462238dSStephen Hemminger	---help---
56201dd2fbfSMatt LaPlante	TCP-Illinois is a sender-side modification of TCP Reno for
563c462238dSStephen Hemminger	high speed long delay links. It uses round-trip-time to
564c462238dSStephen Hemminger	adjust the alpha and beta parameters to achieve a higher average
565c462238dSStephen Hemminger	throughput and maintain fairness.
566c462238dSStephen Hemminger
567c462238dSStephen Hemminger	For further details see:
568c462238dSStephen Hemminger	  http://www.ews.uiuc.edu/~shaoliu/tcpillinois/index.html
569c462238dSStephen Hemminger
5703d2573f7SStephen Hemmingerchoice
5713d2573f7SStephen Hemminger	prompt "Default TCP congestion control"
572597811ecSStephen Hemminger	default DEFAULT_CUBIC
5733d2573f7SStephen Hemminger	help
5743d2573f7SStephen Hemminger	  Select the TCP congestion control that will be used by default
5753d2573f7SStephen Hemminger	  for all connections.
5763d2573f7SStephen Hemminger
5773d2573f7SStephen Hemminger	config DEFAULT_BIC
5783d2573f7SStephen Hemminger		bool "Bic" if TCP_CONG_BIC=y
5793d2573f7SStephen Hemminger
5803d2573f7SStephen Hemminger	config DEFAULT_CUBIC
5813d2573f7SStephen Hemminger		bool "Cubic" if TCP_CONG_CUBIC=y
5823d2573f7SStephen Hemminger
5833d2573f7SStephen Hemminger	config DEFAULT_HTCP
5843d2573f7SStephen Hemminger		bool "Htcp" if TCP_CONG_HTCP=y
5853d2573f7SStephen Hemminger
586dd2acaa7SJan Engelhardt	config DEFAULT_HYBLA
587dd2acaa7SJan Engelhardt		bool "Hybla" if TCP_CONG_HYBLA=y
588dd2acaa7SJan Engelhardt
5893d2573f7SStephen Hemminger	config DEFAULT_VEGAS
5903d2573f7SStephen Hemminger		bool "Vegas" if TCP_CONG_VEGAS=y
5913d2573f7SStephen Hemminger
5926ce1a6dfSJan Engelhardt	config DEFAULT_VENO
5936ce1a6dfSJan Engelhardt		bool "Veno" if TCP_CONG_VENO=y
5946ce1a6dfSJan Engelhardt
5953d2573f7SStephen Hemminger	config DEFAULT_WESTWOOD
5963d2573f7SStephen Hemminger		bool "Westwood" if TCP_CONG_WESTWOOD=y
5973d2573f7SStephen Hemminger
5983d2573f7SStephen Hemminger	config DEFAULT_RENO
5993d2573f7SStephen Hemminger		bool "Reno"
6003d2573f7SStephen Hemminger
6013d2573f7SStephen Hemmingerendchoice
6023d2573f7SStephen Hemminger
6033d2573f7SStephen Hemmingerendif
60483803034SStephen Hemminger
605597811ecSStephen Hemmingerconfig TCP_CONG_CUBIC
6066c360767SDavid S. Miller	tristate
607a6484045SDavid S. Miller	depends on !TCP_CONG_ADVANCED
608a6484045SDavid S. Miller	default y
609a6484045SDavid S. Miller
6103d2573f7SStephen Hemmingerconfig DEFAULT_TCP_CONG
6113d2573f7SStephen Hemminger	string
6123d2573f7SStephen Hemminger	default "bic" if DEFAULT_BIC
6133d2573f7SStephen Hemminger	default "cubic" if DEFAULT_CUBIC
6143d2573f7SStephen Hemminger	default "htcp" if DEFAULT_HTCP
615dd2acaa7SJan Engelhardt	default "hybla" if DEFAULT_HYBLA
6163d2573f7SStephen Hemminger	default "vegas" if DEFAULT_VEGAS
6173d2573f7SStephen Hemminger	default "westwood" if DEFAULT_WESTWOOD
6186ce1a6dfSJan Engelhardt	default "veno" if DEFAULT_VENO
6193d2573f7SStephen Hemminger	default "reno" if DEFAULT_RENO
620597811ecSStephen Hemminger	default "cubic"
6213d2573f7SStephen Hemminger
622cfb6eeb4SYOSHIFUJI Hideakiconfig TCP_MD5SIG
623cfb6eeb4SYOSHIFUJI Hideaki	bool "TCP: MD5 Signature Option support (RFC2385) (EXPERIMENTAL)"
624cfb6eeb4SYOSHIFUJI Hideaki	depends on EXPERIMENTAL
625cfb6eeb4SYOSHIFUJI Hideaki	select CRYPTO
626cfb6eeb4SYOSHIFUJI Hideaki	select CRYPTO_MD5
627cfb6eeb4SYOSHIFUJI Hideaki	---help---
6283dde6ad8SDavid Sterba	  RFC2385 specifies a method of giving MD5 protection to TCP sessions.
629cfb6eeb4SYOSHIFUJI Hideaki	  Its main (only?) use is to protect BGP sessions between core routers
630cfb6eeb4SYOSHIFUJI Hideaki	  on the Internet.
631cfb6eeb4SYOSHIFUJI Hideaki
632cfb6eeb4SYOSHIFUJI Hideaki	  If unsure, say N.
633