core: Network alias problem on 22.1.8

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

After upgrade from 22.1.7 to 22.1.8 i have problem with network aliases type with added one entry, pfctl -t $ALIAS_NAME -T show returns 0 entries for this alias

To Reproduce

Steps to reproduce the behavior:

  1. Add Alias type Network(s) with one entry (for example 10.10.0.0/24)
  2. Reboot
  3. Run pfctl -t test_aliast_one_net -T show to show entries

Screenshots Screenshot_20220525_211508

Expected behavior

pfctl -t test_aliast_one_net -T show return:

  • 10.10.0.0/24

Environment

OPNsense 22.1.8 (amd64, OpenSSL).

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 5
  • Comments: 33 (11 by maintainers)

Commits related to this issue

Most upvoted comments

I don’t normally complain on the internet but this is a pretty serious screw up. Perhaps you need to implement regression testing since this problem has happened before (22.1.8 and now 23.1.5)

If you want to throw wrenches either create a new ticket (this is off-topic) or open a PR with the work done.

Cheers, Franco

@ALL highly annoying, it looks like I did reintroduce the same issue here https://github.com/opnsense/core/commit/e2dada5783e1fd86ec351f54897363c3b561390a .

can you try opnsense-patch e2dada5 to install this and reboot? on my end this seems to fix it.

Thank’s for having fix this quickly guys !..