## Jabber instant messaging server
########################################
##
## Connect to jabber over a TCP socket
##
##
##
## Domain allowed access.
##
##
#
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)
')