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

    pfBlockerNG 3.2.0_4 ?

    Scheduled Pinned Locked Moved pfBlockerNG
    40 Posts 10 Posters 6.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.
    • R
      rcoleman-netgate Netgate @michmoor
      last edited by

      @michmoor said in pfBlockerNG 3.2.0_4 ?:

      Would you happen to know what the pfsense-upgrade package is?

      It is the package that handles all pfSense updates and upgrades.

      Ryan
      Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
      Requesting firmware for your Netgate device? https://go.netgate.com
      Switching: Mikrotik, Netgear, Extreme
      Wireless: Aruba, Ubiquiti

      M 1 Reply Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @rcoleman-netgate
        last edited by

        @rcoleman-netgate gotcha. Does it need an upgrade anyway? During the normal package upgrade process via the GUI, I don’t see this option.

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        R 1 Reply Last reply Reply Quote 0
        • R
          rcoleman-netgate Netgate @michmoor
          last edited by

          @michmoor it includes references needed to provide future updates and upgrades, so yes, it should always be upgraded when it prompts for a change.

          Ryan
          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
          Requesting firmware for your Netgate device? https://go.netgate.com
          Switching: Mikrotik, Netgear, Extreme
          Wireless: Aruba, Ubiquiti

          M 1 Reply Last reply Reply Quote 0
          • M
            michmoor LAYER 8 Rebel Alliance @rcoleman-netgate
            last edited by

            @rcoleman-netgate is there a way to make that visible via the GUI? Maybe it is but I missed it?
            For my normal workflow I don’t go into the shell unless I absolutely need to.
            pkg upgrade isn’t something i have normally done when managing any pfsense but I will add it now.

            Firewall: NetGate,Palo Alto-VM,Juniper SRX
            Routing: Juniper, Arista, Cisco
            Switching: Juniper, Arista, Cisco
            Wireless: Unifi, Aruba IAP
            JNCIP,CCNP Enterprise

            R 1 Reply Last reply Reply Quote 0
            • R
              rcoleman-netgate Netgate @michmoor
              last edited by

              @michmoor I believe it is part of the regular update checker but I am not an expert, or even an intermediate on this item. @stephenw10 might have your answer.

              Ryan
              Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
              Requesting firmware for your Netgate device? https://go.netgate.com
              Switching: Mikrotik, Netgear, Extreme
              Wireless: Aruba, Ubiquiti

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

                @marinsnb said in pfBlockerNG 3.2.0_4 ?:

                How do I add this script?

                Copy paste in a text editor !

                There is a build in text editor in pfSense, I forgot it's name.
                There is 'vi' of course, but I'm not going to advise you use that one ;)

                edit : found it : is ee, so

                ee /root/pkg_check.php
                

                .....

                pkg install nano
                

                All you need to do now is : how to save a file with nano.
                (searching etc is for later)

                When nano is installed :

                nano /root/pkg_check.php
                

                and paste (ctrl-V or if you use Putty : right mous click) into the editor.

                Ctrl-w to write the file.
                Ctrl-x to exit the editor.

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

                MarinSNBM 1 Reply Last reply Reply Quote 0
                • S
                  sgw @sgw
                  last edited by

                  Still no "Packets" in the widget:

                  580b3cda-99d1-461c-a780-7a5514785336-image.png

                  But I see packets blocked in the Logs of pfblockerNG.

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

                    @michmoor said in pfBlockerNG 3.2.0_4 ?:

                    Installed packages to be UPGRADED:
                    igmpproxy: 0.3,1 -> 0.3_1,1 [pfSense]
                    pfSense-upgrade: 1.0_53 -> 1.0_58 [pfSense]

                    These are 'real' FreeBSD packages that make part of what pfSense is.
                    True, you won't see them in the classic GUI installed packages list.

                    and yes, normally, no body will actually 'see' when they are available.
                    What I do know is that they, eventually, get installed.
                    When ? Probably when you visit System > Update > Update Settings and/or System > Update > System Update

                    As soon as I had the possibility to see this list of non-GUI packages, I never had the patience to 'wait and see' if and when they get installed, I just install them from the command line :

                    pkg upgrade
                    

                    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 1
                    • MarinSNBM
                      MarinSNB @Gertjan
                      last edited by

                      @gertjan thanks!

                      Netgate 6100 Max pfSense+
                      —>Unifi Aggregation/24 Pro PoE/24 PoE Enterprise switches
                      —> UCK2+
                      —> 3x U6E APs

                      1 Reply Last reply Reply Quote 0
                      • M
                        manilx @Gertjan
                        last edited by manilx

                        @gertjan Hi. Installed the script on my 8200. Tried and worked.
                        I'm not using email for notifications but pushover.
                        How do I modify the script to use pushover for it's notification:

                        notify_via_smtp($msg);
                        

                        notify_via_pushover($msg); ????

                        Thx!

                        Netgate 8200max

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

                          @manilx said in pfBlockerNG 3.2.0_4 ?:

                          notify_via_smtp($msg);

                          That's me, scripting the selfish way : I only use smtp, so I called that function directly.

                          @manilx said in pfBlockerNG 3.2.0_4 ?:

                          notify_via_pushover($msg); ????

                          looks fine to me.
                          Look at the last 6 or 8 lines from /etc/inc/notices.inc - you'll get the picture.

                          notify_all_remote($msg);
                          

                          would be best, as it tries everything (that is configured).

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

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            manilx @Gertjan
                            last edited by

                            @gertjan said in pfBlockerNG 3.2.0_4 ?:

                            notify_all_remote($msg);

                            Got it. Thx!

                            Netgate 8200max

                            MarinSNBM 1 Reply Last reply Reply Quote 0
                            • MarinSNBM
                              MarinSNB @manilx
                              last edited by

                              @manilx I left mine the same as well (smtp) because I use Gmail too.

                              Netgate 6100 Max pfSense+
                              —>Unifi Aggregation/24 Pro PoE/24 PoE Enterprise switches
                              —> UCK2+
                              —> 3x U6E APs

                              1 Reply Last reply Reply Quote 0
                              • S
                                SwissSteph @Gertjan
                                last edited by SwissSteph

                                @gertjan

                                Thanks for sharing! :-)

                                I installed the script as indicated (thanks for the very clear tutorial). But I'm not sure if it works on version 23.01.

                                Because it seems that the message sending function only works in "root". My English was not very good, I'm not sure if it concerns this script too, but in any case I haven't received any message yet that there was a new version of something.

                                I had my UPS not sending me any message and I stumbled on this topic https://forum.netgate.com/topic/174526/nut-upssched/13?_=1682405924756 and I wonder if there would be the same problems because "not root",

                                Has anyone tested this script successfully on a 23.01 version? or or should we add the "RUN_AS_USER root" function somewhere?

                                Thanks for your advice.

                                I started with two "no-name" pfsense, one for use at home and the other as a backup in case of problems (which can happen when you're new to pfsense).
                                ... And now I'm living with a Netgate 8200
                                ... And sorry for my bad English...

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  SwissSteph @SwissSteph
                                  last edited by SwissSteph

                                  EDIT : Now it works, I received an email this morning and an update was seen. Thanks again for this script ;-)

                                  I started with two "no-name" pfsense, one for use at home and the other as a backup in case of problems (which can happen when you're new to pfsense).
                                  ... And now I'm living with a Netgate 8200
                                  ... And sorry for my bad English...

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SwissSteph
                                    last edited by

                                    On my new pfsense (on a Netgate 8200) in 23.05, I get these messages when I run :

                                    sudo php -q /root/pkg_check.php

                                    [23.05-RELEASE][xxxxxxx@pfSense.xxxxxxx.com]/home/xxxxxxx: sudo php -q /root/pkg_check.php
                                    pfSense version 23.05 (installed) is current
                                    pkg: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_amd64-core/meta.txz: Bad Request
                                    pkg: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_amd64-core/packagesite.pkg: Bad Request
                                    pkg: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_amd64-core/packagesite.txz: Bad Request
                                    pkg: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05/meta.txz: Bad Request
                                    pkg: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05/packagesite.pkg: Bad Request
                                    pkg: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05/packagesite.txz: Bad Request
                                    [23.05-RELEASE][xxxxxxx@pfSense.xxxxxxx.com]/home/xxxxxxx:

                                    Any idea what the problem is and how to fix it?

                                    Thanks for your advice

                                    I started with two "no-name" pfsense, one for use at home and the other as a backup in case of problems (which can happen when you're new to pfsense).
                                    ... And now I'm living with a Netgate 8200
                                    ... And sorry for my bad English...

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      SwissSteph
                                      last edited by

                                      [23.05-RELEASE][xxxxxxx@pfSense.xxxxxxx.com]/home/xxxxxxx: sudo pkg upgrade
                                      Password:
                                      Updating pfSense-core repository catalogue...
                                      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-core/meta.txz: Bad Request
                                      repository pfSense-core has no meta file, using default settings
                                      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-core/packagesite.pkg: Bad Request
                                      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-core/packagesite.txz: Bad Request
                                      Unable to update repository pfSense-core
                                      Updating pfSense repository catalogue...
                                      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05/meta.txz: Bad Request
                                      repository pfSense has no meta file, using default settings
                                      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05/packagesite.pkg: Bad Request
                                      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05/packagesite.txz: Bad Request
                                      Unable to update repository pfSense
                                      Error updating repositories!
                                      [23.05-RELEASE][xxxxxxx@pfSense.xxxxxxx.com]/home/xxxxxxx:

                                      I started with two "no-name" pfsense, one for use at home and the other as a backup in case of problems (which can happen when you're new to pfsense).
                                      ... And now I'm living with a Netgate 8200
                                      ... And sorry for my bad English...

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        SwissSteph
                                        last edited by

                                        For repair -> pfSense-upgrade -d -c

                                        I started with two "no-name" pfsense, one for use at home and the other as a backup in case of problems (which can happen when you're new to pfsense).
                                        ... And now I'm living with a Netgate 8200
                                        ... And sorry for my bad English...

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