2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# XFRM configuration
|
|
|
|
#
|
2005-07-12 12:13:56 +08:00
|
|
|
config XFRM
|
|
|
|
bool
|
2019-04-12 16:14:46 +08:00
|
|
|
depends on INET
|
2017-02-08 07:37:15 +08:00
|
|
|
select GRO_CELLS
|
2018-12-19 00:15:26 +08:00
|
|
|
select SKB_EXTENSIONS
|
2005-07-12 12:13:56 +08:00
|
|
|
|
2017-02-15 16:39:44 +08:00
|
|
|
config XFRM_OFFLOAD
|
|
|
|
bool
|
|
|
|
|
2012-05-15 09:57:44 +08:00
|
|
|
config XFRM_ALGO
|
|
|
|
tristate
|
|
|
|
select XFRM
|
|
|
|
select CRYPTO
|
2019-06-18 19:22:13 +08:00
|
|
|
select CRYPTO_HASH
|
|
|
|
select CRYPTO_BLKCIPHER
|
2012-05-15 09:57:44 +08:00
|
|
|
|
2019-04-12 16:14:46 +08:00
|
|
|
if INET
|
2005-04-17 06:20:36 +08:00
|
|
|
config XFRM_USER
|
2006-08-24 10:12:56 +08:00
|
|
|
tristate "Transformation user configuration interface"
|
2012-05-15 09:57:44 +08:00
|
|
|
select XFRM_ALGO
|
2005-04-17 06:20:36 +08:00
|
|
|
---help---
|
2006-08-24 10:12:56 +08:00
|
|
|
Support for Transformation(XFRM) user configuration interface
|
|
|
|
like IPsec used by native Linux tools.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2018-06-12 20:07:12 +08:00
|
|
|
config XFRM_INTERFACE
|
|
|
|
tristate "Transformation virtual interface"
|
|
|
|
depends on XFRM && IPV6
|
|
|
|
---help---
|
|
|
|
This provides a virtual interface to route IPsec traffic.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2006-08-24 13:38:14 +08:00
|
|
|
config XFRM_SUB_POLICY
|
2012-10-03 02:20:07 +08:00
|
|
|
bool "Transformation sub policy support"
|
|
|
|
depends on XFRM
|
2006-08-24 13:38:14 +08:00
|
|
|
---help---
|
|
|
|
Support sub policy for developers. By using sub policy with main
|
|
|
|
one, two policies can be applied to the same packet at once.
|
|
|
|
Policy which lives shorter time in kernel should be a sub.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2007-02-09 05:13:07 +08:00
|
|
|
config XFRM_MIGRATE
|
2012-10-03 02:20:07 +08:00
|
|
|
bool "Transformation migrate database"
|
|
|
|
depends on XFRM
|
2007-02-09 05:13:07 +08:00
|
|
|
---help---
|
|
|
|
A feature to update locator(s) of a given IPsec security
|
|
|
|
association dynamically. This feature is required, for
|
|
|
|
instance, in a Mobile IPv6 environment with IPsec configuration
|
|
|
|
where mobile nodes change their attachment point to the Internet.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2007-12-21 12:44:02 +08:00
|
|
|
config XFRM_STATISTICS
|
2012-10-03 02:20:07 +08:00
|
|
|
bool "Transformation statistics"
|
2019-04-12 16:14:46 +08:00
|
|
|
depends on XFRM && PROC_FS
|
2007-12-21 12:44:02 +08:00
|
|
|
---help---
|
|
|
|
This statistics is not a SNMP/MIB specification but shows
|
|
|
|
statistics about transformation error (or almost error) factor
|
|
|
|
at packet processing for developer.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2008-07-25 17:54:40 +08:00
|
|
|
config XFRM_IPCOMP
|
|
|
|
tristate
|
2012-05-15 09:57:44 +08:00
|
|
|
select XFRM_ALGO
|
2008-07-25 17:54:40 +08:00
|
|
|
select CRYPTO
|
|
|
|
select CRYPTO_DEFLATE
|
|
|
|
|
2005-07-12 12:13:56 +08:00
|
|
|
config NET_KEY
|
|
|
|
tristate "PF_KEY sockets"
|
2012-05-15 09:57:44 +08:00
|
|
|
select XFRM_ALGO
|
2005-07-12 12:13:56 +08:00
|
|
|
---help---
|
|
|
|
PF_KEYv2 socket family, compatible to KAME ones.
|
|
|
|
They are required if you are going to use IPsec tools ported
|
|
|
|
from KAME.
|
|
|
|
|
|
|
|
Say Y unless you know what you are doing.
|
|
|
|
|
2007-02-09 05:15:05 +08:00
|
|
|
config NET_KEY_MIGRATE
|
2012-10-03 02:20:07 +08:00
|
|
|
bool "PF_KEY MIGRATE"
|
|
|
|
depends on NET_KEY
|
2007-02-09 05:15:05 +08:00
|
|
|
select XFRM_MIGRATE
|
|
|
|
---help---
|
|
|
|
Add a PF_KEY MIGRATE message to PF_KEYv2 socket family.
|
|
|
|
The PF_KEY MIGRATE message is used to dynamically update
|
|
|
|
locator(s) of a given IPsec security association.
|
|
|
|
This feature is required, for instance, in a Mobile IPv6
|
|
|
|
environment with IPsec configuration where mobile nodes
|
|
|
|
change their attachment point to the Internet. Detail
|
|
|
|
information can be found in the internet-draft
|
|
|
|
<draft-sugimoto-mip6-pfkey-migrate>.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2019-04-12 16:14:46 +08:00
|
|
|
|
|
|
|
endif # INET
|