From owner-freebsd-questions@FreeBSD.ORG Wed Apr 19 23:27:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EE1716A404 for ; Wed, 19 Apr 2006 23:27:44 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from scurvy.violetlan.net (d463ce08.datahighways.de [212.99.206.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 028F443D4C for ; Wed, 19 Apr 2006 23:27:44 +0000 (GMT) (envelope-from freebsd@violetlan.net) Received: from scurvy.violetlan.net (localhost.violetlan.net [127.0.0.1]) by scurvy.violetlan.net (Postfix) with ESMTP id 8CD2633C5D; Thu, 20 Apr 2006 01:27:48 +0200 (CEST) Received: by scurvy.violetlan.net (Postfix, from userid 65534) id 53B8833C5C; Thu, 20 Apr 2006 01:27:48 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on scurvy.violetlan.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.1.1 Received: from khumuleka (unknown [192.168.100.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by scurvy.violetlan.net (Postfix) with ESMTP id 2043733C53; Thu, 20 Apr 2006 01:27:47 +0200 (CEST) Date: Thu, 20 Apr 2006 01:27:49 +0200 From: Reinhold Platzoeder To: freebsd-questions@freebsd.org Message-ID: <20060420012749.151ad162@khumuleka> In-Reply-To: References: <20060419081712.4c5ac371@khumuleka> Organization: Violetlan X-Mailer: Sylpheed-Claws 2.1.0 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: fbsd@a1poweruser.com Subject: Re: pf problem with table X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 23:27:44 -0000 On Wed, 19 Apr 2006 07:41:33 -0400 "fbsd" wrote: > Error msg means there is something wrong with the content of > /etc/pfdata/blocklist-p2p > > check that there are no blank lines in that file. > > make file with only ten entries and test. > Then add more content until you break it. > maybe 1.7 MB file size is to large for max table size > > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Reinhold > Platzoeder > Sent: Wednesday, April 19, 2006 2:17 AM > To: freebsd-questions@freebsd.org > Subject: pf problem with table > > > Hi > > I have a problem with FreeBSD 6 and pf > I am trying to load a 1.7M file in to pf using a tables > but I get this error > > /etc/pf.conf:22: cannot define table p2pblock: Cannot allocate > memory > pfctl: Syntax error in config file: pf rules not loaded > > the table config in pf.conf is > table persist file "/etc/pfdata/blocklist-p2p" > block in log quick on $ext_if from to any > > I have tried it on two different machines and both gives me the same > error > > everything works when I comment these two lines out > > Any ideas as to what i'm doing wrong? > > Thanks > > -- > Reinhold Platzoeder > > reinhold@violetlan.net > reinhold@webmail.co.za > > http://www.violetlan.net > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hi My problem looks like the file is to big to be loaded into pf My firewall stops responding when the file has about 7000 IPs in it The old file has 104450 IPs in it and I would like to block them Does anyone know how I can get this file to load into pf without killing my machine? Here is my top stats last pid: 4899; load averages: 0.00, 0.00, 0.00 up 1+02:06:53 01:23:55 30 processes: 1 running, 29 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 1.6% interrupt, 98.4% idle Mem: 13M Active, 4884K Inact, 23M Wired, 2852K Cache, 13M Buf, 9788K Free Swap: 512M Total, 5364K Used, 507M Free, 1% Inuse Thanks -- Reinhold Platzoeder reinhold@violetlan.net reinhold@webmail.co.za http://www.violetlan.net