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

    Update lists fail

    Scheduled Pinned Locked Moved pfBlockerNG
    34 Posts 5 Posters 4.6k 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.
    • QinnQ
      Qinn
      last edited by

      @BBcan177:

      MaxMind is updated once per month. You will see the cron task in pfSense for that…

      I did a```
      crontab -l

      
      Cheers Qinn

      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
      Firmware: Latest-stable-pfSense CE (amd64)
      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

      1 Reply Last reply Reply Quote 0
      • RonpfSR
        RonpfS
        last edited by

        Did you leave MaxMind Updates unticked ?

        There is a Cron package you can install  ;)

        The job run from 4th to 10th of the month

        /usr/local/bin/php /usr/local/www/pfblockerng/pfblockerng.php dcc >> /var/log/pfblockerng/extras.log 2>&1
        

        2.4.5-RELEASE-p1 (amd64)
        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

        1 Reply Last reply Reply Quote 0
        • QinnQ
          Qinn
          last edited by

          @RonpfS:

          Did you leave MaxMind Updates unticked ?

          There is a Cron package you can install  ;)

          The job run from 4th to 10th of the month

          /usr/local/bin/php /usr/local/www/pfblockerng/pfblockerng.php dcc >> /var/log/pfblockerng/extras.log 2>&1
          

          Thanks for you reply RonpfS. Nope I haven't disabled it, I just thought a```
          crontab -l

          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
          Firmware: Latest-stable-pfSense CE (amd64)
          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

          1 Reply Last reply Reply Quote 1
          • RonpfSR
            RonpfS
            last edited by

            On my system I get :

            crontab -l
            
            crontab: no crontab for root
            ```  :o

            2.4.5-RELEASE-p1 (amd64)
            Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
            Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

            1 Reply Last reply Reply Quote 0
            • QinnQ
              Qinn
              last edited by

              So what does the MaxMind updates trigger?

              Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
              Firmware: Latest-stable-pfSense CE (amd64)
              Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

              QinnQ 1 Reply Last reply Reply Quote 1
              • QinnQ
                Qinn @Qinn
                last edited by

                @qinn Is there a way to check when the next update of MaxMind will run?

                Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                Firmware: Latest-stable-pfSense CE (amd64)
                Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                RonpfSR 1 Reply Last reply Reply Quote 1
                • RonpfSR
                  RonpfS @Qinn
                  last edited by

                  @qinn You can check /var/log/pfblockerng/extras.log to see when the last update was done.

                  2.4.5-RELEASE-p1 (amd64)
                  Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                  Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                  1 Reply Last reply Reply Quote 1
                  • QinnQ
                    Qinn
                    last edited by

                    Thanks, nice overview btw of the last 2 years, seems I have to wait for 11 juni (when updating comes once a month)

                    Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                    Firmware: Latest-stable-pfSense CE (amd64)
                    Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                    1 Reply Last reply Reply Quote 0
                    • QinnQ
                      Qinn
                      last edited by Qinn

                      Hmm it's been well over a month and as from what it looks in the dashboard MaxMind isn't updated, I looked in

                      cat /var/log/pfblockerng/extras.log 
                      

                      and it reads:

                      Download Process Starting [ 06/05/18 07:00:00 ]
                       /usr/local/share/GeoIP/GeoIP.dat.gz            200 OK
                       /usr/local/share/GeoIP/GeoIPv6.dat.gz          200 OK
                       /usr/local/share/GeoIP/GeoLite2-Country-CSV.zip                200 OK
                       /var/db/pfblockerng/top-1m.csv.zip             200 OK
                      Download Process Ended [ 06/05/18 07:00:28 ]
                      
                      Country code update Start
                       Converting MaxMind Country databases for pfBlockerNG.
                       Processing ISO IPv4 Continent/Country Data
                       Processing ISO IPv6 Continent/Country Data [ 06/05/18 07:01:46 ]
                       Creating pfBlockerNG Continent XML files
                       IPv4 Africa                     [ 06/05/18 07:02:07 ]
                       IPv6 Africa                     [ 06/05/18 07:02:08 ]
                       IPv4 Antarctica
                       IPv6 Antarctica
                       IPv4 Asia
                       IPv6 Asia                       [ 06/05/18 07:02:17 ]
                       IPv4 Europe                     [ 06/05/18 07:02:19 ]
                       IPv6 Europe                     [ 06/05/18 07:02:48 ]
                       IPv4 North America              [ 06/05/18 07:02:58 ]
                       IPv6 North America              [ 06/05/18 07:03:19 ]
                       IPv4 Oceania                    [ 06/05/18 07:03:22 ]
                       IPv6 Oceania                    [ 06/05/18 07:03:24 ]
                       IPv4 South America
                       IPv6 South America              [ 06/05/18 07:03:26 ]
                       IPv4 Proxy and Satellite        [ 06/05/18 07:03:28 ]
                       IPv6 Proxy and Satellite
                       IPv4 TOP 20
                       IPv6 TOP 20
                       pfBlockerNG Reputation Tab
                      Country Code Update Ended [ 06/05/18 07:03:29 ]
                      
                      

                      So it confirms that the last one, was the one I did manually, what goes wrong, why doesn't it update automatically once a month?

                      Thnx for any advise

                      Cheers Qinn

                      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                      Firmware: Latest-stable-pfSense CE (amd64)
                      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                      RonpfSR 1 Reply Last reply Reply Quote 0
                      • RonpfSR
                        RonpfS @Qinn
                        last edited by RonpfS

                        @qinn said in Update lists fail:

                        was the one I did manually, what goes wrong

                        Nothing is wrong for now. You did a manual update on June 5th. The next automatic update will be done by Cron between the 4th and the 10th of July.

                        BTW my last update was on 06/07/18, but the version is from May 1st

                        /var/log/pfblockerng/maxmind_ver

                        MaxMind GeoLite2 Date/Time Stamp
                        Last-Modified: Tue, 01 May 2018 16:48:16 GMT
                        Duplicate Represented IP4 Networks: 36994
                        

                        2.4.5-RELEASE-p1 (amd64)
                        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                        1 Reply Last reply Reply Quote 1
                        • QinnQ
                          Qinn
                          last edited by

                          Thanks for you reply, always helpful, but I have to say nope. I hoped that to, but 10/15/16 08:20:12 (as you can see below) isn't possible so it's dd-mm-yy, so there is something wrong...

                          
                          Download Process Starting [ 10/15/16 08:18:03 ]
                           /usr/local/share/GeoIP/GeoIP.dat.gz            200 OK
                           /usr/local/share/GeoIP/GeoIPv6.dat.gz          200 OK
                           /usr/local/share/GeoIP/GeoLite2-Country-CSV.zip                200 OK
                           /var/db/pfblockerng/top-1m.csv.zip             200 OK
                          Download Process Ended [ 10/15/16 08:18:40 ]
                          
                          Country code update Start
                           Converting MaxMind Country databases for pfBlockerNG.
                           Processing ISO IPv4 Continent/Country Data
                           Processing ISO IPv6 Continent/Country Data [ 10/15/16 08:19:49 ]
                           Creating pfBlockerNG Continent XML files
                           IPv4 Africa                     [ 10/15/16 08:20:03 ]
                           IPv6 Africa                     [ 10/15/16 08:20:04 ]
                           IPv4 Antarctica
                           IPv6 Antarctica
                           IPv4 Asia
                           IPv6 Asia                       [ 10/15/16 08:20:12 ]
                           IPv4 Europe                     [ 10/15/16 08:20:14 ]
                           IPv6 Europe                     [ 10/15/16 08:20:40 ]
                           IPv4 North America              [ 10/15/16 08:20:45 ]
                           IPv6 North America              [ 10/15/16 08:21:02 ]
                           IPv4 Oceania                    [ 10/15/16 08:21:05 ]
                           IPv6 Oceania                    [ 10/15/16 08:21:07 ]
                           IPv4 South America
                           IPv6 South America              [ 10/15/16 08:21:09 ]
                           IPv4 Proxy and Satellite        [ 10/15/16 08:21:10 ]
                           IPv6 Proxy and Satellite
                           IPv4 TOP 20
                           IPv6 TOP 20                     [ 10/15/16 08:21:11 ]
                           pfBlockerNG Reputation Tab
                          Country Code Update Ended
                          
                          
                           Download Process Starting [ 05/12/18 16:43:36 ]
                           /usr/local/share/GeoIP/GeoIP.dat.gz            200 OK
                           /usr/local/share/GeoIP/GeoIPv6.dat.gz          200 OK
                           /usr/local/share/GeoIP/GeoLite2-Country-CSV.zip                200 OK
                           /var/db/pfblockerng/top-1m.csv.zip             200 OK
                          Download Process Ended [ 05/12/18 16:44:09 ]
                          
                          Country code update Start
                           Converting MaxMind Country databases for pfBlockerNG.
                           Processing ISO IPv4 Continent/Country Data
                           Processing ISO IPv6 Continent/Country Data [ 05/12/18 16:45:27 ]
                           Creating pfBlockerNG Continent XML files
                           IPv4 Africa                     [ 05/12/18 16:45:48 ]
                           IPv6 Africa                     [ 05/12/18 16:45:49 ]
                           IPv4 Antarctica                 [ 05/12/18 16:45:50 ]
                           IPv6 Antarctica
                           IPv4 Asia
                           IPv6 Asia                       [ 05/12/18 16:45:59 ]
                           IPv4 Europe                     [ 05/12/18 16:46:01 ]
                           IPv6 Europe                     [ 05/12/18 16:46:30 ]
                           IPv4 North America              [ 05/12/18 16:46:40 ]
                           IPv6 North America              [ 05/12/18 16:47:01 ]
                           IPv4 Oceania                    [ 05/12/18 16:47:04 ]
                           IPv6 Oceania                    [ 05/12/18 16:47:06 ]
                           IPv4 South America
                           IPv6 South America              [ 05/12/18 16:47:08 ]
                           IPv4 Proxy and Satellite        [ 05/12/18 16:47:10 ]
                           IPv6 Proxy and Satellite
                           IPv4 TOP 20
                           IPv6 TOP 20
                           pfBlockerNG Reputation Tab
                          Country Code Update Ended [ 05/12/18 16:47:11 ]
                          
                          
                          Download Process Starting [ 06/05/18 07:00:00 ]
                           /usr/local/share/GeoIP/GeoIP.dat.gz            200 OK
                           /usr/local/share/GeoIP/GeoIPv6.dat.gz          200 OK
                           /usr/local/share/GeoIP/GeoLite2-Country-CSV.zip                200 OK
                           /var/db/pfblockerng/top-1m.csv.zip             200 OK
                          Download Process Ended [ 06/05/18 07:00:28 ]
                          
                          Country code update Start
                           Converting MaxMind Country databases for pfBlockerNG.
                           Processing ISO IPv4 Continent/Country Data
                           Processing ISO IPv6 Continent/Country Data [ 06/05/18 07:01:46 ]
                           Creating pfBlockerNG Continent XML files
                           IPv4 Africa                     [ 06/05/18 07:02:07 ]
                           IPv6 Africa                     [ 06/05/18 07:02:08 ]
                           IPv4 Antarctica
                           IPv6 Antarctica
                           IPv4 Asia
                           IPv6 Asia                       [ 06/05/18 07:02:17 ]
                           IPv4 Europe                     [ 06/05/18 07:02:19 ]
                           IPv6 Europe                     [ 06/05/18 07:02:48 ]
                           IPv4 North America              [ 06/05/18 07:02:58 ]
                           IPv6 North America              [ 06/05/18 07:03:19 ]
                           IPv4 Oceania                    [ 06/05/18 07:03:22 ]
                           IPv6 Oceania                    [ 06/05/18 07:03:24 ]
                           IPv4 South America
                           IPv6 South America              [ 06/05/18 07:03:26 ]
                           IPv4 Proxy and Satellite        [ 06/05/18 07:03:28 ]
                           IPv6 Proxy and Satellite
                           IPv4 TOP 20
                           IPv6 TOP 20
                           pfBlockerNG Reputation Tab
                          Country Code Update Ended [ 06/05/18 07:03:29 ]
                          
                          

                          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                          Firmware: Latest-stable-pfSense CE (amd64)
                          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                          RonpfSR 1 Reply Last reply Reply Quote 0
                          • RonpfSR
                            RonpfS @Qinn
                            last edited by

                            @qinn said in Update lists fail:

                            so it’s dd-mm-yy,

                            The date is in mm-dd-yy format.

                            2.4.5-RELEASE-p1 (amd64)
                            Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                            Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                            QinnQ 1 Reply Last reply Reply Quote 0
                            • QinnQ
                              Qinn @RonpfS
                              last edited by Qinn

                              @ronpfs please take a look at the logging in extras.log above and below, that can't be as there is no 15 month ...🙃

                              Download Process Ended [ 10/15/16 08:18:40 ]
                              

                              Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                              Firmware: Latest-stable-pfSense CE (amd64)
                              Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                              RonpfSR 1 Reply Last reply Reply Quote 0
                              • RonpfSR
                                RonpfS @Qinn
                                last edited by

                                @qinn And you care about 2016 events ? 😜

                                2.4.5-RELEASE-p1 (amd64)
                                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                                QinnQ 1 Reply Last reply Reply Quote 0
                                • QinnQ
                                  Qinn @RonpfS
                                  last edited by

                                  @ronpfs ROFL ;)

                                  Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                  Firmware: Latest-stable-pfSense CE (amd64)
                                  Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                  1 Reply Last reply Reply Quote 0
                                  • QinnQ
                                    Qinn
                                    last edited by Qinn

                                    Somehow this won't go away, last Maxmind is 7 june and still pfBlockerNG did not update it. Is there anyway to restore the "automatic updates" or do I have to remove and reinstall the package?

                                    0_1532498621196_Maxmind.png

                                    Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                    Firmware: Latest-stable-pfSense CE (amd64)
                                    Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                    1 Reply Last reply Reply Quote 0
                                    • BBcan177B
                                      BBcan177 Moderator
                                      last edited by BBcan177

                                      Did you check to see if something is blocking access to MaxMind web site? Another possibility is that MaxMind is blocking your IP or rate limiting it for some reason...

                                      Does MaxMind resolve?

                                      host -t A geolite.maxmind.com
                                      

                                      Can you download from this URL in a browser window:

                                      https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
                                      

                                      Did you check the pfBlockerNG error.log?

                                      If you run the updater script, do you get any errors?

                                      php /usr/local/www/pfblockerng/pfblockerng.php dc
                                      

                                      Try the latest pfBlockerNG-devel version and see if that solves your issue....

                                      "Experience is something you don't get until just after you need it."

                                      Website: http://pfBlockerNG.com
                                      Twitter: @BBcan177  #pfBlockerNG
                                      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                                      QinnQ 1 Reply Last reply Reply Quote 1
                                      • QinnQ
                                        Qinn @BBcan177
                                        last edited by Qinn

                                        First a big thanks for you help and time, now to your advise, it gave the following results:

                                        1. Yes, MaxMind did resolve
                                        code[2.4.3-RELEASE][root@pfSense.localdomain]/root: host -t A geolite.maxmind.com
                                        geolite.maxmind.com has address 104.16.37.47
                                        geolite.maxmind.com has address 104.16.38.47
                                        
                                        
                                        1. Yes, I can download the file GeoIP.dat.gz

                                        2. I added the files

                                        /var/log/pfblockerng/extras.log and error.log
                                        

                                        0_1532592170771_pfblokcerNG.7z

                                        I don't see anything out of the ordinary in these two, but I'm not a dev 😉 The 2 last updatesof MaxMind that are mentioned in the logs, where the result of a manually update using

                                        code php -f /usr/local/www/pfblockerng/pfblockerng.php dc
                                        

                                        My best guess is that if the MaxMind update is a cron job, it's not working anymore, a:

                                        code crontab -l
                                        

                                        results in:

                                        code crontab: no crontab for root
                                        

                                        So my last straw would be changing the update settings to the latest development and installing it, but I don't like unsolved cases (sorry that's me 🤓 ) is there anything more I could look into, as I still don't get how MaxMind is updated as it doesn't seem to be a cron job?

                                        btw From what I've read, when I want to move over to the latest dev of pfblockerNG I have to first deinstall pfblockerNG and then install the dev version and all settings will be restored, is this the right way to move over to the dev version?

                                        Cheers Qinn

                                        Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                        Firmware: Latest-stable-pfSense CE (amd64)
                                        Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kpa
                                          last edited by

                                          PfSense doesn't have user specific crontabs ( for reasons that I have hard time understanding myself) and the only crontab on the system is the /etc/crontab file.

                                          QinnQ 1 Reply Last reply Reply Quote 1
                                          • QinnQ
                                            Qinn @kpa
                                            last edited by Qinn

                                            @kpa Thanks for pointing that one out to me, awaiting BBcan177 advise on how to proceed, hoping he can do something with the results and logs I provided.

                                            Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                            Firmware: Latest-stable-pfSense CE (amd64)
                                            Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

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