<?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[PFTPX failing to restart after filter reload : snapshot 03-15-2007]]></title><description><![CDATA[<p dir="auto">I've had several cases recently where errors in filters caused them to not reload correctly. I go fix the filter issues, then find that pftpx isn't running anymore.. It stopped to reload the filter, then was never restarted.</p>
<p dir="auto">Aside from fixing that issue, it sounds like pftpx needs to be on some sort of "monitored process" list to make sure it stays running.</p>
<p dir="auto">Anyway, here's the log snippets (gotta love oldest first)</p>
<blockquote>
<p dir="auto">Mar 25 21:52:07 php: : There were error(s) loading the rules: /tmp/rules.debug:159: port only applies to tcp/udp /tmp/rules.debug:159: skipping rule due to errors /tmp/rules.debug:159: rule expands to no valid combination /tmp/rules.debug:160: port only applies to tcp/udp /tmp/rules.debug:160: skipping rule due to errors /tmp/rules.debug:160: rule expands to no valid combination /tmp/rules.debug:161: port only applies to tcp/udp /tmp/rules.debug:161: skipping rule due to errors /tmp/rules.debug:161: rule expands to<br />
Mar 25 21:52:07 php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:159: port only applies to tcp/udp /tmp/rules.debug:159: skipping rule due to errors /tmp/rules.debug:159: rule expands to no valid combination /tmp/rules.debug:160: port only applies to tcp/udp /tmp/rules.debug:160: skipping rule due to errors /tmp/rules.debug:160: rule expands to no valid combination /tmp/rules.debug:161: port only applies to tcp/udp /tmp/rules.debug:161: skipping rule due to errors /tmp/rules.debug:161:<br />
Mar 25 21:52:05 check_reload_status: reloading filter<br />
Mar 25 21:50:55 php: : There were error(s) loading the rules: /tmp/rules.debug:159: port only applies to tcp/udp /tmp/rules.debug:159: skipping rule due to errors /tmp/rules.debug:159: rule expands to no valid combination /tmp/rules.debug:160: port only applies to tcp/udp /tmp/rules.debug:160: skipping rule due to errors /tmp/rules.debug:160: rule expands to no valid combination /tmp/rules.debug:161: port only applies to tcp/udp /tmp/rules.debug:161: skipping rule due to errors /tmp/rules.debug:161: rule expands to<br />
Mar 25 21:50:55 php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:159: port only applies to tcp/udp /tmp/rules.debug:159: skipping rule due to errors /tmp/rules.debug:159: rule expands to no valid combination /tmp/rules.debug:160: port only applies to tcp/udp /tmp/rules.debug:160: skipping rule due to errors /tmp/rules.debug:160: rule expands to no valid combination /tmp/rules.debug:161: port only applies to tcp/udp /tmp/rules.debug:161: skipping rule due to errors /tmp/rules.debug:161:<br />
Mar 25 21:50:53 check_reload_status: reloading filter<br />
Mar 25 21:50:43 pftpx[649]: pftpx exiting on signal 15<br />
Mar 25 21:50:43 pftpx[649]: pftpx exiting on signal 15</p>
</blockquote>
<p dir="auto">For what it's worth, the "errors" were caused by the wizard creating a rule that wasn't set explicitly for TCP or UDP, but it needed to be.  (I think it was for bittorrent in this case). I went in and changed the rule to TCP, the created a second for UDP, and the filter errors went away.</p>
]]></description><link>https://forum.netgate.com/topic/3988/pftpx-failing-to-restart-after-filter-reload-snapshot-03-15-2007</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 19:14:10 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/3988.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Mar 2007 17:05:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PFTPX failing to restart after filter reload : snapshot 03-15-2007 on Wed, 11 Apr 2007 16:48:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hoba">@<bdi>hoba</bdi></a>:</p>
<blockquote>
<p dir="auto">Rerunning the wizard should always get you the latest version. Maybe remove the trafficshaper ruleset first and rerun the wizard again next time.</p>
</blockquote>
<p dir="auto">I'll try that tonight. Thanks for the feedback so far.</p>
]]></description><link>https://forum.netgate.com/post/152875</link><guid isPermaLink="true">https://forum.netgate.com/post/152875</guid><dc:creator><![CDATA[Blammo]]></dc:creator><pubDate>Wed, 11 Apr 2007 16:48:00 GMT</pubDate></item><item><title><![CDATA[Reply to PFTPX failing to restart after filter reload : snapshot 03-15-2007 on Tue, 10 Apr 2007 06:09:27 GMT]]></title><description><![CDATA[<p dir="auto">Rerunning the wizard should always get you the latest version. Maybe remove the trafficshaper ruleset first and rerun the wizard again next time.</p>
]]></description><link>https://forum.netgate.com/post/152779</link><guid isPermaLink="true">https://forum.netgate.com/post/152779</guid><dc:creator><![CDATA[hoba]]></dc:creator><pubDate>Tue, 10 Apr 2007 06:09:27 GMT</pubDate></item><item><title><![CDATA[Reply to PFTPX failing to restart after filter reload : snapshot 03-15-2007 on Tue, 10 Apr 2007 02:55:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sullrich">@<bdi>sullrich</bdi></a>:</p>
<blockquote>
<p dir="auto">The wizard was creating rules for tcp, not any.</p>
<p dir="auto">Are you sure you did not modify the wizards defaults?</p>
</blockquote>
<p dir="auto">I'm not sure I'd know how to modify the wizards defaults if I wanted to… :)</p>
<p dir="auto">If this helps, it wasn't a "clean" install, but I've upgrade from "1.01" through several of the "snapshots".</p>
<p dir="auto">If there's a way to restore the wizard to default, I'd like to, because right now after each time I upgrade, I re-run the wizard to be safe, then to repair the rules.</p>
]]></description><link>https://forum.netgate.com/post/152772</link><guid isPermaLink="true">https://forum.netgate.com/post/152772</guid><dc:creator><![CDATA[Blammo]]></dc:creator><pubDate>Tue, 10 Apr 2007 02:55:10 GMT</pubDate></item><item><title><![CDATA[Reply to PFTPX failing to restart after filter reload : snapshot 03-15-2007 on Thu, 05 Apr 2007 17:23:46 GMT]]></title><description><![CDATA[<p dir="auto">The wizard was creating rules for tcp, not any.</p>
<p dir="auto">Are you sure you did not modify the wizards defaults?</p>
]]></description><link>https://forum.netgate.com/post/152533</link><guid isPermaLink="true">https://forum.netgate.com/post/152533</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Thu, 05 Apr 2007 17:23:46 GMT</pubDate></item><item><title><![CDATA[Reply to PFTPX failing to restart after filter reload : snapshot 03-15-2007 on Thu, 05 Apr 2007 05:33:44 GMT]]></title><description><![CDATA[<p dir="auto">Unforunately those 3 lines are not currently broken, but I can tell you what they were.</p>
<p dir="auto">Bittorrent, up and download, which the wizard created without a protocol set, IE any.. yet there was port-ranges specified config, which is why it was complaining…</p>
<blockquote>
<p dir="auto">port only applies to tcp/udp /tmp/rules.debug</p>
</blockquote>
<p dir="auto">Now that I changed the rules to TCP, then added UDP rules, here's what those lines look like (obviously not broken now)</p>
<p dir="auto">pass in on  $wan proto udp from any  to 192.168.10.0/24 port 6881:6999  keep state tagged unshaped tag qP2PUp<br />
pass out on $lan proto udp from any to 192.168.10.0/24 port 6881:6999 keep state tagged qP2PUp tag qP2PDown<br />
pass in on  $wan proto tcp from any  to 192.168.10.0/24 port 6881:6999  keep state tagged unshaped tag qP2PUp<br />
pass out on $lan proto tcp from any to 192.168.10.0/24 port 6881:6999 keep state tagged qP2PUp tag qP2PDown</p>
]]></description><link>https://forum.netgate.com/post/152495</link><guid isPermaLink="true">https://forum.netgate.com/post/152495</guid><dc:creator><![CDATA[Blammo]]></dc:creator><pubDate>Thu, 05 Apr 2007 05:33:44 GMT</pubDate></item><item><title><![CDATA[Reply to PFTPX failing to restart after filter reload : snapshot 03-15-2007 on Thu, 29 Mar 2007 17:21:35 GMT]]></title><description><![CDATA[<p dir="auto">PFTPX is checked on every filter run.</p>
<p dir="auto">Open /tmp/rules.debug and show us what line 159, 160 and 161 look like.</p>
]]></description><link>https://forum.netgate.com/post/152109</link><guid isPermaLink="true">https://forum.netgate.com/post/152109</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Thu, 29 Mar 2007 17:21:35 GMT</pubDate></item></channel></rss>