Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
selinux /
devel /
include /
services /
[ HOME SHELL ]
Name
Size
Permission
Action
abrt.if
8.77
KB
-rw-r--r--
afs.if
2.07
KB
-rw-r--r--
aiccu.if
2.33
KB
-rw-r--r--
aide.if
1.29
KB
-rw-r--r--
aisexec.if
2.69
KB
-rw-r--r--
amavis.if
5.87
KB
-rw-r--r--
antivirus.if
6.23
KB
-rw-r--r--
apache.if
37.34
KB
-rw-r--r--
apcupsd.if
3.45
KB
-rw-r--r--
apm.if
2.04
KB
-rw-r--r--
arpwatch.if
3.09
KB
-rw-r--r--
asterisk.if
2.02
KB
-rw-r--r--
audioentropy.if
56
B
-rw-r--r--
automount.if
3.83
KB
-rw-r--r--
avahi.if
3.21
KB
-rw-r--r--
bacula.if
2.44
KB
-rw-r--r--
bcfg2.if
2.9
KB
-rw-r--r--
bind.if
7.84
KB
-rw-r--r--
bitlbee.if
1.26
KB
-rw-r--r--
bluetooth.if
5.63
KB
-rw-r--r--
boinc.if
3.01
KB
-rw-r--r--
bugzilla.if
851
B
-rw-r--r--
cachefilesd.if
1.2
KB
-rw-r--r--
canna.if
1.35
KB
-rw-r--r--
ccs.if
1.45
KB
-rw-r--r--
certmaster.if
3.09
KB
-rw-r--r--
certmonger.if
5.09
KB
-rw-r--r--
cfengine.if
2.98
KB
-rw-r--r--
cgdcbxd.if
1.3
KB
-rw-r--r--
cgroup.if
3.14
KB
-rw-r--r--
chronyd.if
3.61
KB
-rw-r--r--
cinder.if
1.33
KB
-rw-r--r--
cipe.if
46
B
-rw-r--r--
clamav.if
4.23
KB
-rw-r--r--
clockspeed.if
952
B
-rw-r--r--
clogd.if
1.89
KB
-rw-r--r--
cloudform.if
809
B
-rw-r--r--
cmirrord.if
2.56
KB
-rw-r--r--
cobbler.if
4.83
KB
-rw-r--r--
collectd.if
3.03
KB
-rw-r--r--
comsat.if
45
B
-rw-r--r--
condor.if
6.91
KB
-rw-r--r--
conman.if
1.51
KB
-rw-r--r--
consolekit.if
2.63
KB
-rw-r--r--
corosync.if
3.87
KB
-rw-r--r--
courier.if
5.2
KB
-rw-r--r--
cpucontrol.if
382
B
-rw-r--r--
cron.if
15.03
KB
-rw-r--r--
ctdbd.if
5.61
KB
-rw-r--r--
cups.if
6.95
KB
-rw-r--r--
cvs.if
2
KB
-rw-r--r--
cyphesis.if
412
B
-rw-r--r--
cyrus.if
2.13
KB
-rw-r--r--
dante.if
62
B
-rw-r--r--
dbskk.if
82
B
-rw-r--r--
dbus.if
12.09
KB
-rw-r--r--
dcc.if
3.35
KB
-rw-r--r--
ddclient.if
2.03
KB
-rw-r--r--
denyhosts.if
1.93
KB
-rw-r--r--
devicekit.if
4.91
KB
-rw-r--r--
dhcp.if
1.99
KB
-rw-r--r--
dictd.if
1.24
KB
-rw-r--r--
dirsrv-admin.if
3.36
KB
-rw-r--r--
dirsrv.if
5.29
KB
-rw-r--r--
distcc.if
50
B
-rw-r--r--
djbdns.if
2.46
KB
-rw-r--r--
dkim.if
57
B
-rw-r--r--
dnsmasq.if
4.97
KB
-rw-r--r--
dovecot.if
4.32
KB
-rw-r--r--
drbd.if
2.24
KB
-rw-r--r--
dspam.if
5.09
KB
-rw-r--r--
exim.if
4.81
KB
-rw-r--r--
fail2ban.if
4.47
KB
-rw-r--r--
fcoemon.if
1.56
KB
-rw-r--r--
fetchmail.if
713
B
-rw-r--r--
finger.if
747
B
-rw-r--r--
fprintd.if
790
B
-rw-r--r--
freeipmi.if
1.77
KB
-rw-r--r--
ftp.if
4.4
KB
-rw-r--r--
gatekeeper.if
57
B
-rw-r--r--
git.if
1.67
KB
-rw-r--r--
glance.if
5.2
KB
-rw-r--r--
glusterd.if
4.29
KB
-rw-r--r--
gnomeclock.if
1.72
KB
-rw-r--r--
gpm.if
1.52
KB
-rw-r--r--
gpsd.if
1.28
KB
-rw-r--r--
hal.if
8.23
KB
-rw-r--r--
hddtemp.if
722
B
-rw-r--r--
howl.if
352
B
-rw-r--r--
hypervkvp.if
1.58
KB
-rw-r--r--
i18n_input.if
327
B
-rw-r--r--
icecast.if
3.59
KB
-rw-r--r--
ifplugd.if
2.66
KB
-rw-r--r--
imaze.if
40
B
-rw-r--r--
inetd.if
4.32
KB
-rw-r--r--
inn.if
4.33
KB
-rw-r--r--
ipmievd.if
1.81
KB
-rw-r--r--
ircd.if
33
B
-rw-r--r--
irqbalance.if
43
B
-rw-r--r--
isns.if
880
B
-rw-r--r--
jabber.if
3.21
KB
-rw-r--r--
keepalived.if
475
B
-rw-r--r--
kerberos.if
9.23
KB
-rw-r--r--
kerneloops.if
2.41
KB
-rw-r--r--
keystone.if
3.95
KB
-rw-r--r--
ksmtuned.if
1.57
KB
-rw-r--r--
ktalk.if
38
B
-rw-r--r--
l2tpd.if
3.37
KB
-rw-r--r--
ldap.if
3.97
KB
-rw-r--r--
likewise.if
2.44
KB
-rw-r--r--
linuxptp.if
2.72
KB
-rw-r--r--
lircd.if
1.93
KB
-rw-r--r--
lldpad.if
1.97
KB
-rw-r--r--
lpd.if
4
KB
-rw-r--r--
lsm.if
753
B
-rw-r--r--
mailman.if
8.55
KB
-rw-r--r--
matahari.if
5.21
KB
-rw-r--r--
memcached.if
2.4
KB
-rw-r--r--
milter.if
3.43
KB
-rw-r--r--
mip6d.if
432
B
-rw-r--r--
mirrormanager.if
5.17
KB
-rw-r--r--
modemmanager.if
905
B
-rw-r--r--
monop.if
38
B
-rw-r--r--
mpd.if
5.73
KB
-rw-r--r--
mta.if
22.27
KB
-rw-r--r--
munin.if
4.66
KB
-rw-r--r--
mysql.if
8.46
KB
-rw-r--r--
nagios.if
7.73
KB
-rw-r--r--
nessus.if
349
B
-rw-r--r--
networkmanager.if
5.4
KB
-rw-r--r--
nis.if
8.57
KB
-rw-r--r--
nova.if
1.17
KB
-rw-r--r--
nscd.if
6.18
KB
-rw-r--r--
nsd.if
634
B
-rw-r--r--
nslcd.if
2.31
KB
-rw-r--r--
ntop.if
2.98
KB
-rw-r--r--
ntp.if
3.56
KB
-rw-r--r--
numad.if
762
B
-rw-r--r--
nut.if
47
B
-rw-r--r--
nx.if
1.78
KB
-rw-r--r--
oav.if
973
B
-rw-r--r--
oddjob.if
3.88
KB
-rw-r--r--
oident.if
1.47
KB
-rw-r--r--
openca.if
1.37
KB
-rw-r--r--
openct.if
1.78
KB
-rw-r--r--
openhpid.if
2.94
KB
-rw-r--r--
openshift-origin.if
23
B
-rw-r--r--
openshift.if
13.75
KB
-rw-r--r--
openvpn.if
3.2
KB
-rw-r--r--
openvswitch.if
3.37
KB
-rw-r--r--
openwsman.if
428
B
-rw-r--r--
oracleasm.if
1.42
KB
-rw-r--r--
osad.if
3
KB
-rw-r--r--
pacemaker.if
3.41
KB
-rw-r--r--
pads.if
1.05
KB
-rw-r--r--
passenger.if
3.44
KB
-rw-r--r--
pcp.if
2.8
KB
-rw-r--r--
pcscd.if
1.8
KB
-rw-r--r--
pegasus.if
62
B
-rw-r--r--
perdition.if
378
B
-rw-r--r--
pingd.if
1.96
KB
-rw-r--r--
piranha.if
4.14
KB
-rw-r--r--
pkcsslotd.if
2.34
KB
-rw-r--r--
plymouthd.if
6.52
KB
-rw-r--r--
policykit.if
5.65
KB
-rw-r--r--
portmap.if
1.92
KB
-rw-r--r--
portreserve.if
2.7
KB
-rw-r--r--
portslave.if
419
B
-rw-r--r--
postfix.if
19.5
KB
-rw-r--r--
postfixpolicyd.if
1022
B
-rw-r--r--
postgresql.if
15.28
KB
-rw-r--r--
postgrey.if
1.8
KB
-rw-r--r--
ppp.if
7.1
KB
-rw-r--r--
prelude.if
3.23
KB
-rw-r--r--
privoxy.if
972
B
-rw-r--r--
procmail.if
1.84
KB
-rw-r--r--
psad.if
5.39
KB
-rw-r--r--
publicfile.if
83
B
-rw-r--r--
puppet.if
5.12
KB
-rw-r--r--
pxe.if
63
B
-rw-r--r--
pyicqt.if
66
B
-rw-r--r--
pyzor.if
2.71
KB
-rw-r--r--
qmail.if
4.16
KB
-rw-r--r--
qpidd.if
5.02
KB
-rw-r--r--
quantum.if
4.68
KB
-rw-r--r--
radius.if
1.37
KB
-rw-r--r--
radvd.if
1.18
KB
-rw-r--r--
razor.if
5.12
KB
-rw-r--r--
rdisc.if
373
B
-rw-r--r--
redis.if
4.83
KB
-rw-r--r--
remotelogin.if
779
B
-rw-r--r--
resmgr.if
465
B
-rw-r--r--
rgmanager.if
4.6
KB
-rw-r--r--
rhcs.if
16.67
KB
-rw-r--r--
rhev.if
2.04
KB
-rw-r--r--
rhgb.if
3.57
KB
-rw-r--r--
rhnsd.if
1.73
KB
-rw-r--r--
rhsmcertd.if
5.95
KB
-rw-r--r--
ricci.if
6.3
KB
-rw-r--r--
rlogin.if
925
B
-rw-r--r--
roundup.if
938
B
-rw-r--r--
rpc.if
9.53
KB
-rw-r--r--
rpcbind.if
3.1
KB
-rw-r--r--
rshd.if
428
B
-rw-r--r--
rsync.if
3.62
KB
-rw-r--r--
rtas.if
2.54
KB
-rw-r--r--
rtkit.if
1.67
KB
-rw-r--r--
rwho.if
2.89
KB
-rw-r--r--
samba.if
19.02
KB
-rw-r--r--
sanlock.if
2.23
KB
-rw-r--r--
sasl.if
1.17
KB
-rw-r--r--
sblim.if
3.54
KB
-rw-r--r--
sendmail.if
7
KB
-rw-r--r--
sensord.if
817
B
-rw-r--r--
setroubleshoot.if
3.49
KB
-rw-r--r--
sge.if
54
B
-rw-r--r--
slpd.if
1.36
KB
-rw-r--r--
slrnpull.if
978
B
-rw-r--r--
smartmon.if
1.26
KB
-rw-r--r--
smokeping.if
3.32
KB
-rw-r--r--
smstools.if
2.57
KB
-rw-r--r--
snmp.if
4.93
KB
-rw-r--r--
snort.if
1.29
KB
-rw-r--r--
soundserver.if
1.3
KB
-rw-r--r--
spamassassin.if
7.62
KB
-rw-r--r--
speedtouch.if
56
B
-rw-r--r--
squid.if
4.32
KB
-rw-r--r--
ssh.if
23.08
KB
-rw-r--r--
sssd.if
5.23
KB
-rw-r--r--
stapserver.if
3.04
KB
-rw-r--r--
stunnel.if
577
B
-rw-r--r--
svnserve.if
1.57
KB
-rw-r--r--
swift.if
1.82
KB
-rw-r--r--
sysstat.if
433
B
-rw-r--r--
tcpd.if
903
B
-rw-r--r--
telnet.if
36
B
-rw-r--r--
tftp.if
3.12
KB
-rw-r--r--
tgtd.if
1.46
KB
-rw-r--r--
timidity.if
79
B
-rw-r--r--
tomcat.if
7.27
KB
-rw-r--r--
tor.if
1.31
KB
-rw-r--r--
transproxy.if
45
B
-rw-r--r--
tuned.if
2.45
KB
-rw-r--r--
ucspitcp.if
642
B
-rw-r--r--
ulogd.if
2.91
KB
-rw-r--r--
uptime.if
36
B
-rw-r--r--
usbmuxd.if
863
B
-rw-r--r--
uucp.if
2.35
KB
-rw-r--r--
uuidd.if
3.61
KB
-rw-r--r--
uwimap.if
461
B
-rw-r--r--
varnishd.if
4.42
KB
-rw-r--r--
vdagent.if
2.36
KB
-rw-r--r--
vhostmd.if
4.43
KB
-rw-r--r--
virt.if
19.61
KB
-rw-r--r--
w3c.if
43
B
-rw-r--r--
watchdog.if
895
B
-rw-r--r--
wdmd.if
2.49
KB
-rw-r--r--
xfs.if
1.07
KB
-rw-r--r--
xprint.if
37
B
-rw-r--r--
xserver.if
37.77
KB
-rw-r--r--
zabbix.if
3.97
KB
-rw-r--r--
zarafa.if
4.04
KB
-rw-r--r--
zebra.if
1.88
KB
-rw-r--r--
zosremote.if
991
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mta.if
## <summary>Policy common to all email tranfer agents.</summary> ######################################## ## <summary> ## MTA stub interface. No access allowed. ## </summary> ## <param name="domain" unused="true"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_stub',` gen_require(` type sendmail_exec_t; ') ') ####################################### ## <summary> ## Basic mail transfer agent domain template. ## </summary> ## <desc> ## <p> ## This template creates a derived domain which is ## a email transfer agent, which sends mail on ## behalf of the user. ## </p> ## <p> ## This is the basic types and rules, common ## to the system agent and user agents. ## </p> ## </desc> ## <param name="domain_prefix"> ## <summary> ## The prefix of the domain (e.g., user ## is the prefix for user_t). ## </summary> ## </param> # template(`mta_base_mail_template',` gen_require(` attribute user_mail_domain; type sendmail_exec_t; ') ############################## # # $1_mail_t declarations # type $1_mail_t, user_mail_domain; application_domain($1_mail_t, sendmail_exec_t) type $1_mail_tmp_t; files_tmp_file($1_mail_tmp_t) ############################## # # $1_mail_t local policy # allow $1_mail_t self:capability { setuid setgid chown }; allow $1_mail_t self:process { signal_perms setrlimit }; allow $1_mail_t self:tcp_socket create_socket_perms; # re-exec itself can_exec($1_mail_t, sendmail_exec_t) allow $1_mail_t sendmail_exec_t:lnk_file read_lnk_file_perms; kernel_read_system_state($1_mail_t) kernel_read_kernel_sysctls($1_mail_t) corenet_all_recvfrom_unlabeled($1_mail_t) corenet_all_recvfrom_netlabel($1_mail_t) corenet_tcp_sendrecv_generic_if($1_mail_t) corenet_tcp_sendrecv_generic_node($1_mail_t) corenet_tcp_sendrecv_all_ports($1_mail_t) corenet_tcp_connect_all_ports($1_mail_t) corenet_tcp_connect_smtp_port($1_mail_t) corenet_sendrecv_smtp_client_packets($1_mail_t) corecmd_exec_bin($1_mail_t) files_read_etc_files($1_mail_t) files_search_spool($1_mail_t) # It wants to check for nscd files_dontaudit_search_pids($1_mail_t) auth_use_nsswitch($1_mail_t) init_dontaudit_rw_utmp($1_mail_t) logging_send_syslog_msg($1_mail_t) miscfiles_read_localization($1_mail_t) optional_policy(` exim_read_log($1_mail_t) exim_append_log($1_mail_t) exim_manage_spool_files($1_mail_t) ') optional_policy(` postfix_domtrans_user_mail_handler($1_mail_t) postfix_rw_master_pipes($1_mail_t) ') optional_policy(` procmail_exec($1_mail_t) ') optional_policy(` qmail_domtrans_inject($1_mail_t) ') optional_policy(` gen_require(` type etc_mail_t, mail_spool_t, mqueue_spool_t; ') manage_dirs_pattern($1_mail_t, $1_mail_tmp_t, $1_mail_tmp_t) manage_files_pattern($1_mail_t, $1_mail_tmp_t, $1_mail_tmp_t) files_tmp_filetrans($1_mail_t, $1_mail_tmp_t, { file dir }) allow $1_mail_t etc_mail_t:dir search_dir_perms; # Write to /var/spool/mail and /var/spool/mqueue. manage_files_pattern($1_mail_t, mail_spool_t, mail_spool_t) manage_files_pattern($1_mail_t, mqueue_spool_t, mqueue_spool_t) # Check available space. fs_getattr_xattr_fs($1_mail_t) files_read_etc_runtime_files($1_mail_t) # Write to /var/log/sendmail.st sendmail_manage_log($1_mail_t) sendmail_create_log($1_mail_t) ') optional_policy(` uucp_manage_spool($1_mail_t) ') ') ####################################### ## <summary> ## Type transition files created in calling dir ## to the mail address aliases type. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <param name="domain"> ## <summary> ## Directory to transition on. ## </summary> ## </param> # interface(`mta_filetrans_aliases',` gen_require(` type etc_aliases_t; ') filetrans_pattern($1, $2, etc_aliases_t, file) ') ######################################## ## <summary> ## Role access for mta ## </summary> ## <param name="role"> ## <summary> ## Role allowed access ## </summary> ## </param> ## <param name="domain"> ## <summary> ## User domain for the role ## </summary> ## </param> # interface(`mta_role',` gen_require(` attribute mta_user_agent; type user_mail_t, sendmail_exec_t; ') role $1 types { user_mail_t mta_user_agent }; # Transition from the user domain to the derived domain. domtrans_pattern($2, sendmail_exec_t, user_mail_t) allow $2 sendmail_exec_t:lnk_file { getattr read }; allow mta_user_agent $2:fd use; allow mta_user_agent $2:process sigchld; allow mta_user_agent $2:fifo_file { read write }; ') ###################################### ## <summary> ## ALlow domain to read mail content in the homedir ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_read_home',` gen_require(` type mail_home_t; ') userdom_search_user_home_dirs($1) userdom_search_admin_dir($1) read_files_pattern($1, mail_home_t, mail_home_t) ') ################################### ## <summary> ## Allow domain to manage mail content in the homedir ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_manage_home_rw',` gen_require(` type mail_home_rw_t; ') userdom_search_user_home_dirs($1) manage_files_pattern($1, mail_home_rw_t, mail_home_rw_t) manage_dirs_pattern($1, mail_home_rw_t, mail_home_rw_t) read_lnk_files_pattern($1, mail_home_rw_t, mail_home_rw_t) ') ######################################## ## <summary> ## Make the specified domain usable for a mail server. ## </summary> ## <param name="type"> ## <summary> ## Type to be used as a mail server domain. ## </summary> ## </param> ## <param name="entry_point"> ## <summary> ## Type of the program to be used as an entry point to this domain. ## </summary> ## </param> # interface(`mta_mailserver',` gen_require(` attribute mailserver_domain; ') init_daemon_domain($1, $2) typeattribute $1 mailserver_domain; ') ######################################## ## <summary> ## Make the specified type a MTA executable file. ## </summary> ## <param name="type"> ## <summary> ## Type to be used as a mail client. ## </summary> ## </param> # interface(`mta_agent_executable',` gen_require(` attribute mta_exec_type; ') typeattribute $1 mta_exec_type; application_executable_file($1) ') ###################################### ## <summary> ## Dontaudit read and write an leaked file descriptors ## </summary> ## <param name="domain"> ## <summary> ## The type of the process performing this action. ## </summary> ## </param> # interface(`mta_dontaudit_leaks_system_mail',` gen_require(` type system_mail_t; ') dontaudit $1 system_mail_t:fifo_file write; dontaudit $1 system_mail_t:tcp_socket { read write }; ') ######################################## ## <summary> ## Make the specified type by a system MTA. ## </summary> ## <param name="type"> ## <summary> ## Type to be used as a mail client. ## </summary> ## </param> # interface(`mta_system_content',` gen_require(` attribute mailcontent_type; ') typeattribute $1 mailcontent_type; ') ######################################## ## <summary> ## Modified mailserver interface for ## sendmail daemon use. ## </summary> ## <desc> ## <p> ## A modified MTA mail server interface for ## the sendmail program. It's design does ## not fit well with policy, and using the ## regular interface causes a type_transition ## conflict if direct running of init scripts ## is enabled. ## </p> ## <p> ## This interface should most likely only be used ## by the sendmail policy. ## </p> ## </desc> ## <param name="domain"> ## <summary> ## The type to be used for the mail server. ## </summary> ## </param> # interface(`mta_sendmail_mailserver',` gen_require(` attribute mailserver_domain; type sendmail_exec_t; ') init_system_domain($1, sendmail_exec_t) typeattribute $1 mailserver_domain; ') ####################################### ## <summary> ## Make a type a mailserver type used ## for sending mail. ## </summary> ## <param name="domain"> ## <summary> ## Mail server domain type used for sending mail. ## </summary> ## </param> # interface(`mta_mailserver_sender',` gen_require(` attribute mailserver_sender; ') typeattribute $1 mailserver_sender; ') ####################################### ## <summary> ## Make a type a mailserver type used ## for delivering mail to local users. ## </summary> ## <param name="domain"> ## <summary> ## Mail server domain type used for delivering mail. ## </summary> ## </param> # interface(`mta_mailserver_delivery',` gen_require(` attribute mailserver_delivery; type mail_spool_t; ') typeattribute $1 mailserver_delivery; ') ####################################### ## <summary> ## Make a type a mailserver type used ## for sending mail on behalf of local ## users to the local mail spool. ## </summary> ## <param name="domain"> ## <summary> ## Mail server domain type used for sending local mail. ## </summary> ## </param> # interface(`mta_mailserver_user_agent',` gen_require(` attribute mta_user_agent; ') typeattribute $1 mta_user_agent; optional_policy(` # apache should set close-on-exec apache_dontaudit_rw_stream_sockets($1) apache_dontaudit_rw_sys_script_stream_sockets($1) apache_append_log($1) ') ') ######################################## ## <summary> ## Send mail from the system. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_send_mail',` gen_require(` attribute mta_user_agent; type system_mail_t; attribute mta_exec_type; ') allow $1 mta_exec_type:lnk_file read_lnk_file_perms; corecmd_read_bin_symlinks($1) domtrans_pattern($1, mta_exec_type, system_mail_t) allow mta_user_agent $1:fd use; allow mta_user_agent $1:process sigchld; allow mta_user_agent $1:fifo_file rw_fifo_file_perms; ifdef(`hide_broken_symptoms', ` dontaudit system_mail_t $1:socket_class_set { read write }; ') ') ######################################## ## <summary> ## Send mail client a signal ## </summary> ## <param name="domain"> ## <summary> ## The type of the process performing this action. ## </summary> ## </param> # # interface(`mta_signal',` gen_require(` type system_mail_t; ') allow $1 system_mail_t:process signal; ') ######################################## ## <summary> ## Execute send mail in a specified domain. ## </summary> ## <desc> ## <p> ## Execute send mail in a specified domain. ## </p> ## <p> ## No interprocess communication (signals, pipes, ## etc.) is provided by this interface since ## the domains are not owned by this module. ## </p> ## </desc> ## <param name="source_domain"> ## <summary> ## Domain to transition from. ## </summary> ## </param> ## <param name="target_domain"> ## <summary> ## Domain to transition to. ## </summary> ## </param> # interface(`mta_sendmail_domtrans',` gen_require(` attribute mta_exec_type; attribute mta_user_agent; ') files_search_usr($1) allow $1 mta_exec_type:lnk_file read_lnk_file_perms; corecmd_read_bin_symlinks($1) allow $2 mta_exec_type:file entrypoint; domtrans_pattern($1, mta_exec_type, $2) allow mta_user_agent $1:fd use; allow mta_user_agent $1:process sigchld; allow mta_user_agent $1:fifo_file { read write }; ') ####################################### ## <summary> ## Send system mail client a signal ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_signal_system_mail',` gen_require(` type system_mail_t; ') allow $1 system_mail_t:process signal; ') ####################################### ## <summary> ## Send system mail client a kill signal ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_kill_system_mail',` gen_require(` type system_mail_t; ') allow $1 system_mail_t:process sigkill; ') ######################################## ## <summary> ## Execute sendmail in the caller domain. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_sendmail_exec',` gen_require(` type sendmail_exec_t; ') can_exec($1, sendmail_exec_t) ') ######################################## ## <summary> ## Read mail server configuration. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <rolecap/> # interface(`mta_read_config',` gen_require(` type etc_mail_t; ') files_search_etc($1) allow $1 etc_mail_t:dir list_dir_perms; read_files_pattern($1, etc_mail_t, etc_mail_t) read_lnk_files_pattern($1, etc_mail_t, etc_mail_t) ') ######################################## ## <summary> ## write mail server configuration. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <rolecap/> # interface(`mta_write_config',` gen_require(` type etc_mail_t; ') manage_files_pattern($1, etc_mail_t, etc_mail_t) allow $1 etc_mail_t:file setattr; ') ######################################## ## <summary> ## Read mail address aliases. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_read_aliases',` gen_require(` type etc_aliases_t; ') files_search_etc($1) allow $1 etc_aliases_t:file read_file_perms; ') ######################################## ## <summary> ## Create, read, write, and delete mail address aliases. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_manage_aliases',` gen_require(` type etc_aliases_t; ') files_search_etc($1) manage_files_pattern($1, etc_aliases_t, etc_aliases_t) manage_lnk_files_pattern($1, etc_aliases_t, etc_aliases_t) ') ######################################## ## <summary> ## Type transition files created in /etc ## to the mail address aliases type. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_etc_filetrans_aliases',` gen_require(` type etc_aliases_t; ') files_etc_filetrans($1, etc_aliases_t, file) ') ######################################## ## <summary> ## Read and write mail aliases. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <rolecap/> # interface(`mta_rw_aliases',` gen_require(` type etc_aliases_t; ') files_search_etc($1) allow $1 etc_aliases_t:file { rw_file_perms setattr }; ') ####################################### ## <summary> ## Do not audit attempts to read and write TCP ## sockets of mail delivery domains. ## </summary> ## <param name="domain"> ## <summary> ## Mail server domain. ## </summary> ## </param> # interface(`mta_dontaudit_rw_delivery_tcp_sockets',` gen_require(` attribute mailserver_delivery; ') dontaudit $1 mailserver_delivery:tcp_socket { read write }; ') ####################################### ## <summary> ## Connect to all mail servers over TCP. (Deprecated) ## </summary> ## <param name="domain"> ## <summary> ## Mail server domain. ## </summary> ## </param> # interface(`mta_tcp_connect_all_mailservers',` refpolicywarn(`$0($*) has been deprecated.') ') ####################################### ## <summary> ## Do not audit attempts to read a symlink ## in the mail spool. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_dontaudit_read_spool_symlinks',` gen_require(` type mail_spool_t; ') dontaudit $1 mail_spool_t:lnk_file read; ') ######################################## ## <summary> ## Get the attributes of mail spool files. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_getattr_spool',` gen_require(` type mail_spool_t; ') files_search_spool($1) allow $1 mail_spool_t:dir list_dir_perms; getattr_files_pattern($1, mail_spool_t, mail_spool_t) read_lnk_files_pattern($1, mail_spool_t, mail_spool_t) ') ######################################## ## <summary> ## Do not audit attempts to get the attributes ## of mail spool files. ## </summary> ## <param name="domain"> ## <summary> ## Domain to not audit. ## </summary> ## </param> # interface(`mta_dontaudit_getattr_spool_files',` gen_require(` type mail_spool_t; ') files_dontaudit_search_spool($1) dontaudit $1 mail_spool_t:dir search_dir_perms; dontaudit $1 mail_spool_t:lnk_file read; dontaudit $1 mail_spool_t:file getattr; ') ####################################### ## <summary> ## Create private objects in the ## mail spool directory. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <param name="private type"> ## <summary> ## The type of the object to be created. ## </summary> ## </param> ## <param name="object"> ## <summary> ## The object class of the object being created. ## </summary> ## </param> # interface(`mta_spool_filetrans',` gen_require(` type mail_spool_t; ') files_search_spool($1) filetrans_pattern($1, mail_spool_t, $2, $3) ') ######################################## ## <summary> ## Read and write the mail spool. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_rw_spool',` gen_require(` type mail_spool_t; ') files_search_spool($1) allow $1 mail_spool_t:dir list_dir_perms; allow $1 mail_spool_t:file setattr; manage_files_pattern($1, mail_spool_t, mail_spool_t) read_lnk_files_pattern($1, mail_spool_t, mail_spool_t) ') ####################################### ## <summary> ## Create, read, and write the mail spool. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_append_spool',` gen_require(` type mail_spool_t; ') files_search_spool($1) allow $1 mail_spool_t:dir list_dir_perms; create_files_pattern($1, mail_spool_t, mail_spool_t) write_files_pattern($1, mail_spool_t, mail_spool_t) read_lnk_files_pattern($1, mail_spool_t, mail_spool_t) ') ####################################### ## <summary> ## Delete from the mail spool. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_delete_spool',` gen_require(` type mail_spool_t; ') files_search_spool($1) delete_files_pattern($1, mail_spool_t, mail_spool_t) ') ######################################## ## <summary> ## Create, read, write, and delete mail spool files. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_manage_spool',` gen_require(` type mail_spool_t; ') files_search_spool($1) manage_dirs_pattern($1, mail_spool_t, mail_spool_t) manage_files_pattern($1, mail_spool_t, mail_spool_t) manage_lnk_files_pattern($1, mail_spool_t, mail_spool_t) ') ######################################## ## <summary> ## Search mail queue dirs. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_search_queue',` gen_require(` type mqueue_spool_t; ') files_search_spool($1) allow $1 mqueue_spool_t:dir search_dir_perms; ') ####################################### ## <summary> ## List the mail queue. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_list_queue',` gen_require(` type mqueue_spool_t; ') allow $1 mqueue_spool_t:dir list_dir_perms; files_search_spool($1) ') ####################################### ## <summary> ## Read the mail queue. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_read_queue',` gen_require(` type mqueue_spool_t; ') read_files_pattern($1, mqueue_spool_t, mqueue_spool_t) files_search_spool($1) ') ####################################### ## <summary> ## Do not audit attempts to read and ## write the mail queue. ## </summary> ## <param name="domain"> ## <summary> ## Domain to not audit. ## </summary> ## </param> # interface(`mta_dontaudit_rw_queue',` gen_require(` type mqueue_spool_t; ') dontaudit $1 mqueue_spool_t:dir search_dir_perms; dontaudit $1 mqueue_spool_t:file { getattr read write }; ') ######################################## ## <summary> ## Create, read, write, and delete ## mail queue files. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_manage_queue',` gen_require(` type mqueue_spool_t; ') files_search_spool($1) manage_dirs_pattern($1, mqueue_spool_t, mqueue_spool_t) manage_files_pattern($1, mqueue_spool_t, mqueue_spool_t) ') ###################################### ## <summary> ## Type transition files created in calling dir ## to the mail address aliases type. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <param name="private_type"> ## <summary> ## Directory to transition on. ## </summary> ## </param> ## <param name="object"> ## <summary> ## The object class of the object being created. ## </summary> ## </param> # interface(`mta_spool_filetrans_queue',` gen_require(` type mqueue_spool_t; ') files_search_spool($1) filetrans_pattern($1, mqueue_spool_t, $2, $3) ') ####################################### ## <summary> ## Read sendmail binary. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # # cjp: added for postfix interface(`mta_read_sendmail_bin',` gen_require(` type sendmail_exec_t; ') allow $1 sendmail_exec_t:file read_file_perms; ') ####################################### ## <summary> ## Read and write unix domain stream sockets ## of user mail domains. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_rw_user_mail_stream_sockets',` gen_require(` attribute user_mail_domain; ') allow $1 user_mail_domain:unix_stream_socket rw_socket_perms; ') ####################################### ## <summary> ## Send all user mail client a signal ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_signal_user_agent',` gen_require(` attribute mta_user_agent; ') allow $1 mta_user_agent:process signal; ')
Close