X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=config;h=89e3485e5f59dd1fd5313fdae421960d25e9918d;hp=49bab319d09ecccb892c7e8247b644061daed7cf;hb=9fd2c0f49e451b0e327235fe3e0bacc37e1c1eee;hpb=bd751ecc8b1082f537177e7c89f1b187e137a115 diff --git a/config b/config index 49bab319..89e3485e 100644 --- a/config +++ b/config @@ -1,7 +1,7 @@ # Sample Configuration file for the Internet Junkbuster 2.9.x # -# $Id: config,v 1.16 2001/06/29 21:45:41 oes Exp $ +# $Id: config,v 1.25 2001/10/26 11:12:15 oes Exp $ # # Table of Contents @@ -46,8 +46,6 @@ # # Long lines can be continued on the next line by using a `\' as # the last character. -# - # # 3. OTHER CONFIGURATION FILES # @@ -75,10 +73,8 @@ confdir . # logdir . -# # Note that all file specifications below are relative to # the above two directories!!! -# # The actions file contains patterns to specify the # actions to apply to requests for each site. @@ -90,14 +86,13 @@ logdir . # actionsfile actionsfile -# # The re_filterfile contains content modification rules. These rules # permit powerful changes on the content of Web pages, e.g., you # could disable your favourite JavaScript annoyances, rewrite the # actual content, or just have some fun replacing "Microsoft" # with "Microsuck" wherever it appears on a Web page. # -# Default: No content modification. +# Default: content modification. (see '+-filter' in actionsfile) # re_filterfile re_filterfile @@ -127,7 +122,7 @@ logfile logfile # # Default: Don't store intercepted cookies # -#jarfile jarfile +jarfile jarfile # # If you specify a trustfile, Junkbuster will only allow access @@ -155,21 +150,18 @@ logfile logfile trust-info-url http://www.your-site.com/why_we_block.html trust-info-url http://www.your-site.com/what_we_allow.html - -# # 4. OPTIONS # # This part of the configuration file contains options that control # how Junkbuster operates. # -# # Admin-address should be set to the email address of the proxy # administrator. It is used in many of the proxy-generated pages. # # Default: fill@me.in.please # -#admin-address fill@me.in.please +admin-address fill@me.in.please # # Proxy-info-url can be set to a URL that contains more info about @@ -236,6 +228,7 @@ proxy-info-url http://www.your-site.com/proxy.html # debug 128 # = debug fast redirects # debug 256 # = debug GIF deanimation # debug 512 # CLF = Common Log Format +# debug 1024 # = debug kill popups # debug 4096 # INFO = Startup banner and warnings. # debug 8192 # ERROR = Non-fatal errors # @@ -245,7 +238,7 @@ proxy-info-url http://www.your-site.com/proxy.html # The reporting of FATAL errors (i.e. ones which crash # JunkBuster) is always on and cannot be disabled. # -# If you want to use CLF, you should set "debug 256" ONLY, +# If you want to use CLF, you should set "debug 512" ONLY, # do not enable anything else. # # Multiple "debug" directives, are OK - they're logical-OR'd @@ -290,6 +283,53 @@ debug 8192 # Errors - *we highly recommended enabling this* # toggle 1 +# +# For content filtering, i.e. the +filter and +deanimate-gif +# actions, it is neccessary that Junkbuster buffers up the +# whole document body. This can be potentially dangerous, since +# a server could just keep sending data indefinitely and wait +# for your RAM to exhaust. +# The buffer-limit option lets you set the size in Kbytes that +# each buffer may use at maximum. When the documents buffer +# exceeds that size, it is flushed to the client unfiltered and +# no further attempt to filter the rest of it is taken. +# Remember that there may multiple threads running, which might +# require up to buffer-limit Kbytes *each*, unless you have set +# single-threaded below. +# +# Default: 4069, i.e. 4 MB +# +buffer-limit 4069 + + +# +# Enable the web-based actionsfile editor. Set to 1 to enable, +# 0 to disable. Note that you must have compiled JunkBuster +# with support for this feature, otherwise this option has no +# effect. +# +# Security note: If this is enabled, anyone who can use the proxy +# can edit the actions file, and their changes will affect all users. +# For shared proxies, you probably want to disable this. +# +# Default: Disabled +# +enable-edit-actions 1 + + +# +# Allow JunkBuster to be toggled on and off remotely, using your +# web browser. Set to 1 to enable, 0 to disable. Note that you +# must have compiled JunkBuster with support for this feature, +# otherwise this option has no effect. +# +# Security note: If this is enabled, anyone who can use the proxy +# can toggle it on or off, and their changes will affect all users. +# For shared proxies, you probably want to disable this. +# +# Default: Disabled +# +enable-remote-toggle 1 ############################################################################# # Access Control List @@ -499,7 +539,27 @@ toggle 1 # forward localhost.localdomain . # Loopback address # forward www.ukc.mirror.ac.uk . # Specific host # - +# +# Note: If you intend to chain junkbuster and squid locally, the chain +# broswer -> squid -> junkbuster is the recommended way. +# +# Your squid configuration could then look like this: +# +# # Define junkbuster as parent cache +# cache_peer 127.0.0.1 8000 parent 0 no-query +# +# # Define ACL for protocol FTP +# acl FTP proto FTP +# +# # Do not forward ACL FTP to junkbuster +# always_direct allow FTP +# +# # Do not forward ACL CONNECT (https) to junkbuster +# always_direct allow CONNECT +# +# # Forward the rest to junkbuster +# never_direct allow all +# ############################################################################# # 5. WINDOWS GUI OPTIONS