rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # |
| 2 | # XFRM configuration |
| 3 | # |
| 4 | config XFRM |
| 5 | bool |
| 6 | depends on NET |
| 7 | select GRO_CELLS |
| 8 | |
| 9 | config XFRM_OFFLOAD |
| 10 | bool |
| 11 | depends on XFRM |
| 12 | |
| 13 | config XFRM_ALGO |
| 14 | tristate |
| 15 | select XFRM |
| 16 | select CRYPTO |
| 17 | select CRYPTO_HASH |
| 18 | select CRYPTO_BLKCIPHER |
| 19 | |
| 20 | config XFRM_USER |
| 21 | tristate "Transformation user configuration interface" |
| 22 | depends on INET |
| 23 | select XFRM_ALGO |
| 24 | ---help--- |
| 25 | Support for Transformation(XFRM) user configuration interface |
| 26 | like IPsec used by native Linux tools. |
| 27 | |
| 28 | If unsure, say Y. |
| 29 | |
| 30 | config XFRM_SUB_POLICY |
| 31 | bool "Transformation sub policy support" |
| 32 | depends on XFRM |
| 33 | ---help--- |
| 34 | Support sub policy for developers. By using sub policy with main |
| 35 | one, two policies can be applied to the same packet at once. |
| 36 | Policy which lives shorter time in kernel should be a sub. |
| 37 | |
| 38 | If unsure, say N. |
| 39 | |
| 40 | config XFRM_MIGRATE |
| 41 | bool "Transformation migrate database" |
| 42 | depends on XFRM |
| 43 | ---help--- |
| 44 | A feature to update locator(s) of a given IPsec security |
| 45 | association dynamically. This feature is required, for |
| 46 | instance, in a Mobile IPv6 environment with IPsec configuration |
| 47 | where mobile nodes change their attachment point to the Internet. |
| 48 | |
| 49 | If unsure, say N. |
| 50 | |
| 51 | config XFRM_STATISTICS |
| 52 | bool "Transformation statistics" |
| 53 | depends on INET && XFRM && PROC_FS |
| 54 | ---help--- |
| 55 | This statistics is not a SNMP/MIB specification but shows |
| 56 | statistics about transformation error (or almost error) factor |
| 57 | at packet processing for developer. |
| 58 | |
| 59 | If unsure, say N. |
| 60 | |
| 61 | config XFRM_IPCOMP |
| 62 | tristate |
| 63 | select XFRM_ALGO |
| 64 | select CRYPTO |
| 65 | select CRYPTO_DEFLATE |
| 66 | |
| 67 | config NET_KEY |
| 68 | tristate "PF_KEY sockets" |
| 69 | select XFRM_ALGO |
| 70 | ---help--- |
| 71 | PF_KEYv2 socket family, compatible to KAME ones. |
| 72 | They are required if you are going to use IPsec tools ported |
| 73 | from KAME. |
| 74 | |
| 75 | Say Y unless you know what you are doing. |
| 76 | |
| 77 | config NET_KEY_MIGRATE |
| 78 | bool "PF_KEY MIGRATE" |
| 79 | depends on NET_KEY |
| 80 | select XFRM_MIGRATE |
| 81 | ---help--- |
| 82 | Add a PF_KEY MIGRATE message to PF_KEYv2 socket family. |
| 83 | The PF_KEY MIGRATE message is used to dynamically update |
| 84 | locator(s) of a given IPsec security association. |
| 85 | This feature is required, for instance, in a Mobile IPv6 |
| 86 | environment with IPsec configuration where mobile nodes |
| 87 | change their attachment point to the Internet. Detail |
| 88 | information can be found in the internet-draft |
| 89 | <draft-sugimoto-mip6-pfkey-migrate>. |
| 90 | |
| 91 | If unsure, say N. |
| 92 | |