squid
. Different types allow you to configure flexible access:
httpd_squid_script_exec_t
cachemgr.cgi
, which provides a variety of statistics about squid and its configuration.
squid_cache_t
cache_dir
directive in /etc/squid/squid.conf
. By default, files created in or copied into /var/cache/squid
and /var/spool/squid
are labeled with the squid_cache_t
type. Files for the squidGuard URL redirector plugin for squid
created in or copied to /var/squidGuard
are also labeled with the squid_cache_t
type. Squid is only able to use files and directories that are labeled with this type for its cached data.
squid_conf_t
squid
uses for its configuration. Existing files, or those created in or copied to /etc/squid
and /usr/share/squid
are labeled with this type, including error messages and icons.
squid_exec_t
/usr/sbin/squid
.
squid_log_t
/var/log/squid
or /var/log/squidGuard
must be labeled with this type.
squid_initrc_exec_t
squid
which is located at /etc/rc.d/init.d/squid
.
squid_var_run_t
/var/run
, especially the process id (PID) named /var/run/squid.pid
which is created by squid when it runs.