From 2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Fri, 5 Aug 2016 03:39:17 +0200 Subject: [PATCH] linux: enable some useful networking options All options are enabled by default on Debian and some other distributions, so these should be safe. --- pkgs/os-specific/linux/kernel/common-config.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 37e3859cd059..aebf3376e8b3 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -112,11 +112,21 @@ with stdenv.lib; IPV6_PRIVACY y ''} NETFILTER_ADVANCED y + IP_ROUTE_VERBOSE y + IP_MROUTE_MULTIPLE_TABLES y IP_VS_PROTO_TCP y IP_VS_PROTO_UDP y IP_VS_PROTO_ESP y IP_VS_PROTO_AH y IP_DCCP_CCID3 n # experimental + IPV6_ROUTER_PREF y + IPV6_ROUTE_INFO y + IPV6_OPTIMISTIC_DAD y + IPV6_MULTIPLE_TABLES y + IPV6_SUBTREES y + IPV6_MROUTE y + IPV6_MROUTE_MULTIPLE_TABLES y + IPV6_PIMSM_V2 y CLS_U32_PERF y CLS_U32_MARK y ${optionalString (stdenv.system == "x86_64-linux") '' @@ -126,6 +136,10 @@ with stdenv.lib; NET_CLS_BPF m NET_ACT_BPF m ''} + L2TP_V3 y + L2TP_IP m + L2TP_ETH m + BRIDGE_VLAN_FILTERING y # Wireless networking. CFG80211_WEXT? y # Without it, ipw2200 drivers don't build