projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9bd4a07
)
decrease ip_conntrack_tcp_timeout_established to 5hrs
release_2_1_16
author
bodea
<bodea>
Thu, 23 Feb 2006 01:07:23 +0000
(
01:07
+0000)
committer
bodea
<bodea>
Thu, 23 Feb 2006 01:07:23 +0000
(
01:07
+0000)
Changes
patch
|
blob
|
history
garden.c
patch
|
blob
|
history
l2tpns.spec
patch
|
blob
|
history
diff --git
a/Changes
b/Changes
index
4d40386
..
75c50bf
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,4
+1,4
@@
-*
Sat Feb 18
2006 Brendan O'Dea <bod@optus.net> 2.1.16
+*
Thu Feb 23
2006 Brendan O'Dea <bod@optus.net> 2.1.16
- Send configured magic-no in LCP EchoReq when LCP is opened.
- Correct addition of single IP to pool (Jonathan Yarden).
- Ensure session changes from LCP ConfigReq/ConfigNak are sent to cluster.
- Send configured magic-no in LCP EchoReq when LCP is opened.
- Correct addition of single IP to pool (Jonathan Yarden).
- Ensure session changes from LCP ConfigReq/ConfigNak are sent to cluster.
@@
-6,6
+6,7
@@
- Avoid endless loop in processipcp, processipv6cp.
- Additional length checks in processlcp.
- Allow peer to request a new magic-number, or to disable magic-numbers.
- Avoid endless loop in processipcp, processipv6cp.
- Additional length checks in processlcp.
- Allow peer to request a new magic-number, or to disable magic-numbers.
+- Decrease ip_conntrack_tcp_timeout_established to 5hrs (table filling).
* Mon Dec 19 2005 Brendan O'Dea <bod@optus.net> 2.1.15
- Drop backtrace.
* Mon Dec 19 2005 Brendan O'Dea <bod@optus.net> 2.1.15
- Drop backtrace.
diff --git
a/garden.c
b/garden.c
index
e445d41
..
44b9597
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.2
4 2005/10/11 09:04:5
3 bodea Exp $";
+char const *cvs_id = "$Id: garden.c,v 1.2
5 2006/02/23 01:07:2
3 bodea Exp $";
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *f = 0;
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *f = 0;
@@
-23,7
+23,8
@@
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=512000 >/dev/null", // lots of entries
+ "sysctl -w net.ipv4.netfilter.ip_conntrack_max=512000" // lots of entries
+ " net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=18000 >/dev/null", // 5hrs
NULL,
};
NULL,
};
diff --git
a/l2tpns.spec
b/l2tpns.spec
index
9ddfa9d
..
ec4d17c
100644
(file)
--- a/
l2tpns.spec
+++ b/
l2tpns.spec
@@
-43,5
+43,5
@@
rm -rf %{buildroot}
%attr(644,root,root) /usr/share/man/man[58]/*
%changelog
%attr(644,root,root) /usr/share/man/man[58]/*
%changelog
-*
Sat Feb 18
2006 Brendan O'Dea <bod@optus.net> 2.1.16-1
+*
Thu Feb 23
2006 Brendan O'Dea <bod@optus.net> 2.1.16-1
- 2.1.16 release, see /usr/share/doc/l2tpns-2.1.16/Changes
- 2.1.16 release, see /usr/share/doc/l2tpns-2.1.16/Changes