core: Missing member in alias if updated
Some of my network seemed incomplete: by looking at Firewall: Diagnostics: pfTables I can see members are missing.
Steps to reproduce:
- Go to Firewall: Aliases: View.
- Create the following network aliases:
TEST_LAN_1
= 192.168.1.0/24TEST_LAN_2
= 192.168.2.0/24TEST_LAN_3
= 192.168.3.0/24TEST_LAN_4
= 192.168.4.0/24TEST_LAN_5
= 192.168.5.0/24TEST_LAN_x
= TEST_LAN_1, TEST_LAN_2, TEST_LAN_3
- Update
TEST_LAN_x
by adding the following two members:- TEST_LAN_4
- TEST_LAN_5
- Apply alias changes with the Apply changes button.
- Alias listing page should show contains:
Name | Type | Description | Values |
---|---|---|---|
TEST_LAN_1 | Network(s) | 192.168.1.0/24 | |
TEST_LAN_2 | Network(s) | 192.168.2.0/24 | |
TEST_LAN_3 | Network(s) | 192.168.3.0/24 | |
TEST_LAN_4 | Network(s) | 192.168.4.0/24 | |
TEST_LAN_5 | Network(s) | 192.168.5.0/24 | |
TEST_LAN_x | Network(s) | TEST_LAN_1, TEST_LAN_2, TEST_LAN_3, TEST_LAN_4, TEST_LAN_5 |
- Go to Firewall: Diagnostics: pfTables page.
- Select
TEST_LAN_x
Expected result:
Table should be:
IP Address | |
---|---|
192.168.1.0/24 | ποΈ |
192.168.2.0/24 | ποΈ |
192.168.3.0/24 | ποΈ |
192.168.4.0/24 | ποΈ οΈ |
192.168.5.0/24 | ποΈ |
Actual result:
Table is:
IP Address | |
---|---|
192.168.1.0/24 | ποΈ |
192.168.2.0/24 | ποΈ |
192.168.3.0/24 | ποΈ |
Extra step:
- Go to Firewall: Aliases: View.
- Rename alias
TEST_LAN_x
toTEST_LAN_x_bis
. - Apply alias changes with the Apply changes button.
- Go to Firewall: Diagnostics: pfTables page.
Table for TEST_LAN_x
is still:
IP Address | |
---|---|
192.168.1.0/24 | ποΈ |
192.168.2.0/24 | ποΈ |
192.168.3.0/24 | ποΈ |
Table for (the newly created entry) TEST_LAN_x_bis
is:
IP Address | |
---|---|
192.168.1.0/24 | ποΈ |
192.168.2.0/24 | ποΈ |
192.168.3.0/24 | ποΈ |
192.168.4.0/24 | ποΈ οΈ |
192.168.5.0/24 | ποΈ |
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (15 by maintainers)
itβs in 18.7.9 thenβ¦
duplicate https://github.com/opnsense/core/issues/2986 fix https://github.com/opnsense/core/commit/a8b0c06de448cc0e154dd22520f2bbc721d6c396