Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2014 18:53:42 GMT
From:      Jean Aumont <Jaumont@mediagrif.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/188035: PF - Can not set limit for table 
Message-ID:  <201403281853.s2SIrgKv048015@cgiserv.freebsd.org>
Resent-Message-ID: <201403281900.s2SJ00qi062597@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188035
>Category:       amd64
>Synopsis:       PF - Can not set limit for table
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 28 19:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403281853.s2SIrgKv048015>