PHP Errors with Suricate 6.0.10_4
-
Hi, I just got the following crash with while configuring Suricate 6.0.10_4.
The crash happens, if I have enabled none in the "Select the rulesets (Categories) Suricata will load at startup" and the click on "LAN Rules". Once I enable one Ruleset there, I can switch to "LAN Rules" without a crash.
Crash report begins. Anonymous machine information:
amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #0 plus-RELENG_23_01-n256037-6e914874a5e: Fri Feb 10 20:30:29 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/obj/amd64/VDZvZksF/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSCrash report details:
PHP Errors:
[14-Mar-2023 18:36:06 Europe/Warsaw] PHP Fatal error: stripos(): Cannot use output buffering in output buffering display handlers in /usr/local/www/csrf/csrf-magic.php on line 149
[14-Mar-2023 18:38:55 Europe/Warsaw] PHP Fatal error: stripos(): Cannot use output buffering in output buffering display handlers in /usr/local/www/csrf/csrf-magic.php on line 149
[14-Mar-2023 18:41:03 Europe/Warsaw] PHP Fatal error: stripos(): Cannot use output buffering in output buffering display handlers in /usr/local/www/csrf/csrf-magic.php on line 149No FreeBSD crash data found.
-
Hmm...that crash is not coming from Suricata package code. The PHP file referenced there is part of the pfSense built-in cross-site request forgery code. That file is not included as part of the Suricata package.