aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Kconfig
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-07-15 01:34:37 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-07-18 03:41:57 +0200
commit3106d632de4235f8c6d63d602fe2fa9e0175d690 (patch)
treef166c00ca76b4ed076429a993b40bdd2b5cbca7e /src/Kconfig
parenttests: improve test suite and add qemu tester (diff)
downloadwireguard-monolithic-historical-3106d632de4235f8c6d63d602fe2fa9e0175d690.tar.xz
wireguard-monolithic-historical-3106d632de4235f8c6d63d602fe2fa9e0175d690.zip
build system: revamp building and configuration
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig31
1 files changed, 18 insertions, 13 deletions
diff --git a/src/Kconfig b/src/Kconfig
index cfe50fe..7906f1e 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -1,8 +1,13 @@
config WIREGUARD
- bool "WireGuard secure VPN tunnel"
+ bool "IP: WireGuard secure network tunnel"
+ depends on NET && INET
select NET_UDP_TUNNEL
select NETFILTER_XT_MATCH_HASHLIMIT
- select IPV6
+ select NETFILTER
+ select NETFILTER_XTABLES
+ select NETFILTER_ADVANCED
+ select NF_CONNTRACK
+ select CRYPTO_BLKCIPHER
default y
---help---
WireGuard is a secure, fast, and easy to use replacement for IPSec
@@ -14,17 +19,6 @@ config WIREGUARD
It's safe to say Y or M here, as the driver is very lightweight and
is only in use when an administrator chooses to add an interface.
-config WIREGUARD_DEBUG
- bool "Debugging checks and verbose messages for WireGuard"
- depends on WIREGUARD
- ---help---
- This will write log messages for handshake and other events
- that occur for a WireGuard interface. It will also perform some
- extra validation checks and unit tests at various points. This is
- only useful for debugging.
-
- Say N here unless you know what you're doing.
-
config WIREGUARD_PARALLEL
bool "Enable parallel engine"
depends on SMP && WIREGUARD
@@ -36,3 +30,14 @@ config WIREGUARD_PARALLEL
It's safe to say Y here, and you probably should, as the performance
improvements are substantial.
+
+config WIREGUARD_DEBUG
+ bool "Debugging checks and verbose messages"
+ depends on WIREGUARD
+ ---help---
+ This will write log messages for handshake and other events
+ that occur for a WireGuard interface. It will also perform some
+ extra validation checks and unit tests at various points. This is
+ only useful for debugging.
+
+ Say N here unless you know what you're doing.