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

string offset error

Scheduled Pinned Locked Moved pfBlockerNG
4 Posts 2 Posters 721 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.
  • S
    SLIMaxPower
    last edited by Jul 1, 2018, 9:42 AM

    Re: Pfblockerng php error

    Posted this before and havn't been able to resolve it.

    It occurs hourly.
    PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 3220, Message: Cannot unset string offsets

    if (empty($list['row'] [0] ['url'])) {
    unset($list['row']);
    }

    1 Reply Last reply Reply Quote 0
    • B
      BBcan177 Moderator
      last edited by Jul 1, 2018, 4:07 PM

      This is already fixed in the pfBlockerNG-devel version.
      https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L4722

      "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
      • S
        SLIMaxPower
        last edited by Jul 3, 2018, 10:23 AM

        ok that's sorted :thumbup:

        So after an update and reboot I am getting curl error 28 on quite a few dnsbl feeds when updating or cron.
        youtube was being blocked, but not google or gmail etc.

        Copying the dnsbl link into chrome browser had a security threat that I had to accept (pfblockerng-devel) I assume. Other times the block can't be bypassed.

        That means some update of threat lists aren't being downloaded due to a similar issue ?

        1 Reply Last reply Reply Quote 0
        • B
          BBcan177 Moderator
          last edited by Jul 4, 2018, 2:32 AM

          @slimaxpower said in string offset error:

          So after an update and reboot I am getting curl error 28 on quite a few dnsbl feeds when updating or cron.
          youtube was being blocked, but not google or gmail etc.

          Something is blocking the Feed download. Review the Alerts/Reports tab to see what it could be.

          You can check if DNSBL is blocking the domain with a ping command and if it replies with the DNSBL VIP. Or check the "Deny" Table to see if its being blocked by an IP Block.

          "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
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received