Skip to content

Commit

Permalink
Merge pull request #9537 from tstromberg/mtu-probing
Browse files Browse the repository at this point in the history
Enable TCP Path MTU Discovery when an ICMP black hole is detected
  • Loading branch information
tstromberg authored Oct 28, 2020
2 parents 26cb8c7 + 71af47a commit 96da944
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Turn on MTU probing to avoid network hangs when the Docker MTU is larger than
# the host or upstream network MTU.
net.ipv4.tcp_mtu_probing=1
3 changes: 3 additions & 0 deletions deploy/kicbase/11-tcp-mtu-probing.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Turn on MTU probing to avoid network hangs when the Docker MTU is larger than
# the host or upstream network MTU.
net.ipv4.tcp_mtu_probing=1
1 change: 1 addition & 0 deletions deploy/kicbase/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ FROM ubuntu:focal-20200423

# copy in static files (configs, scripts)
COPY 10-network-security.conf /etc/sysctl.d/10-network-security.conf
COPY 11-tcp-mtu-probing.conf /etc/sysctl.d/11-tcp-mtu-probing.conf
COPY clean-install /usr/local/bin/clean-install
COPY entrypoint /usr/local/bin/entrypoint

Expand Down

0 comments on commit 96da944

Please sign in to comment.