-# Sample Configuration File for Privoxy v3.0.20
+# Sample Configuration File for Privoxy 3.0.22
#
-# $Id: p-config.sgml,v 2.92 2013/01/06 11:05:37 fabiankeil Exp $
+# $Id: p-config.sgml,v 2.104 2014/05/05 09:59:30 fabiankeil Exp $
#
-# Copyright (C) 2001-2013 Privoxy Developers http://www.privoxy.org/
+# Copyright (C) 2001-2014 Privoxy Developers http://www.privoxy.org/
#
####################################################################
# #
# 3. DEBUGGING #
# 4. ACCESS CONTROL AND SECURITY #
# 5. FORWARDING #
-# 6. WINDOWS GUI OPTIONS #
+# 6. MISCELLANEOUS #
+# 7. WINDOWS GUI OPTIONS #
# #
####################################################################
#
# last character.
#
#
-#
# 1. LOCAL SET-UP DOCUMENTATION
# ==============================
#
# you, what you block and why you do that, your policies, etc.
#
#
-#
# 1.1. user-manual
# =================
#
#
#user-manual http://www.privoxy.org/user-manual/
#
-#
# 1.2. trust-info-url
# ====================
#
#trust-info-url http://www.example.com/why_we_block.html
#trust-info-url http://www.example.com/what_we_allow.html
#
-#
# 1.3. admin-address
# ===================
#
#
#admin-address privoxy-admin@example.com
#
-#
# 1.4. proxy-info-url
# ====================
#
#
#proxy-info-url http://www.example.com/proxy-service.html
#
-#
# 2. CONFIGURATION AND LOG FILE LOCATIONS
# ========================================
#
# be modified, such as log files and actions files.
#
#
-#
# 2.1. confdir
# =============
#
#
confdir .
#
-#
# 2.2. templdir
# ==============
#
#
#templdir .
#
+# 2.3. temporary-directory
+# =========================
+#
+# Specifies:
+#
+# A directory where Privoxy can create temporary files.
+#
+# Type of value:
+#
+# Path name
+#
+# Default value:
+#
+# unset
+#
+# Effect if unset:
+#
+# No temporary files are created, external filters don't work.
#
-# 2.3. logdir
+# Notes:
+#
+# To execute external filters, Privoxy has to create temporary
+# files. This directive specifies the directory the temporary
+# files should be written to.
+#
+# It should be a directory only Privoxy (and trusted users) can
+# access.
+#
+#temporary-directory .
+#
+# 2.4. logdir
# ============
#
# Specifies:
#
logdir .
#
-#
-# 2.4. actionsfile
+# 2.5. actionsfile
# =================
#
# Specifies:
# syntax change was necessary to be consistent with the other
# file options and to allow previously forbidden characters.
#
-actionsfile match-all.action ##
+actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on.
actionsfile default.action # Main actions file
actionsfile user.action # User customizations
#
-#
-# 2.5. filterfile
+# 2.6. filterfile
# ================
#
# Specifies:
#
# Effect if unset:
#
-# No textual content filtering takes place, i.e. all +filter{
-# name} actions in the actions files are turned neutral.
+# No textual content filtering takes place, i.e. all +filter{name}
+# actions in the actions files are turned neutral.
#
# Notes:
#
filterfile default.filter
filterfile user.filter # User customizations
#
-#
-# 2.6. logfile
+# 2.7. logfile
# =============
#
# Specifies:
#
logfile logfile
#
-#
-# 2.7. trustfile
+# 2.8. trustfile
# ===============
#
# Specifies:
#
#trustfile trust
#
-#
# 3. DEBUGGING
# =============
#
# line option when debugging.
#
#
-#
# 3.1. debug
# ===========
#
# you read the log messages, you may even be able to solve the
# problem on your own.
#
-#debug 1 ##
-#debug 1024 ##
+#debug 1 # Log the destination for each request Privoxy let through. See also debug 1024.
+#debug 1024 # Actions that are applied to all sites and maybe overruled later on.
#debug 4096 # Startup banner and warnings
#debug 8192 # Non-fatal errors
#
-#
# 3.2. single-threaded
# =====================
#
#
# Type of value:
#
-# None
+# 1 or 0
#
# Default value:
#
-# Unset
+# 0
#
# Effect if unset:
#
# This option is only there for debugging purposes. It will
# drastically reduce performance.
#
-#single-threaded
-#
+#single-threaded 1
#
# 3.3. hostname
# ==============
#
#hostname hostname.example.org
#
-#
# 4. ACCESS CONTROL AND SECURITY
# ===============================
#
# aspects of Privoxy's configuration.
#
#
-#
# 4.1. listen-address
# ====================
#
#
listen-address 127.0.0.1:8118
#
-#
# 4.2. toggle
# ============
#
#
toggle 1
#
-#
# 4.3. enable-remote-toggle
# ==========================
#
#
enable-remote-toggle 0
#
-#
# 4.4. enable-remote-http-toggle
# ===============================
#
#
enable-remote-http-toggle 0
#
-#
# 4.5. enable-edit-actions
# =========================
#
#
enable-edit-actions 0
#
-#
# 4.6. enforce-blocks
# ====================
#
#
enforce-blocks 0
#
-#
# 4.7. ACLs: permit-access and deny-access
# =========================================
#
# permit-access [::ffff:192.0.2.0]/120
#
#
-#
# 4.8. buffer-limit
# ==================
#
#
buffer-limit 4096
#
+# 4.9. enable-proxy-authentication-forwarding
+# ============================================
+#
+# Specifies:
+#
+# Whether or not proxy authentication through Privoxy should
+# work.
+#
+# Type of value:
+#
+# 0 or 1
+#
+# Default value:
+#
+# 0
+#
+# Effect if unset:
+#
+# Proxy authentication headers are removed.
+#
+# Notes:
+#
+# Privoxy itself does not support proxy authentication, but can
+# allow clients to authenticate against Privoxy's parent proxy.
+#
+# By default Privoxy (3.0.21 and later) don't do that and remove
+# Proxy-Authorization headers in requests and Proxy-Authenticate
+# headers in responses to make it harder for malicious sites to
+# trick inexperienced users into providing login information.
+#
+# If this option is enabled the headers are forwarded.
+#
+# Enabling this option is not recommended if there is no parent
+# proxy that requires authentication or if the local network
+# between Privoxy and the parent proxy isn't trustworthy. If
+# proxy authentication is only required for some requests, it is
+# recommended to use a client header filter to remove the
+# authentication headers for requests where they aren't needed.
+#
+enable-proxy-authentication-forwarding 0
#
# 5. FORWARDING
# ==============
# 4 and SOCKS 4A protocols.
#
#
-#
# 5.1. forward
# =============
#
# forward <[2-3][0-9a-f][0-9a-f][0-9a-f]:*> .
#
#
-#
-# 5.2. forward-socks4, forward-socks4a, forward-socks5 and
-# =========================================================
-# forward-socks5t
+# 5.2. forward-socks4, forward-socks4a, forward-socks5 and forward-socks5t
+# =========================================================================
#
# Specifies:
#
# To chain Privoxy and Tor, both running on the same system, you
# would use something like:
#
-# forward-socks5 / 127.0.0.1:9050 .
+# forward-socks5t / 127.0.0.1:9050 .
#
# The public Tor network can't be used to reach your local
# network, if you need to access local servers you therefore
# forward localhost/ .
#
#
-#
# 5.3. forwarded-connect-retries
# ===============================
#
#
forwarded-connect-retries 0
#
-#
# 6. MISCELLANEOUS
# =================
#
-#
# 6.1. accept-intercepted-requests
# =================================
#
# Privoxy, enable this option and configure your packet filter
# to redirect outgoing HTTP connections into Privoxy.
#
+# Note that intercepting encrypted connections (HTTPS) isn't
+# supported.
+#
# Make sure that Privoxy's own requests aren't redirected as
# well. Additionally take care that Privoxy can't intentionally
# connect to itself, otherwise you could run into redirection
#
accept-intercepted-requests 0
#
-#
# 6.2. allow-cgi-request-crunching
# =================================
#
#
allow-cgi-request-crunching 0
#
-#
# 6.3. split-large-forms
# =======================
#
#
split-large-forms 0
#
-#
# 6.4. keep-alive-timeout
# ========================
#
#
keep-alive-timeout 5
#
-#
# 6.5. tolerate-pipelining
# =========================
#
#
tolerate-pipelining 1
#
-#
# 6.6. default-server-timeout
# ============================
#
#
#default-server-timeout 60
#
-#
# 6.7. connection-sharing
# ========================
#
#
#connection-sharing 1
#
-#
# 6.8. socket-timeout
# ====================
#
#
socket-timeout 300
#
-#
# 6.9. max-client-connections
# ============================
#
#
# Default value:
#
-# None
+# 128
#
# Effect if unset:
#
# Obviously using this option only makes sense if you choose a
# limit below the one enforced by the operating system.
#
+# One most POSIX-compliant systems Privoxy can't properly deal
+# with more than FD_SETSIZE file descriptors at the same time
+# and has to reject connections if the limit is reached. This
+# will likely change in a future version, but currently this
+# limit can't be increased without recompiling Privoxy with a
+# different FD_SETSIZE limit.
+#
# Examples:
#
# max-client-connections 256
#
#max-client-connections 256
#
-# 1.6.10. handle-as-empty-doc-returns-ok
+# 6.10. handle-as-empty-doc-returns-ok
+# =====================================
#
# Specifies:
#
#
#handle-as-empty-doc-returns-ok 1
#
-# 1.6.11. enable-compression
+# 6.11. enable-compression
+# =========================
#
# Specifies:
#
#
#enable-compression 1
#
-# 1.6.12. compression-level
+# 6.12. compression-level
+# ========================
#
# Specifies:
#
#
# # Best speed (compared to the other levels)
# compression-level 1
+#
# # Best compression
# compression-level 9
+#
# # No compression. Only useful for testing as the added header
# # slightly increases the amount of data that has to be sent.
# # If your benchmark shows that using this compression level
#
#compression-level 1
#
-# 1.6.13. client-header-order
+# 6.13. client-header-order
+# ==========================
#
# Specifies:
#
# Accept \
# Accept-Language \
# Accept-Encoding \
-# Proxy-Connection,\
-# Referer,Cookie \
+# Proxy-Connection \
+# Referer \
+# Cookie \
+# DNT \
# If-Modified-Since \
# Cache-Control \
# Content-Length \
# Content-Type
#
#
-#
# 7. WINDOWS GUI OPTIONS
# =======================
#