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

    pfBlockerNG-Devel v3.1.0_1 is up

    Scheduled Pinned Locked Moved pfBlockerNG
    10 Posts 5 Posters 1.3k 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.
    • TDGrantT
      TDGrant
      last edited by

      Make sure you reload your feeds after updating.

      1 Reply Last reply Reply Quote 0
      • lohphatL
        lohphat
        last edited by

        The problem I has with the update (from 3.1.0) was Unbound didn't restart. Had to manually restart it. Update script issue?

        SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_5)

        Cool_CoronaC 1 Reply Last reply Reply Quote 0
        • Cool_CoronaC
          Cool_Corona @lohphat
          last edited by

          @lohphat Its like that always. It has never restarted after an update.

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @Cool_Corona
            last edited by

            @cool_corona said in pfBlockerNG-Devel v3.1.0_1 is up:

            Its like that always. It has never restarted after an update.

            Yeah, it's a silly thing.
            During the last update, from v3.1.0 to v3.1.0_1 I actually followed the pfSense update messages, and tailed system.log and resolver.log at the same time.
            Right at the start, the update process remove the exiting python script by re creating a unbound.conf file without that python file.
            That restart works well.

            At the end of the pfblockerng update, any my pfSense systems, some 2 minutes later, "somewhere" the Resolver is restarted.

            The one and only log line is !

            <28>1 2022-01-13T09:23:31.861451+01:00 pfsense.local.tld unbound 83099 - - [83099:0] warning: unbound is already running as pid 94410.
            

            the result is :
            The already running process (the one without any pfBlockerNG stuff) = 94410 is 'killed'.
            The new one, 83099 , bails out.

            result : no more unbound process.

            The solution is easy :

            6b7b2cc5-abfa-4369-a03c-6727c8976250-image.png

            hit the red play button. Issue solved.

            At that moment, the GUI (login) access will be painfully slow .... the GUI needs DNS to work - and it doesn't at that moment.

            I'm saying this to myself right now, and for the last xx months : I really should have a look at the upgrade process, and locate the exact moment when this happens.
            I have doubt that it is a pfBlockerNG issue. pfBlockerNG just needs the resolver to restart when it finishes. The pfSense update process is doing that restart .... and it fails 'something'.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            lohphatL 1 Reply Last reply Reply Quote 0
            • lohphatL
              lohphat @Gertjan
              last edited by

              @gertjan However that's not what's expected when you update a package -- you should not have to clean-up and manually restart a service after an update. The install/update script should leave the system functional after the update without intervention.

              SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_5)

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @lohphat
                last edited by

                @lohphat said in pfBlockerNG-Devel v3.1.0_1 is up:

                However that's not what's expected when you update a package ...

                What do you mean ?
                The upgrade/re-install script should leave the system in a working state ? Right ! I would say : of course.
                It is expected that the system behaves correctly when you upgrade. It (often ?) doesn't.

                @lohphat said in pfBlockerNG-Devel v3.1.0_1 is up:

                you should not have to clean-up and manually restart a service after an update.

                I'm not cleaning up. Doing close to nothing. I just clicked on the button "upgrade pfBlockerNG" because a new version was available. That's not cleaning.
                I was also tailing, because I wanted to have the possibility to so what happens when en eventually why, as "leaving the resolver dead in the water" is happening when you upgrade pfBlockerNG.

                You can do the same thing right now yourself.
                I guess there is a there is a condition : you must be using the "Python mode".
                If so, click on upgrade or, if it is already on the latest version : re install pfBlockerng-devel :

                77953f09-2897-4b9c-abc0-e56424f7f35c-image.png

                upgrade or re install is actually the same thing.
                You probably wind up having the resolver process is a stopped state. This means : no more DNS.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                lohphatL 1 Reply Last reply Reply Quote 0
                • lohphatL
                  lohphat @Gertjan
                  last edited by

                  @gertjan You completely misinterpreted literally EVERYTHING in my post.

                  SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_5)

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @lohphat
                    last edited by

                    @lohphat said in pfBlockerNG-Devel v3.1.0_1 is up:

                    @gertjan You completely misinterpreted literally EVERYTHING in my post.

                    Strange, but possible.

                    @lohphat said in pfBlockerNG-Devel v3.1.0_1 is up:

                    The problem I has with the update (from 3.1.0) was Unbound didn't restart. Had to manually restart it. Update script issue?

                    DNS stopped when pfBlockerng was upgraded. You had to restart it. Me too. Many forum posts intentioned that also.
                    What did I not understand ?

                    My posts were about looking why this happens. I didn't make progress yet.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    1 Reply Last reply Reply Quote 0
                    • viktor_gV
                      viktor_g Netgate
                      last edited by

                      Redmine issue:
                      https://redmine.pfsense.org/issues/11398

                      GertjanG 1 Reply Last reply Reply Quote 1
                      • GertjanG
                        Gertjan @viktor_g
                        last edited by

                        @viktor_g :

                        Ok, nice.
                        A bit of a hammer approach, though.

                        I still wonder why unbound refuses a simple TERM signal, send initially, just a couple of lines above.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        1 Reply Last reply Reply Quote 0
                        • GertjanG Gertjan referenced this topic on
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.