Here are some additions to net_contexts to define additional privileged ports. I'll be submitting policies that reference these ports over the next week or so as I get them cleaned up. This is based on the file from the selinux-policy-strict-sources-1.22.1-2 rpm on my FC3 system. David
Index: net_contexts =================================================================== RCS file: /home/cvs/starfury/etc/selinux/strict/src/policy/net_contexts,v retrieving revision 1.1 diff -u -r1.1 net_contexts --- net_contexts 10 Feb 2005 19:50:13 -0000 1.1 +++ net_contexts 15 Mar 2005 05:20:42 -0000 @@ -226,6 +226,27 @@ ') ifdef(`postgrey.te', `portcon tcp 60000 system_u:object_r:postgrey_port_t') +ifdef(`amavis.te', ` +portcon tcp 10024 system_u:object_r:amavisd_recv_port_t +portcon tcp 10025 system_u:object_r:amavisd_send_port_t +') +ifdef(`clamav.te', ` +portcon tcp 3310 system_u:object_r:clamd_port_t +') +ifdef(`dcc.te', ` +portcon udp 6276 system_u:object_r:dcc_port_t +portcon udp 6277 system_u:object_r:dcc_port_t +') +ifdef(`pyzor.te', ` +portcon udp 24441 system_u:object_r:pyzor_port_t +') +ifdef(`razor.te', ` +portcon tcp 2703 system_u:object_r:razor_port_t +') +ifdef(`zope.te', ` +portcon tcp 8021 system_u:object_r:zope_port_t +') + # Defaults for reserved ports. Earlier portcon entries take precedence; # these entries just cover any remaining reserved ports not otherwise # declared or omitted due to removal of a domain.