Kconfig 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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 m
  8. ---help---
  9. This is complemental support for the IP version 6.
  10. You will still be able to do traditional IPv4 networking as well.
  11. For general information about IPv6, see
  12. <https://en.wikipedia.org/wiki/IPv6>.
  13. For Linux IPv6 development information, see <http://www.linux-ipv6.org>.
  14. For specific information about IPv6 under Linux, read the HOWTO at
  15. <http://www.bieringer.de/linux/IPv6/>.
  16. To compile this protocol support as a module, choose M here: the
  17. module will be called ipv6.
  18. if IPV6
  19. config IPV6_PRIVACY
  20. bool "IPv6: Privacy Extensions (RFC 3041) support"
  21. ---help---
  22. Privacy Extensions for Stateless Address Autoconfiguration in IPv6
  23. support. With this option, additional periodically-altered
  24. pseudo-random global-scope unicast address(es) will be assigned to
  25. your interface(s).
  26. We use our standard pseudo-random algorithm to generate the
  27. randomized interface identifier, instead of one described in RFC 3041.
  28. By default the kernel does not generate temporary addresses.
  29. To use temporary addresses, do
  30. echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
  31. See <file:Documentation/networking/ip-sysctl.txt> for details.
  32. config IPV6_ROUTER_PREF
  33. bool "IPv6: Router Preference (RFC 4191) support"
  34. ---help---
  35. Router Preference is an optional extension to the Router
  36. Advertisement message which improves the ability of hosts
  37. to pick an appropriate router, especially when the hosts
  38. are placed in a multi-homed network.
  39. If unsure, say N.
  40. config IPV6_ROUTE_INFO
  41. bool "IPv6: Route Information (RFC 4191) support"
  42. depends on IPV6_ROUTER_PREF
  43. ---help---
  44. This is experimental support of Route Information.
  45. If unsure, say N.
  46. config IPV6_OPTIMISTIC_DAD
  47. bool "IPv6: Enable RFC 4429 Optimistic DAD"
  48. ---help---
  49. This is experimental support for optimistic Duplicate
  50. Address Detection. It allows for autoconfigured addresses
  51. to be used more quickly.
  52. If unsure, say N.
  53. config INET6_AH
  54. tristate "IPv6: AH transformation"
  55. select XFRM_ALGO
  56. select CRYPTO
  57. select CRYPTO_HMAC
  58. select CRYPTO_MD5
  59. select CRYPTO_SHA1
  60. ---help---
  61. Support for IPsec AH.
  62. If unsure, say Y.
  63. config INET6_ESP
  64. tristate "IPv6: ESP transformation"
  65. select XFRM_ALGO
  66. select CRYPTO
  67. select CRYPTO_AUTHENC
  68. select CRYPTO_HMAC
  69. select CRYPTO_MD5
  70. select CRYPTO_CBC
  71. select CRYPTO_SHA1
  72. select CRYPTO_DES
  73. ---help---
  74. Support for IPsec ESP.
  75. If unsure, say Y.
  76. config INET6_IPCOMP
  77. tristate "IPv6: IPComp transformation"
  78. select INET6_XFRM_TUNNEL
  79. select XFRM_IPCOMP
  80. ---help---
  81. Support for IP Payload Compression Protocol (IPComp) (RFC3173),
  82. typically needed for IPsec.
  83. If unsure, say Y.
  84. config IPV6_MIP6
  85. tristate "IPv6: Mobility"
  86. select XFRM
  87. ---help---
  88. Support for IPv6 Mobility described in RFC 3775.
  89. If unsure, say N.
  90. config INET6_XFRM_TUNNEL
  91. tristate
  92. select INET6_TUNNEL
  93. default n
  94. config INET6_TUNNEL
  95. tristate
  96. default n
  97. config INET6_XFRM_MODE_TRANSPORT
  98. tristate "IPv6: IPsec transport mode"
  99. default IPV6
  100. select XFRM
  101. ---help---
  102. Support for IPsec transport mode.
  103. If unsure, say Y.
  104. config INET6_XFRM_MODE_TUNNEL
  105. tristate "IPv6: IPsec tunnel mode"
  106. default IPV6
  107. select XFRM
  108. ---help---
  109. Support for IPsec tunnel mode.
  110. If unsure, say Y.
  111. config INET6_XFRM_MODE_BEET
  112. tristate "IPv6: IPsec BEET mode"
  113. default IPV6
  114. select XFRM
  115. ---help---
  116. Support for IPsec BEET mode.
  117. If unsure, say Y.
  118. config INET6_XFRM_MODE_ROUTEOPTIMIZATION
  119. tristate "IPv6: MIPv6 route optimization mode"
  120. select XFRM
  121. ---help---
  122. Support for MIPv6 route optimization mode.
  123. config IPV6_VTI
  124. tristate "Virtual (secure) IPv6: tunneling"
  125. select IPV6_TUNNEL
  126. depends on INET6_XFRM_MODE_TUNNEL
  127. ---help---
  128. Tunneling means encapsulating data of one protocol type within
  129. another protocol and sending it over a channel that understands the
  130. encapsulating protocol. This can be used with xfrm mode tunnel to give
  131. the notion of a secure tunnel for IPSEC and then use routing protocol
  132. on top.
  133. config IPV6_SIT
  134. tristate "IPv6: IPv6-in-IPv4 tunnel (SIT driver)"
  135. select INET_TUNNEL
  136. select NET_IP_TUNNEL
  137. select IPV6_NDISC_NODETYPE
  138. default y
  139. ---help---
  140. Tunneling means encapsulating data of one protocol type within
  141. another protocol and sending it over a channel that understands the
  142. encapsulating protocol. This driver implements encapsulation of IPv6
  143. into IPv4 packets. This is useful if you want to connect two IPv6
  144. networks over an IPv4-only path.
  145. Saying M here will produce a module called sit. If unsure, say Y.
  146. config IPV6_SIT_6RD
  147. bool "IPv6: IPv6 Rapid Deployment (6RD)"
  148. depends on IPV6_SIT
  149. default n
  150. ---help---
  151. IPv6 Rapid Deployment (6rd; draft-ietf-softwire-ipv6-6rd) builds upon
  152. mechanisms of 6to4 (RFC3056) to enable a service provider to rapidly
  153. deploy IPv6 unicast service to IPv4 sites to which it provides
  154. customer premise equipment. Like 6to4, it utilizes stateless IPv6 in
  155. IPv4 encapsulation in order to transit IPv4-only network
  156. infrastructure. Unlike 6to4, a 6rd service provider uses an IPv6
  157. prefix of its own in place of the fixed 6to4 prefix.
  158. With this option enabled, the SIT driver offers 6rd functionality by
  159. providing additional ioctl API to configure the IPv6 Prefix for in
  160. stead of static 2002::/16 for 6to4.
  161. If unsure, say N.
  162. config IPV6_NDISC_NODETYPE
  163. bool
  164. config IPV6_TUNNEL
  165. tristate "IPv6: IP-in-IPv6 tunnel (RFC2473)"
  166. select INET6_TUNNEL
  167. ---help---
  168. Support for IPv6-in-IPv6 and IPv4-in-IPv6 tunnels described in
  169. RFC 2473.
  170. If unsure, say N.
  171. config IPV6_GRE
  172. tristate "IPv6: GRE tunnel"
  173. select IPV6_TUNNEL
  174. select NET_IP_TUNNEL
  175. ---help---
  176. Tunneling means encapsulating data of one protocol type within
  177. another protocol and sending it over a channel that understands the
  178. encapsulating protocol. This particular tunneling driver implements
  179. GRE (Generic Routing Encapsulation) and at this time allows
  180. encapsulating of IPv4 or IPv6 over existing IPv6 infrastructure.
  181. This driver is useful if the other endpoint is a Cisco router: Cisco
  182. likes GRE much better than the other Linux tunneling driver ("IP
  183. tunneling" above). In addition, GRE allows multicast redistribution
  184. through the tunnel.
  185. Saying M here will produce a module called ip6_gre. If unsure, say N.
  186. config IPV6_MULTIPLE_TABLES
  187. bool "IPv6: Multiple Routing Tables"
  188. select FIB_RULES
  189. ---help---
  190. Support multiple routing tables.
  191. config IPV6_SUBTREES
  192. bool "IPv6: source address based routing"
  193. depends on IPV6_MULTIPLE_TABLES
  194. ---help---
  195. Enable routing by source address or prefix.
  196. The destination address is still the primary routing key, so mixing
  197. normal and source prefix specific routes in the same routing table
  198. may sometimes lead to unintended routing behavior. This can be
  199. avoided by defining different routing tables for the normal and
  200. source prefix specific routes.
  201. If unsure, say N.
  202. config IPV6_MROUTE
  203. bool "IPv6: multicast routing"
  204. depends on IPV6
  205. ---help---
  206. Experimental support for IPv6 multicast forwarding.
  207. If unsure, say N.
  208. config IPV6_MROUTE_MULTIPLE_TABLES
  209. bool "IPv6: multicast policy routing"
  210. depends on IPV6_MROUTE
  211. select FIB_RULES
  212. help
  213. Normally, a multicast router runs a userspace daemon and decides
  214. what to do with a multicast packet based on the source and
  215. destination addresses. If you say Y here, the multicast router
  216. will also be able to take interfaces and packet marks into
  217. account and run multiple instances of userspace daemons
  218. simultaneously, each one handling a single table.
  219. If unsure, say N.
  220. config IPV6_PIMSM_V2
  221. bool "IPv6: PIM-SM version 2 support"
  222. depends on IPV6_MROUTE
  223. ---help---
  224. Support for IPv6 PIM multicast routing protocol PIM-SMv2.
  225. If unsure, say N.
  226. endif # IPV6