Skip to content

Conversation

jrfastab
Copy link
Contributor

We recently made a set of fixes to ensure the route mtu in the encryption
routing table (table 200) also sets a correct route mtu in both the direct
routing and tunnel case.

This fixes the last case I am aware of when encrypt node is set we add
a route for remote node IPs. The same as cilium_host IPs these also
need to use a route MTU. This is only important when the host MTU is
not the standard MTU (1500B). And in this case TCP traffic should
should discover correct MSS but still its not ideal to depend on this
and further not all traffic is TCP.

To reflect GetRouteTunnelMTU is now used in direct routing cases as
well rename, GetRoutePostEncryptMTU.

Signed-off-by: John Fastabend john.fastabend@gmail.com

We recently made a set of fixes to ensure the route mtu in the encryption
routing table (table 200) also sets a correct route in both the direct
routing and tunnel case.

This fixes the last case I am aware of when encrypt node is set we add
a route for remote node IPs. The same as cilium_host IPs these also
need to use a route MTU. This is only important when the host MTU is
not the standard MTU (1500B). And in this case TCP traffic should
should discover correct MSS but still its not ideal to depend on this
and further not all traffic is TCP.

To reflect GetRouteTunnelMTU is now used in direct routing cases as
well rename, GetRoutePostEncryptMTU.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
@jrfastab jrfastab requested a review from a team March 27, 2020 17:47
@maintainer-s-little-helper
Copy link

Please set the appropriate release note label.

@jrfastab
Copy link
Contributor Author

test-me-please

@jrfastab jrfastab added kind/bug This is a bug in the Cilium logic. needs-backport/1.6 area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. labels Mar 27, 2020
@joestringer joestringer added the release-note/bug This PR fixes an issue in a previous release of Cilium. label Mar 27, 2020
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 45.508% when pulling 36cd709 on mtu-node-fix into 0b5e263 on master.

@qmonnet
Copy link
Member

qmonnet commented May 12, 2020

Backport for 1.6 depends on 25a890c (introduced with #10231), which is pending backport (see #10638 #11044).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. kind/bug This is a bug in the Cilium logic. release-note/bug This PR fixes an issue in a previous release of Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants