The mac_portacl(4) man page states that all rules are to be added to the security.mac.portacl.rules sysctl.
Example:
This is okay for a small set of rules, but it would get pretty unreadable once you get more than a dozen rules in there.
Therefore, I'm wondering if anyone know of a management utility for mac_portacl(4)?
If there is none, I'll look into making a RC script and a simple sh script for viewing/altering the rules.
Example:
# sysctl security.mac.portacl.rules="[color="DimGray"]uid:80:tcp:80[/color],[color="DarkRed"]uid:68:tcp:110[/color]"
This is okay for a small set of rules, but it would get pretty unreadable once you get more than a dozen rules in there.
Therefore, I'm wondering if anyone know of a management utility for mac_portacl(4)?
If there is none, I'll look into making a RC script and a simple sh script for viewing/altering the rules.