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

    PfBlockerNG-devel 2.1.2

    Scheduled Pinned Locked Moved pfBlockerNG
    47 Posts 14 Posters 14.5k 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.
    • RonpfSR
      RonpfS
      last edited by

      https://forum.netgate.com/topic/132659/php-warning-illegal-string-offset-vip-in-usr-local-pkg-pfblockerng-pfblockerng-inc-on-line-1128

      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
      • O
        Okijames @BBcan177
        last edited by

        @bbcan177

        amd64
        11.1-RELEASE-p10
        FreeBSD 11.1-RELEASE-p10 #13 r313908+293707af843(RELENG_2_4): Thu May 10 15:09:24 CDT 2018 root@buildbot2.netgate.com:/builder/ce-243/tmp/obj/builder/ce-243/tmp/FreeBSD-src/sys/pfSense

        Crash report details:

        PHP Errors:
        [11-Jul-2018 17:37:26 America/Los_Angeles] PHP Fatal error: Call to a member function bindValue() on boolean in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 4053
        [11-Jul-2018 17:37:28 America/Los_Angeles] PHP Fatal error: Call to a member function bindValue() on boolean in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3958
        [11-Jul-2018 17:37:28 America/Los_Angeles] PHP Fatal error: Call to a member function bindValue() on boolean in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3958

        No FreeBSD crash data found.

        Details: This is on an APU2 and corresponds with (Jul 11 17:37:23 kernel pid 41538 (php), uid 0 inumber 6266 on /var: filesystem full) . I used default pfsense partitioning during installation and /var is 58MB. This on a 256GB mSATA SSD with >200GB free in /. Good times! :)

        @netgate-james Did changing wal to delete fix the issue for you?

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Okijames
          last edited by

          @okijames said in PfBlockerNG-devel 2.1.2:

          @bbcan177

          amd64
          11.1-RELEASE-p10
          FreeBSD 11.1-RELEASE-p10 #13 r313908+293707af843(RELENG_2_4): Thu May 10 15:09:24 CDT 2018 root@buildbot2.netgate.com:/builder/ce-243/tmp/obj/builder/ce-243/tmp/FreeBSD-src/sys/pfSense

          Crash report details:

          PHP Errors:
          [11-Jul-2018 17:37:26 America/Los_Angeles] PHP Fatal error: Call to a member function bindValue() on boolean in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 4053
          [11-Jul-2018 17:37:28 America/Los_Angeles] PHP Fatal error: Call to a member function bindValue() on boolean in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3958
          [11-Jul-2018 17:37:28 America/Los_Angeles] PHP Fatal error: Call to a member function bindValue() on boolean in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3958

          No FreeBSD crash data found.

          Details: This is on an APU2 and corresponds with (Jul 11 17:37:23 kernel pid 41538 (php), uid 0 inumber 6266 on /var: filesystem full) . I used default pfsense partitioning during installation and /var is 58MB. This on a 256GB mSATA SSD with >200GB free in /. Good times! :)

          @netgate-james Did changing wal to delete fix the issue for you?

          See: https://forum.netgate.com/post/775962

          The crashes are fewer and farther between, on a recent (not current) 2.4.4 snap (before php56 went to php72).

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

            @okijames said in PfBlockerNG-devel 2.1.2:

            @netgate-james Did changing wal to delete fix the issue for you?

            If you have already changed "wal" to "delete" and are still experiencing those issues, can you try the following:

            Delete the sqlite dbs and run a Force Reload - All to rebuild them.

            rm /var/db/pfblockerng/dnsbl.sqlite*
            rm /var/db/pfblockerng/dnsbl_cache.sqlite*
            rm /var/db/pfblockerng/dnsbl_levent.sqlite*
            

            "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/

            1 Reply Last reply Reply Quote 0
            • O
              Okijames @A Former User
              last edited by

              I have 4GB RAM so increasing /var RAMDISK to see what happens.

              O 1 Reply Last reply Reply Quote 0
              • O
                Okijames @Okijames
                last edited by

                Holding strong and working great at 26% of 250GB on /var.

                1 Reply Last reply Reply Quote 0
                • B
                  bbrendon @bbrendon
                  last edited by bbrendon

                  @bbrendon said in PfBlockerNG-devel 2.1.2:

                  Any idea when this new version is going to be a "non-devel" version?

                  I ask because 2.1 has some really annoying bugs. I'm trying to decide how long I should hold out or just install the devel version.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jacotec @bbrendon
                    last edited by

                    @bbrendon said in PfBlockerNG-devel 2.1.2:

                    I ask because 2.1 has some really annoying bugs. I'm trying to decide how long I should hold out or just install the devel Version

                    Same here, I went for the devel 2 weeks ago and I'm happy so far.
                    Take care to switch the update branch to "unstable" first and grab the devel from there, then you can switch the update branch back to stable (no need to go to unstable with pfSense itself).

                    Uninstall the 2.1 first, your settings will be preserved. I made a snapshot of my pfSense VM first so I felt really safe ;-)

                    1 Reply Last reply Reply Quote 0
                    • 4
                      4ROMANY
                      last edited by

                      I've been having similar issues with this error:
                      /usr/local/pkg/pfblockerng/pfblockerng.inc: New alert found: PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 3958, Message: Call to a member function bindValue() on boolean.

                      Been happening for some time - not sure when it started - but I'm currently running 2.4.4-Dev. I made the change that was suggested - changing "wals" to "delete" - so I'll try to report back in a few days. When this PHP issue occurred CPU load for the PHP process would be very high - to the point you could not log in even via serial console. Most of the time you could log in but could not do anything - even reboot seems to hang.

                      4 1 Reply Last reply Reply Quote 0
                      • 4
                        4ROMANY @4ROMANY
                        last edited by

                        @4romany

                        So been about a week now and changing "journal_mode = delete" seems to have fixed my issue.

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

                          @4romany

                          Thanks for the feedback. I still can figure out why the "wal" setting is fine for most users, but not others....

                          "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/

                          1 Reply Last reply Reply Quote 0
                          • O
                            Okijames
                            last edited by

                            Just a follow up from last month.

                            Still working fine with stock "wal" setting after I increased /var RAMDISK from 60MB to 250MB. FWIW /var is currently showing about 75MB used so I am assuming the "filesystem full" issue would have continued to trigger the aforementioned PfBlocker crashes.

                            Guessing that "delete" consumes less /var space?

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

                              @okijames said in PfBlockerNG-devel 2.1.2:

                              Just a follow up from last month.
                              Still working fine with stock "wal" setting after I increased /var RAMDISK from 60MB to 250MB. FWIW /var is currently showing about 75MB used so I am assuming the "filesystem full" issue would have continued to trigger the aforementioned PfBlocker crashes.
                              Guessing that "delete" consumes less /var space?

                              These SQL db's are tiny and shouldn't take much space:

                              ls -lah /var/db/pfblockerng/dnsbl*.*
                              

                              Would be great if others chimed in on their pfSense version/Hardware/etc...

                              "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/

                              4 1 Reply Last reply Reply Quote 0
                              • O
                                Okijames
                                last edited by

                                You're right the dbs are tiny. Other files in the referenced dir really add some bulk. I'm probably overdoing it with the number of feeds. :) See du -ch ouput below.

                                For reference, running 2.4.3 on APU2 with 4GB RAM and 250GB MSATA drive. Default /var was 60MB and encountered the crashes noted above coincident with /var full messages. Expanded /var to 250MB, presently running at 75MB used, and having no further crashes.

                                ls -lah /var/db/pfblockerng/dnsbl*.*
                                -rw-r--r-- 1 root wheel 8.0K Aug 2 21:16 /var/db/pfblockerng/dnsbl.sqlite
                                -rw-r--r-- 1 root wheel 8.0K Aug 2 21:13 /var/db/pfblockerng/dnsbl_cache.sqlite
                                -rw-r--r-- 1 root wheel 12K Aug 2 21:16 /var/db/pfblockerng/dnsbl_levent.sqlite

                                du -ch /var/db/pfblockerng/
                                4.0K /var/db/pfblockerng/match
                                4.0K /var/db/pfblockerng/ET
                                348K /var/db/pfblockerng/original
                                4.0K /var/db/pfblockerng/native
                                348K /var/db/pfblockerng/deny
                                4.0K /var/db/pfblockerng/permit
                                6.5M /var/db/pfblockerng/dnsbl
                                9.6M /var/db/pfblockerng/dnsblorig
                                6.2M /var/db/pfblockerng/dnsblalias
                                24M /var/db/pfblockerng/
                                24M total

                                1 Reply Last reply Reply Quote 0
                                • 4
                                  4ROMANY @BBcan177
                                  last edited by

                                  @bbcan177

                                  2.4.4-DEVELOPMENT (amd64)
                                  built on Fri Jul 27 07:50:35 EDT 2018
                                  FreeBSD 11.2-RELEAS

                                  Intel(R) Celeron(R) CPU 3215U @ 1.70GHz
                                  2 CPUs: 1 package(s) x 2 core(s)
                                  AES-NI CPU Crypto: No

                                  I started having the PHP error issue when up upgraded to DEV - some weeks back. At the same time I redid the way I had PFBLOCKERNG set up (also upgraded that to pfBlockerNG-devel). So far with the "delete" set I've been stable since July 26th...

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    alverman
                                    last edited by

                                    Good morning, me too keeps going out of sync. As read above there may be duplicate entries but I can't find them in the log.
                                    Could you help me to see my log?
                                    Thanks, Alberto

                                    my log at this link link text

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