-
Notifications
You must be signed in to change notification settings - Fork 131
[Network] TCP MSS clamping in Gateway #3176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
cheina97
wants to merge
1
commit into
liqotech:master
Choose a base branch
from
cheina97:frc/mssclamping
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
|
Hi @cheina97. Thanks for your PR! I am @adamjensenbot.
Make sure this PR appears in the liqo changelog, adding one of the following labels:
|
b3ad7e0 to
e90cdb4
Compare
Member
Author
|
/build |
e90cdb4 to
c4314f3
Compare
Member
Author
|
/build |
295c30d to
39027a2
Compare
Member
Author
|
/rebase test=true |
a5700d3 to
a4d5c67
Compare
a4d5c67 to
d333af5
Compare
648d8a1 to
b4398bf
Compare
Member
Author
|
/test |
b4398bf to
b833f19
Compare
Member
Author
|
/build |
b833f19 to
2cbb22d
Compare
Member
Author
|
/rebase test=true |
3946b52 to
296cbda
Compare
Member
Author
|
/rebase test=true |
Member
Author
|
/test |
Member
Author
|
/test |
frisso
reviewed
Jan 8, 2026
frisso
reviewed
Jan 8, 2026
frisso
reviewed
Jan 8, 2026
da13863 to
c9e9da9
Compare
Member
Author
|
/build |
frisso
approved these changes
Jan 8, 2026
bb5bd9c to
4efb3a1
Compare
4efb3a1 to
df2bada
Compare
Member
Author
|
/test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR implements the TCP MSS Clamping action inside the FirewallConfiguration controller and apply it inside the gateways. It is enabled by default and does not require manual configuration.
VPN tunnels introduce extra overhead that reduces the effective Maximum Transmission Unit (MTU), causing standard-sized internet packets to exceed the tunnel's capacity and be dropped. TCP MSS Clamping resolves this by intercepting the initial connection handshake and dynamically rewriting the Maximum Segment Size (MSS) value to match the smaller available space of the tunnel interface. This crucial adjustment forces the remote server to generate smaller data packets that fit perfectly inside the VPN tunnel, effectively preventing fragmentation issues and the common "black hole" phenomenon where connections establish but data transfer hangs indefinitely.
This concept, applied inside the gateway, allows us to: