-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luci-base: Enforce maximal firewall zone length in the Create / Assign scenario as well. #7549
Conversation
…n scenario as well. Signed-off-by: Jan Pazdziora <[email protected]>
@dannil your approach was a bit different, right? |
Merged. Thanks @adelton |
I guess you're thinking of the kinda related #7289? Then yes since interfaces appends their protocol when persisted to UCI, and this combination of protocol + interface name needs to be validated together which isn't done today, but that problem shouldn't exist for firewall zones. The solution in this PR for this specific problem should definitely suffice. |
Good. That's what I figured. Thanks for the check! |
This length constraint should only apply to fw3, fw4 (nft) has no zone name length limit iirc. |
firewall3 enforces the zone name length. firewall4 does not. #7549 (comment) Signed-off-by: Paul Donald <[email protected]>
@systemcrash Please see #7557 as a followup to a67d683. |
Signed-off-by: <[email protected]>
row (viagit commit --signoff
)<package name>: title
first line subject for packagesPKG_VERSION
in the MakefileCreate / Assign
scenario.