iptables: no conntrack for overlay traffic#37990
iptables: no conntrack for overlay traffic#37990julianwiedmann wants to merge 1 commit intocilium:mainfrom
Conversation
94ff7de to
c0c8ca9
Compare
|
/test |
| if m.haveTunnel { | ||
| // TODO only install these when needed, uninstall otherwise | ||
| if err := m.addCiliumNoTrackOverlayRules(); err != nil { | ||
| return fmt.Errorf("cannot install overlay rules: %w", err) | ||
| } | ||
| } |
There was a problem hiding this comment.
@pippolo84 you might have more experience here - is cleaning up stale rules something we typically do? I don't see much evidence in iptables.go ...
|
/scale-egw |
|
@julianwiedmann Could you please rebase this PR? The scale test is otherwise failing because it is still using an old Cilium CLI version which does not support the latest flags required for these tests. |
VXLAN / GENEVE uses a uni-directional connection (src port is random, dst port is pre-defined), and conntrack'ing such traffic makes no sense. Ignore both the inbound traffic (based on L4 proto and dport) and the outbound traffic (based on the mark that our to-overlay program sets). Signed-off-by: Julian Wiedmann <[email protected]>
c0c8ca9 to
f5c9431
Compare
|
/scale-egw |
|
Results of the scale tests don't seem to show a significant improvement in terms of UDP throughput compared to an average run 😢: |
|
This pull request has been automatically marked as stale because it |
|
This pull request has not seen any activity since it was marked stale. |
VXLAN / GENEVE uses a uni-directional connection (src port is random, dst port is pre-defined), and conntrack'ing such traffic makes no sense.
Ignore both the inbound traffic (based on L4 proto and dport) and the outbound traffic (based on the mark that our to-overlay program sets).