Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    When is the filter reloaded?

    Firewalling
    2
    2
    968
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fluca1978
      last edited by

      Hi all,
      yesterday I got locked out my pfsense box, so I went to the console, opened the shell and typed a

      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).

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.