| Summary: | An rc script for mac_portacl(4) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Thomas Hurst <tom> | ||||||
| Component: | conf | Assignee: | freebsd-rc (Nobody) <rc> | ||||||
| Status: | Open --- | ||||||||
| Severity: | Affects Only Me | CC: | freebsd, lwhsu | ||||||
| Priority: | --- | ||||||||
| Version: | Unspecified | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273275 | ||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Hurst
2023-08-18 16:13:07 UTC
Thank you so much for opening this issue! can you add the documentation to `rc.conf(5)` and the defaults to `/etc/defaults/rc.conf` ? maybe it'd be easier to do this on GitHub? Created attachment 244227 [details]
Updated script
* Add printrules command
* Support aliases in /etc/services
* Validate rules, warn about and filter out invalid ones so one bad rule does not invalidate the entire ruleset
* Add options for all other mac_portacl settings
* Various cleanups
(In reply to Mina Galić from comment #1) Github has a first cut of an updated rc.conf(5). I've put together a port so it can get some wider use, and once I'm sure I'm done with the churn I'll see about putting together a full patch for review. |