Michiel van Baak wrote:

Hi all,

I'm trying to setup my spamd table in pf.
I used Daniel's script as he posted it on http://www.benzedrine.cx/relaydb.html as a 
template for my own script (see below)
When I run my script it fails with the error: pfctl: Cannot allocate memory.

1) Manually apply that patch to 3.5-stable:
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/pf_table.c.diff?r1=1.47&r2=1.48
With that patch, tables can use up to 768M of kernel memory on i386,
instead of <64M without the patch.

2) Reloading tables with "pfctl -t foo -Tr" use much less
temporary memory than reloading with "pfctl -f /etc/pf.conf".

X-posting to misc@ because that question is asked sooooo much.
Cedric

Reply via email to