/usr/share/selinux/ubuntu/include/services/stunnel.if is in selinux-policy-ubuntu-dev 0.2.20091117-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## <summary>SSL Tunneling Proxy</summary>
########################################
## <summary>
## Define the specified domain as a stunnel inetd service.
## </summary>
## <param name="domain">
## <summary>
## The type associated with the stunnel inetd service process.
## </summary>
## </param>
## <param name="entrypoint">
## <summary>
## The type associated with the process program.
## </summary>
## </param>
#
interface(`stunnel_service_domain',`
gen_require(`
type stunnel_t;
')
domtrans_pattern(stunnel_t,$2,$1)
allow $1 stunnel_t:tcp_socket rw_socket_perms;
')
|