PATCH[2.1/3]: labeled ipsec policy
Subsystems (2)
The 2nd patch of three, was too big to be received on this mailing list, so I split it into two, 2.1 and 2.2.
My apologies for not readily realizing the patch had not been received.
Regards,
Joy
------------------------------------------------------------------------------
policy/modules/apps/evolution.if +54 -0
@@ -816,3 +816,57 @@ template(`evolution_stream_connect',` allow $2 $1_evolution_t:unix_stream_socket connectto; allow $2 $1_evolution_home_t:dir search; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_recv_labeledipsec_role',` + gen_require(` + type $1_evolution_t; + ') + allow $2 $1_evolution_t:association recvfrom; +') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_recv_labeledipsec_server_role',` + gen_require(` + type $1_evolution_server_t; + ') + allow $2 $1_evolution_server_t:association recvfrom; +') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_recv_labeledipsec_webcal_role',` + gen_require(` + type $1_evolution_webcal_t; + ') + allow $2 $1_evolution_webcal_t:association recvfrom; +')
policy/modules/apps/games.if +18 -0
@@ -169,3 +169,21 @@ template(`games_per_role_template',` ') ') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`games_recv_labeledipsec_role',` + gen_require(` + type $1_games_t; + ') + allow $2 $1_games_t:association recvfrom; +')
policy/modules/apps/gift.if +36 -0
@@ -205,3 +205,39 @@ template(`gift_per_role_template',` fs_manage_cifs_symlinks($1_giftd_t) ') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`gift_recv_labeledipsec_client_role',` + gen_require(` + type $1_gift_t; + ') + allow $2 $1_gift_t:association recvfrom; +') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`gift_recv_labeledipsec_server_role',` + gen_require(` + type $1_giftd_t; + ') + allow $2 $1_giftd_t:association recvfrom; +')
policy/modules/apps/gpg.if +36 -0
@@ -405,3 +405,39 @@ template(`gpg_signal_user_gpg',` allow $2 $1_gpg_t:process signal; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`gpg_recv_labeledipsec_role',` + gen_require(` + type $1_gpg_t; + ') + allow $2 $1_gpg_t:association recvfrom; +') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`gpg_recv_labeledipsec_helper_role',` + gen_require(` + type $1_gpg_helper_t; + ') + allow $2 $1_gpg_helper_t:association recvfrom; +')
policy/modules/apps/irc.if +18 -0
@@ -158,3 +158,21 @@ template(`irc_per_role_template',` nis_use_ypbind($1_irc_t) ') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`irc_recv_labeledipsec_role',` + gen_require(` + type $1_irc_t; + ') + allow $2 $1_irc_t:association recvfrom; +')
policy/modules/apps/java.if +18 -0
@@ -200,3 +200,21 @@ interface(`java_domtrans',` refpolicywarn(`$0($1) has no effect in strict policy.') ') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`java_recv_labeledipsec_role',` + gen_require(` + type $1_javaplugin_t; + ') + allow $2 $1_javaplugin_t:association recvfrom; +')
policy/modules/apps/mozilla.if +18 -0
@@ -411,3 +411,21 @@ template(`mozilla_per_role_template',` ') ') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`mozilla_recv_labeledipsec_role',` + gen_require(` + type $1_mozilla_t; + ') + allow $2 $1_mozilla_t:association recvfrom; +')
policy/modules/apps/screen.if +18 -0
@@ -199,3 +199,21 @@ template(`screen_per_role_template',` ') ') dnl TODO ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`screen_recv_labeledipsec_role',` + gen_require(` + type $1_screen_t; + ') + allow $2 $1_screen_t:association recvfrom; +')
policy/modules/apps/thunderbird.if +18 -0
@@ -348,3 +348,21 @@ template(`thunderbird_per_role_template' ') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`thunderbird_recv_labeledipsec_role',` + gen_require(` + type $1_thunderbird_t; + ') + allow $2 $1_thunderbird_t:association recvfrom; +')
policy/modules/apps/uml.if +18 -0
@@ -250,3 +250,21 @@ interface(`uml_manage_util_files',` allow $1 uml_switch_var_run_t:file create_file_perms; allow $1 uml_switch_var_run_t:lnk_file create_lnk_perms; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`uml_recv_labeledipsec_role',` + gen_require(` + type $1_uml_t; + ') + allow $2 $1_uml_t:association recvfrom; +')
policy/modules/apps/vmware.if +18 -0
@@ -203,3 +203,21 @@ interface(`vmware_append_system_config', allow $1 vmware_sys_conf_t:file append; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`vmware_recv_labeledipsec',` + gen_require(` + type vmware_host_t; + ') + allow $1 vmware_host_t:association recvfrom; +')
policy/modules/services/afs.if +90 -0
91 lines not on this page · raw message
policy/modules/services/amavis.if +18 -0
@@ -174,3 +174,21 @@ interface(`amavis_setattr_pid_files',` allow $1 amavis_var_run_t:file setattr; files_search_pids($1) ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`amavis_recv_labeledipsec',` + gen_require(` + type amavis_t; + ') + allow $1 amavis_t:association recvfrom; +')
policy/modules/services/apache.if +54 -0
57 lines not on this page · raw message
policy/modules/services/asterisk.if +18 -0
@@ -1 +1,19 @@ ## <summary>Asterisk IP telephony server</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`asterisk_recv_labeledipsec',` + gen_require(` + type asterisk_t; + ') + allow $1 asterisk_t:association recvfrom; +')
policy/modules/services/automount.if +18 -0
@@ -81,3 +81,21 @@ interface(`automount_dontaudit_getattr_t dontaudit $1 automount_tmp_t:dir getattr; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`autotmount_recv_labeledipsec',` + gen_require(` + type automount_t; + ') + allow $1 automoun_t:association recvfrom; +')
policy/modules/services/avahi.if +18 -0
@@ -41,3 +41,21 @@ interface(`avahi_stream_connect',` allow $1 avahi_var_run_t:sock_file rw_file_perms; allow $1 avahi_t:unix_stream_socket connectto; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`avahi_recv_labeledipsec',` + gen_require(` + type avahi_t; + ') + allow $1 avahi_t:association recvfrom; +')
policy/modules/services/bind.if +36 -0
@@ -268,3 +268,39 @@ interface(`bind_read_zone',` interface(`bind_udp_chat_named',` refpolicywarn(`$0($*) has been deprecated.') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`bind_recv_labeledipsec_named',` + gen_require(` + type named_t; + ') + allow $1 named_t:association recvfrom; +') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`bind_recv_labeledipsec_ndc',` + gen_require(` + type ndc_t; + ') + allow $1 ndc_t:association recvfrom; +')
policy/modules/services/bluetooth.if +18 -0
@@ -133,3 +133,21 @@ interface(`bluetooth_dontaudit_read_help dontaudit $1 bluetooth_helper_t:dir search; dontaudit $1 bluetooth_helper_t:file { read getattr }; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`bluetooth_recv_labeledipsec',` + gen_require(` + type bluetooth_t; + ') + allow $1 bluetooth_t:association recvfrom; +')
policy/modules/services/canna.if +18 -0
@@ -20,3 +20,21 @@ interface(`canna_stream_connect',` allow $1 canna_var_run_t:sock_file write; allow $1 canna_t:unix_stream_socket connectto; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`canna_recv_labeledipsec',` + gen_require(` + type canna_t; + ') + allow $1 canna_t:association recvfrom; +')
policy/modules/services/ccs.if +18 -0
@@ -79,3 +79,21 @@ interface(`ccs_manage_config',` allow $1 cluster_conf_t:dir manage_dir_perms; allow $1 cluster_conf_t:file manage_file_perms; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`ccs_recv_labeledipsec',` + gen_require(` + type ccs_t; + ') + allow $1 ccs_t:association recvfrom; +')
policy/modules/services/cipe.if +18 -0
@@ -1 +1,19 @@ ## <summary>Encrypted tunnel daemon</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`cipe_recv_labeledipsec',` + gen_require(` + type ciped_t; + ') + allow $1 ciped_t:association recvfrom; +')
policy/modules/services/clamav.if +36 -0
@@ -102,3 +102,39 @@ interface(`clamav_domtrans_clamscan',` allow clamscan_t $1:fifo_file rw_file_perms; allow clamscan_t $1:process sigchld; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`clamav_recv_labeledipsec',` + gen_require(` + type clamd_t; + ') + allow $1 clamd_t:association recvfrom; +') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`clamav_recv_labeledipsec_freshclam',` + gen_require(` + type freshclam_t; + ') + allow $1 freshclam_t:association recvfrom; +')
policy/modules/services/clockspeed.if +36 -0
@@ -52,3 +52,39 @@ template(`clockspeed_run_cli',` allow clockspeed_cli_t $3:chr_file { getattr read write ioctl }; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`clockspeed_recv_labeledipsec_cli',` + gen_require(` + type clockpeed_cli_t; + ') + allow $1 clockspeed_cli_t:association recvfrom; +') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`clockspeed_recv_labeledipsec_srv',` + gen_require(` + type clockspeed_srv_t; + ') + allow $1 clockspeed_srv_t:association recvfrom; +')
policy/modules/services/comsat.if +18 -0
@@ -1 +1,19 @@ ## <summary>Comsat, a biff server.</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`comsat_recv_labeledipsec',` + gen_require(` + type comsat_t; + ') + allow $1 comsat_t:association recvfrom; +')
policy/modules/services/courier.if +109 -0
112 lines not on this page · raw message
policy/modules/services/cups.if +56 -0
59 lines not on this page · raw message
policy/modules/services/cvs.if +17 -0
@@ -37,3 +37,20 @@ interface(`cvs_exec',` can_exec($1,cvs_exec_t) ') +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`cvs_recv_labeledipsec',` + gen_require(` + type cvs_t; + ') + allow $1 cvs_t:association recvfrom; +')
policy/modules/services/cyrus.if +18 -0
@@ -42,3 +42,21 @@ interface(`cyrus_stream_connect',` allow $1 cyrus_var_lib_t:sock_file write; allow $1 cyrus_t:unix_stream_socket connectto; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`cyrus_recv_labeledipsec',` + gen_require(` + type cyrus_t; + ') + allow $1 cyrus_t:association recvfrom; +')
policy/modules/services/dante.if +18 -0
@@ -1 +1,19 @@ ## <summary>Dante msproxy and socks4/5 proxy server</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`dante_recv_labeledipsec',` + gen_require(` + type dante_t; + ') + allow $1 dante_t:association recvfrom; +')
policy/modules/services/dbskk.if +18 -0
@@ -1 +1,19 @@ ## <summary>Dictionary server for the SKK Japanese input method system.</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`dbskk_recv_labeledipsec',` + gen_require(` + type dbskkd_t; + ') + allow $1 dbskkd_t:association recvfrom; +')
policy/modules/services/dbus.if +18 -0
@@ -354,3 +354,21 @@ interface(`dbus_system_bus_unconfined',` allow $1 system_dbusd_t:dbus *; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`dbus_recv_labeledipsec_role',` + gen_require(` + type $1_dbusd_t; + ') + allow $2 $1_dbusd_t:association recvfrom; +')
policy/modules/services/dcc.if +108 -0
111 lines not on this page · raw message
policy/modules/services/ddclient.if +18 -0
@@ -23,3 +23,21 @@ interface(`ddclient_domtrans',` allow ddclient_t $1:fifo_file rw_file_perms; allow ddclient_t $1:process sigchld; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`ddclient_recv_labeledipsec',` + gen_require(` + type ddclient_t; + ') + allow $1 ddclient_t:association recvfrom; +')
policy/modules/services/dhcp.if +18 -0
@@ -19,3 +19,21 @@ interface(`dhcpd_setattr_state_files',` sysnet_search_dhcp_state($1) allow $1 dhcpd_state_t:file setattr; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`dhcpd_recv_labeledipsec',` + gen_require(` + type dhcpd_t; + ') + allow $1 dhcpd_t:association recvfrom; +')
policy/modules/services/dictd.if +18 -0
@@ -14,3 +14,21 @@ interface(`dictd_tcp_connect',` refpolicywarn(`$0($*) has been deprecated.') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`dictd_recv_labeledipsec',` + gen_require(` + type dictd_t; + ') + allow $1 dictd_t:association recvfrom; +')
policy/modules/services/distcc.if +18 -0
@@ -1 +1,19 @@ ## <summary>Distributed compiler daemon</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`distcc_recv_labeledipsec',` + gen_require(` + type distccd_t; + ') + allow $1 distccd_t:association recvfrom; +')
policy/modules/services/djbdns.if +54 -0
57 lines not on this page · raw message
policy/modules/services/dnsmasq.if +18 -0
@@ -1 +1,19 @@ ## <summary>dnsmasq DNS forwarder and DHCP server</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`dnsmasq_recv_labeledipsec',` + gen_require(` + type dnsmasq_t; + ') + allow $1 dnsmasq_t:association recvfrom; +')
policy/modules/services/dovecot.if +18 -0
@@ -19,3 +19,21 @@ interface(`dovecot_manage_spool',` allow $1 dovecot_spool_t:file create_file_perms; allow $1 dovecot_spool_t:lnk_file create_lnk_perms; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`dovecot_recv_labeledipsec',` + gen_require(` + type dovecot_t; + ') + allow $1 dovecot_t:association recvfrom; +')
policy/modules/services/fetchmail.if +18 -0
@@ -1 +1,19 @@ ## <summary>Remote-mail retrieval and forwarding utility</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`fetchmail_recv_labeledipsec',` + gen_require(` + type mrtg_t; + ') + allow $1 fetchmail_t:association recvfrom; +')
policy/modules/services/finger.if +18 -0
@@ -36,3 +36,21 @@ interface(`finger_domtrans',` interface(`finger_tcp_connect',` refpolicywarn(`$0($*) has been deprecated.') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`finger_recv_labeledipsec',` + gen_require(` + type fingerd_t; + ') + allow $1 fingerd_t:association recvfrom; +')
policy/modules/services/ftp.if +18 -0
@@ -126,3 +126,21 @@ interface(`ftp_domtrans_ftpdctl',` allow ftpdctl_t $1:fifo_file rw_file_perms; allow ftpdctl_t $1:process sigchld; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`ftp_recv_labeledipsec',` + gen_require(` + type ftpd_t; + ') + allow $1 ftpd_t:association recvfrom; +')
policy/modules/services/gatekeeper.if +18 -0
@@ -1 +1,19 @@ ## <summary>OpenH.323 Voice-Over-IP Gatekeeper</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`gatekeeper_recv_labeledipsec',` + gen_require(` + type gatekeeper_t; + ') + allow $1 gatekeeper_t:association recvfrom; +')
policy/modules/services/hal.if +18 -0
@@ -177,3 +177,21 @@ interface(`hal_dontaudit_append_var_lib_ files_search_pids($1) dontaudit $1 hald_var_lib_t:file ra_file_perms; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`hal_recv_labeledipsec',` + gen_require(` + type hald_t; + ') + allow $1 hald_t:association recvfrom; +')
policy/modules/services/howl.if +18 -0
@@ -17,3 +17,21 @@ interface(`howl_signal',` allow $1 howl_t:process signal; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`howl_recv_labeledipsec',` + gen_require(` + type howl_t; + ') + allow $1 howl_t:association recvfrom; +')
policy/modules/services/i18n_input.if +18 -0
@@ -13,3 +13,21 @@ interface(`i18n_use',` refpolicywarn(`$0($*) has been deprecated.') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`i18n_recv_labeledipsec',` + gen_require(` + type i18n_input_t; + ') + allow $1 i18n_input_t:association recvfrom; +')
policy/modules/services/imaze.if +18 -0
@@ -1 +1,19 @@ ## <summary>iMaze game server</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`imaze_recv_labeledipsec',` + gen_require(` + type imazesrv_t; + ') + allow $1 imazesrv_t:association recvfrom; +')
policy/modules/services/inetd.if +36 -0
@@ -236,3 +236,39 @@ interface(`inetd_rw_tcp_sockets',` allow $1 inetd_t:tcp_socket rw_stream_socket_perms; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`inetd_recv_labeledipsec',` + gen_require(` + type inetd_t; + ') + allow $1 inetd_t:association recvfrom; +') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`inetd_recv_labeledipsec_child',` + gen_require(` + type inetd_child_t; + ') + allow $1 inetd_child_t:association recvfrom; +')
policy/modules/services/inn.if +17 -0
@@ -182,3 +182,20 @@ interface(`inn_domtrans',` allow innd_t $1:process sigchld; ') +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`inn_recv_labeledipsec',` + gen_require(` + type innd_t; + ') + allow $1 innd_t:association recvfrom; +')
policy/modules/services/ircd.if +18 -0
@@ -1 +1,19 @@ ## <summary>IRC server</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`ircd_recv_labeledipsec',` + gen_require(` + type ircd_t; + ') + allow $1 ircd_t:association recvfrom; +')
policy/modules/services/jabber.if +18 -0
@@ -13,3 +13,21 @@ interface(`jabber_tcp_connect',` refpolicywarn(`$0($*) has been deprecated.') ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`jabber_recv_labeledipsec',` + gen_require(` + type jabberd_t; + ') + allow $1 jabberd_t:association recvfrom; +')
policy/modules/services/kerberos.if +36 -0
@@ -142,3 +142,39 @@ interface(`kerberos_read_keytab',` files_search_etc($1) allow $1 krb5_keytab_t:file r_file_perms; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`kerberos_recv_labeledipsec_kadmind',` + gen_require(` + type kadmind_t; + ') + allow $1 kadmind_t:association recvfrom; +') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`kerberos_recv_labeledipsec_krb5kdc',` + gen_require(` + type krb5kdc_t; + ') + allow $1 krb5kdc_t:association recvfrom; +')
policy/modules/services/ktalk.if +18 -0
@@ -1 +1,19 @@ ## <summary>KDE Talk daemon</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`ktalk_recv_labeledipsec',` + gen_require(` + type ktalkd_t; + ') + allow $1 ktalkd_t:association recvfrom; +')
policy/modules/services/ldap.if +18 -0
@@ -73,3 +73,21 @@ interface(`ldap_stream_connect',` allow $1 slapd_var_run_t:sock_file write; allow $1 slapd_t:unix_stream_socket connectto; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`ldap_recv_labeledipsec',` + gen_require(` + type slapd_t; + ') + allow $1 slapd_t:association recvfrom; +')
policy/modules/services/lpd.if +53 -0
56 lines not on this page · raw message
policy/modules/services/mailman.if +71 -0
74 lines not on this page · raw message
policy/modules/services/monop.if +18 -0
@@ -1 +1,19 @@ ## <summary>Monopoly daemon</summary> + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`monop_recv_labeledipsec',` + gen_require(` + type monopd_t; + ') + allow $1 monopd_t:association recvfrom; +')
policy/modules/services/mta.if +18 -0
@@ -883,3 +883,21 @@ interface(`mta_rw_user_mail_stream_socke allow $1 user_mail_domain:unix_stream_socket rw_socket_perms; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`mta_recv_labeledipsec_role',` + gen_require(` + type $1_mail_t; + ') + allow $2 $_mail_t:association recvfrom; +')
policy/modules/services/munin.if +18 -0
@@ -61,3 +61,21 @@ interface(`munin_search_lib',` allow $1 munin_var_lib_t:dir search_dir_perms; files_search_var_lib($1) ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`munin_recv_labeledipsec',` + gen_require(` + type munin_t; + ') + allow $1 munin_t:association recvfrom; +')
policy/modules/services/mysql.if +18 -0
@@ -159,3 +159,21 @@ interface(`mysql_write_log',` logging_search_logs($1) allow $1 mysqld_log_t:file { write append setattr ioctl }; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`mysql_recv_labeledipsec',` + gen_require(` + type mysqld_t; + ') + allow $1 mysqld_t:association recvfrom; +')
policy/modules/services/nagios.if +18 -0
@@ -85,3 +85,21 @@ interface(`nagios_domtrans_nrpe',` allow nrpe_t $1:fifo_file rw_file_perms; allow nrpe_t $1:process sigchld; ') + +######################################## +## <summary> +## Receive messages from a +## labeled ipsec association. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`nagios_recv_labeledipsec',` + gen_require(` + type nagios_t; + ') + allow $1 nagios_t:association recvfrom; +')
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.