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