Chris PeBenito 31b7c0
#DESC privoxy - privacy enhancing proxy
Chris PeBenito 31b7c0
#
Chris PeBenito 31b7c0
# Authors: Dan Walsh <dwalsh@redhat.com>
Chris PeBenito 31b7c0
#
Chris PeBenito 31b7c0
#
Chris PeBenito 31b7c0
Chris PeBenito 31b7c0
#################################
Chris PeBenito 31b7c0
#
Chris PeBenito 31b7c0
# Rules for the privoxy_t domain.
Chris PeBenito 31b7c0
#
Chris PeBenito 31b7c0
daemon_domain(privoxy, `, web_client_domain')
Chris PeBenito 31b7c0
Chris PeBenito 31b7c0
logdir_domain(privoxy)
Chris PeBenito 31b7c0
Chris PeBenito 31b7c0
# Use capabilities.
Chris PeBenito 31b7c0
allow privoxy_t self:capability net_bind_service;
Chris PeBenito 31b7c0
Chris PeBenito 31b7c0
# Use the network.
Chris PeBenito 31b7c0
can_network_tcp(privoxy_t)
Chris PeBenito 31b7c0
can_ypbind(privoxy_t)
Chris PeBenito 31b7c0
can_resolve(privoxy_t)
Chris PeBenito 31b7c0
allow privoxy_t http_cache_port_t:tcp_socket name_bind;
Chris PeBenito 31b7c0
allow privoxy_t etc_t:file { getattr read };
Chris PeBenito 31b7c0
allow privoxy_t self:capability { setgid setuid };
Chris PeBenito 31b7c0
allow privoxy_t self:unix_stream_socket create_socket_perms ;
Chris PeBenito 31b7c0
allow privoxy_t admin_tty_type:chr_file { read write };
Chris PeBenito 31b7c0