https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162018-09-16T10:51:20ZpfSense bugtrackerpfSense Packages - Bug #8903: pfBlockerNG: PHP errorhttps://redmine.pfsense.org/issues/8903?journal_id=383892018-09-16T10:51:20ZSteve Wheeler
<ul></ul><p>Sorry clipped the line in the copy there. Actual warning is:</p>
<pre>
[16-Sep-2018 16:45:55 Europe/London] PHP Warning: Illegal string offset 'rule' in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 1146
</pre> pfSense Packages - Bug #8903: pfBlockerNG: PHP errorhttps://redmine.pfsense.org/issues/8903?journal_id=383902018-09-16T13:07:08ZSteve Wheeler
<ul></ul><p>This error looks to be triggering an unrequired config update:</p>
<pre>
--- /conf/backup/config-1537119183.xml 2018-09-16 18:33:05.281034000 +0100
+++ /conf/backup/config-1537119185.xml 2018-09-16 18:33:06.918551000 +0100
@@ -941,8 +941,8 @@
<sequence>system_information:col1:open:0,interfaces:col2:open:0,services_status:col2:open:0,gateways:col2:open:0,ipsec:col2:open:0,pfblockerng:col3:open:0,suricata_alerts:col3:open:0</sequence>
</widgets>
<revision>
- <time>1537119183</time>
- <description><![CDATA[(system): pfBlockerNG: saving earlyshellcmd]]></description>
+ <time>1537119185</time>
+ <description><![CDATA[(system): pfBlockerNG: saving DNSBL changes]]></description>
<username>(system)</username>
</revision>
<openvpn>
</pre> pfSense Packages - Bug #8903: pfBlockerNG: PHP errorhttps://redmine.pfsense.org/issues/8903?journal_id=383922018-09-16T20:11:43ZBBcan177 .bbcan177@gmail.com
<ul></ul><p>Steve, Are you sure this is not from pfBlockerNG-devel?</p>
<p><a class="external" href="https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L1146">https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L1146</a></p>
<p>The pfBlockerNG version doesn't have 'rule' at that line?<br /><a class="external" href="https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L1146">https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L1146</a></p>
<p>I can make this change in both version to be safe.</p> pfSense Packages - Bug #8903: pfBlockerNG: PHP errorhttps://redmine.pfsense.org/issues/8903?journal_id=383932018-09-16T22:33:30ZBBcan177 .bbcan177@gmail.com
<ul></ul><p>Posted two PR to fix these issues and add other improvements.</p>
<p><a class="external" href="https://github.com/pfsense/FreeBSD-ports/pull/567">https://github.com/pfsense/FreeBSD-ports/pull/567</a><br /><a class="external" href="https://github.com/pfsense/FreeBSD-ports/pull/569">https://github.com/pfsense/FreeBSD-ports/pull/569</a></p>
<p>Note: It doesn't address the <strong>earlyshellcmd</strong> issue as I am not sure if that is a pfBlockerNG issue?</p> pfSense Packages - Bug #8903: pfBlockerNG: PHP errorhttps://redmine.pfsense.org/issues/8903?journal_id=383962018-09-17T05:43:20ZSteve Wheeler
<ul></ul><p>Sorry, you're right, this is the -devel package. I'd forgotten I'd installed that.</p>
<p>I agree the earlyshellcmd issue looks to be a problem with shellcmd not pfBlocker.</p> pfSense Packages - Bug #8903: pfBlockerNG: PHP errorhttps://redmine.pfsense.org/issues/8903?journal_id=415972019-08-16T13:29:20ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>PR was merged a long time ago.</p>