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:

  1. Go to Firewall: Aliases: View.
  2. Create the following network aliases:
    • TEST_LAN_1 = 192.168.1.0/24
    • TEST_LAN_2 = 192.168.2.0/24
    • TEST_LAN_3 = 192.168.3.0/24
    • TEST_LAN_4 = 192.168.4.0/24
    • TEST_LAN_5 = 192.168.5.0/24
    • TEST_LAN_x = TEST_LAN_1, TEST_LAN_2, TEST_LAN_3
  3. Update TEST_LAN_x by adding the following two members:
    • TEST_LAN_4
    • TEST_LAN_5
  4. Apply alias changes with the Apply changes button.
  5. 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
  1. Go to Firewall: Diagnostics: pfTables page.
  2. 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:

  1. Go to Firewall: Aliases: View.
  2. Rename alias TEST_LAN_x to TEST_LAN_x_bis.
  3. Apply alias changes with the Apply changes button.
  4. 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)

Most upvoted comments