Skip to content
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

Support MSS Clamping definition through CWNP #160

Open
majst01 opened this issue Jul 11, 2023 · 0 comments
Open

Support MSS Clamping definition through CWNP #160

majst01 opened this issue Jul 11, 2023 · 0 comments

Comments

@majst01
Copy link
Contributor

majst01 commented Jul 11, 2023

If on the communication path to outside destinations smaller MTUs are required, we should be able to enable MSS Clamping.

This can be done with netfilter, the generated rules must be specified before all statefule filter rules like so:

# TCP-MSS clamping
ip saddr { 100.127.1.44/32 } tcp sport { 2049 } tcp flags syn tcp option maxseg size set 1460
ip daddr { 100.127.1.44/32 } tcp dport { 2049 } tcp flags syn tcp option maxseg size set 1460

The CWNP must therefore get an additional field mtu

@chbmuc please correct me if im wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant