From be8013a8b20b6e5f21b630be7d2446a916cbf5cf Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 13 Jun 2007 23:50:26 +0000 Subject: [PATCH] Don't increase MSS git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6539 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-common/lib.config | 2 +- Shorewall-common/releasenotes.txt | 2 +- Shorewall-perl/Shorewall/Chains.pm | 2 +- Shorewall-perl/Shorewall/Rules.pm | 12 ++++++++++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Shorewall-common/lib.config b/Shorewall-common/lib.config index 0e6f3607d..cd51b4187 100644 --- a/Shorewall-common/lib.config +++ b/Shorewall-common/lib.config @@ -413,7 +413,7 @@ setup_ipsec() { if [ "$policy" != NONE ]; then ensurechain $1 - run_iptables -I $1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss $2 + run_iptables -I $1 -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss $2: -j TCPMSS --set-mss $2 fi } # diff --git a/Shorewall-common/releasenotes.txt b/Shorewall-common/releasenotes.txt index 467d00b34..aba445e30 100644 --- a/Shorewall-common/releasenotes.txt +++ b/Shorewall-common/releasenotes.txt @@ -36,7 +36,7 @@ Other changes in Shorewall 4.0.0 Beta 5. The compiler program is /usr/share/shorewall-perl/compiler.pl: - compiler.pl [ ] [ ] + compiler.pl [