|
# this file support all available configuration options of Privoxy web-proxy
|
|
# the scripts move all options to the final privoxy readable configuration file
|
|
#
|
|
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
# !!! privoxy uses "-" in option names but uci only support "_" !!!
|
|
# !!! privoxy "listen-address" must be uci "listen_address" !!!
|
|
# !!! !!!
|
|
# !!! if you add entries please use !!!
|
|
# !!! option for options with one parameter (option confdir) !!!
|
|
# !!! list for options with multiple parameters (list listen_address) !!!
|
|
# !!! !!!
|
|
# !!! special handling for debug option !!!
|
|
# !!! privoxy option "debug 1024" must be uci option debug_1024 '1' !!!
|
|
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
#
|
|
config privoxy 'privoxy'
|
|
option confdir '/etc/privoxy'
|
|
option logdir '/var/log'
|
|
option logfile 'privoxy.log'
|
|
list filterfile 'default.filter'
|
|
# list filterfile 'user.filter'
|
|
list actionsfile 'match-all.action'
|
|
list actionsfile 'default.action'
|
|
# list actionsfile 'user.action'
|
|
# list listen_address '127.0.0.1:8118'
|
|
list listen_address '192.168.1.1:8118'
|
|
option toggle '1'
|
|
option enable_remote_toggle '1'
|
|
option enable_remote_http_toggle '0'
|
|
option enable_edit_actions '1'
|
|
option enforce_blocks '0'
|
|
option buffer_limit '4096'
|
|
option forwarded_connect_retries '0'
|
|
option accept_intercepted_requests '0'
|
|
option allow_cgi_request_crunching '0'
|
|
option split_large_forms '0'
|
|
option keep_alive_timeout '300'
|
|
option socket_timeout '300'
|
|
list permit_access '192.168.1.0/24'
|
|
option debug_1 '0'
|
|
option debug_512 '1'
|
|
option debug_1024 '0'
|
|
option debug_4096 '1'
|
|
option debug_8192 '1'
|