From nobody@FreeBSD.org  Fri Mar 28 18:53:42 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id CB6525B2
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Mar 2014 18:53:42 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id B821F5E2
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Mar 2014 18:53:42 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2SIrgmv048019
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Mar 2014 18:53:42 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2SIrgKv048015;
	Fri, 28 Mar 2014 18:53:42 GMT
	(envelope-from nobody)
Message-Id: <201403281853.s2SIrgKv048015@cgiserv.freebsd.org>
Date: Fri, 28 Mar 2014 18:53:42 GMT
From: Jean Aumont <Jaumont@mediagrif.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PF - Can not set limit for table 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         188035
>Category:       kern
>Synopsis:       [pf] Can not set limit for table
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-pf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 28 19:00:00 UTC 2014
>Closed-Date:    Mon Apr 28 14:18:44 UTC 2014
>Last-Modified:  Mon Apr 28 14:18:44 UTC 2014
>Originator:     Jean Aumont
>Release:        10.0
>Organization:
Mediagrif
>Environment:
FreeBSD HOSTNAME 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Wed Mar 12 21:12:33 EDT 2014 root@FreeBSD-2 /usr/obj/usr/src/sys/GENERIC-2 amd64
>Description:
I am trying to set the "table" PF limit using the pf.conf file.

When I add the following line:

set limit {states 150000, tables 10000, table-entries 200000}

I get the following error:

pfctl: Bad pool name.
pf.conf: 2 : unable to set limit table 10000
pfctl: Syntax error in config file: pf rule not loaded.

You get the same error for any value you try to set for 'tables'

This kernel as been recompile to include Pf and Carp.




 
>How-To-Repeat:
Just create a file called /etc/pf.conf and put the following line in it.

set limit {states 150000, tables 10000, table-entries 200000}

Run the command: pfctl -f /etc/pf.conf
>Fix:
Do not known.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-pf 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Apr 16 01:52:10 UTC 2014 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188035 
State-Changed-From-To: open->closed 
State-Changed-By: glebius 
State-Changed-When: Mon Apr 28 14:17:59 UTC 2014 
State-Changed-Why:  
The number of tables is not limited now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188035 
>Unformatted:
