From 78d08ec936e330b88ef59078661d7dcf55b2f7c1 Mon Sep 17 00:00:00 2001 From: bodea Date: Tue, 30 Nov 2004 21:54:23 +0000 Subject: [PATCH 1/1] dropping packets; increase ip_conntrack_max --- garden.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/garden.c b/garden.c index e6843bc..c6efc2d 100644 --- a/garden.c +++ b/garden.c @@ -9,7 +9,7 @@ /* walled garden */ -char const *cvs_id = "$Id: garden.c,v 1.17 2004/11/29 02:17:17 bodea Exp $"; +char const *cvs_id = "$Id: garden.c,v 1.18 2004/11/30 21:54:23 bodea Exp $"; 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 - "sysctl -w net.ipv4.ip_conntrack_max=256000 >/dev/null", // lots of entries + "sysctl -w net.ipv4.ip_conntrack_max=512000 >/dev/null", // lots of entries NULL, }; -- 2.20.1