2005-09-02 20:50:54 +00:00
|
|
|
## <summary>Dictionary daemon</summary>
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Use dictionary services by connecting
|
|
|
|
## over TCP.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2005-09-02 20:50:54 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2005-09-02 20:50:54 +00:00
|
|
|
## </param>
|
|
|
|
#
|
2006-02-02 21:08:12 +00:00
|
|
|
interface(`dictd_tcp_connect',`
|
2005-09-02 20:50:54 +00:00
|
|
|
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)
|
|
|
|
')
|