pfSense Plus and SG-3100
-
@mcury thanks for the help, i am not seeing the php errors anymore. :)
-
Can I change the maximum memory consumption for php somewhere? Seems the 3100 has plenty of memory left for some more lists?
-
I sadly was wrong, just did not pay well enough attention (and probably was hoping it was fixed). I still see the errors every 15 minutes.
-
Unfortunately this is not directly a memory issue that could be solved like that as I understand it.
-
@nocling Is Snort fixed in this version?
-
@nokkief said in pfSense Plus and SG-3100:
I sadly was wrong, just did not pay well enough attention (and probably was hoping it was fixed). I still see the errors every 15 minutes.
Strange, I'm not getting those here.. More than a week running pfblocker, in several vlans..
15 minutes? Do you have a cron set to run every 15 minutes?
-
@biggy823 said in pfSense Plus and SG-3100:
@nocling Is Snort fixed in this version?
No. Snort and Suricata both are still victims of the PHP bug on ARM 32-bit hardware such as the SG-3100.
-
@mcury Not that I am aware of. Where can I see the cronjobs listed for the pfSense? crontab -l shows no cronjobs for root
cat of /etc/crontab shows
*/1 * * * * root /usr/sbin/newsyslog -
@nokkief said in pfSense Plus and SG-3100:
@mcury Not that I am aware of. Where can I see the cronjobs listed for the pfSense? crontab -l shows no cronjobs for root
cat of /etc/crontab shows
*/1 * * * * root /usr/sbin/newsyslogThere is a package in package manager, cron
Install cron and check what is running every 15 minutes.. It will show all cron tasks
Did you set pfblockerng to update the lists every 15 minutes? -
@mcury No, once a day. I will instal cron and see what it does
-
Looks like it's doing this
0,15,30,45 * * * * root /etc/rc.filter_configure_sync -
@nokkief said in pfSense Plus and SG-3100:
Looks like it's doing this
0,15,30,45 * * * * root /etc/rc.filter_configure_synchm.. are you on 21.02 p2, right?
Because the problem with filter reload was happening only in 21.02 p1 -
@mcury Yeah, I am
21.02.2-RELEASE (arm)
built on Mon Apr 12 07:50:07 EDT 2021
FreeBSD 12.2-STABLEThe system is on the latest version.
Version information updated at Mon Apr 26 9:02:50 CEST 2021 -
@nokkief said in pfSense Plus and SG-3100:
@mcury Yeah, I am
21.02.2-RELEASE (arm)
built on Mon Apr 12 07:50:07 EDT 2021
FreeBSD 12.2-STABLEThe system is on the latest version.
Version information updated at Mon Apr 26 9:02:50 CEST 2021hm, it is strange..
now I'm not sure if there is something particular about your setup that is triggering it, or if I'm not triggering it by luck and this bug is waiting to happen here, hidden..Edit: Did you enable these options in DNS Resolver?
-
@mcury No, but I did enable the python module. But with or without is not making a difference.
-
@bmeeks said in pfSense Plus and SG-3100:
PHP bug on ARM 32-bit
Has anyone tried rebuilding php from source for the 3100? I am still stuck on 2.4.5p1 because we use suricata. If I wanted just a router firewall without any NGFW stuff I could have build an openwrt box.
-
@stephenw10 we've had issues with several SG-3100s upgrading them to pfSense 21.02.2, just working on one right now. I just tried clearing all the files in
/var/db/aliastables
to ensure that it wasn't a large table causing the issue but after a reboot I am still seeingkernel: pid 404 (php-cgi), jid 0, uid 0: exited on signal 11 (core dumped)
The two symptoms I've seen after multiple SG-3100 upgrades is that
- The default gateway is missing
- When connecting via console the menu interface doesn't load and it jumps straight to a shell.
Am I correct in there being no workaround at this time for these SG-3100 issues?
-
I just found that commenting out the following lines from
/etc/rc.bootup
resolved the php-cgi crash issue and on reboot both the default route and console are working correctly.
I figured it must be OpenVPN because of when the error shows up in system.log.//echo "Syncing OpenVPN settings..."; //openvpn_resync_all(); //echo "done.\n";
Still need to determine what about OpenVPN would be triggering this.
-
@artooro Thanks, I will give it a try and see if it 'fixes' the error for me too.
-
Doesn't look like it helped anything. After another reboot php-cgi started to core dump when simply syncing the firewall. Now getting
Configuring firewall.Segmentation fault (core dumped)
So far we've had to re-install the OS on quite a few SG-3100 appliances and currently have a policy of keeping them on 2.4.5-p1 until there is a more stable pfSense release.