Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
6ef02284
Commit
6ef02284
authored
May 09, 2014
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fixes.
parent
13f5110a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
clientside/tmcc/linux/xen/emulab-cnet.pl
clientside/tmcc/linux/xen/emulab-cnet.pl
+2
-2
clientside/tmcc/linux/xen/libvnode_xen.pm
clientside/tmcc/linux/xen/libvnode_xen.pm
+6
-0
No files found.
clientside/tmcc/linux/xen/emulab-cnet.pl
View file @
6ef02284
...
...
@@ -254,7 +254,7 @@ sub Online()
"
-j OUTGOING_
${vnode_id}
")
==
0
or
return
-
1
;
DoIPtables
("
-A OUTPUT -d
$vnode_i
d
-j ACCEPT
")
DoIPtables
("
-A OUTPUT -d
$vnode_i
p
-j ACCEPT
")
==
0
or
return
-
1
;
}
# Start a tmcc proxy (handles both TCP and UDP)
...
...
@@ -428,7 +428,7 @@ sub Offline()
"
--physdev-out
$vif
-j INCOMING_
${vnode_id}
");
DoIPtables
("
-D INPUT -s
$vnode_ip
"
.
"
-j OUTGOING_
${vnode_id}
");
DoIPtables
("
-D OUTPUT -d
$vnode_i
d
-j ACCEPT
");
DoIPtables
("
-D OUTPUT -d
$vnode_i
p
-j ACCEPT
");
}
# tmcc
...
...
clientside/tmcc/linux/xen/libvnode_xen.pm
View file @
6ef02284
...
...
@@ -554,6 +554,12 @@ sub rootPreConfig($)
#
# Need these to avoid overflowing the NAT tables.
#
mysystem2
("
$MODPROBE
nf_conntrack
");
if
(
$?
)
{
print
STDERR
"
ERROR: could not load nf_conntrack module!
\n
";
TBScriptUnlock
();
return
-
1
;
}
mysystem
("
$SYSCTL
-w
"
.
"
net.netfilter.nf_conntrack_generic_timeout=120
");
mysystem
("
$SYSCTL
-w
"
.
...
...
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