2005-05-10 19:51:00 +00:00
|
|
|
|
2011-11-16 20:29:18 +00:00
|
|
|
#
|
|
|
|
# /dev
|
|
|
|
#
|
|
|
|
ifdef(`distro_debian',`
|
|
|
|
/dev/shm/network(/.*)? gen_context(system_u:object_r:net_conf_t,s0)
|
|
|
|
')
|
|
|
|
|
2005-05-10 19:51:00 +00:00
|
|
|
#
|
|
|
|
# /etc
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/dhclient.*conf -- gen_context(system_u:object_r:dhcp_etc_t,s0)
|
|
|
|
/etc/dhclient-script -- gen_context(system_u:object_r:dhcp_etc_t,s0)
|
|
|
|
/etc/dhcpc.* gen_context(system_u:object_r:dhcp_etc_t,s0)
|
|
|
|
/etc/dhcpd\.conf -- gen_context(system_u:object_r:dhcp_etc_t,s0)
|
2010-01-05 15:26:14 +00:00
|
|
|
/etc/dhcp/dhcpd\.conf -- gen_context(system_u:object_r:dhcp_etc_t,s0)
|
2010-02-08 18:38:48 +00:00
|
|
|
/etc/ethers -- gen_context(system_u:object_r:net_conf_t,s0)
|
2010-03-18 19:40:04 +00:00
|
|
|
/etc/hosts -- gen_context(system_u:object_r:net_conf_t,s0)
|
2018-06-20 09:38:12 +00:00
|
|
|
/etc/hosts\.allow.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
2010-03-18 19:40:04 +00:00
|
|
|
/etc/hosts\.deny.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
2019-01-15 03:20:29 +00:00
|
|
|
/etc/hostname -- gen_context(system_u:object_r:net_conf_t,s0)
|
2010-03-18 19:40:04 +00:00
|
|
|
/etc/denyhosts.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/resolv\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
|
|
|
/etc/yp\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/dhcp3(/.*)? gen_context(system_u:object_r:dhcp_etc_t,s0)
|
|
|
|
/etc/dhcp3?/dhclient.* gen_context(system_u:object_r:dhcp_etc_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
2017-10-11 14:59:08 +00:00
|
|
|
/etc/systemd/network(/.*)? gen_context(system_u:object_r:net_conf_t,s0)
|
|
|
|
|
2005-11-03 18:08:36 +00:00
|
|
|
ifdef(`distro_redhat',`
|
|
|
|
/etc/sysconfig/network-scripts/.*resolv\.conf -- gen_context(system_u:object_r:net_conf_t,s0)
|
2010-03-18 19:40:04 +00:00
|
|
|
/etc/sysconfig/networking(/.*)? gen_context(system_u:object_r:net_conf_t,s0)
|
2011-02-28 14:33:29 +00:00
|
|
|
/etc/sysconfig/network-scripts(/.*)? gen_context(system_u:object_r:net_conf_t,s0)
|
2005-11-03 18:08:36 +00:00
|
|
|
')
|
|
|
|
|
2005-05-10 19:51:00 +00:00
|
|
|
#
|
|
|
|
# /usr
|
|
|
|
#
|
2017-04-15 18:49:07 +00:00
|
|
|
/usr/bin/dhclient.* -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/usr/bin/dhcdbd -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/usr/bin/dhcp6c -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/usr/bin/dhcpcd -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/usr/bin/ethtool -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/bin/ifconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/bin/ip -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/bin/ipx_configure -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/bin/ipx_interface -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/bin/ipx_internal_net -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/bin/iw -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/bin/iwconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/bin/mii-tool -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/bin/pump -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/usr/bin/tc -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
2016-12-27 16:06:54 +00:00
|
|
|
|
|
|
|
/usr/sbin/dhclient.* -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/usr/sbin/dhcdbd -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
2017-02-07 23:51:58 +00:00
|
|
|
/usr/sbin/dhcp6c -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
2016-12-27 16:06:54 +00:00
|
|
|
/usr/sbin/dhcpcd -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/usr/sbin/ethtool -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/sbin/ifconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/sbin/ip -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/sbin/ipx_configure -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/sbin/ipx_interface -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/sbin/ipx_internal_net -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/sbin/iw -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/sbin/iwconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/sbin/mii-tool -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/usr/sbin/pump -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/usr/sbin/tc -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# /var
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/lib/dhcp3? -d gen_context(system_u:object_r:dhcp_state_t,s0)
|
|
|
|
/var/lib/dhcp3?/dhclient.* gen_context(system_u:object_r:dhcpc_state_t,s0)
|
|
|
|
/var/lib/dhcpcd(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0)
|
2017-02-25 16:20:19 +00:00
|
|
|
/var/lib/dhcpv6(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0)
|
2005-10-14 17:55:40 +00:00
|
|
|
/var/lib/dhclient(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0)
|
2010-03-18 19:40:04 +00:00
|
|
|
/var/lib/wifiroamd(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0)
|
2006-08-23 19:36:04 +00:00
|
|
|
|
2019-09-08 20:55:02 +00:00
|
|
|
/run/dhclient.* -- gen_context(system_u:object_r:dhcpc_runtime_t,s0)
|
|
|
|
/run/dhcpcd(/.*)? gen_context(system_u:object_r:dhcpc_runtime_t,s0)
|
2020-04-19 09:43:45 +00:00
|
|
|
/run/netns -d gen_context(system_u:object_r:ifconfig_runtime_t,s0)
|
|
|
|
/run/netns/[^/]+ -- <<none>>
|
2006-08-23 19:36:04 +00:00
|
|
|
|
|
|
|
ifdef(`distro_gentoo',`
|
|
|
|
/var/lib/dhcpc(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0)
|
|
|
|
')
|
2013-09-26 21:46:32 +00:00
|
|
|
|
|
|
|
ifdef(`distro_debian',`
|
2016-12-16 20:07:56 +00:00
|
|
|
/run/network(/.*)? gen_context(system_u:object_r:net_conf_t,s0)
|
2017-03-25 16:56:03 +00:00
|
|
|
/run/resolvconf/.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
2013-09-26 21:46:32 +00:00
|
|
|
')
|
|
|
|
|