Chris PeBenito ac0483
## <summary>Dictionary daemon</summary>
Chris PeBenito ac0483
Chris PeBenito ac0483
########################################
Chris PeBenito ac0483
## <summary>
Chris PeBenito ac0483
##	Use dictionary services by connecting
Chris PeBenito ac0483
##	over TCP.
Chris PeBenito ac0483
## </summary>
Chris PeBenito ac0483
## <param name="domain">
Chris PeBenito ac0483
##	Domain allowed access.
Chris PeBenito ac0483
## </param>
Chris PeBenito ac0483
#
Chris PeBenito 1815ba
interface(`dictd_tcp_connect',`
Chris PeBenito ac0483
	gen_require(`
Chris PeBenito ac0483
		type dictd_t;
Chris PeBenito ac0483
	')
Chris PeBenito ac0483
Chris PeBenito ac0483
	allow $1 dictd_t:tcp_socket { connectto recvfrom };
Chris PeBenito ac0483
	allow dictd_t $1:tcp_socket { acceptfrom recvfrom };
Chris PeBenito ac0483
	kernel_tcp_recvfrom($1)
Chris PeBenito ac0483
')