## Simple network management protocol services
########################################
##
## Use snmp over a TCP connection.
##
##
## Domain allowed access.
##
#
interface(`snmp_use',`
gen_require(`
type snmpd_t;
')
allow $1 snmpd_t:tcp_socket { connectto recvfrom };
allow snmpd_t $1:tcp_socket { acceptfrom recvfrom };
kernel_tcp_recvfrom($1)
')