Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» IPv6» Error loading the rules
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Error loading the rules  (Read 1713 times)
0 Members and 1 Guest are viewing this topic.
jigpe
Sr. Member
****
Offline Offline

Posts: 371


View Profile
« on: April 03, 2012, 08:32:36 pm »

Good Morning!

Ipv6/Ipv4 is working well. But why i have this errors in Status: System logs: System:

Apr 4 09:26:39   php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:103: cannot define table bogonsv6: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [103]: table <bogonsv6> persist file "/etc/bogonsv6"

How to remove this error? i try to "touch /etc/bogonsv6" still the errors keep appearing on System logs...

Thanks,
jigp
Logged
wagonza
Sr. Member
****
Offline Offline

Posts: 307



View Profile WWW
« Reply #1 on: April 04, 2012, 06:21:02 am »

Out of curiosity, how much RAM do you have in that box?
Logged

iFloris
Full Member
***
Offline Offline

Posts: 156


one layer of information removed


View Profile WWW
« Reply #2 on: April 04, 2012, 06:35:15 am »

A few weeks ago I ran across the same problem.
My box is a vm with 2 physical processors and 6 gb ram allocated.
Manually setting Firewall Maximum Table Entries to 1000000 in system -> advanced -> Firewall / NAT seems to have solved the problem.
Logged

one layer of information
removed
jigpe
Sr. Member
****
Offline Offline

Posts: 371


View Profile
« Reply #3 on: April 04, 2012, 08:49:50 am »

Hi!

@wagonza - 3GB RAM and im the only one user connected. No packages installed too. I have NAT enable manually...

@Floris - Ok ill use your method and test it.

Thanks,
jigpe
Logged
jigpe
Sr. Member
****
Offline Offline

Posts: 371


View Profile
« Reply #4 on: April 04, 2012, 09:02:21 am »

@Floriz - Ive tried that now..then reset states and reboot..Same thing..Error still the same.. Ive tried Firewall Optimization Options set to normal,high latency,aggressive even conservative (reset state and reboot every options) nothing happen still the same error..
Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12863



View Profile
« Reply #5 on: April 04, 2012, 09:56:03 am »

That would be tied to the table space size. It's under System > Advanced on the Firewall/NAT page.

Do you have any other really large aliases? Or something that loads a bunch of table entries like pfBlocker?

The bogonsv6 list can be quite large when it's loaded, over 54,000 entries, so it will take quite a bit of table space.

When you run out of table room you end up in a chicken-and-egg scenario where it needs to load the rules to increase the table size but it can't increase the table size because it can't load the rules. You can sidestep that by running:

Code:
pfctl -F Tables

Then forcing a filter reload (Status > Filter Reload)
Logged

Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Donate to the project | My Wish List
jigpe
Sr. Member
****
Offline Offline

Posts: 371


View Profile
« Reply #6 on: April 10, 2012, 12:11:08 am »

After making changes on the state and reboot it for 2x, the box freezed Sad I saw no errors. I cant even connect to ssh pf menu.. Ill reformat it now and use the latest snapshot http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/i386/pfSense_HEAD/livecd_installer/pfSense-LiveCD-2.1-DEVELOPMENT-i386-20120409-1444.iso.gz
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.032 seconds with 20 queries.