Kconfig 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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. This is experimental 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. This is experimental support for optimistic Duplicate
  36. Address Detection. It allows for autoconfigured addresses
  37. to be used more quickly.
  38. If unsure, say N.
  39. config INET6_AH
  40. tristate "IPv6: AH transformation"
  41. select XFRM_ALGO
  42. select CRYPTO
  43. select CRYPTO_HMAC
  44. select CRYPTO_MD5
  45. select CRYPTO_SHA1
  46. ---help---
  47. Support for IPsec AH.
  48. If unsure, say Y.
  49. config INET6_ESP
  50. tristate "IPv6: ESP transformation"
  51. select XFRM_ALGO
  52. select CRYPTO
  53. select CRYPTO_AUTHENC
  54. select CRYPTO_HMAC
  55. select CRYPTO_MD5
  56. select CRYPTO_CBC
  57. select CRYPTO_SHA1
  58. select CRYPTO_DES
  59. select CRYPTO_ECHAINIV
  60. ---help---
  61. Support for IPsec ESP.
  62. If unsure, say Y.
  63. config INET6_IPCOMP
  64. tristate "IPv6: IPComp transformation"
  65. select INET6_XFRM_TUNNEL
  66. select XFRM_IPCOMP
  67. ---help---
  68. Support for IP Payload Compression Protocol (IPComp) (RFC3173),
  69. typically needed for IPsec.
  70. If unsure, say Y.
  71. config IPV6_MIP6
  72. tristate "IPv6: Mobility"
  73. select XFRM
  74. ---help---
  75. Support for IPv6 Mobility described in RFC 3775.
  76. If unsure, say N.
  77. config IPV6_ILA
  78. tristate "IPv6: Identifier Locator Addressing (ILA)"
  79. select LWTUNNEL
  80. ---help---
  81. Support for IPv6 Identifier Locator Addressing (ILA).
  82. ILA is a mechanism to do network virtualization without
  83. encapsulation. The basic concept of ILA is that we split an
  84. IPv6 address into a 64 bit locator and 64 bit identifier. The
  85. identifier is the identity of an entity in communication
  86. ("who") and the locator expresses the location of the
  87. entity ("where").
  88. ILA can be configured using the "encap ila" option with
  89. "ip -6 route" command. ILA is described in
  90. https://tools.ietf.org/html/draft-herbert-nvo3-ila-00.
  91. If unsure, say N.
  92. config INET6_XFRM_TUNNEL
  93. tristate
  94. select INET6_TUNNEL
  95. default n
  96. config INET6_TUNNEL
  97. tristate
  98. default n
  99. config INET6_XFRM_MODE_TRANSPORT
  100. tristate "IPv6: IPsec transport mode"
  101. default IPV6
  102. select XFRM
  103. ---help---
  104. Support for IPsec transport mode.
  105. If unsure, say Y.
  106. config INET6_XFRM_MODE_TUNNEL
  107. tristate "IPv6: IPsec tunnel mode"
  108. default IPV6
  109. select XFRM
  110. ---help---
  111. Support for IPsec tunnel mode.
  112. If unsure, say Y.
  113. config INET6_XFRM_MODE_BEET
  114. tristate "IPv6: IPsec BEET mode"
  115. default IPV6
  116. select XFRM
  117. ---help---
  118. Support for IPsec BEET mode.
  119. If unsure, say Y.
  120. config INET6_XFRM_MODE_ROUTEOPTIMIZATION
  121. tristate "IPv6: MIPv6 route optimization mode"
  122. select XFRM
  123. ---help---
  124. Support for MIPv6 route optimization mode.
  125. config IPV6_VTI
  126. tristate "Virtual (secure) IPv6: tunneling"
  127. select IPV6_TUNNEL
  128. select NET_IP_TUNNEL
  129. depends on INET6_XFRM_MODE_TUNNEL
  130. ---help---
  131. Tunneling means encapsulating data of one protocol type within
  132. another protocol and sending it over a channel that understands the
  133. encapsulating protocol. This can be used with xfrm mode tunnel to give
  134. the notion of a secure tunnel for IPSEC and then use routing protocol
  135. on top.
  136. config IPV6_SIT
  137. tristate "IPv6: IPv6-in-IPv4 tunnel (SIT driver)"
  138. select INET_TUNNEL
  139. select NET_IP_TUNNEL
  140. select IPV6_NDISC_NODETYPE
  141. default y
  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 driver implements encapsulation of IPv6
  146. into IPv4 packets. This is useful if you want to connect two IPv6
  147. networks over an IPv4-only path.
  148. Saying M here will produce a module called sit. If unsure, say Y.
  149. config IPV6_SIT_6RD
  150. bool "IPv6: IPv6 Rapid Deployment (6RD)"
  151. depends on IPV6_SIT
  152. default n
  153. ---help---
  154. IPv6 Rapid Deployment (6rd; draft-ietf-softwire-ipv6-6rd) builds upon
  155. mechanisms of 6to4 (RFC3056) to enable a service provider to rapidly
  156. deploy IPv6 unicast service to IPv4 sites to which it provides
  157. customer premise equipment. Like 6to4, it utilizes stateless IPv6 in
  158. IPv4 encapsulation in order to transit IPv4-only network
  159. infrastructure. Unlike 6to4, a 6rd service provider uses an IPv6
  160. prefix of its own in place of the fixed 6to4 prefix.
  161. With this option enabled, the SIT driver offers 6rd functionality by
  162. providing additional ioctl API to configure the IPv6 Prefix for in
  163. stead of static 2002::/16 for 6to4.
  164. If unsure, say N.
  165. config IPV6_NDISC_NODETYPE
  166. bool
  167. config IPV6_TUNNEL
  168. tristate "IPv6: IP-in-IPv6 tunnel (RFC2473)"
  169. select INET6_TUNNEL
  170. select DST_CACHE
  171. ---help---
  172. Support for IPv6-in-IPv6 and IPv4-in-IPv6 tunnels described in
  173. RFC 2473.
  174. If unsure, say N.
  175. config IPV6_GRE
  176. tristate "IPv6: GRE tunnel"
  177. select IPV6_TUNNEL
  178. select NET_IP_TUNNEL
  179. ---help---
  180. Tunneling means encapsulating data of one protocol type within
  181. another protocol and sending it over a channel that understands the
  182. encapsulating protocol. This particular tunneling driver implements
  183. GRE (Generic Routing Encapsulation) and at this time allows
  184. encapsulating of IPv4 or IPv6 over existing IPv6 infrastructure.
  185. This driver is useful if the other endpoint is a Cisco router: Cisco
  186. likes GRE much better than the other Linux tunneling driver ("IP
  187. tunneling" above). In addition, GRE allows multicast redistribution
  188. through the tunnel.
  189. Saying M here will produce a module called ip6_gre. If unsure, say N.
  190. config IPV6_MULTIPLE_TABLES
  191. bool "IPv6: Multiple Routing Tables"
  192. select FIB_RULES
  193. ---help---
  194. Support multiple routing tables.
  195. config IPV6_SUBTREES
  196. bool "IPv6: source address based routing"
  197. depends on IPV6_MULTIPLE_TABLES
  198. ---help---
  199. Enable routing by source address or prefix.
  200. The destination address is still the primary routing key, so mixing
  201. normal and source prefix specific routes in the same routing table
  202. may sometimes lead to unintended routing behavior. This can be
  203. avoided by defining different routing tables for the normal and
  204. source prefix specific routes.
  205. If unsure, say N.
  206. config IPV6_MROUTE
  207. bool "IPv6: multicast routing"
  208. depends on IPV6
  209. ---help---
  210. Experimental support for IPv6 multicast forwarding.
  211. If unsure, say N.
  212. config IPV6_MROUTE_MULTIPLE_TABLES
  213. bool "IPv6: multicast policy routing"
  214. depends on IPV6_MROUTE
  215. select FIB_RULES
  216. help
  217. Normally, a multicast router runs a userspace daemon and decides
  218. what to do with a multicast packet based on the source and
  219. destination addresses. If you say Y here, the multicast router
  220. will also be able to take interfaces and packet marks into
  221. account and run multiple instances of userspace daemons
  222. simultaneously, each one handling a single table.
  223. If unsure, say N.
  224. config IPV6_PIMSM_V2
  225. bool "IPv6: PIM-SM version 2 support"
  226. depends on IPV6_MROUTE
  227. ---help---
  228. Support for IPv6 PIM multicast routing protocol PIM-SMv2.
  229. If unsure, say N.
  230. endif # IPV6