Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
80aa2f41
Commit
80aa2f41
authored
Oct 02, 2012
by
p4u
Browse files
Added temporal clamp_tcpmss script to solve tcp mtu/mss problem with lan clients
parent
3fa358b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/uci-defaults/qmp_clamp_tcpmss
0 → 100755
View file @
80aa2f41
#!/bin/sh
if
cat
/etc/firewall.user |
grep
-e
"^# Clamp MSS TCP rule to fix MTU problems"
;
then
exit
0
;
fi
cat
<<
EOF
>> /etc/firewall.user
# Clamp MSS TCP rule to fix MTU problems
iptables -A FORWARD -p tcp -i br-lan ! -d 10.0.0.0/8 -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
EOF
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment