## Policy controlling access to network objects ## ## Contains the initial SIDs for network objects. ## ######################################## ## ## Send and receive TCP network traffic on the generic interfaces. ## ## ## ## The type of the process performing this action. ## ## ## # interface(`corenet_tcp_sendrecv_generic_if',` gen_require(` type netif_t; ') allow $1 netif_t:netif { tcp_send tcp_recv }; ') ######################################## ## ## Send UDP network traffic on generic interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_send_generic_if',` gen_require(` type netif_t; ') allow $1 netif_t:netif udp_send; ') ######################################## ## ## Receive UDP network traffic on generic interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_receive_generic_if',` gen_require(` type netif_t; ') allow $1 netif_t:netif udp_recv; ') ######################################## ## ## Send and Receive UDP network traffic on generic interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_sendrecv_generic_if',` corenet_udp_send_generic_if($1) corenet_udp_receive_generic_if($1) ') ######################################## ## ## Send raw IP packets on generic interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_send_generic_if',` gen_require(` type netif_t; ') allow $1 netif_t:netif rawip_send; ') ######################################## ## ## Receive raw IP packets on generic interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_receive_generic_if',` gen_require(` type netif_t; ') allow $1 netif_t:netif rawip_recv; ') ######################################## ## ## Send and receive raw IP packets on generic interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_sendrecv_generic_if',` corenet_raw_send_generic_if($1) corenet_raw_receive_generic_if($1) ') ######################################## ## ## Send and receive TCP network traffic on all interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_sendrecv_all_if',` gen_require(` attribute netif_type; ') allow $1 netif_type:netif { tcp_send tcp_recv }; ') ######################################## ## ## Send UDP network traffic on all interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_send_all_if',` gen_require(` attribute netif_type; ') allow $1 netif_type:netif udp_send; ') ######################################## ## ## Receive UDP network traffic on all interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_receive_all_if',` gen_require(` attribute netif_type; ') allow $1 netif_type:netif udp_recv; ') ######################################## ## ## Send and receive UDP network traffic on all interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_sendrecv_all_if',` corenet_udp_send_all_if($1) corenet_udp_receive_all_if($1) ') ######################################## ## ## Send raw IP packets on all interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_send_all_if',` gen_require(` attribute netif_type; ') allow $1 netif_type:netif rawip_send; ') ######################################## ## ## Receive raw IP packets on all interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_receive_all_if',` gen_require(` attribute netif_type; ') allow $1 netif_type:netif rawip_recv; ') ######################################## ## ## Send and receive raw IP packets on all interfaces. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_sendrecv_all_if',` corenet_raw_send_all_if($1) corenet_raw_receive_all_if($1) ') ######################################## ## ## Send and receive TCP network traffic on generic nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_sendrecv_generic_node',` gen_require(` type node_t; ') allow $1 node_t:node { tcp_send tcp_recv }; ') ######################################## ## ## Send UDP network traffic on generic nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_send_generic_node',` gen_require(` type node_t; ') allow $1 node_t:node udp_send; ') ######################################## ## ## Receive UDP network traffic on generic nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_receive_generic_node',` gen_require(` type node_t; ') allow $1 node_t:node udp_recv; ') ######################################## ## ## Send and receive UDP network traffic on generic nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_sendrecv_generic_node',` corenet_udp_send_generic_node($1) corenet_udp_receive_generic_node($1) ') ######################################## ## ## Send raw IP packets on generic nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_send_generic_node',` gen_require(` type node_t; ') allow $1 node_t:node rawip_send; ') ######################################## ## ## Receive raw IP packets on generic nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_receive_generic_node',` gen_require(` type node_t; ') allow $1 node_t:node rawip_recv; ') ######################################## ## ## Send and receive raw IP packets on generic nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_sendrecv_generic_node',` corenet_raw_send_generic_node($1) corenet_raw_receive_generic_node($1) ') ######################################## ## ## Bind TCP sockets to generic nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_bind_generic_node',` gen_require(` type node_t; ') allow $1 node_t:tcp_socket node_bind; ') ######################################## ## ## Bind UDP sockets to generic nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_bind_generic_node',` gen_require(` type node_t; ') allow $1 node_t:udp_socket node_bind; ') ######################################## ## ## Send and receive TCP network traffic on all nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_sendrecv_all_nodes',` gen_require(` attribute node_type; ') allow $1 node_type:node { tcp_send tcp_recv }; ') ######################################## ## ## Send UDP network traffic on all nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_send_all_nodes',` gen_require(` attribute node_type; ') allow $1 node_type:node udp_send; ') ######################################## ## ## Receive UDP network traffic on all nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_receive_all_nodes',` gen_require(` attribute node_type; ') allow $1 node_type:node udp_recv; ') ######################################## ## ## Send and receive UDP network traffic on all nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_sendrecv_all_nodes',` corenet_udp_send_all_nodes($1) corenet_udp_receive_all_nodes($1) ') ######################################## ## ## Send raw IP packets on all nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_send_all_nodes',` gen_require(` attribute node_type; ') allow $1 node_type:node rawip_send; ') ######################################## ## ## Receive raw IP packets on all nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_receive_all_nodes',` gen_require(` attribute node_type; ') allow $1 node_type:node rawip_recv; ') ######################################## ## ## Send and receive raw IP packets on all nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_raw_sendrecv_all_nodes',` corenet_raw_send_all_nodes($1) corenet_raw_receive_all_nodes($1) ') ######################################## ## ## Bind TCP sockets to all nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_bind_all_nodes',` gen_require(` attribute node_type; ') allow $1 node_type:tcp_socket node_bind; ') ######################################## ## ## Bind UDP sockets to all nodes. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_bind_all_nodes',` gen_require(` attribute node_type; ') allow $1 node_type:udp_socket node_bind; ') ######################################## ## ## Bind raw sockets to all nodes. ## ## ## ## The type of the process performing this action. ## ## # rawip_socket node_bind does not make much sense. # cjp: vmware hits this too interface(`corenet_raw_bind_all_nodes',` gen_require(` attribute node_type; ') allow $1 node_type:rawip_socket node_bind; ') ######################################## ## ## Send and receive TCP network traffic on generic ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_sendrecv_generic_port',` gen_require(` type port_t; ') allow $1 port_t:tcp_socket { send_msg recv_msg }; ') ######################################## ## ## Do not audit send and receive TCP network traffic on generic ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_dontaudit_tcp_sendrecv_generic_port',` gen_require(` type port_t; ') allow $1 port_t:tcp_socket { send_msg recv_msg }; ') ######################################## ## ## Send UDP network traffic on generic ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_send_generic_port',` gen_require(` type port_t; ') allow $1 port_t:udp_socket send_msg; ') ######################################## ## ## Receive UDP network traffic on generic ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_receive_generic_port',` gen_require(` type port_t; ') allow $1 port_t:udp_socket recv_msg; ') ######################################## ## ## Send and receive UDP network traffic on generic ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_sendrecv_generic_port',` corenet_udp_send_generic_port($1) corenet_udp_receive_generic_port($1) ') ######################################## ## ## Bind TCP sockets to generic ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_bind_generic_port',` gen_require(` type port_t; ') allow $1 port_t:tcp_socket name_bind; ') ######################################## ## ## Do not audit bind TCP sockets to generic ports. ## ## ## ## Domain to not audit. ## ## # interface(`corenet_dontaudit_tcp_bind_generic_port',` gen_require(` type port_t; ') dontaudit $1 port_t:tcp_socket name_bind; ') ######################################## ## ## Bind UDP sockets to generic ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_bind_generic_port',` gen_require(` type port_t; ') allow $1 port_t:udp_socket name_bind; ') ######################################## ## ## Connect TCP sockets to generic ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_connect_generic_port',` gen_require(` type port_t; ') allow $1 port_t:tcp_socket name_connect; ') ######################################## ## ## Send and receive TCP network traffic on all ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_sendrecv_all_ports',` gen_require(` attribute port_type; ') allow $1 port_type:tcp_socket { send_msg recv_msg }; ') ######################################## ## ## Send UDP network traffic on all ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_send_all_ports',` gen_require(` attribute port_type; ') allow $1 port_type:udp_socket send_msg; ') ######################################## ## ## Receive UDP network traffic on all ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_receive_all_ports',` gen_require(` attribute port_type; ') allow $1 port_type:udp_socket recv_msg; ') ######################################## ## ## Send and receive UDP network traffic on all ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_sendrecv_all_ports',` corenet_udp_send_all_ports($1) corenet_udp_receive_all_ports($1) ') ######################################## ## ## Bind TCP sockets to all ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_bind_all_ports',` gen_require(` attribute port_type; ') allow $1 port_type:tcp_socket name_bind; ') ######################################## ## ## Do not audit attepts to bind TCP sockets to any ports. ## ## ## ## Domain to not audit. ## ## # interface(`corenet_dontaudit_tcp_bind_all_ports',` gen_require(` attribute port_type; ') dontaudit $1 port_type:tcp_socket name_bind; ') ######################################## ## ## Bind UDP sockets to all ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_bind_all_ports',` gen_require(` attribute port_type; ') allow $1 port_type:udp_socket name_bind; ') ######################################## ## ## Connect TCP sockets to all ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_connect_all_ports',` gen_require(` attribute port_type; ') allow $1 port_type:tcp_socket name_connect; ') ######################################## ## ## Send and receive TCP network traffic on generic reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_sendrecv_reserved_port',` gen_require(` type reserved_port_t; ') allow $1 reserved_port_t:tcp_socket { send_msg recv_msg }; ') ######################################## ## ## Send UDP network traffic on generic reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_send_reserved_port',` gen_require(` type reserved_port_t; ') allow $1 reserved_port_t:udp_socket send_msg; ') ######################################## ## ## Receive UDP network traffic on generic reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_receive_reserved_port',` gen_require(` type reserved_port_t; ') allow $1 reserved_port_t:udp_socket recv_msg; ') ######################################## ## ## Send and receive UDP network traffic on generic reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_sendrecv_reserved_port',` corenet_udp_send_reserved_port($1) corenet_udp_receive_reserved_port($1) ') ######################################## ## ## Bind TCP sockets to generic reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_bind_reserved_port',` gen_require(` type reserved_port_t; ') allow $1 reserved_port_t:tcp_socket name_bind; allow $1 self:capability net_bind_service; ') ######################################## ## ## Bind UDP sockets to generic reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_bind_reserved_port',` gen_require(` type reserved_port_t; ') allow $1 reserved_port_t:udp_socket name_bind; allow $1 self:capability net_bind_service; ') ######################################## ## ## Connect TCP sockets to generic reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_connect_reserved_port',` gen_require(` type reserved_port_t; ') allow $1 reserved_port_t:tcp_socket name_connect; ') ######################################## ## ## Send and receive TCP network traffic on all reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_sendrecv_all_reserved_ports',` gen_require(` attribute reserved_port_type; ') allow $1 reserved_port_type:tcp_socket { send_msg recv_msg }; ') ######################################## ## ## Send UDP network traffic on all reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_send_all_reserved_ports',` gen_require(` attribute reserved_port_type; ') allow $1 reserved_port_type:udp_socket send_msg; ') ######################################## ## ## Receive UDP network traffic on all reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_receive_all_reserved_ports',` gen_require(` attribute reserved_port_type; ') allow $1 reserved_port_type:udp_socket recv_msg; ') ######################################## ## ## Send and receive UDP network traffic on all reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_sendrecv_all_reserved_ports',` corenet_udp_send_all_reserved_ports($1) corenet_udp_receive_all_reserved_ports($1) ') ######################################## ## ## Bind TCP sockets to all reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_bind_all_reserved_ports',` gen_require(` attribute reserved_port_type; ') allow $1 reserved_port_type:tcp_socket name_bind; allow $1 self:capability net_bind_service; ') ######################################## ## ## Do not audit attempts to bind TCP sockets to all reserved ports. ## ## ## ## The type of the process to not audit. ## ## # interface(`corenet_dontaudit_tcp_bind_all_reserved_ports',` gen_require(` attribute reserved_port_type; ') dontaudit $1 reserved_port_type:tcp_socket name_bind; ') ######################################## ## ## Bind UDP sockets to all reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_bind_all_reserved_ports',` gen_require(` attribute reserved_port_type; ') allow $1 reserved_port_type:udp_socket name_bind; allow $1 self:capability net_bind_service; ') ######################################## ## ## Do not audit attempts to bind UDP sockets to all reserved ports. ## ## ## ## The type of the process to not audit. ## ## # interface(`corenet_dontaudit_udp_bind_all_reserved_ports',` gen_require(` attribute reserved_port_type; ') dontaudit $1 reserved_port_type:udp_socket name_bind; ') ######################################## ## ## Connect TCP sockets to reserved ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_connect_all_reserved_ports',` gen_require(` attribute reserved_port_type; ') allow $1 reserved_port_type:tcp_socket name_connect; ') ######################################## ## ## Do not audit attempts to connect TCP sockets ## all reserved ports. ## ## ## ## Domain to not audit. ## ## # interface(`corenet_dontaudit_tcp_connect_all_reserved_ports',` gen_require(` attribute reserved_port_type; ') dontaudit $1 reserved_port_type:tcp_socket name_connect; ') ######################################## ## ## Read and write the TUN/TAP virtual network device. ## ## ## ## The domain allowed access. ## ## # interface(`corenet_rw_tun_tap_dev',` gen_require(` type tun_tap_device_t; ') dev_list_all_dev_nodes($1) allow $1 tun_tap_device_t:chr_file { getattr read write ioctl lock append }; ') ######################################## ## ## Read and write the point-to-point device. ## ## ## ## The domain allowed access. ## ## # interface(`corenet_rw_ppp_dev',` gen_require(` type ppp_device_t; ') dev_list_all_dev_nodes($1) allow $1 ppp_device_t:chr_file rw_file_perms; ') ######################################## ## ## Bind TCP sockets to all RPC ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_tcp_bind_all_rpc_ports',` gen_require(` attribute rpc_port_type; ') allow $1 rpc_port_type:tcp_socket name_bind; allow $1 self:capability net_bind_service; ') ######################################## ## ## Do not audit attempts to bind TCP sockets to all RPC ports. ## ## ## ## The type of the process to not audit. ## ## # interface(`corenet_dontaudit_tcp_bind_all_rpc_ports',` gen_require(` attribute rpc_port_type; ') dontaudit $1 rpc_port_type:tcp_socket name_bind; ') ######################################## ## ## Bind UDP sockets to all RPC ports. ## ## ## ## The type of the process performing this action. ## ## # interface(`corenet_udp_bind_all_rpc_ports',` gen_require(` attribute rpc_port_type; ') allow $1 rpc_port_type:udp_socket name_bind; allow $1 self:capability net_bind_service; ') ######################################## ## ## Do not audit attempts to bind UDP sockets to all RPC ports. ## ## ## ## The type of the process to not audit. ## ## # interface(`corenet_dontaudit_udp_bind_all_rpc_ports',` gen_require(` attribute rpc_port_type; ') dontaudit $1 rpc_port_type:udp_socket name_bind; ') ######################################## ## ## Send and receive messages on a ## non-encrypted (no IPSEC) network ## session. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_non_ipsec_sendrecv',` kernel_sendrecv_unlabeled_association($1) ') ######################################## ## ## Send generic client packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_send_generic_client_packets',` gen_require(` type client_packet_t; ') allow $1 client_packet_t:packet send; ') ######################################## ## ## Receive generic client packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_receive_generic_client_packets',` gen_require(` type client_packet_t; ') allow $1 client_packet_t:packet recv; ') ######################################## ## ## Send and receive generic client packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_sendrecv_generic_client_packets',` corenet_send_generic_client_packets($1) corenet_receive_generic_client_packets($1) ') ######################################## ## ## Relabel packets to the generic client packet type. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_relabelto_generic_client_packets',` gen_require(` type client_packet_t; ') allow $1 client_packet_t:packet relabelto; ') ######################################## ## ## Send generic server packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_send_generic_server_packets',` gen_require(` type server_packet_t; ') allow $1 server_packet_t:packet send; ') ######################################## ## ## Receive generic server packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_receive_generic_server_packets',` gen_require(` type server_packet_t; ') allow $1 server_packet_t:packet recv; ') ######################################## ## ## Send and receive generic server packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_sendrecv_generic_server_packets',` corenet_send_generic_server_packets($1) corenet_receive_generic_server_packets($1) ') ######################################## ## ## Relabel packets to the generic server packet type. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_relabelto_generic_server_packets',` gen_require(` type server_packet_t; ') allow $1 server_packet_t:packet relabelto; ') ######################################## ## ## Send and receive unlabeled packets. ## ## ##

