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