Kconfig 9.0 KB
Newer Older
L
Linus Torvalds 已提交
1 2
#
# IPv6 configuration
3 4 5
#

#   IPv6 as module will cause a CRASH if you try to unload it
6
menuconfig IPV6
7
	tristate "The IPv6 protocol"
8
	default y
9
	---help---
10
	  Support for IP version 6 (IPv6).
11 12

	  For general information about IPv6, see
C
Christian Kujau 已提交
13
	  <https://en.wikipedia.org/wiki/IPv6>.
14 15 16
	  For specific information about IPv6 under Linux, see
	  Documentation/networking/ipv6.txt and read the HOWTO at
	  <http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/>
17

18
	  To compile this protocol support as a module, choose M here: the
19 20
	  module will be called ipv6.

21 22
if IPV6

23 24 25 26
config IPV6_ROUTER_PREF
	bool "IPv6: Router Preference (RFC 4191) support"
	---help---
	  Router Preference is an optional extension to the Router
27 28 29
	  Advertisement message which improves the ability of hosts
	  to pick an appropriate router, especially when the hosts
	  are placed in a multi-homed network.
30 31 32

	  If unsure, say N.

33
config IPV6_ROUTE_INFO
34 35
	bool "IPv6: Route Information (RFC 4191) support"
	depends on IPV6_ROUTER_PREF
36
	---help---
37
	  Support of Route Information.
38 39 40

	  If unsure, say N.

41
config IPV6_OPTIMISTIC_DAD
42
	bool "IPv6: Enable RFC 4429 Optimistic DAD"
43
	---help---
44 45
	  Support for optimistic Duplicate Address Detection. It allows for
	  autoconfigured addresses to be used more quickly.
46 47 48

	  If unsure, say N.

L
Linus Torvalds 已提交
49 50
config INET6_AH
	tristate "IPv6: AH transformation"
J
Jan Beulich 已提交
51
	select XFRM_ALGO
L
Linus Torvalds 已提交
52 53 54 55 56 57 58 59 60 61 62
	select CRYPTO
	select CRYPTO_HMAC
	select CRYPTO_MD5
	select CRYPTO_SHA1
	---help---
	  Support for IPsec AH.

	  If unsure, say Y.

config INET6_ESP
	tristate "IPv6: ESP transformation"
J
Jan Beulich 已提交
63
	select XFRM_ALGO
L
Linus Torvalds 已提交
64
	select CRYPTO
H
Herbert Xu 已提交
65
	select CRYPTO_AUTHENC
L
Linus Torvalds 已提交
66 67
	select CRYPTO_HMAC
	select CRYPTO_MD5
68
	select CRYPTO_CBC
L
Linus Torvalds 已提交
69 70
	select CRYPTO_SHA1
	select CRYPTO_DES
71
	select CRYPTO_ECHAINIV
L
Linus Torvalds 已提交
72 73 74 75 76
	---help---
	  Support for IPsec ESP.

	  If unsure, say Y.

77 78 79 80 81 82 83 84 85 86 87 88 89
config INET6_ESP_OFFLOAD
	tristate "IPv6: ESP transformation offload"
	depends on INET6_ESP
	select XFRM_OFFLOAD
	default n
	---help---
	  Support for ESP transformation offload. This makes sense
	  only if this system really does IPsec and want to do it
	  with high throughput. A typical desktop system does not
	  need it, even if it does IPsec.

	  If unsure, say N.

L
Linus Torvalds 已提交
90 91
config INET6_IPCOMP
	tristate "IPv6: IPComp transformation"
H
Herbert Xu 已提交
92
	select INET6_XFRM_TUNNEL
93
	select XFRM_IPCOMP
L
Linus Torvalds 已提交
94 95 96 97 98 99
	---help---
	  Support for IP Payload Compression Protocol (IPComp) (RFC3173),
	  typically needed for IPsec.

	  If unsure, say Y.

100
config IPV6_MIP6
101
	tristate "IPv6: Mobility"
102 103 104 105 106 107
	select XFRM
	---help---
	  Support for IPv6 Mobility described in RFC 3775.

	  If unsure, say N.

108 109
config IPV6_ILA
	tristate "IPv6: Identifier Locator Addressing (ILA)"
A
Arnd Bergmann 已提交
110
	depends on NETFILTER