## Send and receive unlabeled packets. ## These packets do not match any netfilter ## SECMARK rules. ##

##
## ## ## Domain allowed access. ## ## # interface(`corenet_sendrecv_unlabeled_packets',` kernel_sendrecv_unlabeled_packets($1) ') ######################################## ## ## Send all client packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_send_all_client_packets',` gen_require(` attribute client_packet_type; ') allow $1 client_packet_type:packet send; ') ######################################## ## ## Receive all client packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_receive_all_client_packets',` gen_require(` attribute client_packet_type; ') allow $1 client_packet_type:packet recv; ') ######################################## ## ## Send and receive all client packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_sendrecv_all_client_packets',` corenet_send_all_client_packets($1) corenet_receive_all_client_packets($1) ') ######################################## ## ## Relabel packets to any client packet type. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_relabelto_all_client_packets',` gen_require(` attribute client_packet_type; ') allow $1 client_packet_type:packet relabelto; ') ######################################## ## ## Send all server packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_send_all_server_packets',` gen_require(` attribute server_packet_type; ') allow $1 server_packet_type:packet send; ') ######################################## ## ## Receive all server packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_receive_all_server_packets',` gen_require(` attribute server_packet_type; ') allow $1 server_packet_type:packet recv; ') ######################################## ## ## Send and receive all server packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_sendrecv_all_server_packets',` corenet_send_all_server_packets($1) corenet_receive_all_server_packets($1) ') ######################################## ## ## Relabel packets to any server packet type. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_relabelto_all_server_packets',` gen_require(` attribute server_packet_type; ') allow $1 server_packet_type:packet relabelto; ') ######################################## ## ## Send all packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_send_all_packets',` gen_require(` attribute packet_type; ') allow $1 packet_type:packet send; ') ######################################## ## ## Receive all packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_receive_all_packets',` gen_require(` attribute packet_type; ') allow $1 packet_type:packet recv; ') ######################################## ## ## Send and receive all packets. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_sendrecv_all_packets',` corenet_send_all_packets($1) corenet_receive_all_packets($1) ') ######################################## ## ## Relabel packets to any packet type. ## ## ## ## Domain allowed access. ## ## # interface(`corenet_relabelto_all_packets',` gen_require(` attribute packet_type; ') allow $1 packet_type:packet relabelto; ') ######################################## ## ## Unconfined access to network objects. ## ## ## ## The domain allowed access. ## ## # interface(`corenet_unconfined',` gen_require(` attribute corenet_unconfined_type; ') typeattribute $1 corenet_unconfined_type; ')