Print warnings if the user tries to run Privoxy as root
[privoxy.git] / standard.action
index 17c13c4..1d99daa 100644 (file)
@@ -2,65 +2,93 @@
 # 
 #  File        :  $Source: /cvsroot/ijbswa/current/standard.action,v $
 # 
-#  $Id: standard.action,v 1.2.2.2 2002/07/27 18:13:36 oes Exp $
+#  $Id: standard.action,v 1.15 2006/09/22 11:06:22 hal9 Exp $
 #
 #  Purpose     :  Provide prefedined sets of actions, see
-#                 http://www.privoxy.org/faq/questions.html#CONFIGFILES
+#                 http://www.privoxy.org/user-manual/actions-file.html
 #
-#  Copyright   :  Written by and Copyright
+#  Copyright   :  Written by and Copyright 2002-2006
 #                 Privoxy team. http://www.privoxy.org/
 #
 ######################################################################
 
 ######################################################################
 #
-# CAUTION: MODYFING THIS FILE IS *NOT* RECOMMENDED for the average
-#          user.
+# WARNING: THIS FILE IS *NOT* THE PLACE TO CUSTOMIZE YOUR CONFIGURATION!
 #
-#          If you want to customize Privoxy to suit your needs, 
-#          you can alter the default section in default.action and/or
-#          add your personal exceptions and extensions to user.action
+#          This is not a user modifiable configuration file!
+#          Local customizations and preferences should go in 
+#          user.action and/or user.filter. Or use the custom editor at
+#          http://p.p/. Thanks.
 #
 ######################################################################
 
 ################
 #
-# Cautions settings -- safe for all sites, but offer little privacy protection
+# Cautious settings -- safe for all sites, but offer little privacy protection
 #
 { \
 -add-header \
 -block \
+-content-type-overwrite \
+-crunch-client-header \
+-crunch-if-none-match \
 -crunch-outgoing-cookies \
 -crunch-incoming-cookies \
+-crunch-server-header \
 -deanimate-gifs \
 -downgrade-http-version \
 -fast-redirects \
-+filter{js-annoyances} \
-+filter{html-annoyances} \
-+filter{webbugs} \
--filter{popups} \
--filter{frameset-borders} \
+-filter{js-annoyances} \
+-filter{js-events} \
+-filter{html-annoyances} \
+-filter{content-cookies} \
 -filter{refresh-tags} \
+-filter{unsolicited-popups} \
+-filter{all-popups} \
 -filter{img-reorder} \
-+filter{banners-by-size} \
+-filter{banners-by-size} \
 -filter{banners-by-link} \
--filter{fun} \
-+filter{nimda} \
+-filter{webbugs} \
+-filter{tiny-textforms} \
+-filter{jumping-windows} \
+-filter{frameset-borders} \
+-filter{demoronizer} \
 -filter{shockwave-flash} \
--filter{js-events} \
+-filter{quicktime-kioskmode} \
+-filter{fun} \
 -filter{crude-parental} \
+-filter{ie-exploits} \
+-filter{site-specifics} \
+-filter{google} \
+-filter{yahoo} \
+-filter{msn} \
+-filter{blogspot} \
+-filter{xml-to-html} \
+-filter{html-to-xml} \
+-filter-client-headers \
+-filter-server-headers \
+-force-text-mode \
+-handle-as-empty-document \
 -handle-as-image \
+-hide-accept-language \
+-hide-content-disposition \
+-hide-if-modified-since \
 +hide-forwarded-for-headers \
 +hide-from-header{block} \
 -hide-referrer \
 -hide-user-agent \
+-inspect-jpegs \
 -kill-popups \
 -limit-connect \
-+prevent-compression \
+-prevent-compression \
+-overwrite-last-modified \
+-redirect \
 -send-vanilla-wafer \
 -send-wafer \
 -session-cookies-only \
 +set-image-blocker{pattern} \
+-treat-forbidden-connects-like-blocks \
 }
 standard.Cautious
 
