pfBlockerNG-devel pfblockerng.inc PHP error
-
Crash report begins. Anonymous machine information: amd64 14.0-CURRENT FreeBSD 14.0-CURRENT #0 plus-devel-main-n255986-3bd16e10358: Thu Nov 24 06:28:17 UTC 2022 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/obj/amd64/4mJfJuVG/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/sources/FreeBS Crash report details: PHP Errors: [25-Nov-2022 01:23:03 Europe/Tallinn] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /usr/local/pkg/pfblockerng/pfblockerng.inc:2681 Stack trace: #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(2681): fclose(NULL) #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(2915): tld_analysis() #2 /usr/local/pkg/pfblockerng/pfblockerng.inc(8127): pfb_update_unbound('enabled', false, false) #3 /usr/local/www/pfblockerng/pfblockerng.php(544): sync_package_pfblockerng('cron') #4 /usr/local/www/pfblockerng/pfblockerng.php(145): pfblockerng_sync_cron() #5 {main} thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 2681 No FreeBSD crash data found.
-
@w0w This will be fixed in the next version
-
@bbcan177
Next version, 3.1.0_11, snapshot too.Crash report begins. Anonymous machine information: amd64 14.0-CURRENT FreeBSD 14.0-CURRENT #0 plus-devel-main-n255989-7820c8907c1: Tue Nov 29 06:29:33 UTC 2022 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/obj/amd64/8GxaLhZq/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/sources/FreeBS Crash report details: PHP Errors: [30-Nov-2022 01:04:55 Europe/Tallinn] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /usr/local/pkg/pfblockerng/pfblockerng.inc:2681 Stack trace: #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(2681): fclose(NULL) #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(2915): tld_analysis() #2 /usr/local/pkg/pfblockerng/pfblockerng.inc(8127): pfb_update_unbound('enabled', false, false) #3 /usr/local/www/pfblockerng/pfblockerng.php(544): sync_package_pfblockerng('cron') #4 /usr/local/www/pfblockerng/pfblockerng.php(145): pfblockerng_sync_cron() #5 {main} thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 2681 [30-Nov-2022 02:05:03 Europe/Tallinn] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /usr/local/pkg/pfblockerng/pfblockerng.inc:2681 Stack trace: #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(2681): fclose(NULL) #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(2915): tld_analysis() #2 /usr/local/pkg/pfblockerng/pfblockerng.inc(8127): pfb_update_unbound('enabled', false, false) #3 /usr/local/www/pfblockerng/pfblockerng.php(544): sync_package_pfblockerng('cron') #4 /usr/local/www/pfblockerng/pfblockerng.php(145): pfblockerng_sync_cron() #5 {main} thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 2681 [30-Nov-2022 03:04:54 Europe/Tallinn] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /usr/local/pkg/pfblockerng/pfblockerng.inc:2681 Stack trace: #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(2681): fclose(NULL) #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(2915): tld_analysis() #2 /usr/local/pkg/pfblockerng/pfblockerng.inc(8127): pfb_update_unbound('enabled', false, false) #3 /usr/local/www/pfblockerng/pfblockerng.php(544): sync_package_pfblockerng('cron') #4 /usr/local/www/pfblockerng/pfblockerng.php(145): pfblockerng_sync_cron() #5 {main} thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 2681 [30-Nov-2022 04:05:01 Europe/Tallinn] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /usr/local/pkg/pfblockerng/pfblockerng.inc:2681 Stack trace: #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(2681): fclose(NULL) #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(2915): tld_analysis() #2 /usr/local/pkg/pfblockerng/pfblockerng.inc(8127): pfb_update_unbound('enabled', false, false) #3 /usr/local/www/pfblockerng/pfblockerng.php(544): sync_package_pfblockerng('cron') #4 /usr/local/www/pfblockerng/pfblockerng.php(145): pfblockerng_sync_cron() #5 {main} thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 2681 [30-Nov-2022 05:05:03 Europe/Tallinn] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /usr/local/pkg/pfblockerng/pfblockerng.inc:2681 Stack trace: #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(2681): fclose(NULL) #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(2915): tld_analysis() #2 /usr/local/pkg/pfblockerng/pfblockerng.inc(8127): pfb_update_unbound('enabled', false, false) #3 /usr/local/www/pfblockerng/pfblockerng.php(544): sync_package_pfblockerng('cron') #4 /usr/local/www/pfblockerng/pfblockerng.php(145): pfblockerng_sync_cron() #5 {main} thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 2681 No FreeBSD crash data found.
-
Hmm... I have two firewalls running same version of pfSense version and pfblockng. But those errors apeearing only on the one of them. That's strange.
-
@w0w
This error appears when unbound mode and live sync are selected on DNSBL settings, not always, can not reproduce this error on other firewall. This does not happen with python mode enabled.