<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Quickest way to reload pfBlockerNG rules?]]></title><description><![CDATA[<p dir="auto">What's the quickest way to reload the rules after making a change to the local rules?  For instance, if I add a domain to the TLD list it seems that the webgui way is Save that page, go to Update, select Reload and DNSBL then click the Run button.</p>
<p dir="auto">Is there a quicker way to do that from a command line?</p>
]]></description><link>https://forum.netgate.com/topic/111940/quickest-way-to-reload-pfblockerng-rules</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 03:45:41 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/111940.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Feb 2017 21:44:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Quickest way to reload pfBlockerNG rules? on Tue, 21 Feb 2017 22:06:41 GMT]]></title><description><![CDATA[<p dir="auto">Also, it won't display the log information from the shell… So while the reload task does complete... its not reporting that data to the shell... It's important to review the log for any issues...</p>
<p dir="auto">You would need to run a tail command in another window:</p>
<pre><code>tail -f /var/log/pfblockerng/pfblockerng.log
</code></pre>
]]></description><link>https://forum.netgate.com/post/681537</link><guid isPermaLink="true">https://forum.netgate.com/post/681537</guid><dc:creator><![CDATA[BBcan177]]></dc:creator><pubDate>Tue, 21 Feb 2017 22:06:41 GMT</pubDate></item><item><title><![CDATA[Reply to Quickest way to reload pfBlockerNG rules? on Tue, 21 Feb 2017 22:03:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bbcan177">@<bdi>BBcan177</bdi></a>:</p>
<blockquote>
<p dir="auto">Yes there is, but its not safe to do so… Reason being, that the Update Tab checks to see if there are any CRON tasks that are running, and it won't allow an Update/Reload while another task is currently executing... That will be messy with the database...</p>
<p dir="auto">And once you run a manual Update/Reload, it disengages any future Cron task, until the manual run has completed...</p>
<p dir="auto">However, if you are sure that cron <strong>is not running</strong>, or <strong>expected to run shortly</strong>, then:  ( Use at your own risk :)  )</p>
<pre><code>php /usr/local/www/pfblockerng/pfblockerng.php updatednsbl
</code></pre>
</blockquote>
<p dir="auto">Thanks, that'll help speed up troubleshooting and testing.</p>
]]></description><link>https://forum.netgate.com/post/681535</link><guid isPermaLink="true">https://forum.netgate.com/post/681535</guid><dc:creator><![CDATA[BiloxiGeek]]></dc:creator><pubDate>Tue, 21 Feb 2017 22:03:30 GMT</pubDate></item><item><title><![CDATA[Reply to Quickest way to reload pfBlockerNG rules? on Tue, 21 Feb 2017 21:55:40 GMT]]></title><description><![CDATA[<p dir="auto">Yes there is, but its not safe to do so… Reason being, that the Update Tab checks to see if there are any CRON tasks that are running, and it won't allow an Update/Reload while another task is currently executing... That will be messy with the database...</p>
<p dir="auto">And once you run a manual Update/Reload, it disengages any future Cron task, until the manual run has completed...</p>
<p dir="auto">However, if you are sure that cron <strong>is not running</strong>, or <strong>expected to run shortly</strong>, then:  ( Use at your own risk :)  )</p>
<pre><code>php /usr/local/www/pfblockerng/pfblockerng.php updatednsbl
</code></pre>
]]></description><link>https://forum.netgate.com/post/681531</link><guid isPermaLink="true">https://forum.netgate.com/post/681531</guid><dc:creator><![CDATA[BBcan177]]></dc:creator><pubDate>Tue, 21 Feb 2017 21:55:40 GMT</pubDate></item></channel></rss>