22 lines
464 B
Plaintext
22 lines
464 B
Plaintext
## <summary>Jabber instant messaging server</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Connect to jabber over a TCP socket
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed access.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`jabber_tcp_connect',`
|
|
gen_require(`
|
|
type jabberd_t;
|
|
')
|
|
|
|
allow $1 jabberd_t:tcp_socket { connectto recvfrom };
|
|
allow jabberd_t $1:tcp_socket { acceptfrom recvfrom };
|
|
kernel_tcp_recvfrom($1)
|
|
')
|