Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
metro
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
libre
metro
Commits
a45f6071
Commit
a45f6071
authored
Feb 13, 2018
by
Michał 'rysiek' Woźniak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
back to MSS 1200
parent
54e9975c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
docker/entrypoint.sh
docker/entrypoint.sh
+1
-1
metro
metro
+1
-1
No files found.
docker/entrypoint.sh
View file @
a45f6071
...
...
@@ -119,7 +119,7 @@ setkey -f "$SETKEY_CONFIG"
# when changing this, remember to change the remove line in `metro` metro_down()!
# TODO: make this configurable
echo
"+-- adding iptables MSS rule..."
iptables
-t
mangle
-I
FORWARD
-p
tcp
--tcp-flags
SYN,RST SYN
-j
TCPMSS
--set-mss
1
328
iptables
-t
mangle
-I
FORWARD
-p
tcp
--tcp-flags
SYN,RST SYN
-j
TCPMSS
--set-mss
1
200
# setting the port redirects if needed
#
...
...
metro
View file @
a45f6071
...
...
@@ -418,7 +418,7 @@ function metro_down {
# removing MTU MSS rule(s)
echo
"+-- removing TCP MSS rule..."
while
iptables
-t
mangle
-D
FORWARD
-p
tcp
--tcp-flags
SYN,RST SYN
-j
TCPMSS
--set-mss
1
328
2>/dev/null
;
do
sleep
1
;
done
while
iptables
-t
mangle
-D
FORWARD
-p
tcp
--tcp-flags
SYN,RST SYN
-j
TCPMSS
--set-mss
1
200
2>/dev/null
;
do
sleep
1
;
done
#
# cleaning up any alternative port iptables rules...
...
...
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