111
	select DST_CACHE
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
	select LWTUNNEL
	---help---
	  Support for IPv6 Identifier Locator Addressing (ILA).

	  ILA is a mechanism to do network virtualization without
	  encapsulation. The basic concept of ILA is that we split an
	  IPv6 address into a 64 bit locator and 64 bit identifier. The
	  identifier is the identity of an entity in communication
	  ("who") and the locator expresses the location of the
	  entity ("where").

	  ILA can be configured using the "encap ila" option with
	  "ip -6 route" command. ILA is described in
	  https://tools.ietf.org/html/draft-herbert-nvo3-ila-00.

	  If unsure, say N.

H
Herbert Xu 已提交
129 130 131 132 133
config INET6_XFRM_TUNNEL
	tristate
	select INET6_TUNNEL
	default n

L
Linus Torvalds 已提交
134
config INET6_TUNNEL
H
Herbert Xu 已提交
135 136
	tristate
	default n
L
Linus Torvalds 已提交
137

138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
config INET6_XFRM_MODE_TRANSPORT
	tristate "IPv6: IPsec transport mode"
	default IPV6
	select XFRM
	---help---
	  Support for IPsec transport mode.

	  If unsure, say Y.

config INET6_XFRM_MODE_TUNNEL
	tristate "IPv6: IPsec tunnel mode"
	default IPV6
	select XFRM
	---help---
	  Support for IPsec tunnel mode.

	  If unsure, say Y.

D
Diego Beltrami 已提交
156 157 158 159 160 161 162 163 164
config INET6_XFRM_MODE_BEET
	tristate "IPv6: IPsec BEET mode"
	default IPV6
	select XFRM
	---help---
	  Support for IPsec BEET mode.

	  If unsure, say Y.

165
config INET6_XFRM_MODE_ROUTEOPTIMIZATION
166
	tristate "IPv6: MIPv6 route optimization mode"
167 168 169 170
	select XFRM
	---help---
	  Support for MIPv6 route optimization mode.

171 172 173
config IPV6_VTI
tristate "Virtual (secure) IPv6: tunneling"
	select IPV6_TUNNEL
174
	select NET_IP_TUNNEL
175 176 177 178 179 180 181 182
	depends on INET6_XFRM_MODE_TUNNEL
	---help---
	Tunneling means encapsulating data of one protocol type within
	another protocol and sending it over a channel that understands the
	encapsulating protocol. This can be used with xfrm mode tunnel to give
	the notion of a secure tunnel for IPSEC and then use routing protocol
	on top.

183 184
config IPV6_SIT
	tristate "IPv6: IPv6-in-IPv4 tunnel (SIT driver)"
185
	select INET_TUNNEL
186
	select NET_IP_TUNNEL
187
	select IPV6_NDISC_NODETYPE
188 189 190 191 192
	default y
	---help---
	  Tunneling means encapsulating data of one protocol type within
	  another protocol and sending it over a channel that understands the
	  encapsulating protocol. This driver implements encapsulation of IPv6
193
	  into IPv4 packets. This is useful if you want to connect two IPv6
194 195
	  networks over an IPv4-only path.

196
	  Saying M here will produce a module called sit. If unsure, say Y.
197

198
config IPV6_SIT_6RD
199 200
	bool "IPv6: IPv6 Rapid Deployment (6RD)"
	depends on IPV6_SIT
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
	default n
	---help---
	  IPv6 Rapid Deployment (6rd; draft-ietf-softwire-ipv6-6rd) builds upon
	  mechanisms of 6to4 (RFC3056) to enable a service provider to rapidly
	  deploy IPv6 unicast service to IPv4 sites to which it provides
	  customer premise equipment.  Like 6to4, it utilizes stateless IPv6 in
	  IPv4 encapsulation in order to transit IPv4-only network
	  infrastructure.  Unlike 6to4, a 6rd service provider uses an IPv6
	  prefix of its own in place of the fixed 6to4 prefix.

	  With this option enabled, the SIT driver offers 6rd functionality by
	  providing additional ioctl API to configure the IPv6 Prefix for in
	  stead of static 2002::/16 for 6to4.

	  If unsure, say N.

217 218 219
config IPV6_NDISC_NODETYPE
	bool

L
Linus Torvalds 已提交
220
config IPV6_TUNNEL
221
	tristate "IPv6: IP-in-IPv6 tunnel (RFC2473)"
H
Herbert Xu 已提交
222
	select INET6_TUNNEL
223
	select DST_CACHE
224
	select GRO_CELLS
L
Linus Torvalds 已提交
225
	---help---
