about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-06-21 18:24:50 +0300
committerGitHub <noreply@github.com>2024-06-21 18:24:50 +0300
commit7d18aa634e3defec3b3ae10bea469a2693e44d1b (patch)
treeb966f56f2b60157a842560d2a2339c43a85bba1d /pkgs/os-specific
parentd17e2eb0250ea058bd7c6faa808310ef4c207054 (diff)
parent7c021fdfcd602c0364c97a658d8748663389e3b1 (diff)
Merge pull request #321320 from rnhmjoj/pr-libreswan-tests
linux/common-config: enable IPsec over TCP
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index c9bf296160629..fbbcbdd779302 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -327,6 +327,10 @@ let
       INET_RAW_DIAG     = mkDefault module;
       INET_DIAG_DESTROY = mkDefault yes;
 
+      # IPsec over TCP
+      INET_ESPINTCP  = whenAtLeast "5.8" yes;
+      INET6_ESPINTCP = whenAtLeast "5.8" yes;
+
       # enable multipath-tcp
       MPTCP           = whenAtLeast "5.6" yes;
       MPTCP_IPV6      = whenAtLeast "5.6" yes;