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 a478b5
		type nessus_t;
Chris PeBenito a478b5
	')
Chris PeBenito a478b5
Chris PeBenito a478b5
	allow $1 nessus_t:tcp_socket { connectto recvfrom };
Chris PeBenito a478b5
	allow nessus_t $1:tcp_socket { acceptfrom recvfrom };
Chris PeBenito a478b5
	kernel_tcp_recvfrom($1)
Chris PeBenito a478b5
')