@@ -71,77 +99,140 @@ standard.Cautious
 { \
 -add-header \
 -block \
+-content-type-overwrite \
+-crunch-client-header \
+-crunch-if-none-match \
 -crunch-outgoing-cookies \
 -crunch-incoming-cookies \
+-crunch-server-header \
 +deanimate-gifs{last} \
 -downgrade-http-version \
 -fast-redirects \
-+filter{js-annoyances} \
-+filter{html-annoyances} \
-+filter{webbugs} \
-+filter{popups} \
--filter{frameset-borders} \
--filter{refresh-tags} \
--filter{img-reorder} \
+-filter{js-annoyances} \
+-filter{js-events} \
+-filter{html-annoyances} \
+-filter{content-cookies} \
++filter{refresh-tags} \
+-filter{unsolicited-popups} \
+-filter{all-popups} \
++filter{img-reorder} \
 +filter{banners-by-size} \
 -filter{banners-by-link} \
--filter{fun} \
-+filter{nimda} \
++filter{webbugs} \
+-filter{tiny-textforms} \
++filter{jumping-windows} \
+-filter{frameset-borders} \
+-filter{demoronizer} \
 -filter{shockwave-flash} \
--filter{js-events} \
+-filter{quicktime-kioskmode} \
+-filter{fun} \
 -filter{crude-parental} \
++filter{ie-exploits} \
+-filter{site-specifics} \
+-filter{google} \
+-filter{yahoo} \
+-filter{msn} \
+-filter{blogspot} \
+-filter{xml-to-html} \
+-filter{html-to-xml} \
+-filter-client-headers \
+-filter-server-headers \
+-force-text-mode \
+-handle-as-empty-document \
 -handle-as-image \
+-hide-accept-language \
+-hide-content-disposition \
+-hide-if-modified-since \
 +hide-forwarded-for-headers \
 +hide-from-header{block} \
 +hide-referrer{forge} \
 -hide-user-agent \
+-inspect-jpegs \
 -kill-popups \
 -limit-connect \
 +prevent-compression \
+-overwrite-last-modified \
+-redirect \
 -send-vanilla-wafer \
 -send-wafer \
 +session-cookies-only \
 +set-image-blocker{pattern} \
+-treat-forbidden-connects-like-blocks \
 }
 standard.Medium
 
 ################
 #
-# Advanced settings -- fun but risky (and include new filters)
+# Advanced settings -- reasonable privacy protection but
+# require some exceptions for trusted sites, most likely
+# because of cookies or SSL. Also testing ground for
+# new options.
+#
+# CAUTION: These settings can still be subverted by a
+# misconfigured client that executes code from untrusted
+# sources.
 #
 { \
-+add-header{X-User-Tracking: sucks} \
+-add-header \
 -block \
+-content-type-overwrite \
+-crunch-client-header \
++crunch-if-none-match \
 +crunch-outgoing-cookies \
 +crunch-incoming-cookies \
+-crunch-server-header \
 +deanimate-gifs{last} \
 -downgrade-http-version \
-+fast-redirects \
-+filter{js-annoyances} \
++fast-redirects{check-decoded-url} \
+-filter{js-annoyances} \
+-filter{js-events} \
 +filter{html-annoyances} \
-+filter{webbugs} \
-+filter{popups} \
-+filter{frameset-borders} \
--filter{refresh-tags} \
++filter{content-cookies} \
++filter{refresh-tags} \
+-filter{unsolicited-popups} \
+-filter{all-popups} \
 +filter{img-reorder} \
 +filter{banners-by-size} \
 +filter{banners-by-link} \
-+filter{fun} \
-+filter{nimda} \
++filter{webbugs} \
+-filter{tiny-textforms} \
++filter{jumping-windows} \
++filter{frameset-borders} \
+-filter{demoronizer} \
 -filter{shockwave-flash} \
--filter{js-events} \
++filter{quicktime-kioskmode} \
+-filter{fun} \
 -filter{crude-parental} \
+-filter{ie-exploits} \
+-filter{site-specifics} \
+-filter{google} \
+-filter{yahoo} \
+-filter{msn} \
+-filter{blogspot} \
+-filter{xml-to-html} \
+-filter{html-to-xml} \
+-filter-client-headers \
+-filter-server-headers \
+-force-text-mode \
+-handle-as-empty-document \
 -handle-as-image \
+-hide-accept-language \
+-hide-content-disposition \
++hide-if-modified-since{-60} \
 +hide-forwarded-for-headers \
 +hide-from-header{block} \
-+hide-referrer{forge} \
++hide-referrer{conditional-block} \
 -hide-user-agent \
+-inspect-jpegs \
 -kill-popups \
--limit-connect \
++limit-connect{,} \
 +prevent-compression \
++overwrite-last-modified{randomize} \
+-redirect \
 -send-vanilla-wafer \
 -send-wafer \
 -session-cookies-only \
 +set-image-blocker{pattern} \
++treat-forbidden-connects-like-blocks \
 }
 standard.Advanced