226 227
	  Support for IPv6-in-IPv6 and IPv4-in-IPv6 tunnels described in
	  RFC 2473.
L
Linus Torvalds 已提交
228 229 230

	  If unsure, say N.

X
xeb@mail.ru 已提交
231 232 233
config IPV6_GRE
	tristate "IPv6: GRE tunnel"
	select IPV6_TUNNEL
234
	select NET_IP_TUNNEL
235
	depends on NET_IPGRE_DEMUX
X
xeb@mail.ru 已提交
236 237 238 239 240 241 242 243 244 245 246 247 248
	---help---
	  Tunneling means encapsulating data of one protocol type within
	  another protocol and sending it over a channel that understands the
	  encapsulating protocol. This particular tunneling driver implements
	  GRE (Generic Routing Encapsulation) and at this time allows
	  encapsulating of IPv4 or IPv6 over existing IPv6 infrastructure.
	  This driver is useful if the other endpoint is a Cisco router: Cisco
	  likes GRE much better than the other Linux tunneling driver ("IP
	  tunneling" above). In addition, GRE allows multicast redistribution
	  through the tunnel.

	  Saying M here will produce a module called ip6_gre. If unsure, say N.

249 250 251 252 253 254 255
config IPV6_FOU
	tristate
	default NET_FOU && IPV6

config IPV6_FOU_TUNNEL
	tristate
	default NET_FOU_IP_TUNNELS && IPV6_FOU
A
Arnd Bergmann 已提交
256
	select IPV6_TUNNEL
257

258 259 260 261 262 263
config IPV6_MULTIPLE_TABLES
	bool "IPv6: Multiple Routing Tables"
	select FIB_RULES
	---help---
	  Support multiple routing tables.

264 265
config IPV6_SUBTREES
	bool "IPv6: source address based routing"
266
	depends on IPV6_MULTIPLE_TABLES
267 268 269 270 271 272 273 274 275 276 277
	---help---
	  Enable routing by source address or prefix.

	  The destination address is still the primary routing key, so mixing
	  normal and source prefix specific routes in the same routing table
	  may sometimes lead to unintended routing behavior.  This can be
	  avoided by defining different routing tables for the normal and
	  source prefix specific routes.

	  If unsure, say N.

278
config IPV6_MROUTE
279 280
	bool "IPv6: multicast routing"
	depends on IPV6
281
	select IP_MROUTE_COMMON
282
	---help---
283
	  Support for IPv6 multicast forwarding.
284 285
	  If unsure, say N.

286 287 288 289 290 291 292 293 294 295 296 297 298 299
config IPV6_MROUTE_MULTIPLE_TABLES
	bool "IPv6: multicast policy routing"
	depends on IPV6_MROUTE
	select FIB_RULES
	help
	  Normally, a multicast router runs a userspace daemon and decides
	  what to do with a multicast packet based on the source and
	  destination addresses. If you say Y here, the multicast router
	  will also be able to take interfaces and packet marks into
	  account and run multiple instances of userspace daemons
	  simultaneously, each one handling a single table.

	  If unsure, say N.

300
config IPV6_PIMSM_V2
301
	bool "IPv6: PIM-SM version 2 support"
302 303 304 305 306
	depends on IPV6_MROUTE
	---help---
	  Support for IPv6 PIM multicast routing protocol PIM-SMv2.
	  If unsure, say N.

307 308 309 310
config IPV6_SEG6_LWTUNNEL
	bool "IPv6: Segment Routing Header encapsulation support"
	depends on IPV6
	select LWTUNNEL
311
	select DST_CACHE
312
	select IPV6_MULTIPLE_TABLES
313 314 315
	---help---
	  Support for encapsulation of packets within an outer IPv6
	  header and a Segment Routing Header using the lightweight
316 317
	  tunnels mechanism. Also enable support for advanced local
	  processing of SRv6 packets based on their active segment.
318 319 320

	  If unsure, say N.

321 322 323 324 325 326 327 328 329 330 331 332
config IPV6_SEG6_HMAC
	bool "IPv6: Segment Routing HMAC support"
	depends on IPV6
	select CRYPTO_HMAC
	select CRYPTO_SHA1
	select CRYPTO_SHA256
	---help---
	  Support for HMAC signature generation and verification
	  of SR-enabled packets.

	  If unsure, say N.

333 334 335 336 337
config IPV6_SEG6_BPF
	def_bool y
	depends on IPV6_SEG6_LWTUNNEL
	depends on IPV6 = y

338
endif # IPV6