about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-08-05 03:39:17 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-08-05 04:07:31 +0200
commit2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce (patch)
treec657d2fde1d045594c3c2eb62ffff2396e9ade46
parenta3f6ca6d17f3e87ebd1f4510d1aee8325e6361ab (diff)
downloadnixlib-2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce.tar
nixlib-2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce.tar.gz
nixlib-2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce.tar.bz2
nixlib-2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce.tar.lz
nixlib-2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce.tar.xz
nixlib-2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce.tar.zst
nixlib-2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce.zip
linux: enable some useful networking options
All options are enabled by default on Debian and some other
distributions, so these should be safe.
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix14
1 files changed, 14 insertions, 0 deletions
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