8000 Negative fragment fix by awh · Pull Request #1926 · weaveworks/weave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Negative fragment fix #1926

Merged
merged 2 commits into from
Jan 26, 2016
Merged

Negative fragment fix #1926

merged 2 commits into from
Jan 26, 2016

Conversation

awh
Copy link
Contributor
@awh awh commented Jan 25, 2016

Fixes #1905.

awh added 2 commits January 25, 2016 10:53
The current minimum PMTU we can detect is eight bytes, which, being
lower than the minimum IPv4 MTU of 68 bytes, can cause an exception in
the sleeve packet fragmentation implementation. We increase that minimum
to 552, the lowest PMTU value that Linux will cache.
The assumptions on which this test was based were violated by the
introduction of fast datapath. A new rule is required to block fast
datapath traffic, to ensure that sleeve is selected for forwarding; the
rules must also be moved from the FORWARD chain to INPUT as the router
now runs in the host netns (NB we use INPUT instead of OUTPUT as the
latter results in sleeve receiving an 'operation not permitted' udpv4
write error when it tries to send a packet that is too big, rather than
the packet just being silently dropped as required)
@awh awh added this to the 1.4.3 milestone Jan 25, 2016
@awh awh changed the title Issues/1905 fix negative fragment Negative fragment fix Jan 25, 2016
@rade rade self-assigned this Jan 25, 2016
rade added a commit that referenced this pull request Jan 26, 2016
@rade rade merged commit 4649f11 into 1.4 Jan 26, 2016
@rade rade deleted the issues/1905-fix-negative-fragment branch January 26, 2016 16:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0