Cannot create Host or Network type alias with an IP address/range
Affects 2.1.5 release as well as the latest 2.2 build - pfSense-LiveCD-2.2-BETA-amd64-20141015-1437.iso
Clean install or LiveCD boot.
Create new Host or Network type alias.
With FQDN only - pfctl -T show -t alias shows the resolved IP list.
Add IP/Network to the alias - pfctl -T show -t alias shows 'Table does not exist.'
Table is never created when using only IP/Network for alias.
Upgraded configurations from 2.1.x work, but new aliases created have the issue.
#1 Updated by Chris Buechler over 3 years ago
- Category set to Rules/NAT
- Status changed from New to Confirmed
- Priority changed from Normal to High
- Target version set to 2.2
Confirmed as described. Create a new host alias containing only "example.com", save and apply changes.
# host example.com example.com has address 126.96.36.199 example.com has IPv6 address 2606:2800:220:6d:26bf:1447:1097:aa7 # pfctl -t TestAlias -T show 188.8.131.52 2606:2800:220:6d:26bf:1447:1097:aa7
That's correct. Now edit that alias, and add an IP address in the second box. Save and apply changes.
# pfctl -t TestAlias -T show pfctl: Table does not exist.
#14 Updated by Landon Timothy over 3 years ago
It looks like there is still an issue with this.
If I create a new alias with 2 networks and 2 FQDN's, all expected entries are in the table.
Add another FQDN, some (or all) of the networks are removed but the resolved FQDN's stay in the table.
The resolver log shows messages like these:
filterdns: Different hostnames(10.0.0.0 - www.pfsense.org) resolve to same ip address
filterdns: Different hostnames(172.16.0.0 - www.pfsense.org) resolve to same ip address