|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
a52b4d |
policy_module(tcpd,1.1.0)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
type tcpd_t;
|
|
Chris PeBenito |
17de1b |
type tcpd_exec_t;
|
|
Chris PeBenito |
17de1b |
inetd_tcp_service_domain(tcpd_t,tcpd_exec_t)
|
|
Chris PeBenito |
17de1b |
role system_r types tcpd_t;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type tcpd_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(tcpd_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
allow tcpd_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_dirs_pattern(tcpd_t,tcpd_tmp_t,tcpd_tmp_t)
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(tcpd_t,tcpd_tmp_t,tcpd_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(tcpd_t, tcpd_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
corenet_non_ipsec_sendrecv(tcpd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_if(tcpd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_nodes(tcpd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(tcpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_xattr_fs(tcpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# Run other daemons in the inetd child domain.
|
|
Chris PeBenito |
17de1b |
corecmd_search_bin(tcpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(tcpd_t)
|
|
Chris PeBenito |
17de1b |
# no good reason for files_dontaudit_search_var, probably nscd
|
|
Chris PeBenito |
17de1b |
files_dontaudit_search_var(tcpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_use_ld_so(tcpd_t)
|
|
Chris PeBenito |
17de1b |
libs_use_shared_libs(tcpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(tcpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(tcpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(tcpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
inetd_domtrans_child(tcpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
finger_domtrans(tcpd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
nis_use_ypbind(tcpd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
nagios_domtrans_nrpe(tcpd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
rlogin_domtrans(tcpd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
rshd_domtrans(tcpd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
uwimap_domtrans(tcpd_t)
|
|
Chris PeBenito |
17de1b |
')
|