* [refpolicy] Port name for port 8200
@ 2013-04-28 8:35 Sven Vermeulen
2013-04-28 19:59 ` Dominick Grift
0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2013-04-28 8:35 UTC (permalink / raw)
To: refpolicy
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [refpolicy] Port name for port 8200
2013-04-28 8:35 [refpolicy] Port name for port 8200 Sven Vermeulen
@ 2013-04-28 19:59 ` Dominick Grift
0 siblings, 0 replies; 2+ messages in thread
From: Dominick Grift @ 2013-04-28 19:59 UTC (permalink / raw)
To: refpolicy
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-28 19:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-28 8:35 [refpolicy] Port name for port 8200 Sven Vermeulen
2013-04-28 19:59 ` Dominick Grift
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.