# Sample Configuration file for the Internet Junkbuster 2.0 # # $Id: config,v 1.2 2001/04/30 03:05:11 rodney Exp $ # # # # Copyright 1997-8 Junkbusters Corp. For distribution, modification and use # under the GNU General Public License. These files come with NO WARRANTY. # See http://www.junkbusters.com/ht/en/gpl.html or README file for details. # # When starting the proxy, give the name of this file as an argument. # Any changes made to this file are *not* automatically loaded; you have # to stop and restart the proxy. # For information see http://www.junkbusters.com/ht/en/ijbman.html # or the documentation that came with the release # Lines beginning with a # character are comments; they are ignored. # Many example lines are provided here commented out # the blockfile contains patterns to be blocked by the proxy blockfile ./blocklist # comments are OK here, too # the imagefile contains patterns to detect blocked images imagefile ./imagelist # the popfile contains patterns of servers where javascript popups are disabled # # if the next line is not commented out, all javascript popups from the sites # that match the patterns in popup will be blocked # popupfile ./popup # File containing content modification rules #re_filterfile ./re_filterfile # Uncomment to filter *all* traffic. Default is to # filter only if we wouldn't send a cookie either. # #re_filter_all # the cookiefile contains patterns to specify the cookie management policy # cookiefile ./cookiefile # the logfile is where all logging and error messages are written # logfile ./junkbuster.log # the jarfile is where cookies can be stored # #jarfile ./jarfile # the forwardfile defines domain-specific routing # forwardfile ./forward # file which lists and into which trusted domains are written # #trustfile ./trust # files specify locations of "for information about trusted referers, see.." # multiple trust_info_url lines are OK # # trust_info_url http://internet.junkbuster.com/ # trust_info_url http://www.yoursite.com/our_trust_policy.html # # The access control list file can be used to restrict IP addresses # that are permitted to use the proxy (see warnings in the FAQ). # #aclfile ./aclfile # add an "X-Forwarded-For:" specification to each request header # #add-forwarded-header # if logging cookies into a jarfile, and no other wafers were # explicity set, then by default a vanilla wafer is sent with # each request. # # setting 'suppress-vanilla-wafer' stops this vanilla wafer from # being sent. # suppress-vanilla-wafer # add these wafers to each request header # multiple wafer lines are OK # #wafer NOTE=Like most people, I want my browsing to be anonymous. #wafer WARNING=Please do not attempt to track me. # Anything can be added to the request headers. Please don't litter. # multiple add-header lines are OK # #add-header Forwarded: by http://stay-out-of-my-backyard.net #add-header Forwarded: by http://pro-privacy-isp.net #add-header Proxy-Connection: Keep-Alive # listen-address specifies where the Junkbuster will listen for connections # Specifying a port is optional; if unspecified the defaults is 8000. # Before Version 2.0.2 the default was to bind to all IP addresses (INADDR_ANY) # This has been restricted to localhost to avoid unintended security breaches. # To open the proxy to all, uncomment the following line: #listen-address :8000 # other example usage: #listen-address 124.207.250.245:8080 # to explicitly state what is now the default: #listen-address localhost # or equivalently: listen-address 127.0.0.1:8000 # user-agent specifies treatment of the "User-Agent:" (and "UA-*:") header(s) # default: Forge the "User-Agent:" # 'text' : Always send as the "User-Agent:" # . : Pass the "User-Agent:" unchanged # @ : Pass the "User-Agent:" if the server is in the cookie file, # forge the "User-Agent:" otherwise #user-agent @ # note: Russian browsers may be confused if user agent misidentifies # the operating system (Mac vs Windows); see FAQ user-agent . # referer specifies treatment of the "Referer:" header # New option by "Andreas S. Oesterhelt" # # default: Kill the referrer-header from the client # 'text' : Always send as the referrer # . : Pass the referrer unchanged # @ : Pass the referrer if the server is in the cookie file, # kill the referrer otherwise # § : Pass the referrer if the server is in the cookie file, # send a forged referrer that points to the root-diretory URL # of the current request otherwise referer § # from specifies value to be subsituted if browser provides a "From:" header # #from spam-me-senseless@sittingduck.net # tinygif allows you to change the appearance of blocked images # # tinygif 0 # Show a "broken icon" # tinygif 1 # Show a GIF of one transparent pixel tinygif 2 # Show a GIF with the word "JUNKBUSTER" # tinygif 3 http://localhost/1x1.gif # Temporary redirect to this URL # Andrew added # The following can be used to suppress display of the block lists when the # page http://x.x/show-proxy-args is displayed. With a long block list this # accelerates loading of the configuration page and also hides the contents of # the block lists (for whatever reason). Maintainers of junkbuster proxies for # multiple use can specify a message for any use who wants to know what is in # these files. # #suppress-blocklists Contact sysadmin@example.com for details. # suppress-blocklists # debug sets the level of debugging information to log in the logfile # # debug 1 # GPC = show each GET/POST/CONNECT request # debug 2 # CONN = show each connection status # debug 4 # IO = show I/O status # debug 8 # HDR = show header parsing # debug 16 # LOG = log all data into the logfile # debug 32 # FRC = debug force feature # debug 64 # REF = debug regular expression filter # # multiple "debug" directives, are OK - they're logical-OR'd together # #debug 15 # same as setting the first 4 listed above debug 1 # debug 255 # Log *everything* # single-threaded operation (i.e. disallows multiple threads or processes) # This is most often used for debugging because it keeps the # debugging output "in order" for easy reading. # #single-threaded # Toggle flag. 0 => disabled, anything else (ie. 1) => enabled toggle 1 # Win32 GUI specific options. Moved here from ijbw32.ini # in hopes of keep all of our config settings together. activity-animation 1 log-messages 1 log-highlight-messages 1 log-buffer-size 1 log-max-lines 200 log-font-name Comic Sans MS log-font-size 8 show-on-task-bar 0 close-button-minimizes 1 # hide-console is used only on Win32 console mode. It instructs # the Internet Junkbuster to disconnect from and hide the # command console. # #hide-console