2005-09-16 14:54:36 +00:00
|
|
|
## <summary>Simple network management protocol services</summary>
|
2005-10-22 22:51:01 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
2006-08-15 20:00:58 +00:00
|
|
|
## Use snmp over a TCP connection. (Deprecated)
|
2005-10-22 22:51:01 +00:00
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2005-10-22 22:51:01 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2005-10-22 22:51:01 +00:00
|
|
|
## </param>
|
|
|
|
#
|
2006-01-31 21:43:09 +00:00
|
|
|
interface(`snmp_tcp_connect',`
|
2006-08-15 20:00:58 +00:00
|
|
|
refpolicywarn(`$0($*) has been deprecated.')
|
2005-10-22 22:51:01 +00:00
|
|
|
')
|
2006-01-31 21:43:09 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
2006-08-15 20:00:58 +00:00
|
|
|
## Send and receive UDP traffic to SNMP (Deprecated)
|
2006-01-31 21:43:09 +00:00
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2006-01-31 21:43:09 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2006-01-31 21:43:09 +00:00
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`snmp_udp_chat',`
|
2006-08-15 20:00:58 +00:00
|
|
|
refpolicywarn(`$0($*) has been deprecated.')
|
2006-01-31 21:43:09 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Read snmpd libraries.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2006-01-31 21:43:09 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2006-01-31 21:43:09 +00:00
|
|
|
## </param>
|
|
|
|
#
|
2006-02-02 21:08:12 +00:00
|
|
|
interface(`snmp_read_snmp_var_lib_files',`
|
2006-01-31 21:43:09 +00:00
|
|
|
gen_require(`
|
|
|
|
type snmpd_var_lib_t;
|
|
|
|
')
|
|
|
|
allow $1 snmpd_var_lib_t:dir r_dir_perms;
|
|
|
|
allow $1 snmpd_var_lib_t:file r_file_perms;
|
|
|
|
allow $1 snmpd_var_lib_t:lnk_file { getattr read };
|
|
|
|
')
|