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