Dominick Grift 10f2e83
## <summary>SSL Tunneling Proxy.</summary>
Chris PeBenito 9401ae1
Chris PeBenito 9401ae1
########################################
Chris PeBenito 9401ae1
## <summary>
Chris PeBenito 9401ae1
##	Define the specified domain as a stunnel inetd service.
Chris PeBenito 9401ae1
## </summary>
Chris PeBenito 9401ae1
## <param name="domain">
Chris PeBenito 9401ae1
##	<summary>
Chris PeBenito 9401ae1
##	The type associated with the stunnel inetd service process.
Chris PeBenito 9401ae1
##	</summary>
Chris PeBenito 9401ae1
## </param>
Chris PeBenito 9401ae1
## <param name="entrypoint">
Chris PeBenito 9401ae1
##	<summary>
Chris PeBenito 9401ae1
##	The type associated with the process program.
Chris PeBenito 9401ae1
##	</summary>
Chris PeBenito 9401ae1
## </param>
Chris PeBenito 9401ae1
#
Chris PeBenito 9401ae1
interface(`stunnel_service_domain',`
Chris PeBenito 9401ae1
	gen_require(`
Chris PeBenito 9401ae1
		type stunnel_t;
Chris PeBenito 9401ae1
	')
Chris PeBenito 9401ae1
Dominick Grift 10f2e83
	domtrans_pattern(stunnel_t, $2, $1)
Chris PeBenito 9401ae1
	allow $1 stunnel_t:tcp_socket rw_socket_perms;
Chris PeBenito 9401ae1
')