From 3886367a32185735abd3889f1ad02fdec03d43b6 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 23 Jun 2018 20:34:42 +0200 Subject: [PATCH] remove TODOs: the sysctls have reasonable defaults --- internal/netconfig/netconfig.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/netconfig/netconfig.go b/internal/netconfig/netconfig.go index 03f7ae5..f4826f2 100644 --- a/internal/netconfig/netconfig.go +++ b/internal/netconfig/netconfig.go @@ -558,8 +558,6 @@ func applyFirewall(dir string) error { } func applySysctl() error { - // TODO: increase NAT table size - // TODO: increase keepalive to 7200(?) if err := ioutil.WriteFile("/proc/sys/net/ipv4/ip_forward", []byte("1"), 0644); err != nil { return fmt.Errorf("sysctl(net.ipv4.ip_forward=1): %v", err) }