Use RFC4821 suggested base MSS when using PLPMTUD
authorGrant Slater <grant.slater@wearefriday.com>
Tue, 29 Mar 2016 14:51:50 +0000 (15:51 +0100)
committerGrant Slater <grant.slater@wearefriday.com>
Tue, 29 Mar 2016 14:51:50 +0000 (15:51 +0100)
roles/base.rb

index 529d23ba4a70637e40f527816aa8ec7a82254e2b..5ffc5dee9adf35ad3fd6129bd85e1cb759582e36 100644 (file)
@@ -27,7 +27,10 @@ default_attributes(
     },
     :blackhole => {
       :comment => "Do TCP level MTU probing if we seem to have an ICMP blackhole",
-      :parameters => { "net.ipv4.tcp_mtu_probing" => "1" }
+      :parameters => {
+        "net.ipv4.tcp_mtu_probing" => "1",
+        "net.ipv4.tcp_base_mss" => "1024"
+      }
     },
     :network_buffers => {
       :comment => "Tune network buffers",