Issue with PFBlocker v2.1.4_11



  • I received the following crash report after upgrading PFBlocker. I cannot view the alerts page. It looks like PFBlocker is trying to display a IPv6 address as an IPv4 address.

    Crash report begins.  Anonymous machine information:
    
    amd64
    11.2-RELEASE-p3
    FreeBSD 11.2-RELEASE-p3 #17 e6b497fa0a3(RELENG_2_4_4): Thu Sep 20 09:04:45 EDT 2018     root@buildbot3:/crossbuild/ce-244/obj/amd64/WvDslnYb/crossbuild/ce-244/pfSense/tmp/FreeBSD-src/sys/pfSense
    
    Crash report details:
    
    PHP Errors:
    [26-Sep-2018 10:37:26 America/New_York] PHP Fatal error:  Uncaught ArithmeticError: Bit shift by negative number in /etc/inc/util.inc:850
    Stack trace:
    #0 /usr/local/www/pfblockerng/pfblockerng_alerts.php(446): subnetv4_expand('fdee:470:8d72:9...')
    #1 {main}
      thrown in /etc/inc/util.inc on line 850
    [26-Sep-2018 10:37:30 America/New_York] PHP Fatal error:  Uncaught ArithmeticError: Bit shift by negative number in /etc/inc/util.inc:850
    Stack trace:
    #0 /usr/local/www/pfblockerng/pfblockerng_alerts.php(446): subnetv4_expand('fdee:470:8d72:9...')
    #1 {main}
      thrown in /etc/inc/util.inc on line 850
    [26-Sep-2018 10:37:43 America/New_York] PHP Fatal error:  Uncaught ArithmeticError: Bit shift by negative number in /etc/inc/util.inc:850
    Stack trace:
    #0 /usr/local/www/pfblockerng/pfblockerng_alerts.php(446): subnetv4_expand('fdee:470:8d72:9...')
    #1 {main}
      thrown in /etc/inc/util.inc on line 850
    
    
    No FreeBSD crash data found.
    


  • Same problem here with pfSesnse 2.4.4 and PFBlocker v2.1.4_11

    [26-Sep-2018 16:41:23 Europe/Paris] PHP Fatal error:  Uncaught ArithmeticError: Bit shift by negative number in /etc/inc/util.inc:850
    Stack trace:
    #0 /usr/local/www/pfblockerng/pfblockerng_alerts.php(446): subnetv4_expand('2a00:1788:100:b...')
    #1 {main}
      thrown in /etc/inc/util.inc on line 850
    [26-Sep-2018 16:41:26 Europe/Paris] PHP Fatal error:  Uncaught ArithmeticError: Bit shift by negative number in /etc/inc/util.inc:850
    Stack trace:
    #0 /usr/local/www/pfblockerng/pfblockerng_alerts.php(446): subnetv4_expand('2a00:1788:100:b...')
    #1 {main}
      thrown in /etc/inc/util.inc on line 850
    [26-Sep-2018 16:41:29 Europe/Paris] PHP Fatal error:  Uncaught ArithmeticError: Bit shift by negative number in /etc/inc/util.inc:850
    Stack trace:
    #0 /usr/local/www/pfblockerng/pfblockerng_alerts.php(446): subnetv4_expand('2a00:1788:100:b...')
    #1 {main}
      thrown in /etc/inc/util.inc on line 850
    

  • Moderator

    From pfSense > Diagnostics > Command Prompt Can you post the output of these commands:

    print_r($config['interfaces']);
    print_r($config['virtualip']);
    

    You can PM the results or redact them...



  • @bbcan177 said in Issue with PFBlocker v2.1.4_11:

    print_r($config['interfaces']);
    print_r($config['virtualip']);

    PM'ed you my list


  • Moderator