Skip to content

feat(firewall): add support for source MAC addresses in firewall rules - #1939

Merged
Tbaile merged 1 commit into
mainfrom
mac_address_source_firewall_rules
Oct 19, 2026
Merged

Tbaile merged 1 commit into
mainfrom
mac_address_source_firewall_rules

Conversation

@m-dilorenzi

Copy link
Copy Markdown
Collaborator

Add support for source MAC addresses in firewall rules.

  • add-rule / edit-rule accept a new src_mac list field (defaults to [] for older clients)
  • MAC addresses are saved as list src_mac in the UCI rule; the option is removed when the list is empty, so no stale MACs remain when switching to IP/object sources
  • validation of used MAC addresses

Closes: #1411

@m-dilorenzi
m-dilorenzi requested a review from Tbaile October 14, 2026 14:20
@m-dilorenzi m-dilorenzi self-assigned this Oct 14, 2026
@m-dilorenzi
m-dilorenzi force-pushed the mac_address_source_firewall_rules branch from 55fcf51 to d704feb Compare October 15, 2026 07:05
@m-dilorenzi
m-dilorenzi force-pushed the mac_address_source_firewall_rules branch 2 times, most recently from 2bfbebf to 370bd14 Compare October 19, 2026 09:50
@Tbaile
Tbaile merged commit 3d18b37 into main Oct 19, 2026
6 checks passed
@Tbaile
Tbaile deleted the mac_address_source_firewall_rules branch October 19, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add MAC address filtering in firewall rules

2 participants