Chris PeBenito a478b5
## <summary>Nessus network scanning daemon</summary>
Chris PeBenito a478b5
Chris PeBenito a478b5
########################################
Chris PeBenito a478b5
## <summary>
Chris PeBenito a478b5
##	Connect to nessus over a TCP socket
Chris PeBenito a478b5
## </summary>
Chris PeBenito a478b5
## <param name="domain">
Chris PeBenito a478b5
##	<summary>
Chris PeBenito a478b5
##	Domain allowed access.
Chris PeBenito a478b5
##	</summary>
Chris PeBenito a478b5
## </param>
Chris PeBenito a478b5
#
Chris PeBenito a478b5
interface(`nessus_tcp_connect',`
Chris PeBenito a478b5
	gen_require(`
Chris PeBenito 7d1e36
		type nessusd_t;
Chris PeBenito a478b5
	')
Chris PeBenito a478b5
Chris PeBenito 7d1e36
	allow $1 nessusd_t:tcp_socket { connectto recvfrom };
Chris PeBenito 7d1e36
	allow nessusd_t $1:tcp_socket { acceptfrom recvfrom };
Chris PeBenito a478b5
	kernel_tcp_recvfrom($1)
Chris PeBenito a478b5
')