X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fsource%2Fuser-manual.sgml;h=fca2a47f090c7ee3107275ba4f78f969f18f9cd6;hb=c04de76aa275e08d0eaef6404eb543ea2379ed15;hp=b07c6df43a33326f906d1b8909f6c1057f79a4d3;hpb=499f9b7822d88883b200964b139a75917d18bf49;p=privoxy.git diff --git a/doc/source/user-manual.sgml b/doc/source/user-manual.sgml index b07c6df4..fca2a47f 100644 --- a/doc/source/user-manual.sgml +++ b/doc/source/user-manual.sgml @@ -7,7 +7,7 @@ This file belongs into ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/ - $Id: user-manual.sgml,v 1.13 2001/10/10 17:28:33 hal9 Exp $ + $Id: user-manual.sgml,v 1.23 2001/12/02 00:20:41 hal9 Exp $ Written by and Copyright (C) 2001 the SourceForge IJBSWA team. http://ijbswa.sourceforge.net @@ -30,7 +30,7 @@ Hal Burgiss Junkbuster User Manual -$Id: user-manual.sgml,v 1.13 2001/10/10 17:28:33 hal9 Exp $ +$Id: user-manual.sgml,v 1.23 2001/12/02 00:20:41 hal9 Exp $ @@ -48,7 +48,7 @@ Hal Burgiss security to users of the World Wide Web. -You can find the latest version of the user manual at http://ijbswa.sourceforge.net/doc/user-manual/. +You can find the latest version of the user manual at http://ijbswa.sourceforge.net/user-manual/. @@ -65,11 +65,11 @@ You can find the latest version of the user manual at Internet Junkbuster and is incomplete at this point. The most up to date reference for the time being is still the comments in the source files and in the individual configuration files. Development - of version 3.0 is currently underway, and includes significant changes and + of version 3.0 is currently underway, and includes many significant changes and enhancements over earlier verions. The target release date for stable v3.0 is December 2001. @@ -85,7 +85,7 @@ You can find the latest version of the user manual at - Modularized configuration that will allow for system wide settings, and - individual user settings. + A browser based configuration utility (WIP at + http://i.j.b). - A browser based GUI configuration utility. + Modularized configuration that will allow for system wide settings, and + individual user settings. (not implemented yet) @@ -123,7 +124,7 @@ You can find the latest version of the user manual at + + In addition, the configuration is more versatile overall. + + @@ -162,7 +167,7 @@ You can find the latest version of the user manual at Junkbuster Home Page - for current releases. Junkbuster is also available + for current release info. Junkbuster is also available via CVS. This is the recommended approach at this time. But please be aware that CVS @@ -177,8 +182,8 @@ You can find the latest version of the user manual at - Then, in either case, to build from source: + Then, in either case, to build from tarball/CVS source: - ./configure - make - su - make install + ./configure (--help to see options) + make (the make from gnu, gmake for *BSD) + su + make -n install (to see where all the files will go) + make install (to really install) @@ -228,6 +234,8 @@ You can find the latest version of the user manual at -    /usr/src/redhat/SRPMS/junkbuster-2.9.8-1.src.rpm +    /usr/src/redhat/SRPMS/junkbuster-2.9.9-1.src.rpm @@ -250,7 +258,7 @@ You can find the latest version of the user manual at + autoheader [suggested for CVS source] + autoconf [suggested for CVS source] ./configure make suse-dist @@ -280,10 +290,10 @@ You can find the latest version of the user manual at - rpm -Uvv /usr/src/suse/RPMS/i686/junkbuster-2.9.8-1.i686.rpm + rpm -Uvv /usr/src/packages/RPMS/i686/junkbuster-2.9.9-1.i686.rpm @@ -360,8 +370,8 @@ Thanx David Schmidt! Windows -I need help on this. Not a clue here. Also for -configuration section below. +Click-click. (I need help on this. Not a clue here. Also for +configuration section below. HB.) @@ -408,15 +418,20 @@ configuration section below. The main configuration file is named config - on Linux, Unix, BSD, and OS/2, and junkbustr.txt on - Windows. + on Linux, Unix, BSD, and OS/2, and config.txt on + Windows. On Amiga, it is + AmiTCP:db/junkbuster/config. - The actionsfile file is used to define various - actions relating to images, banners, pop-ups, banners and cookies. + The ijb.action file is used to define various + actions relating to images, banners, pop-ups, access + restrictions, banners and cookies. There is a CGI based editor for this + file that can be accessed via http://i.j.b. This is the easiest method of + configuring actions. (Still under active development.) @@ -431,7 +446,7 @@ configuration section below. - actionsfile and re_filterfile + ijb.action and re_filterfile can use Perl style regular expressions for maximum flexibility. All files use the # character to denote a comment. Such lines are not processed by Junkbuster. After @@ -439,6 +454,12 @@ configuration section below. for the changes to take effect. + + While under development, the configuration content is subject to change. + The below documentation may not be accurate by the time you read this. + Also, what constitutes a default setting, may change, so + please check all your configuration files on important issues. + @@ -446,7 +467,7 @@ configuration section below. The Main Configuration File Again, the main configuration file is named config on - Linux/Unix/BSD and OS/2, and junkbustr.txt on Windows. + Linux/Unix/BSD and OS/2, and config.txt on Windows. Configuration lines consist of an initial keyword followed by a list of values, all separated by whitespace (any number of spaces or tabs). For example: @@ -467,7 +488,7 @@ configuration section below. - The # indicates a comment. Any part of a + A # indicates a comment. Any part of a line following a # is ignored, except if the # is preceded by a \. @@ -491,7 +512,7 @@ configuration section below. There are various aspects of Junkbuster behavior - that can be adjusted. + that can be tuned. @@ -558,20 +579,21 @@ configuration section below. - The actionsfile contains patterns to specify the actions to + The ijb.action file contains patterns to specify the actions to apply to requests for each site. Default: Cookies to and from all - destinations are filtered. Popups are disabled for all sites. All sites are - filtered if re_filterfile specified. No sites are blocked. An empty image is - displayed for filtered ads and other images (formerly - tinygif). The syntax of this file is explained in detail - below. + destinations are kept only during the current browser session (i.e. they + are not saved to disk). Popups are disabled for all sites. All sites are + filtered if re_filterfile specified. No sites are blocked. An + empty image is displayed for filtered ads and other images (formerly + tinygif). The syntax of this file is explained in detail below. - actionsfile actionsfile + actionsfile ijb.action @@ -754,10 +776,10 @@ configuration section below. serve requests from other machines (e.g. on your local network) as well, you will need to override the default. The syntax is listen-address [<ip-address>]:<port>. If you leave - out the IP adress, junkbuster will bind to all + out the IP address, junkbuster will bind to all interfaces (addresses) on your machine and may become reachable from the - internet. In that case, consider using access control lists (acl's) (see - aclfile above). + Internet. In that case, consider using access control lists (acl's) (see + aclfile above), or a firewall. @@ -901,20 +923,22 @@ configuration section below. The Windows version of Junkbuster puts an icon in - the system tray, which allows you to change this option without having to - edit this file. If you right-click on that icon (or select the - Options menu), one choice is Enable. Clicking - on enable toggles Junkbuster on and off. This is - useful if you want to temporarily disable - Junkbuster, e.g., to access a site that requires - cookies which you normally have blocked. + the system tray, which also allows you to change this option. If you + right-click on that icon (or select the Options menu), one + choice is Enable. Clicking on enable toggles + Junkbuster on and off. This is useful if you want + to temporarily disable Junkbuster, e.g., to access + a site that requires cookies which you would otherwise have blocked. This can also + be toggled via a web browser at the Junkbuster + internal address of http://i.j.b on + any platform. toggle 1 means Junkbuster runs normally, toggle 0 means that Junkbuster becomes a non-anonymizing non-blocking - proxy. Default: 1. + proxy. Default: 1 (on). @@ -927,6 +951,84 @@ configuration section below. + + For content filtering, i.e. the +filter and + +deanimate-gif actions, it is neccessary that + Junkbuster buffers the entire document body. + This can be potentially dangerous, since a server could just keep sending + data indefinitely and wait for your RAM to exhaust. With nasty consequences. + + + + The buffer-limit option lets you set the maximum + size in Kbytes that each buffer may use. When the documents buffer exceeds + this size, it is flushed to the client unfiltered and no further attempt to + filter the rest of it is made. Remember that there may multiple threads + running, which might require increasing the buffer-limit + Kbytes each, unless you have enabled + single-threaded above. + + + + + + + buffer-limit 4069 + + + + + + + To enable the web-based ijb.action file editor set + enable-edit-actions to 1, or 0 to disable. Note + that you must have compiled JunkBuster with + support for this feature, otherwise this option has no effect. This + internal page can be reached at http://i.j.b. + + + + 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: enabled. + + + + + + + enable-edit-actions 1 + + + + + + + Allow JunkBuster to be toggled on and off + remotely, using your web browser. Set enable-remote-toggleto + 1 to enable, and 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 (see http://i.j.b), and + their changes will affect all users. For shared proxies, you probably want to + disable this. Default: enabled. + + + + + + + enable-remote-toggle 1 + + + + + @@ -1160,10 +1262,11 @@ configuration section below. Forwarding - This feature allows routing of HTTP requests via multiple proxies. + This feature allows chaining of HTTP requests via multiple proxies. It can be used to better protect privacy and confidentiality when accessing specific domains by routing requests to those domains - to a special purpose filtering proxy such as lpwa.com. + to a special purpose filtering proxy such as lpwa.com. Or to use + a caching proxy to speed up browsing. @@ -1290,8 +1393,8 @@ configuration section below. - Also, we're told they insist on getting cookies and JavaScript, so you need - to add home.com to the cookie file. We consider JavaScript a security risk. + Also, we're told they insist on getting cookies and JavaScript, so you should + add home.com to the cookie file. We consider JavaScript a security risk. Java need not be enabled. @@ -1305,7 +1408,7 @@ configuration section below. - forward_socks4 .* lpwa.com:8000 firewall.my_company.com:1080 + forward-socks4 .* lpwa.com:8000 firewall.my_company.com:1080 forward my_company.com . @@ -1320,7 +1423,7 @@ configuration section below. - forward_socks4a .* . firewall.my_company.com:1080 + forward-socks4a .* . firewall.my_company.com:1080 @@ -1418,8 +1521,11 @@ configuration section below. # Define junkbuster as parent cache + + cache_peer 127.0.0.1 parent 8000 0 no-query + # Define ACL for protocol FTP acl FTP proto FTP @@ -1625,12 +1731,14 @@ Removed references to Win32. HB 09/23/01 The Actions File - The actionsfile is used to define what actions + The ijb.action file (formerly + actionsfile) is used to define what actions Junkbuster takes, and thus determines how images, cookies and various other aspects of HTTP content and transactions are handled. Images can be anything you want, including ads, banners, or just some obnoxious image that you would rather not see. Cookies can be accepted - or rejected. The default file is in fact named actionsfile. + or rejected, or accepted only during the current browser session (i.e. + not written to disk). @@ -1641,10 +1749,18 @@ Removed references to Win32. HB 09/23/01 url="http://i.j.b/show-url-info">http://i.j.b/show-url-info. + + The actions file can be edited with a browser by loading + http://i.j.b/, and then select + Edit Actions. + + There are four types of lines in this file: comments (begin with a # character), actions, aliases and patterns, all of which are - explained below. + explained below, as well as the configuration file syntax that + Junkbuster understands. + @@ -1839,7 +1955,7 @@ Removed references to Win32. HB 09/23/01 So in this case JunkBuster would just be a normal, non-blocking, non-anonymizing proxy. You must specifically enable the privacy and blocking features you need (although the - provided default actionsfile file will + provided default ijb.action file will give a good starting point). @@ -2194,6 +2310,24 @@ Removed references to Win32. HB 09/23/01 + + + If the website sets cookies, no-cookies-keep will make sure + they are erased when you exit and restart your web browser. This makes + profiling cookies useless, but won't break sites which require cookies so + that you can log in for transactions. Default: on. + + + + + + +no-cookies-keep + + + + + + Prevent the website from reading cookies: @@ -2297,13 +2431,16 @@ Removed references to Win32. HB 09/23/01 - # Turn off all cookies + # Turn off all persistant cookies { +no-cookies-read } { +no-cookies-set } + # Allow cookies for this browser session ONLY + { +no-cookies-keep } - # Execeptions to the above, sites that need cookies + # Execeptions to the above, sites that benefit from persistant cookies { -no-cookies-read } { -no-cookies-set } + { -no-cookies-keep } .javasoft.com .sun.com .yahoo.com @@ -2311,7 +2448,7 @@ Removed references to Win32. HB 09/23/01 .redhat.com # Alternative way of saying the same thing - {-no-cookies-set -no-cookies-read} + {-no-cookies-set -no-cookies-read -no-cookies-keep} .sourceforge.net .sf.net @@ -2428,13 +2565,15 @@ Removed references to Win32. HB 09/23/01 Aliases Custom actions, known to Junkbuster - as aliases, can be defined by combing other actions. + as aliases, can be defined by combining other actions. These can in turn be invoked just like the built-in actions. Currently, an alias can contain any character except space, tab, =, { or }. But please use only a- z, 0-9, +, and - -. Alias names are not case sensitive, and must be defined - before they are used. + -. Alias names are not case sensitive, and + must be defined before anything else in the + ijb.actionfile ! And there can only be one set of + aliases defined. @@ -2445,10 +2584,8 @@ Removed references to Win32. HB 09/23/01 - # Aliases + # Useful customer aliases we can use later. These must come first! {{alias}} - - # Useful aliases +no-cookies = +no-cookies-set +no-cookies-read -no-cookies = -no-cookies-set -no-cookies-read fragile = -block -no-cookies -filter -fast-redirects -hide-referer -no-popups @@ -2480,6 +2617,7 @@ Removed references to Win32. HB 09/23/01 {fragile} .office.microsoft.com .windowsupdate.microsoft.com + .nytimes.com # Shopping sites - still want to block ads. {shop} @@ -2576,42 +2714,101 @@ Removed references to Win32. HB 09/23/01 Quickstart to Using Junkbuster - Install package, then run and enjoy! Be sure your browser is set to use - the proxy which is by default at localhost, port 8000. With - Netscape (and Mozilla), - this can be set under Edit -> Preferences -> Advanced -> - Proxies -> HTTP Proxy. For Internet - Explorer: Internet Properties -> Connections -> - LAN Setting. Then, check Use Proxy and fill in the - appropriate info (Address: localhost, Port: 8000). + Install package, then run and enjoy! Junbuster + accepts only one command line option -- the configuration file to be + used. Example Unix startup command: + + + + + + # /usr/sbin/junkbuster /etc/junkbuster/config + + + + + + An init script is provided for SuSE and Redhat. + + + +For for SuSE: /etc/rc.d/junkbuster start + + + +For RedHat: /etc/rc.d/init.d/junkbuster start + + + + + If no configuration file is specified on the command line, + Junkbuster will look for a file named + config in the current directory. Except on Amiga where + it will look for AmiTCP:db/junkbuster/config and Win32 + where it will try config.txt. If no file is specified + on the command line and no default configuration file can be found, + Junkbuster will fail to start. + + + + Be sure your browser is set to use the proxy which is by default at + localhost, port 8000. With Netscape (and + Mozilla), this can be set under Edit + -> Preferences -> Advanced -> Proxies -> HTTP Proxy. + For Internet Explorer: Tools > + Internet Properties -> Connections -> LAN Setting. Then, + check Use Proxy and fill in the appropriate info (Address: + localhost, Port: 8000). Include if HTTPS proxy support too. The included default configuration files should give a reasonable starting point, though may be somewhat aggressive in blocking junk. You will probably - want to keep an eye out for sites that require cookies, and add these to - actionsfile as needed. By default, most of these will - be blocked until you add them to the configuration. If you want the browser - to handle this instead, you will need to edit - actionsfile and disable this feature. If you use more - than one browser, it would make more sense to let + want to keep an eye out for sites that require persistant cookies, and add these to + ijb.action as needed. By default, most of these will + be accepted only during the current browser session, until you add them to + the configuration. If you want the browser to handle this instead, you will + need to edit ijb.action and disable this feature. If you + use more than one browser, it would make more sense to let Junkbuster handle this. In which case, the browser(s) should be set to accept all cookies. + + If a particular site shows problems loading properly, try adding it + to the {fragile} section of + ijb.action. This will turn off most actions for + this site. + + HTTP/1.1 support is not fully implemented. If browsers that - support HTTP/1.1 (like Mozilla or recent versions of I.E.) experience - problems, you might try to force HTTP/1.0 compatiblity. For Mozilla, look under Edit -> - Preferences -> Debug -> Networking. Or set the - +downgrade config option in actionsfile. + support HTTP/1.1 (like Mozilla or recent versions + of I.E.) experience problems, you might try to force HTTP/1.0 compatiblity. + For Mozilla, look under Edit -> Preferences -> Debug -> + Networking. Or set the +downgrade config option in + ijb.action. After running Junkbuster for a while, you can start to fine tune the configuration to suit your personal, or site, preferences and requirements. There are many, many aspects that can - be customized. + be customized. Actions (as specified in ijb.action) + can be adjusted by pointing your browser to + http://i.j.b/, + and then follow the link to edit the actions list. + (This is an internal page and does not require Internet access.) + + + + In fact, various aspects of Junkbuster + configuration can be viewed from this page, including + current configuration parameters, source code version numbers, + the browser's request headers, and actions that apply + to a given URL. In addition to the ijb.action file + editor mentioned above, Junkbuster can also + be turned on and off from this page. @@ -2706,7 +2903,44 @@ communication (bugs, feature requests, etc.) See also -To be filled. What should go here :/ + + + + +   http://sourceforge.net/projects/ijbswa + + + + +   http://ijbswa.sourceforge.net/ + + + + +   http://i.j.b/ + + + + +   http://www.junkbusters.com/ht/en/cookies.html + + + + +   http://www.waldherr.org/junkbuster/ + + + + +   http://privacy.net/analyze/ + + + + +  http://www.squid-cache.org/ + + + @@ -2969,6 +3203,27 @@ communication (bugs, feature requests, etc.) Temple Place - Suite 330, Boston, MA 02111-1307, USA. $Log: user-manual.sgml,v $ + Revision 1.23 2001/12/02 00:20:41 hal9 + Updates for recent changes. + + Revision 1.22 2001/11/05 23:57:51 hal9 + Minor update for startup now daemon mode. + + Revision 1.21 2001/10/31 21:11:03 hal9 + Correct 2 minor errors + + Revision 1.18 2001/10/24 18:45:26 hal9 + *** empty log message *** + + Revision 1.17 2001/10/24 17:10:55 hal9 + Catching up with Jon's recent work, and a few other things. + + Revision 1.16 2001/10/21 17:19:21 swa + wrong url in documentation + + Revision 1.15 2001/10/14 23:46:24 hal9 + Various minor changes. Fleshed out SEE ALSO section. + Revision 1.13 2001/10/10 17:28:33 hal9 Very minor changes.