projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fd579e7
)
dropping packets; increase ip_conntrack_max
author
Brendan O'Dea
<bod@optus.net>
Tue, 30 Nov 2004 21:54:23 +0000
(21:54 +0000)
committer
Brendan O'Dea
<bod@optus.net>
Tue, 30 Nov 2004 21:54:23 +0000
(21:54 +0000)
garden.c
patch
|
blob
|
history
diff --git
a/garden.c
b/garden.c
index
9369013
..
5041f50
100644
(file)
--- a/
garden.c
+++ b/
garden.c
@@
-9,7
+9,7
@@
/* walled garden */
/* walled garden */
-char const *cvs_id = "$Id: garden.c,v 1.1
7 2004-11-29 02:17:17
bodea Exp $";
+char const *cvs_id = "$Id: garden.c,v 1.1
8 2004-11-30 21:54:23
bodea Exp $";
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *p = 0;
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *p = 0;
@@
-23,7
+23,7
@@
char *up_commands[] = {
"iptables -t nat -N garden_users >/dev/null 2>&1", // Empty chain, users added/removed by garden_session
"iptables -t nat -F garden_users",
"iptables -t nat -A PREROUTING -j garden_users", // DNAT any users on the garden_users chain
"iptables -t nat -N garden_users >/dev/null 2>&1", // Empty chain, users added/removed by garden_session
"iptables -t nat -F garden_users",
"iptables -t nat -A PREROUTING -j garden_users", // DNAT any users on the garden_users chain
- "sysctl -w net.ipv4.ip_conntrack_max=
256
000 >/dev/null", // lots of entries
+ "sysctl -w net.ipv4.ip_conntrack_max=
512
000 >/dev/null", // lots of entries
NULL,
};
NULL,
};