Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Firewalling» when is the filter reloaded?
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: when is the filter reloaded?  (Read 341 times)
0 Members and 1 Guest are viewing this topic.
fluca1978
Full Member
***
Offline Offline

Posts: 133


View Profile
« on: May 03, 2012, 01:51:41 am »

Hi all,
yesterday I got locked out my pfsense box, so I went to the console, opened the shell and typed a
Code:
pfctl -d
to disable the firewall. It did not work, and looking at the pftop I saw that there were still connections being blocked by the firewall. No matter how many time I repeated the command or typed a flush on all rules, the firewall was always active. The only way I found to disable it was using the developer console. Now I'm guessing if the filter is somewhat automatically reloaded by some kind of event (e.g., squid proxy running or what) so that the console actions are vanished by the automatic filter reloading.

In my case I locked out because I removed an interface from the menu while the filter still had references on it (I thought the filter would have update itself but apparently it was not).
Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12865



View Profile
« Reply #1 on: May 07, 2012, 09:47:53 am »

It's reloaded every time a change is made that touches filter rules, and sometimes in the background when things need updating as well.

If something is broken in the ruleset, it can't be reloaded, so it may have been failing because of that. Sometimes broken packages can also prevent the filter rules from being reloaded properly.
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
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.029 seconds with 20 queries.