22 lines
460 B
Plaintext
22 lines
460 B
Plaintext
## <summary>Nessus network scanning daemon</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Connect to nessus over a TCP socket
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed access.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`nessus_tcp_connect',`
|
|
gen_require(`
|
|
type nessus_t;
|
|
')
|
|
|
|
allow $1 nessus_t:tcp_socket { connectto recvfrom };
|
|
allow nessus_t $1:tcp_socket { acceptfrom recvfrom };
|
|
kernel_tcp_recvfrom($1)
|
|
')
|