Actions
Bug #1991
closedURL Table aliases issue after config restore
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Rules / NAT
Target version:
-
Start date:
11/04/2011
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
Description
In a freshly installed 2.0 system, when restoring a previous config.xml, there seems to be an issue with error-handling when creating a table alias file under /var/db/aliastables/
Excerpt from config.xml
<alias> <name>spamhaus_drop</name> <url>http://www.domain.tld/sample-net4096-8host-subnets2.txt</url> <updatefreq>7</updatefreq> <address/> <descr><![CDATA[SpamHaus DROP (Don't Route Or Peer)]]></descr> <type>urltable</type> <detail/> </alias>
results in a /var/db/aliastables/spamhaus_drop.txt
grep: /var/db/aliastables/spamhaus_drop.txt.tmp: No such file or directory
And a filter reload error of:
There were error(s) loading the rules: no IP address found for grep:/tmp/rules.debug:30: file "/var/db/aliastables/spamhaus_drop.txt" contains bad data pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [ /tmp/rules.debug]: ...
Updated by Chris Buechler over 13 years ago
- Subject changed from Error-handling of URL Table alias to URL Table aliases issue after config restore
- Category set to Rules / NAT
Updated by Chris Buechler about 9 years ago
- Status changed from New to Resolved
that was fixed long ago
Actions