You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sdn: handle offset>0 fragments when validating service traffic
By default (set-frag normal) all fragments of a fragmented packet
have a port number of 0. This is quite unhelpful; to get the right
port number for all fragments requires un-fragmenting the packet
with OVS's contrack capability, but this interacts badly with
iptables' contrack capability.
Instead, use the 'nx-match' mode which keeps the port numbers in
the first fragment of a fragmented packet, and add rules to allow
subsequent fragments (with port=0) to pass through. Assume that
the destination IP stack will reject offset>0 fragments that
arrive without a corresponding offset=0 first fragment.
We can't just drop the port checking because services can be
manually created with a static service IP address, and perhaps
users rely on creating two distinct services with the same service
IP address, but differentiated via port numbers.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1419692
0 commit comments