Hi all
I'm writing a policy for minidlna (I'll submit it soon for review) and
noticed that it needs to bind on tcp port 8200. Currently, this port is not
named (thus marked as unreserved_port_t). Most port databases have it
assigned as "trivnet1".
What is the best approach to take here? Have corenetwork mark the port as
trivnet1_port_t and use the corenet_*_trivnet1 methods, or keep it as
unreserved? Or do assign it but name it differently?
I prefer the first (i.e. define trivnet1_port_t).
Wkr,
Sven Vermeulen
On Sun, 2013-04-28 at 10:35 +0200, Sven Vermeulen wrote:
> Hi all
>
> I'm writing a policy for minidlna (I'll submit it soon for review) and
> noticed that it needs to bind on tcp port 8200. Currently, this port is not
> named (thus marked as unreserved_port_t). Most port databases have it
> assigned as "trivnet1".
>
> What is the best approach to take here? Have corenetwork mark the port as
> trivnet1_port_t and use the corenet_*_trivnet1 methods, or keep it as
> unreserved? Or do assign it but name it differently?
>
> I prefer the first (i.e. define trivnet1_port_t).
>
grep -i 8200 /etc/services
trivnet1 8200/tcp # TRIVNET
trivnet1 8200/udp # TRIVNET
yes should be declared trivnet1_port_t
> Wkr,
> Sven Vermeulen
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy