sysnetwork: dhcpc binds socket to random high udp ports sysnetwork: do not audit attempts by ifconfig to read, and write dhcpc udp sockets (looks like a leaked fd)
PATCH 1/1 sysnetwork: dhcpc binds socket to random high udp ports sysnetwork: do not audit attempts by ifconfig to read, and write dhcpc udp sockets (looks like a leaked fd)
policy/modules/system/sysnetwork.te +5 -1
@@ -111,7 +111,9 @@ corenet_udp_bind_dhcpc_port(dhcpc_t) corenet_tcp_connect_all_ports(dhcpc_t) corenet_sendrecv_dhcpd_client_packets(dhcpc_t) -corenet_sendrecv_dhcpc_server_packets(dhcpc_t) + +corenet_sendrecv_all_server_packets(dhcpc_t) +corenet_udp_bind_all_unreserved_ports(dhcpc_t) dev_read_sysfs(dhcpc_t) # for SSP:
@@ -313,6 +315,8 @@ seutil_use_runinit_fds(ifconfig_t) +sysnet_dontaudit_rw_dhcpc_udp_sockets(ifconfig_t) + userdom_use_user_terminals(ifconfig_t) userdom_use_all_users_fds(ifconfig_t)
PATCH 1/1 sysnetwork: dhcpc binds socket to random high udp ports sysnetwork: do not audit attempts by ifconfig to read, and write dhcpc udp sockets (looks like a leaked fd)
Quoted 7 lines · Dominick Grift
Signed-off-by Dominick Grift <[email protected]>policy/modules/system/sysnetwork.te +0
-0
policy/modules/system/sysnetwork.te line 116
Quoted 7 lines
policy/modules/system/sysnetwork.te +3
-1@@ -111,7 +111,9 @@ corenet_udp_bind_dhcpc_port(dhcpc_t) corenet_tcp_connect_all_ports(dhcpc_t) corenet_sendrecv_dhcpd_client_packets(dhcpc_t) -corenet_sendrecv_dhcpc_server_packets(dhcpc_t) + +corenet_sendrecv_all_server_packets(dhcpc_t) +corenet_udp_bind_all_unreserved_ports(dhcpc_t)
I'm anxious about allowing. Which dhcpc is doing this?
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
PATCH 1/1 sysnetwork: dhcpc binds socket to random high udp ports sysnetwork: do not audit attempts by ifconfig to read, and write dhcpc udp sockets (looks like a leaked fd)
Quoted 17 lines · Christopher J. PeBenito
Quoted 7 lines · Dominick Grift
Signed-off-by Dominick Grift <[email protected]>policy/modules/system/sysnetwork.te +0
-0policy/modules/system/sysnetwork.te line 116
Quoted 7 lines
policy/modules/system/sysnetwork.te +3
-1@@ -111,7 +111,9 @@ corenet_udp_bind_dhcpc_port(dhcpc_t) corenet_tcp_connect_all_ports(dhcpc_t) corenet_sendrecv_dhcpd_client_packets(dhcpc_t) -corenet_sendrecv_dhcpc_server_packets(dhcpc_t) + +corenet_sendrecv_all_server_packets(dhcpc_t) +corenet_udp_bind_all_unreserved_ports(dhcpc_t)I'm anxious about allowing. Which dhcpc is doing this?
dhclient this is also allowed on Fedora, seems very common i dont like it either but little we can do about it
Quoted 5 lines
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com