Kconfig 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. #
  2. # IPv6 configuration
  3. #
  4. # IPv6 as module will cause a CRASH if you try to unload it
  5. menuconfig IPV6
  6. tristate "The IPv6 protocol"
  7. default y
  8. ---help---
  9. Support for IP version 6 (IPv6).
  10. For general information about IPv6, see
  11. <https://en.wikipedia.org/wiki/IPv6>.
  12. For specific information about IPv6 under Linux, see
  13. Documentation/networking/ipv6.txt and read the HOWTO at
  14. <http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/>
  15. To compile this protocol support as a module, choose M here: the
  16. module will be called ipv6.
  17. if IPV6
  18. config IPV6_ROUTER_PREF
  19. bool "IPv6: Router Preference (RFC 4191) support"
  20. ---help---
  21. Router Preference is an optional extension to the Router
  22. Advertisement message which improves the ability of hosts
  23. to pick an appropriate router, especially when the hosts
  24. are placed in a multi-homed network.
  25. If unsure, say N.
  26. config IPV6_ROUTE_INFO
  27. bool "IPv6: Route Information (RFC 4191) support"
  28. depends on IPV6_ROUTER_PREF
  29. ---help---
  30. Support of Route Information.
  31. If unsure, say N.
  32. config IPV6_OPTIMISTIC_DAD
  33. bool "IPv6: Enable RFC 4429 Optimistic DAD"
  34. ---help---
  35. Support for optimistic Duplicate Address Detection. It allows for
  36. autoconfigured addresses to be used more quickly.
  37. If unsure, say N.
  38. config INET6_AH
  39. tristate "IPv6: AH transformation"
  40. select XFRM_ALGO
  41. select CRYPTO
  42. select CRYPTO_HMAC
  43. select CRYPTO_MD5
  44. select CRYPTO_SHA1
  45. ---help---
  46. Support for IPsec AH.
  47. If unsure, say Y.
  48. config INET6_ESP
  49. tristate "IPv6: ESP transformation"
  50. select XFRM_ALGO
  51. select CRYPTO
  52. select CRYPTO_AUTHENC
  53. select CRYPTO_HMAC
  54. select CRYPTO_MD5
  55. select CRYPTO_CBC
  56. select CRYPTO_SHA1
  57. select CRYPTO_DES
  58. select CRYPTO_ECHAINIV
  59. ---help---
  60. Support for IPsec ESP.
  61. If unsure, say Y.
  62. config INET6_ESP_OFFLOAD
  63. tristate "IPv6: ESP transformation offload"
  64. depends on INET6_ESP
  65. select XFRM_OFFLOAD
  66. default n
  67. ---help---
  68. Support for ESP transformation offload. This makes sense
  69. only if this system really does IPsec and want to do it
  70. with high throughput. A typical desktop system does not
  71. need it, even if it does IPsec.
  72. If unsure, say N.
  73. config INET6_IPCOMP
  74. tristate "IPv6: IPComp transformation"
  75. select INET6_XFRM_TUNNEL
  76. select XFRM_IPCOMP
  77. ---help---
  78. Support for IP Payload Compression Protocol (IPComp) (RFC3173),
  79. typically needed for IPsec.
  80. If unsure, say Y.
  81. config IPV6_MIP6
  82. tristate "IPv6: Mobility"
  83. select XFRM
  84. ---help---
  85. Support for IPv6 Mobility described in RFC 3775.
  86. If unsure, say N.
  87. config IPV6_ILA
  88. tristate "IPv6: Identifier Locator Addressing (ILA)"
  89. depends on NETFILTER
  90. select DST_CACHE
  91. select LWTUNNEL
  92. ---help---
  93. Support for IPv6 Identifier Locator Addressing (ILA).
  94. ILA is a mechanism to do network virtualization without
  95. encapsulation. The basic concept of ILA is that we split an
  96. IPv6 address into a 64 bit locator and 64 bit identifier. The
  97. identifier is the identity of an entity in communication
  98. ("who") and the locator expresses the location of the
  99. entity ("where").
  100. ILA can be configured using the "encap ila" option with
  101. "ip -6 route" command. ILA is described in
  102. https://tools.ietf.org/html/draft-herbert-nvo3-ila-00.
  103. If unsure, say N.
  104. config INET6_XFRM_TUNNEL
  105. tristate
  106. select INET6_TUNNEL
  107. default n
  108. config INET6_TUNNEL
  109. tristate
  110. default n
  111. config INET6_XFRM_MODE_TRANSPORT
  112. tristate "IPv6: IPsec transport mode"
  113. default IPV6
  114. select XFRM
  115. ---help---
  116. Support for IPsec transport mode.
  117. If unsure, say Y.
  118. config INET6_XFRM_MODE_TUNNEL
  119. tristate "IPv6: IPsec tunnel mode"
  120. default IPV6
  121. select XFRM
  122. ---help---
  123. Support for IPsec tunnel mode.
  124. If unsure, say Y.
  125. config INET6_XFRM_MODE_BEET
  126. tristate "IPv6: IPsec BEET mode"
  127. default IPV6
  128. select XFRM
  129. ---help---
  130. Support for IPsec BEET mode.
  131. If unsure, say Y.
  132. config INET6_XFRM_MODE_ROUTEOPTIMIZATION
  133. tristate "IPv6: MIPv6 route optimization mode"
  134. select XFRM
  135. ---help---
  136. Support for MIPv6 route optimization mode.
  137. config IPV6_VTI
  138. tristate "Virtual (secure) IPv6: tunneling"
  139. select IPV6_TUNNEL
  140. select NET_IP_TUNNEL
  141. depends on INET6_XFRM_MODE_TUNNEL
  142. ---help---
  143. Tunneling means encapsulating data of one protocol type within
  144. another protocol and sending it over a channel that understands the
  145. encapsulating protocol. This can be used with xfrm mode tunnel to give
  146. the notion of a secure tunnel for IPSEC and then use routing protocol
  147. on top.
  148. config IPV6_SIT
  149. tristate "IPv6: IPv6-in-IPv4 tunnel (SIT driver)"
  150. select INET_TUNNEL
  151. select NET_IP_TUNNEL
  152. select IPV6_NDISC_NODETYPE
  153. default y
  154. ---help---
  155. Tunneling means encapsulating data of one protocol type within
  156. another protocol and sending it over a channel that understands the
  157. encapsulating protocol. This driver implements encapsulation of IPv6
  158. into IPv4 packets. This is useful if you want to connect two IPv6
  159. networks over an IPv4-only path.
  160. Saying M here will produce a module called sit. If unsure, say Y.
  161. config IPV6_SIT_6RD
  162. bool "IPv6: IPv6 Rapid Deployment (6RD)"
  163. depends on IPV6_SIT
  164. default n
  165. ---help---
  166. IPv6 Rapid Deployment (6rd; draft-ietf-softwire-ipv6-6rd) builds upon
  167. mechanisms of 6to4 (RFC3056) to enable a service provider to rapidly
  168. deploy IPv6 unicast service to IPv4 sites to which it provides
  169. customer premise equipment. Like 6to4, it utilizes stateless IPv6 in
  170. IPv4 encapsulation in order to transit IPv4-only network
  171. infrastructure. Unlike 6to4, a 6rd service provider uses an IPv6
  172. prefix of its own in place of the fixed 6to4 prefix.
  173. With this option enabled, the SIT driver offers 6rd functionality by
  174. providing additional ioctl API to configure the IPv6 Prefix for in
  175. stead of static 2002::/16 for 6to4.
  176. If unsure, say N.
  177. config IPV6_NDISC_NODETYPE
  178. bool
  179. config IPV6_TUNNEL
  180. tristate "IPv6: IP-in-IPv6 tunnel (RFC2473)"
  181. select INET6_TUNNEL
  182. select DST_CACHE
  183. select GRO_CELLS
  184. ---help---
  185. Support for IPv6-in-IPv6 and IPv4-in-IPv6 tunnels described in
  186. RFC 2473.
  187. If unsure, say N.
  188. config IPV6_GRE
  189. tristate "IPv6: GRE tunnel"
  190. select IPV6_TUNNEL
  191. select NET_IP_TUNNEL
  192. depends on NET_IPGRE_DEMUX
  193. ---help---
  194. Tunneling means encapsulating data of one protocol type within
  195. another protocol and sending it over a channel that understands the
  196. encapsulating protocol. This particular tunneling driver implements
  197. GRE (Generic Routing Encapsulation) and at this time allows
  198. encapsulating of IPv4 or IPv6 over existing IPv6 infrastructure.
  199. This driver is useful if the other endpoint is a Cisco router: Cisco
  200. likes GRE much better than the other Linux tunneling driver ("IP
  201. tunneling" above). In addition, GRE allows multicast redistribution
  202. through the tunnel.
  203. Saying M here will produce a module called ip6_gre. If unsure, say N.
  204. config IPV6_FOU
  205. tristate
  206. default NET_FOU && IPV6
  207. config IPV6_FOU_TUNNEL
  208. tristate
  209. default NET_FOU_IP_TUNNELS && IPV6_FOU
  210. select IPV6_TUNNEL
  211. config IPV6_MULTIPLE_TABLES
  212. bool "IPv6: Multiple Routing Tables"
  213. select FIB_RULES
  214. ---help---
  215. Support multiple routing tables.
  216. config IPV6_SUBTREES
  217. bool "IPv6: source address based routing"
  218. depends on IPV6_MULTIPLE_TABLES
  219. ---help---
  220. Enable routing by source address or prefix.
  221. The destination address is still the primary routing key, so mixing
  222. normal and source prefix specific routes in the same routing table
  223. may sometimes lead to unintended routing behavior. This can be
  224. avoided by defining different routing tables for the normal and
  225. source prefix specific routes.
  226. If unsure, say N.
  227. config IPV6_MROUTE
  228. bool "IPv6: multicast routing"
  229. depends on IPV6
  230. select IP_MROUTE_COMMON
  231. ---help---
  232. Support for IPv6 multicast forwarding.
  233. If unsure, say N.
  234. config IPV6_MROUTE_MULTIPLE_TABLES
  235. bool "IPv6: multicast policy routing"
  236. depends on IPV6_MROUTE
  237. select FIB_RULES
  238. help
  239. Normally, a multicast router runs a userspace daemon and decides
  240. what to do with a multicast packet based on the source and
  241. destination addresses. If you say Y here, the multicast router
  242. will also be able to take interfaces and packet marks into
  243. account and run multiple instances of userspace daemons
  244. simultaneously, each one handling a single table.
  245. If unsure, say N.
  246. config IPV6_PIMSM_V2
  247. bool "IPv6: PIM-SM version 2 support"
  248. depends on IPV6_MROUTE
  249. ---help---
  250. Support for IPv6 PIM multicast routing protocol PIM-SMv2.
  251. If unsure, say N.
  252. config IPV6_SEG6_LWTUNNEL
  253. bool "IPv6: Segment Routing Header encapsulation support"
  254. depends on IPV6
  255. select LWTUNNEL
  256. select DST_CACHE
  257. select IPV6_MULTIPLE_TABLES
  258. ---help---
  259. Support for encapsulation of packets within an outer IPv6
  260. header and a Segment Routing Header using the lightweight
  261. tunnels mechanism. Also enable support for advanced local
  262. processing of SRv6 packets based on their active segment.
  263. If unsure, say N.
  264. config IPV6_SEG6_HMAC
  265. bool "IPv6: Segment Routing HMAC support"
  266. depends on IPV6
  267. select CRYPTO_HMAC
  268. select CRYPTO_SHA1
  269. select CRYPTO_SHA256
  270. ---help---
  271. Support for HMAC signature generation and verification
  272. of SR-enabled packets.
  273. If unsure, say N.
  274. config IPV6_SEG6_BPF
  275. def_bool y
  276. depends on IPV6_SEG6_LWTUNNEL
  277. depends on IPV6 = y
  278. endif # IPV6