something along the lines of:
and then using it like
sysctl -w net.inet.ip.25=`id smtp`
Unfortunately, that doesn't address the distinction between TCP and UDP
services.. I'm not sure that is a huge issue, but it seems relevant.
Sure, that should be:
sysctl -w net.inet.tcp.25=`id smtp`
sysctl -w net.inet.udp.53=`id named`
or whatever. No biggie.
Of course, we already have a permissions system. Why not:
-rw-rw---- 1 root smtp Feb 18 09:33 /protocols/inet/tcp/25
Or is that just too weird?
Flying Fox Computer Systems, Inc.