Chris PeBenito 17de1b
## <summary>RADIUS authentication and accounting server.</summary>
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
## <summary>
Chris PeBenito 33c7e6
##	Use radius over a UDP connection.  (Deprecated)
Chris PeBenito 17de1b
## </summary>
Chris PeBenito 17de1b
## <param name="domain">
Chris PeBenito 17de1b
##	<summary>
Chris PeBenito 17de1b
##	Domain allowed access.
Chris PeBenito 17de1b
##	</summary>
Chris PeBenito 17de1b
## </param>
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
interface(`radius_use',`
Chris PeBenito 33c7e6
	refpolicywarn(`$0($*) has been deprecated.')
Chris PeBenito 17de1b
')
Chris PeBenito 7a5e2d
Chris PeBenito 7a5e2d
########################################
Chris PeBenito 7a5e2d
## <summary>
Chris PeBenito 7a5e2d
##	All of the rules required to administrate 
Chris PeBenito 7a5e2d
##	an radius environment
Chris PeBenito 7a5e2d
## </summary>
Chris PeBenito 7a5e2d
## <param name="domain">
Chris PeBenito 7a5e2d
##	<summary>
Chris PeBenito 7a5e2d
##	Domain allowed access.
Chris PeBenito 7a5e2d
##	</summary>
Chris PeBenito 7a5e2d
## </param>
Chris PeBenito 7a5e2d
## <rolecap/>
Chris PeBenito 7a5e2d
#
Chris PeBenito 7a5e2d
interface(`radius_admin',`
Chris PeBenito 7a5e2d
	gen_require(`
Chris PeBenito 8f3a0a
		type radiusd_t, radiusd_etc_t, radiusd_log_t;
Chris PeBenito 8f3a0a
		type radiusd_etc_rw_t, radiusd_var_lib_t, radiusd_var_run_t;
Chris PeBenito 7a5e2d
	')
Chris PeBenito 7a5e2d
Chris PeBenito 8f3a0a
	allow $1 radiusd_t:process { ptrace signal_perms getattr };
Chris PeBenito 8f3a0a
	ps_process_pattern($1, radiusd_t)
Chris PeBenito 7a5e2d
Chris PeBenito 7a5e2d
	files_list_etc($1)
Chris PeBenito 8f3a0a
	manage_files_pattern($1, radiusd_etc_t, radiusd_etc_t)
Chris PeBenito 7a5e2d
Chris PeBenito 7a5e2d
	logging_list_logs($1)
Chris PeBenito 8f3a0a
	manage_files_pattern($1, radiusd_log_t, radiusd_log_t)
Chris PeBenito 7a5e2d
Chris PeBenito 8f3a0a
	manage_files_pattern($1, radiusd_etc_rw_t, radiusd_etc_rw_t)
Chris PeBenito 7a5e2d
Chris PeBenito 7a5e2d
	files_list_var_lib($1)
Chris PeBenito 8f3a0a
	manage_files_pattern($1, radiusd_var_lib_t, radiusd_var_lib_t)
Chris PeBenito 7a5e2d
Chris PeBenito 7a5e2d
	files_list_pids($1)
Chris PeBenito 8f3a0a
	manage_files_pattern($1, radiusd_var_run_t, radiusd_var_run_t)
Chris PeBenito 7a5e2d
')