selinux-policy/refpolicy/policy/modules/services/jabber.if

22 lines
464 B
Plaintext
Raw Normal View History

2006-04-12 20:10:47 +00:00
## <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)
')