pf problem with table

fbsd fbsd at a1poweruser.com
Wed Apr 19 11:41:40 UTC 2006


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 at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Reinhold
Platzoeder
Sent: Wednesday, April 19, 2006 2:17 AM
To: freebsd-questions at 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 <p2pblock> persist file "/etc/pfdata/blocklist-p2p"
block in log quick on $ext_if from <p2pblock> 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 at violetlan.net
reinhold at webmail.co.za

http://www.violetlan.net
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list