From owner-freebsd-questions Thu Aug 30 10: 7:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from reservoir.absolight.com (reservoir.absolight.com [212.43.217.72]) by hub.freebsd.org (Postfix) with ESMTP id 7495037B407 for ; Thu, 30 Aug 2001 10:07:32 -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 3B5BBD39E6 for ; Thu, 30 Aug 2001 19:07:13 +0200 (CEST) Received: from club-internet.fr (sauron.in.mat.cc [212.43.217.122]) by bilbo.in.mat.cc (Postfix) with ESMTP id 2F82433524 for ; Thu, 30 Aug 2001 19:07:07 +0200 (CEST) Message-ID: <3B8E72BB.B824C21D@club-internet.fr> Date: Thu, 30 Aug 2001 19:07: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: freebsd-questions@FreeBSD.ORG Subject: ipfilter Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@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-questions" in the body of the message