From owner-freebsd-net Thu Aug 30 9:13:24 2001 Delivered-To: freebsd-net@freebsd.org Received: from reservoir.absolight.com (reservoir.absolight.com [212.43.217.72]) by hub.freebsd.org (Postfix) with ESMTP id 96D7437B403 for ; Thu, 30 Aug 2001 09:13:17 -0700 (PDT) (envelope-from arn_mat@club-internet.fr) Received: from bilbo.in.mat.cc (bilbo.in.mat.cc [212.43.217.121]) by reservoir.absolight.com (Postfix) with ESMTP id CEA9BD39CB for ; Thu, 30 Aug 2001 18:12:12 +0200 (CEST) Received: from club-internet.fr (sauron.in.mat.cc [212.43.217.122]) by bilbo.in.mat.cc (Postfix) with ESMTP id F37B633524 for ; Thu, 30 Aug 2001 18:12:07 +0200 (CEST) Message-ID: <3B8E65D7.EE5DE38B@club-internet.fr> Date: Thu, 30 Aug 2001 18:12:07 +0200 From: Mathieu Arnold Organization: http://www.absolight.com/ X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: net@freebsd.org Subject: ipfilter Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi I'm having some problems with ipfilter : # ipfstat -s IP states added: 4572145 TCP 573649 UDP 463188 ICMP 1165608186 hits 34257625 misses 0 maximum 1546129 no memory 8208 bkts in use 22215 active 959216 expired 3081422 closed # uptime 6:10PM up 1 day, 7:24, 2 users, load averages: 0.08, 0.12, 0.27 # uname -r 4.3-RELEASE-p14 as you can see, the no memory should stay at 0, but here, it's far from good. do you have some ideas... btw, here are some things i've modified... in /usr/src/sys/netinet/ip_state.c : #define FIVE_DAYS (2*2*3600) /* 5 days: half closed session */ in /usr/src/sys/netinet/ip_state.h : #define IPSTATE_SIZE 1613321 #define IPSTATE_MAX 1048576 /* Maximum number of states held */ any clue ? -- Mathieu Arnold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message