]> git.openstreetmap.org Git - chef.git/commitdiff
Force Enable TCP MTU probing @ UCL
authorGrant Slater <git@firefishy.com>
Sat, 22 Feb 2020 22:13:47 +0000 (22:13 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 22 Feb 2020 22:13:47 +0000 (22:13 +0000)
roles/ucl.rb

index 27064ea2359a8a42a83c83705ae899c20a1b3777..eb3dfd1cd10034b74db6d419192cb1aa64f27c09 100644 (file)
@@ -19,6 +19,15 @@ default_attributes(
         }
       }
     }
         }
       }
     }
+  },
+  :sysctl => {
+    :blackhole => {
+      :comment => "Force TCP level MTU probing because of known ICMP blackhole at UCL",
+      :parameters => {
+        "net.ipv4.tcp_mtu_probing" => "2",
+        "net.ipv4.tcp_base_mss" => "1024"
+      }
+    }
   }
 )
 
   }
 )