latest djb policies
Good morning,
The following DJBernstein policies have been finished: daemontools, ucspi-tcp and publicfile. Thank you Russell for your help in creating them.
net_contexts should also contain:
ifdef(publicfile.te', portcon tcp 80 system_u:object_r:utcpserver_port_t' portcon tcp 21 system_u:object_r:utcpserver_port_t') ifdef(qmail.te', portcon tcp 25 system_u:object_r:utcpserver_port_t')
I would also like this in the ssh.te policy:
ifdef(daemontools.te',
allow sshd_t self:capability { kill };
allow sshd_t self:process { signal };
')
because this is the only way I can upgrade remote ssh servers. (daemontools will spawn automatically a new sshd after I kill the old one)
and this in qmail.fc (or mta.fc):
/usr/sbin/sendmail system_u:object_r:sendmail_exec_t/var/qmail/bin/sendmail system_u:object_r:sendmail_exec_t/var/qmail/alias system_u:object_r:sysadm_home_t
/usr/sbin/sendmail is a symlink to /var/qmail/bin/sendmail on my system.
bye,
peter