Blame refpolicy/policy/modules/services/jabber.if
|
Chris PeBenito |
61cf53 |
## <summary>Jabber instant messaging server</summary>
|
|
Chris PeBenito |
61cf53 |
|
|
Chris PeBenito |
61cf53 |
########################################
|
|
Chris PeBenito |
61cf53 |
## <summary>
|
|
Chris PeBenito |
61cf53 |
## Connect to jabber over a TCP socket
|
|
Chris PeBenito |
61cf53 |
## </summary>
|
|
Chris PeBenito |
61cf53 |
## <param name="domain">
|
|
Chris PeBenito |
61cf53 |
## <summary>
|
|
Chris PeBenito |
61cf53 |
## Domain allowed access.
|
|
Chris PeBenito |
61cf53 |
## </summary>
|
|
Chris PeBenito |
61cf53 |
## </param>
|
|
Chris PeBenito |
61cf53 |
#
|
|
Chris PeBenito |
61cf53 |
interface(`jabber_tcp_connect',`
|
|
Chris PeBenito |
61cf53 |
gen_require(`
|
|
Chris PeBenito |
61cf53 |
type jabberd_t;
|
|
Chris PeBenito |
61cf53 |
')
|
|
Chris PeBenito |
61cf53 |
|
|
Chris PeBenito |
61cf53 |
allow $1 jabberd_t:tcp_socket { connectto recvfrom };
|
|
Chris PeBenito |
61cf53 |
allow jabberd_t $1:tcp_socket { acceptfrom recvfrom };
|
|
Chris PeBenito |
61cf53 |
kernel_tcp_recvfrom($1)
|
|
Chris PeBenito |
61cf53 |
')
|