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

    So many config changes from WireGuard (and even more from pfBlocker if DNSBL is disabled)

    Scheduled Pinned Locked Moved General pfSense Questions
    47 Posts 6 Posters 5.7k Views
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @mcury
      last edited by

      @mcury yeah I kind of hijacked this thread from @Bob-Dig - he started it about wireguard doing pretty much the same thing..

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • M
        mcury Rebel Alliance @Bob.Dig
        last edited by

        @Bob-Dig said in So many config changes from WireGuard:

        @mcury said in So many config changes from WireGuard:

        If there is something that I can do to help, just tell me.

        Install WireGuard. 😬

        Wireguard is installed and enabled, but this problem is not happening with it, just with pfblockerNG

        dead on arrival, nowhere to be found.

        Bob.DigB 1 Reply Last reply Reply Quote 1
        • Bob.DigB
          Bob.Dig LAYER 8 @mcury
          last edited by

          @mcury said in So many config changes from WireGuard:

          Wireguard is installed and enabled, but this problem is not happening with it, just with pfblockerNG

          WTF

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Wireguard only does it at boot though and pfBlocker when a cronjob fires I think.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Oh nope! But it is triggered by a package restart. So your system may not show it.

              1 Reply Last reply Reply Quote 1
              • Bob.DigB
                Bob.Dig LAYER 8
                last edited by Bob.Dig

                Now I took a look at some other machines (CE) and I can confirm, it is only showing it, if DNSBL is disabled. But damn, this sucks even more than with WireGuard.
                Capture.PNG

                @mcury Your not seeing WireGuard because your pfBlocker is polluting it so much more.

                M 1 Reply Last reply Reply Quote 0
                • M
                  mcury Rebel Alliance @Bob.Dig
                  last edited by

                  @Bob-Dig said in So many config changes from WireGuard:

                  Your not seeing WireGuard because your pfBlocker is polluting it even more heavy.

                  You may be correct about that, I'm now monitoring it and if I see something new, I'll report it here.

                  dead on arrival, nowhere to be found.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mcury Rebel Alliance @mcury
                    last edited by

                    Enabling DNSBL fixed the problem with it saving configs.

                    As soon as I can, I'll reboot the firewall to check if I can see Wireguard showing up there.

                    dead on arrival, nowhere to be found.

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @mcury
                      last edited by

                      @mcury said in So many config changes from WireGuard and even more from pfBlocker if DNSBL is disabled:

                      Enabling DNSBL fixed the problem with it saving configs.

                      That is good to hear.. I will know prob 2300 central tonight, when my cron kicks off..

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      johnpozJ 1 Reply Last reply Reply Quote 1
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @johnpoz
                        last edited by johnpoz

                        No go for me - still doing it.. And its worse now.. now its doing 2

                        2024-01-24_055417.jpg

                        Lets see what happens today at 11..

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        M Bob.DigB 2 Replies Last reply Reply Quote 0
                        • M
                          mcury Rebel Alliance @johnpoz
                          last edited by

                          I just got a chance to reboot today.

                          I got 22 new configurations..

                          77fb93c4-da23-44b0-8e34-09904acd5be0-image.png

                          10 during shutdown
                          12 during reboot.

                          dead on arrival, nowhere to be found.

                          1 Reply Last reply Reply Quote 1
                          • Bob.DigB
                            Bob.Dig LAYER 8 @johnpoz
                            last edited by Bob.Dig

                            @johnpoz said in So many config changes from WireGuard (and even more from pfBlocker if DNSBL is disabled):

                            No go for me - still doing it.. And its worse now.. now its doing 2

                            This helped in my case... where I didn't use DNSBL

                            Screenshot 2024-01-24 at 15-11-29 pfSense.prox2.aadf.de - Firewall pfBlockerNG DNSBL.png

                            But it looks almost the same to where I do use it, probably an older config.

                            johnpozJ 1 Reply Last reply Reply Quote 1
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator @Bob.Dig
                              last edited by

                              @Bob-Dig hmmm - maybe I will completely remove it, and wipe the config. I only have a few aliases so should be easy enough to reproduce.

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              JeGrJ 1 Reply Last reply Reply Quote 0
                              • JeGrJ
                                JeGr LAYER 8 Moderator @johnpoz
                                last edited by

                                @johnpoz @stephenw10

                                The problem with pfBlockerNG and config saves is even bigger as that many MANY configuration changes are all SYNCED to a CARP member triggering a HUGE number of unnecessary reloads and changes on the secondary node. And as pfBNG doesn't really sync the lists but the config only, the second node still has to run its own instance of pfB and do the whole download and install of the lists AGAIN, so you nearly have double the config changes to the standby node. Also in a bigger setup you have to either completely disable the sync because of this or you have to time the standby node down to do updates e.g. only daily or all 12h as otherwise you get hit with the sync job that triggers a reload of MANY services of the standby node, then have the node perform its own pfB download and saving configs. So config history is completely broken and unusable in a cluster where pfB is enabled as you won't see anything older then a day or two with that many checkpoints. Also the sync adds even more on the standby AND triggers high load and temporary RPC/sync unavailability as the node gets simply swamped by syncs and reloads (talking about a big node here with many VPNs, big ruleset etc. - datacenter firewall). That's a really big minus of pfB currently. I already mentioned that to BBcan/Tony several times but never came to tackle down the issue (with various others concerning a CARP setup like the interface creation in DNSBL mode etc.)

                                Cheers

                                Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                                If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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