From: dominick.grift@gmail.com (Dominick Grift) Date: Sun, 28 Apr 2013 21:59:30 +0200 Subject: [refpolicy] Port name for port 8200 In-Reply-To: <20130428083551.GA11457@siphos.be> References: <20130428083551.GA11457@siphos.be> Message-ID: <1367179170.3131.34.camel@d30> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com 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