Chris PeBenito ccc597
## <summary>Simple network management protocol services</summary>
Chris PeBenito 44fc06
Chris PeBenito 44fc06
########################################
Chris PeBenito 44fc06
## <summary>
Chris PeBenito 44fc06
##	Use snmp over a TCP connection.
Chris PeBenito 44fc06
## </summary>
Chris PeBenito 44fc06
## <param name="domain">
Chris PeBenito 44fc06
##	Domain allowed access.
Chris PeBenito 44fc06
## </param>
Chris PeBenito 44fc06
#
Chris PeBenito 44fc06
interface(`snmp_use',`
Chris PeBenito 44fc06
	gen_require(`
Chris PeBenito 44fc06
		type snmpd_t;
Chris PeBenito 44fc06
	')
Chris PeBenito 44fc06
Chris PeBenito 44fc06
	allow $1 snmpd_t:tcp_socket { connectto recvfrom };
Chris PeBenito 44fc06
	allow snmpd_t $1:tcp_socket { acceptfrom recvfrom };
Chris PeBenito 44fc06
	kernel_tcp_recvfrom($1)
Chris PeBenito 44fc06
')