2005-04-29 17:45:15 +00:00
|
|
|
#DESC privoxy - privacy enhancing proxy
|
|
|
|
#
|
|
|
|
# Authors: Dan Walsh <dwalsh@redhat.com>
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
#################################
|
|
|
|
#
|
|
|
|
# Rules for the privoxy_t domain.
|
|
|
|
#
|
2005-09-13 13:06:07 +00:00
|
|
|
daemon_domain(privoxy, `, web_client_domain')
|
2005-04-29 17:45:15 +00:00
|
|
|
|
|
|
|
logdir_domain(privoxy)
|
|
|
|
|
|
|
|
# Use capabilities.
|
|
|
|
allow privoxy_t self:capability net_bind_service;
|
|
|
|
|
|
|
|
# Use the network.
|
2005-09-16 13:36:26 +00:00
|
|
|
can_network_tcp(privoxy_t)
|
2005-09-13 13:06:07 +00:00
|
|
|
can_ypbind(privoxy_t)
|
2005-09-16 13:36:26 +00:00
|
|
|
can_resolve(privoxy_t)
|
2005-09-13 13:06:07 +00:00
|
|
|
allow privoxy_t http_cache_port_t:tcp_socket name_bind;
|
2005-04-29 17:45:15 +00:00
|
|
|
allow privoxy_t etc_t:file { getattr read };
|
|
|
|
allow privoxy_t self:capability { setgid setuid };
|
|
|
|
allow privoxy_t self:unix_stream_socket create_socket_perms ;
|
|
|
|
allow privoxy_t admin_tty_type:chr_file { read write };
|
|
|
|
|