config 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104
  1. # Sample Configuration File for Privoxy 3.0.24
  2. #
  3. # $Id: config,v 1.108 2016/01/17 14:33:03 fabiankeil Exp $
  4. #
  5. # Copyright (C) 2001-2014 Privoxy Developers http://www.privoxy.org/
  6. #
  7. ####################################################################
  8. # #
  9. # Table of Contents #
  10. # #
  11. # I. INTRODUCTION #
  12. # II. FORMAT OF THE CONFIGURATION FILE #
  13. # #
  14. # 1. LOCAL SET-UP DOCUMENTATION #
  15. # 2. CONFIGURATION AND LOG FILE LOCATIONS #
  16. # 3. DEBUGGING #
  17. # 4. ACCESS CONTROL AND SECURITY #
  18. # 5. FORWARDING #
  19. # 6. MISCELLANEOUS #
  20. # 7. WINDOWS GUI OPTIONS #
  21. # #
  22. ####################################################################
  23. #
  24. #
  25. # I. INTRODUCTION
  26. # ===============
  27. #
  28. # This file holds Privoxy's main configuration. Privoxy detects
  29. # configuration changes automatically, so you don't have to restart
  30. # it unless you want to load a different configuration file.
  31. #
  32. # The configuration will be reloaded with the first request after
  33. # the change was done, this request itself will still use the old
  34. # configuration, though. In other words: it takes two requests
  35. # before you see the result of your changes. Requests that are
  36. # dropped due to ACL don't trigger reloads.
  37. #
  38. # When starting Privoxy on Unix systems, give the location of this
  39. # file as last argument. On Windows systems, Privoxy will look for
  40. # this file with the name 'config.txt' in the current working
  41. # directory of the Privoxy process.
  42. #
  43. #
  44. # II. FORMAT OF THE CONFIGURATION FILE
  45. # ====================================
  46. #
  47. # Configuration lines consist of an initial keyword followed by a
  48. # list of values, all separated by whitespace (any number of spaces
  49. # or tabs). For example,
  50. #
  51. # actionsfile default.action
  52. #
  53. # Indicates that the actionsfile is named 'default.action'.
  54. #
  55. # The '#' indicates a comment. Any part of a line following a '#' is
  56. # ignored, except if the '#' is preceded by a '\'.
  57. #
  58. # Thus, by placing a # at the start of an existing configuration
  59. # line, you can make it a comment and it will be treated as if it
  60. # weren't there. This is called "commenting out" an option and can
  61. # be useful. Removing the # again is called "uncommenting".
  62. #
  63. # Note that commenting out an option and leaving it at its default
  64. # are two completely different things! Most options behave very
  65. # differently when unset. See the "Effect if unset" explanation in
  66. # each option's description for details.
  67. #
  68. # Long lines can be continued on the next line by using a `\' as the
  69. # last character.
  70. #
  71. #
  72. # 1. LOCAL SET-UP DOCUMENTATION
  73. # ==============================
  74. #
  75. # If you intend to operate Privoxy for more users than just
  76. # yourself, it might be a good idea to let them know how to reach
  77. # you, what you block and why you do that, your policies, etc.
  78. #
  79. #
  80. # 1.1. user-manual
  81. # =================
  82. #
  83. # Specifies:
  84. #
  85. # Location of the Privoxy User Manual.
  86. #
  87. # Type of value:
  88. #
  89. # A fully qualified URI
  90. #
  91. # Default value:
  92. #
  93. # Unset
  94. #
  95. # Effect if unset:
  96. #
  97. # http://www.privoxy.org/version/user-manual/ will be used,
  98. # where version is the Privoxy version.
  99. #
  100. # Notes:
  101. #
  102. # The User Manual URI is the single best source of information
  103. # on Privoxy, and is used for help links from some of the
  104. # internal CGI pages. The manual itself is normally packaged
  105. # with the binary distributions, so you probably want to set
  106. # this to a locally installed copy.
  107. #
  108. # Examples:
  109. #
  110. # The best all purpose solution is simply to put the full local
  111. # PATH to where the User Manual is located:
  112. #
  113. # user-manual /usr/share/doc/privoxy/user-manual
  114. #
  115. # The User Manual is then available to anyone with access to
  116. # Privoxy, by following the built-in URL: http://
  117. # config.privoxy.org/user-manual/ (or the shortcut: http://p.p/
  118. # user-manual/).
  119. #
  120. # If the documentation is not on the local system, it can be
  121. # accessed from a remote server, as:
  122. #
  123. # user-manual http://example.com/privoxy/user-manual/
  124. #
  125. # WARNING!!!
  126. #
  127. # If set, this option should be the first option in the
  128. # config file, because it is used while the config file is
  129. # being read.
  130. #
  131. user-manual /usr/share/doc/privoxy/user-manual/
  132. #
  133. # 1.2. trust-info-url
  134. # ====================
  135. #
  136. # Specifies:
  137. #
  138. # A URL to be displayed in the error page that users will see if
  139. # access to an untrusted page is denied.
  140. #
  141. # Type of value:
  142. #
  143. # URL
  144. #
  145. # Default value:
  146. #
  147. # Unset
  148. #
  149. # Effect if unset:
  150. #
  151. # No links are displayed on the "untrusted" error page.
  152. #
  153. # Notes:
  154. #
  155. # The value of this option only matters if the experimental
  156. # trust mechanism has been activated. (See trustfile below.)
  157. #
  158. # If you use the trust mechanism, it is a good idea to write up
  159. # some on-line documentation about your trust policy and to
  160. # specify the URL(s) here. Use multiple times for multiple URLs.
  161. #
  162. # The URL(s) should be added to the trustfile as well, so users
  163. # don't end up locked out from the information on why they were
  164. # locked out in the first place!
  165. #
  166. #trust-info-url http://www.example.com/why_we_block.html
  167. #trust-info-url http://www.example.com/what_we_allow.html
  168. #
  169. # 1.3. admin-address
  170. # ===================
  171. #
  172. # Specifies:
  173. #
  174. # An email address to reach the Privoxy administrator.
  175. #
  176. # Type of value:
  177. #
  178. # Email address
  179. #
  180. # Default value:
  181. #
  182. # Unset
  183. #
  184. # Effect if unset:
  185. #
  186. # No email address is displayed on error pages and the CGI user
  187. # interface.
  188. #
  189. # Notes:
  190. #
  191. # If both admin-address and proxy-info-url are unset, the whole
  192. # "Local Privoxy Support" box on all generated pages will not be
  193. # shown.
  194. #
  195. #admin-address privoxy-admin@example.com
  196. #
  197. # 1.4. proxy-info-url
  198. # ====================
  199. #
  200. # Specifies:
  201. #
  202. # A URL to documentation about the local Privoxy setup,
  203. # configuration or policies.
  204. #
  205. # Type of value:
  206. #
  207. # URL
  208. #
  209. # Default value:
  210. #
  211. # Unset
  212. #
  213. # Effect if unset:
  214. #
  215. # No link to local documentation is displayed on error pages and
  216. # the CGI user interface.
  217. #
  218. # Notes:
  219. #
  220. # If both admin-address and proxy-info-url are unset, the whole
  221. # "Local Privoxy Support" box on all generated pages will not be
  222. # shown.
  223. #
  224. # This URL shouldn't be blocked ;-)
  225. #
  226. #proxy-info-url http://www.example.com/proxy-service.html
  227. #
  228. # 2. CONFIGURATION AND LOG FILE LOCATIONS
  229. # ========================================
  230. #
  231. # Privoxy can (and normally does) use a number of other files for
  232. # additional configuration, help and logging. This section of the
  233. # configuration file tells Privoxy where to find those other files.
  234. #
  235. # The user running Privoxy, must have read permission for all
  236. # configuration files, and write permission to any files that would
  237. # be modified, such as log files and actions files.
  238. #
  239. #
  240. # 2.1. confdir
  241. # =============
  242. #
  243. # Specifies:
  244. #
  245. # The directory where the other configuration files are located.
  246. #
  247. # Type of value:
  248. #
  249. # Path name
  250. #
  251. # Default value:
  252. #
  253. # /etc/privoxy (Unix) or Privoxy installation dir (Windows)
  254. #
  255. # Effect if unset:
  256. #
  257. # Mandatory
  258. #
  259. # Notes:
  260. #
  261. # No trailing "/", please.
  262. #
  263. confdir /etc/privoxy
  264. #
  265. # 2.2. templdir
  266. # ==============
  267. #
  268. # Specifies:
  269. #
  270. # An alternative directory where the templates are loaded from.
  271. #
  272. # Type of value:
  273. #
  274. # Path name
  275. #
  276. # Default value:
  277. #
  278. # unset
  279. #
  280. # Effect if unset:
  281. #
  282. # The templates are assumed to be located in confdir/template.
  283. #
  284. # Notes:
  285. #
  286. # Privoxy's original templates are usually overwritten with each
  287. # update. Use this option to relocate customized templates that
  288. # should be kept. As template variables might change between
  289. # updates, you shouldn't expect templates to work with Privoxy
  290. # releases other than the one they were part of, though.
  291. #
  292. #templdir .
  293. #
  294. # 2.3. temporary-directory
  295. # =========================
  296. #
  297. # Specifies:
  298. #
  299. # A directory where Privoxy can create temporary files.
  300. #
  301. # Type of value:
  302. #
  303. # Path name
  304. #
  305. # Default value:
  306. #
  307. # unset
  308. #
  309. # Effect if unset:
  310. #
  311. # No temporary files are created, external filters don't work.
  312. #
  313. # Notes:
  314. #
  315. # To execute external filters, Privoxy has to create temporary
  316. # files. This directive specifies the directory the temporary
  317. # files should be written to.
  318. #
  319. # It should be a directory only Privoxy (and trusted users) can
  320. # access.
  321. #
  322. #temporary-directory .
  323. #
  324. # 2.4. logdir
  325. # ============
  326. #
  327. # Specifies:
  328. #
  329. # The directory where all logging takes place (i.e. where the
  330. # logfile is located).
  331. #
  332. # Type of value:
  333. #
  334. # Path name
  335. #
  336. # Default value:
  337. #
  338. # /var/log/privoxy (Unix) or Privoxy installation dir (Windows)
  339. #
  340. # Effect if unset:
  341. #
  342. # Mandatory
  343. #
  344. # Notes:
  345. #
  346. # No trailing "/", please.
  347. #
  348. logdir /var/log/privoxy
  349. #
  350. # 2.5. actionsfile
  351. # =================
  352. #
  353. # Specifies:
  354. #
  355. # The actions file(s) to use
  356. #
  357. # Type of value:
  358. #
  359. # Complete file name, relative to confdir
  360. #
  361. # Default values:
  362. #
  363. # match-all.action # Actions that are applied to all sites and maybe overruled later on.
  364. #
  365. # default.action # Main actions file
  366. #
  367. # user.action # User customizations
  368. #
  369. # Effect if unset:
  370. #
  371. # No actions are taken at all. More or less neutral proxying.
  372. #
  373. # Notes:
  374. #
  375. # Multiple actionsfile lines are permitted, and are in fact
  376. # recommended!
  377. #
  378. # The default values are default.action, which is the "main"
  379. # actions file maintained by the developers, and user.action,
  380. # where you can make your personal additions.
  381. #
  382. # Actions files contain all the per site and per URL
  383. # configuration for ad blocking, cookie management, privacy
  384. # considerations, etc.
  385. #
  386. actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on.
  387. actionsfile default.action # Main actions file
  388. actionsfile user.action # User customizations
  389. #
  390. # 2.6. filterfile
  391. # ================
  392. #
  393. # Specifies:
  394. #
  395. # The filter file(s) to use
  396. #
  397. # Type of value:
  398. #
  399. # File name, relative to confdir
  400. #
  401. # Default value:
  402. #
  403. # default.filter (Unix) or default.filter.txt (Windows)
  404. #
  405. # Effect if unset:
  406. #
  407. # No textual content filtering takes place, i.e. all +filter{name}
  408. # actions in the actions files are turned neutral.
  409. #
  410. # Notes:
  411. #
  412. # Multiple filterfile lines are permitted.
  413. #
  414. # The filter files contain content modification rules that use
  415. # regular expressions. These rules permit powerful changes on
  416. # the content of Web pages, and optionally the headers as well,
  417. # e.g., you could try to disable your favorite JavaScript
  418. # annoyances, re-write the actual displayed text, or just have
  419. # some fun playing buzzword bingo with web pages.
  420. #
  421. # The +filter{name} actions rely on the relevant filter (name)
  422. # to be defined in a filter file!
  423. #
  424. # A pre-defined filter file called default.filter that contains
  425. # a number of useful filters for common problems is included in
  426. # the distribution. See the section on the filter action for a
  427. # list.
  428. #
  429. # It is recommended to place any locally adapted filters into a
  430. # separate file, such as user.filter.
  431. #
  432. filterfile default.filter
  433. filterfile user.filter # User customizations
  434. #
  435. # 2.7. logfile
  436. # =============
  437. #
  438. # Specifies:
  439. #
  440. # The log file to use
  441. #
  442. # Type of value:
  443. #
  444. # File name, relative to logdir
  445. #
  446. # Default value:
  447. #
  448. # Unset (commented out). When activated: logfile (Unix) or
  449. # privoxy.log (Windows).
  450. #
  451. # Effect if unset:
  452. #
  453. # No logfile is written.
  454. #
  455. # Notes:
  456. #
  457. # The logfile is where all logging and error messages are
  458. # written. The level of detail and number of messages are set
  459. # with the debug option (see below). The logfile can be useful
  460. # for tracking down a problem with Privoxy (e.g., it's not
  461. # blocking an ad you think it should block) and it can help you
  462. # to monitor what your browser is doing.
  463. #
  464. # Depending on the debug options below, the logfile may be a
  465. # privacy risk if third parties can get access to it. As most
  466. # users will never look at it, Privoxy only logs fatal errors by
  467. # default.
  468. #
  469. # For most troubleshooting purposes, you will have to change
  470. # that, please refer to the debugging section for details.
  471. #
  472. # Any log files must be writable by whatever user Privoxy is
  473. # being run as (on Unix, default user id is "privoxy").
  474. #
  475. # To prevent the logfile from growing indefinitely, it is
  476. # recommended to periodically rotate or shorten it. Many
  477. # operating systems support log rotation out of the box, some
  478. # require additional software to do it. For details, please
  479. # refer to the documentation for your operating system.
  480. #
  481. logfile privoxy.log
  482. #
  483. # 2.8. trustfile
  484. # ===============
  485. #
  486. # Specifies:
  487. #
  488. # The name of the trust file to use
  489. #
  490. # Type of value:
  491. #
  492. # File name, relative to confdir
  493. #
  494. # Default value:
  495. #
  496. # Unset (commented out). When activated: trust (Unix) or
  497. # trust.txt (Windows)
  498. #
  499. # Effect if unset:
  500. #
  501. # The entire trust mechanism is disabled.
  502. #
  503. # Notes:
  504. #
  505. # The trust mechanism is an experimental feature for building
  506. # white-lists and should be used with care. It is NOT
  507. # recommended for the casual user.
  508. #
  509. # If you specify a trust file, Privoxy will only allow access to
  510. # sites that are specified in the trustfile. Sites can be listed
  511. # in one of two ways:
  512. #
  513. # Prepending a ~ character limits access to this site only (and
  514. # any sub-paths within this site), e.g. ~www.example.com allows
  515. # access to ~www.example.com/features/news.html, etc.
  516. #
  517. # Or, you can designate sites as trusted referrers, by
  518. # prepending the name with a + character. The effect is that
  519. # access to untrusted sites will be granted -- but only if a
  520. # link from this trusted referrer was used to get there. The
  521. # link target will then be added to the "trustfile" so that
  522. # future, direct accesses will be granted. Sites added via this
  523. # mechanism do not become trusted referrers themselves (i.e.
  524. # they are added with a ~ designation). There is a limit of 512
  525. # such entries, after which new entries will not be made.
  526. #
  527. # If you use the + operator in the trust file, it may grow
  528. # considerably over time.
  529. #
  530. # It is recommended that Privoxy be compiled with the
  531. # --disable-force, --disable-toggle and --disable-editor
  532. # options, if this feature is to be used.
  533. #
  534. # Possible applications include limiting Internet access for
  535. # children.
  536. #
  537. #trustfile trust
  538. #
  539. # 3. DEBUGGING
  540. # =============
  541. #
  542. # These options are mainly useful when tracing a problem. Note that
  543. # you might also want to invoke Privoxy with the --no-daemon command
  544. # line option when debugging.
  545. #
  546. #
  547. # 3.1. debug
  548. # ===========
  549. #
  550. # Specifies:
  551. #
  552. # Key values that determine what information gets logged.
  553. #
  554. # Type of value:
  555. #
  556. # Integer values
  557. #
  558. # Default value:
  559. #
  560. # 0 (i.e.: only fatal errors (that cause Privoxy to exit) are
  561. # logged)
  562. #
  563. # Effect if unset:
  564. #
  565. # Default value is used (see above).
  566. #
  567. # Notes:
  568. #
  569. # The available debug levels are:
  570. #
  571. # debug 1 # Log the destination for each request Privoxy let through. See also debug 1024.
  572. # debug 2 # show each connection status
  573. # debug 4 # show I/O status
  574. # debug 8 # show header parsing
  575. # debug 16 # log all data written to the network
  576. # debug 32 # debug force feature
  577. # debug 64 # debug regular expression filters
  578. # debug 128 # debug redirects
  579. # debug 256 # debug GIF de-animation
  580. # debug 512 # Common Log Format
  581. # debug 1024 # Log the destination for requests Privoxy didn't let through, and the reason why.
  582. # debug 2048 # CGI user interface
  583. # debug 4096 # Startup banner and warnings.
  584. # debug 8192 # Non-fatal errors
  585. # debug 32768 # log all data read from the network
  586. # debug 65536 # Log the applying actions
  587. #
  588. # To select multiple debug levels, you can either add them or
  589. # use multiple debug lines.
  590. #
  591. # A debug level of 1 is informative because it will show you
  592. # each request as it happens. 1, 1024, 4096 and 8192 are
  593. # recommended so that you will notice when things go wrong. The
  594. # other levels are probably only of interest if you are hunting
  595. # down a specific problem. They can produce a hell of an output
  596. # (especially 16).
  597. #
  598. # If you are used to the more verbose settings, simply enable
  599. # the debug lines below again.
  600. #
  601. # If you want to use pure CLF (Common Log Format), you should
  602. # set "debug 512" ONLY and not enable anything else.
  603. #
  604. # Privoxy has a hard-coded limit for the length of log messages.
  605. # If it's reached, messages are logged truncated and marked with
  606. # "... [too long, truncated]".
  607. #
  608. # Please don't file any support requests without trying to
  609. # reproduce the problem with increased debug level first. Once
  610. # you read the log messages, you may even be able to solve the
  611. # problem on your own.
  612. #
  613. #debug 1 # Log the destination for each request Privoxy let through. See also debug 1024.
  614. #debug 1024 # Actions that are applied to all sites and maybe overruled later on.
  615. #debug 4096 # Startup banner and warnings
  616. #debug 8192 # Non-fatal errors
  617. #
  618. # 3.2. single-threaded
  619. # =====================
  620. #
  621. # Specifies:
  622. #
  623. # Whether to run only one server thread.
  624. #
  625. # Type of value:
  626. #
  627. # 1 or 0
  628. #
  629. # Default value:
  630. #
  631. # 0
  632. #
  633. # Effect if unset:
  634. #
  635. # Multi-threaded (or, where unavailable: forked) operation, i.e.
  636. # the ability to serve multiple requests simultaneously.
  637. #
  638. # Notes:
  639. #
  640. # This option is only there for debugging purposes. It will
  641. # drastically reduce performance.
  642. #
  643. #single-threaded 1
  644. #
  645. # 3.3. hostname
  646. # ==============
  647. #
  648. # Specifies:
  649. #
  650. # The hostname shown on the CGI pages.
  651. #
  652. # Type of value:
  653. #
  654. # Text
  655. #
  656. # Default value:
  657. #
  658. # Unset
  659. #
  660. # Effect if unset:
  661. #
  662. # The hostname provided by the operating system is used.
  663. #
  664. # Notes:
  665. #
  666. # On some misconfigured systems resolving the hostname fails or
  667. # takes too much time and slows Privoxy down. Setting a fixed
  668. # hostname works around the problem.
  669. #
  670. # In other circumstances it might be desirable to show a
  671. # hostname other than the one returned by the operating system.
  672. # For example if the system has several different hostnames and
  673. # you don't want to use the first one.
  674. #
  675. # Note that Privoxy does not validate the specified hostname
  676. # value.
  677. #
  678. #hostname hostname.example.org
  679. #
  680. # 4. ACCESS CONTROL AND SECURITY
  681. # ===============================
  682. #
  683. # This section of the config file controls the security-relevant
  684. # aspects of Privoxy's configuration.
  685. #
  686. #
  687. # 4.1. listen-address
  688. # ====================
  689. #
  690. # Specifies:
  691. #
  692. # The address and TCP port on which Privoxy will listen for
  693. # client requests.
  694. #
  695. # Type of value:
  696. #
  697. # [IP-Address]:Port
  698. #
  699. # [Hostname]:Port
  700. #
  701. # Default value:
  702. #
  703. # 127.0.0.1:8118
  704. #
  705. # Effect if unset:
  706. #
  707. # Bind to 127.0.0.1 (IPv4 localhost), port 8118. This is
  708. # suitable and recommended for home users who run Privoxy on the
  709. # same machine as their browser.
  710. #
  711. # Notes:
  712. #
  713. # You will need to configure your browser(s) to this proxy
  714. # address and port.
  715. #
  716. # If you already have another service running on port 8118, or
  717. # if you want to serve requests from other machines (e.g. on
  718. # your local network) as well, you will need to override the
  719. # default.
  720. #
  721. # You can use this statement multiple times to make Privoxy
  722. # listen on more ports or more IP addresses. Suitable if your
  723. # operating system does not support sharing IPv6 and IPv4
  724. # protocols on the same socket.
  725. #
  726. # If a hostname is used instead of an IP address, Privoxy will
  727. # try to resolve it to an IP address and if there are multiple,
  728. # use the first one returned.
  729. #
  730. # If the address for the hostname isn't already known on the
  731. # system (for example because it's in /etc/hostname), this may
  732. # result in DNS traffic.
  733. #
  734. # If the specified address isn't available on the system, or if
  735. # the hostname can't be resolved, Privoxy will fail to start.
  736. #
  737. # IPv6 addresses containing colons have to be quoted by
  738. # brackets. They can only be used if Privoxy has been compiled
  739. # with IPv6 support. If you aren't sure if your version supports
  740. # it, have a look at http://config.privoxy.org/show-status.
  741. #
  742. # Some operating systems will prefer IPv6 to IPv4 addresses even
  743. # if the system has no IPv6 connectivity which is usually not
  744. # expected by the user. Some even rely on DNS to resolve
  745. # localhost which mean the "localhost" address used may not
  746. # actually be local.
  747. #
  748. # It is therefore recommended to explicitly configure the
  749. # intended IP address instead of relying on the operating
  750. # system, unless there's a strong reason not to.
  751. #
  752. # If you leave out the address, Privoxy will bind to all IPv4
  753. # interfaces (addresses) on your machine and may become
  754. # reachable from the Internet and/or the local network. Be aware
  755. # that some GNU/Linux distributions modify that behaviour
  756. # without updating the documentation. Check for non-standard
  757. # patches if your Privoxy version behaves differently.
  758. #
  759. # If you configure Privoxy to be reachable from the network,
  760. # consider using access control lists (ACL's, see below), and/or
  761. # a firewall.
  762. #
  763. # If you open Privoxy to untrusted users, you will also want to
  764. # make sure that the following actions are disabled:
  765. # enable-edit-actions and enable-remote-toggle
  766. #
  767. # Example:
  768. #
  769. # Suppose you are running Privoxy on a machine which has the
  770. # address 192.168.0.1 on your local private network
  771. # (192.168.0.0) and has another outside connection with a
  772. # different address. You want it to serve requests from inside
  773. # only:
  774. #
  775. # listen-address 192.168.0.1:8118
  776. #
  777. # Suppose you are running Privoxy on an IPv6-capable machine and
  778. # you want it to listen on the IPv6 address of the loopback
  779. # device:
  780. #
  781. # listen-address [::1]:8118
  782. #
  783. listen-address 0.0.0.0:8118
  784. #
  785. # 4.2. toggle
  786. # ============
  787. #
  788. # Specifies:
  789. #
  790. # Initial state of "toggle" status
  791. #
  792. # Type of value:
  793. #
  794. # 1 or 0
  795. #
  796. # Default value:
  797. #
  798. # 1
  799. #
  800. # Effect if unset:
  801. #
  802. # Act as if toggled on
  803. #
  804. # Notes:
  805. #
  806. # If set to 0, Privoxy will start in "toggled off" mode, i.e.
  807. # mostly behave like a normal, content-neutral proxy with both
  808. # ad blocking and content filtering disabled. See
  809. # enable-remote-toggle below.
  810. #
  811. toggle 1
  812. #
  813. # 4.3. enable-remote-toggle
  814. # ==========================
  815. #
  816. # Specifies:
  817. #
  818. # Whether or not the web-based toggle feature may be used
  819. #
  820. # Type of value:
  821. #
  822. # 0 or 1
  823. #
  824. # Default value:
  825. #
  826. # 0
  827. #
  828. # Effect if unset:
  829. #
  830. # The web-based toggle feature is disabled.
  831. #
  832. # Notes:
  833. #
  834. # When toggled off, Privoxy mostly acts like a normal,
  835. # content-neutral proxy, i.e. doesn't block ads or filter
  836. # content.
  837. #
  838. # Access to the toggle feature can not be controlled separately
  839. # by "ACLs" or HTTP authentication, so that everybody who can
  840. # access Privoxy (see "ACLs" and listen-address above) can
  841. # toggle it for all users. So this option is not recommended for
  842. # multi-user environments with untrusted users.
  843. #
  844. # Note that malicious client side code (e.g Java) is also
  845. # capable of using this option.
  846. #
  847. # As a lot of Privoxy users don't read documentation, this
  848. # feature is disabled by default.
  849. #
  850. # Note that you must have compiled Privoxy with support for this
  851. # feature, otherwise this option has no effect.
  852. #
  853. enable-remote-toggle 0
  854. #
  855. # 4.4. enable-remote-http-toggle
  856. # ===============================
  857. #
  858. # Specifies:
  859. #
  860. # Whether or not Privoxy recognizes special HTTP headers to
  861. # change its behaviour.
  862. #
  863. # Type of value:
  864. #
  865. # 0 or 1
  866. #
  867. # Default value:
  868. #
  869. # 0
  870. #
  871. # Effect if unset:
  872. #
  873. # Privoxy ignores special HTTP headers.
  874. #
  875. # Notes:
  876. #
  877. # When toggled on, the client can change Privoxy's behaviour by
  878. # setting special HTTP headers. Currently the only supported
  879. # special header is "X-Filter: No", to disable filtering for the
  880. # ongoing request, even if it is enabled in one of the action
  881. # files.
  882. #
  883. # This feature is disabled by default. If you are using Privoxy
  884. # in a environment with trusted clients, you may enable this
  885. # feature at your discretion. Note that malicious client side
  886. # code (e.g Java) is also capable of using this feature.
  887. #
  888. # This option will be removed in future releases as it has been
  889. # obsoleted by the more general header taggers.
  890. #
  891. enable-remote-http-toggle 0
  892. #
  893. # 4.5. enable-edit-actions
  894. # =========================
  895. #
  896. # Specifies:
  897. #
  898. # Whether or not the web-based actions file editor may be used
  899. #
  900. # Type of value:
  901. #
  902. # 0 or 1
  903. #
  904. # Default value:
  905. #
  906. # 0
  907. #
  908. # Effect if unset:
  909. #
  910. # The web-based actions file editor is disabled.
  911. #
  912. # Notes:
  913. #
  914. # Access to the editor can not be controlled separately by
  915. # "ACLs" or HTTP authentication, so that everybody who can
  916. # access Privoxy (see "ACLs" and listen-address above) can
  917. # modify its configuration for all users.
  918. #
  919. # This option is not recommended for environments with untrusted
  920. # users and as a lot of Privoxy users don't read documentation,
  921. # this feature is disabled by default.
  922. #
  923. # Note that malicious client side code (e.g Java) is also
  924. # capable of using the actions editor and you shouldn't enable
  925. # this options unless you understand the consequences and are
  926. # sure your browser is configured correctly.
  927. #
  928. # Note that you must have compiled Privoxy with support for this
  929. # feature, otherwise this option has no effect.
  930. #
  931. enable-edit-actions 0
  932. #
  933. # 4.6. enforce-blocks
  934. # ====================
  935. #
  936. # Specifies:
  937. #
  938. # Whether the user is allowed to ignore blocks and can "go there
  939. # anyway".
  940. #
  941. # Type of value:
  942. #
  943. # 0 or 1
  944. #
  945. # Default value:
  946. #
  947. # 0
  948. #
  949. # Effect if unset:
  950. #
  951. # Blocks are not enforced.
  952. #
  953. # Notes:
  954. #
  955. # Privoxy is mainly used to block and filter requests as a
  956. # service to the user, for example to block ads and other junk
  957. # that clogs the pipes. Privoxy's configuration isn't perfect
  958. # and sometimes innocent pages are blocked. In this situation it
  959. # makes sense to allow the user to enforce the request and have
  960. # Privoxy ignore the block.
  961. #
  962. # In the default configuration Privoxy's "Blocked" page contains
  963. # a "go there anyway" link to adds a special string (the force
  964. # prefix) to the request URL. If that link is used, Privoxy will
  965. # detect the force prefix, remove it again and let the request
  966. # pass.
  967. #
  968. # Of course Privoxy can also be used to enforce a network
  969. # policy. In that case the user obviously should not be able to
  970. # bypass any blocks, and that's what the "enforce-blocks" option
  971. # is for. If it's enabled, Privoxy hides the "go there anyway"
  972. # link. If the user adds the force prefix by hand, it will not
  973. # be accepted and the circumvention attempt is logged.
  974. #
  975. # Examples:
  976. #
  977. # enforce-blocks 1
  978. #
  979. enforce-blocks 0
  980. #
  981. # 4.7. ACLs: permit-access and deny-access
  982. # =========================================
  983. #
  984. # Specifies:
  985. #
  986. # Who can access what.
  987. #
  988. # Type of value:
  989. #
  990. # src_addr[:port][/src_masklen] [dst_addr[:port][/dst_masklen]]
  991. #
  992. # Where src_addr and dst_addr are IPv4 addresses in dotted
  993. # decimal notation or valid DNS names, port is a port number,
  994. # and src_masklen and dst_masklen are subnet masks in CIDR
  995. # notation, i.e. integer values from 2 to 30 representing the
  996. # length (in bits) of the network address. The masks and the
  997. # whole destination part are optional.
  998. #
  999. # If your system implements RFC 3493, then src_addr and dst_addr
  1000. # can be IPv6 addresses delimeted by brackets, port can be a
  1001. # number or a service name, and src_masklen and dst_masklen can
  1002. # be a number from 0 to 128.
  1003. #
  1004. # Default value:
  1005. #
  1006. # Unset
  1007. #
  1008. # If no port is specified, any port will match. If no
  1009. # src_masklen or src_masklen is given, the complete IP address
  1010. # has to match (i.e. 32 bits for IPv4 and 128 bits for IPv6).
  1011. #
  1012. # Effect if unset:
  1013. #
  1014. # Don't restrict access further than implied by listen-address
  1015. #
  1016. # Notes:
  1017. #
  1018. # Access controls are included at the request of ISPs and
  1019. # systems administrators, and are not usually needed by
  1020. # individual users. For a typical home user, it will normally
  1021. # suffice to ensure that Privoxy only listens on the localhost
  1022. # (127.0.0.1) or internal (home) network address by means of the
  1023. # listen-address option.
  1024. #
  1025. # Please see the warnings in the FAQ that Privoxy is not
  1026. # intended to be a substitute for a firewall or to encourage
  1027. # anyone to defer addressing basic security weaknesses.
  1028. #
  1029. # Multiple ACL lines are OK. If any ACLs are specified, Privoxy
  1030. # only talks to IP addresses that match at least one
  1031. # permit-access line and don't match any subsequent deny-access
  1032. # line. In other words, the last match wins, with the default
  1033. # being deny-access.
  1034. #
  1035. # If Privoxy is using a forwarder (see forward below) for a
  1036. # particular destination URL, the dst_addr that is examined is
  1037. # the address of the forwarder and NOT the address of the
  1038. # ultimate target. This is necessary because it may be
  1039. # impossible for the local Privoxy to determine the IP address
  1040. # of the ultimate target (that's often what gateways are used
  1041. # for).
  1042. #
  1043. # You should prefer using IP addresses over DNS names, because
  1044. # the address lookups take time. All DNS names must resolve! You
  1045. # can not use domain patterns like "*.org" or partial domain
  1046. # names. If a DNS name resolves to multiple IP addresses, only
  1047. # the first one is used.
  1048. #
  1049. # Some systems allow IPv4 clients to connect to IPv6 server
  1050. # sockets. Then the client's IPv4 address will be translated by
  1051. # the system into IPv6 address space with special prefix
  1052. # ::ffff:0:0/96 (so called IPv4 mapped IPv6 address). Privoxy
  1053. # can handle it and maps such ACL addresses automatically.
  1054. #
  1055. # Denying access to particular sites by ACL may have undesired
  1056. # side effects if the site in question is hosted on a machine
  1057. # which also hosts other sites (most sites are).
  1058. #
  1059. # Examples:
  1060. #
  1061. # Explicitly define the default behavior if no ACL and
  1062. # listen-address are set: "localhost" is OK. The absence of a
  1063. # dst_addr implies that all destination addresses are OK:
  1064. #
  1065. # permit-access localhost
  1066. #
  1067. # Allow any host on the same class C subnet as www.privoxy.org
  1068. # access to nothing but www.example.com (or other domains hosted
  1069. # on the same system):
  1070. #
  1071. # permit-access www.privoxy.org/24 www.example.com/32
  1072. #
  1073. # Allow access from any host on the 26-bit subnet 192.168.45.64
  1074. # to anywhere, with the exception that 192.168.45.73 may not
  1075. # access the IP address behind www.dirty-stuff.example.com:
  1076. #
  1077. # permit-access 192.168.45.64/26
  1078. # deny-access 192.168.45.73 www.dirty-stuff.example.com
  1079. #
  1080. # Allow access from the IPv4 network 192.0.2.0/24 even if
  1081. # listening on an IPv6 wild card address (not supported on all
  1082. # platforms):
  1083. #
  1084. # permit-access 192.0.2.0/24
  1085. #
  1086. # This is equivalent to the following line even if listening on
  1087. # an IPv4 address (not supported on all platforms):
  1088. #
  1089. # permit-access [::ffff:192.0.2.0]/120
  1090. #
  1091. #
  1092. # 4.8. buffer-limit
  1093. # ==================
  1094. #
  1095. # Specifies:
  1096. #
  1097. # Maximum size of the buffer for content filtering.
  1098. #
  1099. # Type of value:
  1100. #
  1101. # Size in Kbytes
  1102. #
  1103. # Default value:
  1104. #
  1105. # 4096
  1106. #
  1107. # Effect if unset:
  1108. #
  1109. # Use a 4MB (4096 KB) limit.
  1110. #
  1111. # Notes:
  1112. #
  1113. # For content filtering, i.e. the +filter and +deanimate-gif
  1114. # actions, it is necessary that Privoxy buffers the entire
  1115. # document body. This can be potentially dangerous, since a
  1116. # server could just keep sending data indefinitely and wait for
  1117. # your RAM to exhaust -- with nasty consequences. Hence this
  1118. # option.
  1119. #
  1120. # When a document buffer size reaches the buffer-limit, it is
  1121. # flushed to the client unfiltered and no further attempt to
  1122. # filter the rest of the document is made. Remember that there
  1123. # may be multiple threads running, which might require up to
  1124. # buffer-limit Kbytes each, unless you have enabled
  1125. # "single-threaded" above.
  1126. #
  1127. buffer-limit 4096
  1128. #
  1129. # 4.9. enable-proxy-authentication-forwarding
  1130. # ============================================
  1131. #
  1132. # Specifies:
  1133. #
  1134. # Whether or not proxy authentication through Privoxy should
  1135. # work.
  1136. #
  1137. # Type of value:
  1138. #
  1139. # 0 or 1
  1140. #
  1141. # Default value:
  1142. #
  1143. # 0
  1144. #
  1145. # Effect if unset:
  1146. #
  1147. # Proxy authentication headers are removed.
  1148. #
  1149. # Notes:
  1150. #
  1151. # Privoxy itself does not support proxy authentication, but can
  1152. # allow clients to authenticate against Privoxy's parent proxy.
  1153. #
  1154. # By default Privoxy (3.0.21 and later) don't do that and remove
  1155. # Proxy-Authorization headers in requests and Proxy-Authenticate
  1156. # headers in responses to make it harder for malicious sites to
  1157. # trick inexperienced users into providing login information.
  1158. #
  1159. # If this option is enabled the headers are forwarded.
  1160. #
  1161. # Enabling this option is not recommended if there is no parent
  1162. # proxy that requires authentication or if the local network
  1163. # between Privoxy and the parent proxy isn't trustworthy. If
  1164. # proxy authentication is only required for some requests, it is
  1165. # recommended to use a client header filter to remove the
  1166. # authentication headers for requests where they aren't needed.
  1167. #
  1168. enable-proxy-authentication-forwarding 0
  1169. #
  1170. # 5. FORWARDING
  1171. # ==============
  1172. #
  1173. # This feature allows routing of HTTP requests through a chain of
  1174. # multiple proxies.
  1175. #
  1176. # Forwarding can be used to chain Privoxy with a caching proxy to
  1177. # speed up browsing. Using a parent proxy may also be necessary if
  1178. # the machine that Privoxy runs on has no direct Internet access.
  1179. #
  1180. # Note that parent proxies can severely decrease your privacy level.
  1181. # For example a parent proxy could add your IP address to the
  1182. # request headers and if it's a caching proxy it may add the "Etag"
  1183. # header to revalidation requests again, even though you configured
  1184. # Privoxy to remove it. It may also ignore Privoxy's header time
  1185. # randomization and use the original values which could be used by
  1186. # the server as cookie replacement to track your steps between
  1187. # visits.
  1188. #
  1189. # Also specified here are SOCKS proxies. Privoxy supports the SOCKS
  1190. # 4 and SOCKS 4A protocols.
  1191. #
  1192. #
  1193. # 5.1. forward
  1194. # =============
  1195. #
  1196. # Specifies:
  1197. #
  1198. # To which parent HTTP proxy specific requests should be routed.
  1199. #
  1200. # Type of value:
  1201. #
  1202. # target_pattern http_parent[:port]
  1203. #
  1204. # where target_pattern is a URL pattern that specifies to which
  1205. # requests (i.e. URLs) this forward rule shall apply. Use / to
  1206. # denote "all URLs". http_parent[:port] is the DNS name or IP
  1207. # address of the parent HTTP proxy through which the requests
  1208. # should be forwarded, optionally followed by its listening port
  1209. # (default: 8000). Use a single dot (.) to denote "no
  1210. # forwarding".
  1211. #
  1212. # Default value:
  1213. #
  1214. # Unset
  1215. #
  1216. # Effect if unset:
  1217. #
  1218. # Don't use parent HTTP proxies.
  1219. #
  1220. # Notes:
  1221. #
  1222. # If http_parent is ".", then requests are not forwarded to
  1223. # another HTTP proxy but are made directly to the web servers.
  1224. #
  1225. # http_parent can be a numerical IPv6 address (if RFC 3493 is
  1226. # implemented). To prevent clashes with the port delimiter, the
  1227. # whole IP address has to be put into brackets. On the other
  1228. # hand a target_pattern containing an IPv6 address has to be put
  1229. # into angle brackets (normal brackets are reserved for regular
  1230. # expressions already).
  1231. #
  1232. # Multiple lines are OK, they are checked in sequence, and the
  1233. # last match wins.
  1234. #
  1235. # Examples:
  1236. #
  1237. # Everything goes to an example parent proxy, except SSL on port
  1238. # 443 (which it doesn't handle):
  1239. #
  1240. # forward / parent-proxy.example.org:8080
  1241. # forward :443 .
  1242. #
  1243. # Everything goes to our example ISP's caching proxy, except for
  1244. # requests to that ISP's sites:
  1245. #
  1246. # forward / caching-proxy.isp.example.net:8000
  1247. # forward .isp.example.net .
  1248. #
  1249. # Parent proxy specified by an IPv6 address:
  1250. #
  1251. # forward / [2001:DB8::1]:8000
  1252. #
  1253. # Suppose your parent proxy doesn't support IPv6:
  1254. #
  1255. # forward / parent-proxy.example.org:8000
  1256. # forward ipv6-server.example.org .
  1257. # forward <[2-3][0-9a-f][0-9a-f][0-9a-f]:*> .
  1258. #
  1259. #
  1260. # 5.2. forward-socks4, forward-socks4a, forward-socks5 and forward-socks5t
  1261. # =========================================================================
  1262. #
  1263. # Specifies:
  1264. #
  1265. # Through which SOCKS proxy (and optionally to which parent HTTP
  1266. # proxy) specific requests should be routed.
  1267. #
  1268. # Type of value:
  1269. #
  1270. # target_pattern socks_proxy[:port] http_parent[:port]
  1271. #
  1272. # where target_pattern is a URL pattern that specifies to which
  1273. # requests (i.e. URLs) this forward rule shall apply. Use / to
  1274. # denote "all URLs". http_parent and socks_proxy are IP
  1275. # addresses in dotted decimal notation or valid DNS names (
  1276. # http_parent may be "." to denote "no HTTP forwarding"), and
  1277. # the optional port parameters are TCP ports, i.e. integer
  1278. # values from 1 to 65535
  1279. #
  1280. # Default value:
  1281. #
  1282. # Unset
  1283. #
  1284. # Effect if unset:
  1285. #
  1286. # Don't use SOCKS proxies.
  1287. #
  1288. # Notes:
  1289. #
  1290. # Multiple lines are OK, they are checked in sequence, and the
  1291. # last match wins.
  1292. #
  1293. # The difference between forward-socks4 and forward-socks4a is
  1294. # that in the SOCKS 4A protocol, the DNS resolution of the
  1295. # target hostname happens on the SOCKS server, while in SOCKS 4
  1296. # it happens locally.
  1297. #
  1298. # With forward-socks5 the DNS resolution will happen on the
  1299. # remote server as well.
  1300. #
  1301. # forward-socks5t works like vanilla forward-socks5 but lets
  1302. # Privoxy additionally use Tor-specific SOCKS extensions.
  1303. # Currently the only supported SOCKS extension is optimistic
  1304. # data which can reduce the latency for the first request made
  1305. # on a newly created connection.
  1306. #
  1307. # socks_proxy and http_parent can be a numerical IPv6 address
  1308. # (if RFC 3493 is implemented). To prevent clashes with the port
  1309. # delimiter, the whole IP address has to be put into brackets.
  1310. # On the other hand a target_pattern containing an IPv6 address
  1311. # has to be put into angle brackets (normal brackets are
  1312. # reserved for regular expressions already).
  1313. #
  1314. # If http_parent is ".", then requests are not forwarded to
  1315. # another HTTP proxy but are made (HTTP-wise) directly to the
  1316. # web servers, albeit through a SOCKS proxy.
  1317. #
  1318. # Examples:
  1319. #
  1320. # From the company example.com, direct connections are made to
  1321. # all "internal" domains, but everything outbound goes through
  1322. # their ISP's proxy by way of example.com's corporate SOCKS 4A
  1323. # gateway to the Internet.
  1324. #
  1325. # forward-socks4a / socks-gw.example.com:1080 www-cache.isp.example.net:8080
  1326. # forward .example.com .
  1327. #
  1328. # A rule that uses a SOCKS 4 gateway for all destinations but no
  1329. # HTTP parent looks like this:
  1330. #
  1331. # forward-socks4 / socks-gw.example.com:1080 .
  1332. #
  1333. # To chain Privoxy and Tor, both running on the same system, you
  1334. # would use something like:
  1335. #
  1336. # forward-socks5t / 127.0.0.1:9050 .
  1337. #
  1338. # Note that if you got Tor through one of the bundles, you may
  1339. # have to change the port from 9050 to 9150 (or even another
  1340. # one). For details, please check the documentation on the Tor
  1341. # website.
  1342. #
  1343. # The public Tor network can't be used to reach your local
  1344. # network, if you need to access local servers you therefore
  1345. # might want to make some exceptions:
  1346. #
  1347. # forward 192.168.*.*/ .
  1348. # forward 10.*.*.*/ .
  1349. # forward 127.*.*.*/ .
  1350. #
  1351. # Unencrypted connections to systems in these address ranges
  1352. # will be as (un)secure as the local network is, but the
  1353. # alternative is that you can't reach the local network through
  1354. # Privoxy at all. Of course this may actually be desired and
  1355. # there is no reason to make these exceptions if you aren't sure
  1356. # you need them.
  1357. #
  1358. # If you also want to be able to reach servers in your local
  1359. # network by using their names, you will need additional
  1360. # exceptions that look like this:
  1361. #
  1362. # forward localhost/ .
  1363. #
  1364. #
  1365. # 5.3. forwarded-connect-retries
  1366. # ===============================
  1367. #
  1368. # Specifies:
  1369. #
  1370. # How often Privoxy retries if a forwarded connection request
  1371. # fails.
  1372. #
  1373. # Type of value:
  1374. #
  1375. # Number of retries.
  1376. #
  1377. # Default value:
  1378. #
  1379. # 0
  1380. #
  1381. # Effect if unset:
  1382. #
  1383. # Connections forwarded through other proxies are treated like
  1384. # direct connections and no retry attempts are made.
  1385. #
  1386. # Notes:
  1387. #
  1388. # forwarded-connect-retries is mainly interesting for socks4a
  1389. # connections, where Privoxy can't detect why the connections
  1390. # failed. The connection might have failed because of a DNS
  1391. # timeout in which case a retry makes sense, but it might also
  1392. # have failed because the server doesn't exist or isn't
  1393. # reachable. In this case the retry will just delay the
  1394. # appearance of Privoxy's error message.
  1395. #
  1396. # Note that in the context of this option, "forwarded
  1397. # connections" includes all connections that Privoxy forwards
  1398. # through other proxies. This option is not limited to the HTTP
  1399. # CONNECT method.
  1400. #
  1401. # Only use this option, if you are getting lots of
  1402. # forwarding-related error messages that go away when you try
  1403. # again manually. Start with a small value and check Privoxy's
  1404. # logfile from time to time, to see how many retries are usually
  1405. # needed.
  1406. #
  1407. # Examples:
  1408. #
  1409. # forwarded-connect-retries 1
  1410. #
  1411. forwarded-connect-retries 0
  1412. #
  1413. # 6. MISCELLANEOUS
  1414. # =================
  1415. #
  1416. # 6.1. accept-intercepted-requests
  1417. # =================================
  1418. #
  1419. # Specifies:
  1420. #
  1421. # Whether intercepted requests should be treated as valid.
  1422. #
  1423. # Type of value:
  1424. #
  1425. # 0 or 1
  1426. #
  1427. # Default value:
  1428. #
  1429. # 0
  1430. #
  1431. # Effect if unset:
  1432. #
  1433. # Only proxy requests are accepted, intercepted requests are
  1434. # treated as invalid.
  1435. #
  1436. # Notes:
  1437. #
  1438. # If you don't trust your clients and want to force them to use
  1439. # Privoxy, enable this option and configure your packet filter
  1440. # to redirect outgoing HTTP connections into Privoxy.
  1441. #
  1442. # Note that intercepting encrypted connections (HTTPS) isn't
  1443. # supported.
  1444. #
  1445. # Make sure that Privoxy's own requests aren't redirected as
  1446. # well. Additionally take care that Privoxy can't intentionally
  1447. # connect to itself, otherwise you could run into redirection
  1448. # loops if Privoxy's listening port is reachable by the outside
  1449. # or an attacker has access to the pages you visit.
  1450. #
  1451. # Examples:
  1452. #
  1453. # accept-intercepted-requests 1
  1454. #
  1455. accept-intercepted-requests 0
  1456. #
  1457. # 6.2. allow-cgi-request-crunching
  1458. # =================================
  1459. #
  1460. # Specifies:
  1461. #
  1462. # Whether requests to Privoxy's CGI pages can be blocked or
  1463. # redirected.
  1464. #
  1465. # Type of value:
  1466. #
  1467. # 0 or 1
  1468. #
  1469. # Default value:
  1470. #
  1471. # 0
  1472. #
  1473. # Effect if unset:
  1474. #
  1475. # Privoxy ignores block and redirect actions for its CGI pages.
  1476. #
  1477. # Notes:
  1478. #
  1479. # By default Privoxy ignores block or redirect actions for its
  1480. # CGI pages. Intercepting these requests can be useful in
  1481. # multi-user setups to implement fine-grained access control,
  1482. # but it can also render the complete web interface useless and
  1483. # make debugging problems painful if done without care.
  1484. #
  1485. # Don't enable this option unless you're sure that you really
  1486. # need it.
  1487. #
  1488. # Examples:
  1489. #
  1490. # allow-cgi-request-crunching 1
  1491. #
  1492. allow-cgi-request-crunching 0
  1493. #
  1494. # 6.3. split-large-forms
  1495. # =======================
  1496. #
  1497. # Specifies:
  1498. #
  1499. # Whether the CGI interface should stay compatible with broken
  1500. # HTTP clients.
  1501. #
  1502. # Type of value:
  1503. #
  1504. # 0 or 1
  1505. #
  1506. # Default value:
  1507. #
  1508. # 0
  1509. #
  1510. # Effect if unset:
  1511. #
  1512. # The CGI form generate long GET URLs.
  1513. #
  1514. # Notes:
  1515. #
  1516. # Privoxy's CGI forms can lead to rather long URLs. This isn't a
  1517. # problem as far as the HTTP standard is concerned, but it can
  1518. # confuse clients with arbitrary URL length limitations.
  1519. #
  1520. # Enabling split-large-forms causes Privoxy to divide big forms
  1521. # into smaller ones to keep the URL length down. It makes
  1522. # editing a lot less convenient and you can no longer submit all
  1523. # changes at once, but at least it works around this browser
  1524. # bug.
  1525. #
  1526. # If you don't notice any editing problems, there is no reason
  1527. # to enable this option, but if one of the submit buttons
  1528. # appears to be broken, you should give it a try.
  1529. #
  1530. # Examples:
  1531. #
  1532. # split-large-forms 1
  1533. #
  1534. split-large-forms 0
  1535. #
  1536. # 6.4. keep-alive-timeout
  1537. # ========================
  1538. #
  1539. # Specifies:
  1540. #
  1541. # Number of seconds after which an open connection will no
  1542. # longer be reused.
  1543. #
  1544. # Type of value:
  1545. #
  1546. # Time in seconds.
  1547. #
  1548. # Default value:
  1549. #
  1550. # None
  1551. #
  1552. # Effect if unset:
  1553. #
  1554. # Connections are not kept alive.
  1555. #
  1556. # Notes:
  1557. #
  1558. # This option allows clients to keep the connection to Privoxy
  1559. # alive. If the server supports it, Privoxy will keep the
  1560. # connection to the server alive as well. Under certain
  1561. # circumstances this may result in speed-ups.
  1562. #
  1563. # By default, Privoxy will close the connection to the server if
  1564. # the client connection gets closed, or if the specified timeout
  1565. # has been reached without a new request coming in. This
  1566. # behaviour can be changed with the connection-sharing option.
  1567. #
  1568. # This option has no effect if Privoxy has been compiled without
  1569. # keep-alive support.
  1570. #
  1571. # Note that a timeout of five seconds as used in the default
  1572. # configuration file significantly decreases the number of
  1573. # connections that will be reused. The value is used because
  1574. # some browsers limit the number of connections they open to a
  1575. # single host and apply the same limit to proxies. This can
  1576. # result in a single website "grabbing" all the connections the
  1577. # browser allows, which means connections to other websites
  1578. # can't be opened until the connections currently in use time
  1579. # out.
  1580. #
  1581. # Several users have reported this as a Privoxy bug, so the
  1582. # default value has been reduced. Consider increasing it to 300
  1583. # seconds or even more if you think your browser can handle it.
  1584. # If your browser appears to be hanging, it probably can't.
  1585. #
  1586. # Examples:
  1587. #
  1588. # keep-alive-timeout 300
  1589. #
  1590. keep-alive-timeout 5
  1591. #
  1592. # 6.5. tolerate-pipelining
  1593. # =========================
  1594. #
  1595. # Specifies:
  1596. #
  1597. # Whether or not pipelined requests should be served.
  1598. #
  1599. # Type of value:
  1600. #
  1601. # 0 or 1.
  1602. #
  1603. # Default value:
  1604. #
  1605. # None
  1606. #
  1607. # Effect if unset:
  1608. #
  1609. # If Privoxy receives more than one request at once, it
  1610. # terminates the client connection after serving the first one.
  1611. #
  1612. # Notes:
  1613. #
  1614. # Privoxy currently doesn't pipeline outgoing requests, thus
  1615. # allowing pipelining on the client connection is not guaranteed
  1616. # to improve the performance.
  1617. #
  1618. # By default Privoxy tries to discourage clients from pipelining
  1619. # by discarding aggressively pipelined requests, which forces
  1620. # the client to resend them through a new connection.
  1621. #
  1622. # This option lets Privoxy tolerate pipelining. Whether or not
  1623. # that improves performance mainly depends on the client
  1624. # configuration.
  1625. #
  1626. # If you are seeing problems with pages not properly loading,
  1627. # disabling this option could work around the problem.
  1628. #
  1629. # Examples:
  1630. #
  1631. # tolerate-pipelining 1
  1632. #
  1633. tolerate-pipelining 1
  1634. #
  1635. # 6.6. default-server-timeout
  1636. # ============================
  1637. #
  1638. # Specifies:
  1639. #
  1640. # Assumed server-side keep-alive timeout if not specified by the
  1641. # server.
  1642. #
  1643. # Type of value:
  1644. #
  1645. # Time in seconds.
  1646. #
  1647. # Default value:
  1648. #
  1649. # None
  1650. #
  1651. # Effect if unset:
  1652. #
  1653. # Connections for which the server didn't specify the keep-alive
  1654. # timeout are not reused.
  1655. #
  1656. # Notes:
  1657. #
  1658. # Enabling this option significantly increases the number of
  1659. # connections that are reused, provided the keep-alive-timeout
  1660. # option is also enabled.
  1661. #
  1662. # While it also increases the number of connections problems
  1663. # when Privoxy tries to reuse a connection that already has been
  1664. # closed on the server side, or is closed while Privoxy is
  1665. # trying to reuse it, this should only be a problem if it
  1666. # happens for the first request sent by the client. If it
  1667. # happens for requests on reused client connections, Privoxy
  1668. # will simply close the connection and the client is supposed to
  1669. # retry the request without bothering the user.
  1670. #
  1671. # Enabling this option is therefore only recommended if the
  1672. # connection-sharing option is disabled.
  1673. #
  1674. # It is an error to specify a value larger than the
  1675. # keep-alive-timeout value.
  1676. #
  1677. # This option has no effect if Privoxy has been compiled without
  1678. # keep-alive support.
  1679. #
  1680. # Examples:
  1681. #
  1682. # default-server-timeout 60
  1683. #
  1684. #default-server-timeout 60
  1685. #
  1686. # 6.7. connection-sharing
  1687. # ========================
  1688. #
  1689. # Specifies:
  1690. #
  1691. # Whether or not outgoing connections that have been kept alive
  1692. # should be shared between different incoming connections.
  1693. #
  1694. # Type of value:
  1695. #
  1696. # 0 or 1
  1697. #
  1698. # Default value:
  1699. #
  1700. # None
  1701. #
  1702. # Effect if unset:
  1703. #
  1704. # Connections are not shared.
  1705. #
  1706. # Notes:
  1707. #
  1708. # This option has no effect if Privoxy has been compiled without
  1709. # keep-alive support, or if it's disabled.
  1710. #
  1711. # Notes:
  1712. #
  1713. # Note that reusing connections doesn't necessary cause
  1714. # speedups. There are also a few privacy implications you should
  1715. # be aware of.
  1716. #
  1717. # If this option is effective, outgoing connections are shared
  1718. # between clients (if there are more than one) and closing the
  1719. # browser that initiated the outgoing connection does no longer
  1720. # affect the connection between Privoxy and the server unless
  1721. # the client's request hasn't been completed yet.
  1722. #
  1723. # If the outgoing connection is idle, it will not be closed
  1724. # until either Privoxy's or the server's timeout is reached.
  1725. # While it's open, the server knows that the system running
  1726. # Privoxy is still there.
  1727. #
  1728. # If there are more than one client (maybe even belonging to
  1729. # multiple users), they will be able to reuse each others
  1730. # connections. This is potentially dangerous in case of
  1731. # authentication schemes like NTLM where only the connection is
  1732. # authenticated, instead of requiring authentication for each
  1733. # request.
  1734. #
  1735. # If there is only a single client, and if said client can keep
  1736. # connections alive on its own, enabling this option has next to
  1737. # no effect. If the client doesn't support connection
  1738. # keep-alive, enabling this option may make sense as it allows
  1739. # Privoxy to keep outgoing connections alive even if the client
  1740. # itself doesn't support it.
  1741. #
  1742. # You should also be aware that enabling this option increases
  1743. # the likelihood of getting the "No server or forwarder data"
  1744. # error message, especially if you are using a slow connection
  1745. # to the Internet.
  1746. #
  1747. # This option should only be used by experienced users who
  1748. # understand the risks and can weight them against the benefits.
  1749. #
  1750. # Examples:
  1751. #
  1752. # connection-sharing 1
  1753. #
  1754. #connection-sharing 1
  1755. #
  1756. # 6.8. socket-timeout
  1757. # ====================
  1758. #
  1759. # Specifies:
  1760. #
  1761. # Number of seconds after which a socket times out if no data is
  1762. # received.
  1763. #
  1764. # Type of value:
  1765. #
  1766. # Time in seconds.
  1767. #
  1768. # Default value:
  1769. #
  1770. # None
  1771. #
  1772. # Effect if unset:
  1773. #
  1774. # A default value of 300 seconds is used.
  1775. #
  1776. # Notes:
  1777. #
  1778. # The default is quite high and you probably want to reduce it.
  1779. # If you aren't using an occasionally slow proxy like Tor,
  1780. # reducing it to a few seconds should be fine.
  1781. #
  1782. # Examples:
  1783. #
  1784. # socket-timeout 300
  1785. #
  1786. socket-timeout 300
  1787. #
  1788. # 6.9. max-client-connections
  1789. # ============================
  1790. #
  1791. # Specifies:
  1792. #
  1793. # Maximum number of client connections that will be served.
  1794. #
  1795. # Type of value:
  1796. #
  1797. # Positive number.
  1798. #
  1799. # Default value:
  1800. #
  1801. # 128
  1802. #
  1803. # Effect if unset:
  1804. #
  1805. # Connections are served until a resource limit is reached.
  1806. #
  1807. # Notes:
  1808. #
  1809. # Privoxy creates one thread (or process) for every incoming
  1810. # client connection that isn't rejected based on the access
  1811. # control settings.
  1812. #
  1813. # If the system is powerful enough, Privoxy can theoretically
  1814. # deal with several hundred (or thousand) connections at the
  1815. # same time, but some operating systems enforce resource limits
  1816. # by shutting down offending processes and their default limits
  1817. # may be below the ones Privoxy would require under heavy load.
  1818. #
  1819. # Configuring Privoxy to enforce a connection limit below the
  1820. # thread or process limit used by the operating system makes
  1821. # sure this doesn't happen. Simply increasing the operating
  1822. # system's limit would work too, but if Privoxy isn't the only
  1823. # application running on the system, you may actually want to
  1824. # limit the resources used by Privoxy.
  1825. #
  1826. # If Privoxy is only used by a single trusted user, limiting the
  1827. # number of client connections is probably unnecessary. If there
  1828. # are multiple possibly untrusted users you probably still want
  1829. # to additionally use a packet filter to limit the maximal
  1830. # number of incoming connections per client. Otherwise a
  1831. # malicious user could intentionally create a high number of
  1832. # connections to prevent other users from using Privoxy.
  1833. #
  1834. # Obviously using this option only makes sense if you choose a
  1835. # limit below the one enforced by the operating system.
  1836. #
  1837. # One most POSIX-compliant systems Privoxy can't properly deal
  1838. # with more than FD_SETSIZE file descriptors at the same time
  1839. # and has to reject connections if the limit is reached. This
  1840. # will likely change in a future version, but currently this
  1841. # limit can't be increased without recompiling Privoxy with a
  1842. # different FD_SETSIZE limit.
  1843. #
  1844. # Examples:
  1845. #
  1846. # max-client-connections 256
  1847. #
  1848. #max-client-connections 256
  1849. #
  1850. # 6.10. handle-as-empty-doc-returns-ok
  1851. # =====================================
  1852. #
  1853. # Specifies:
  1854. #
  1855. # The status code Privoxy returns for pages blocked with
  1856. # +handle-as-empty-document.
  1857. #
  1858. # Type of value:
  1859. #
  1860. # 0 or 1
  1861. #
  1862. # Default value:
  1863. #
  1864. # 0
  1865. #
  1866. # Effect if unset:
  1867. #
  1868. # Privoxy returns a status 403(forbidden) for all blocked pages.
  1869. #
  1870. # Effect if set:
  1871. #
  1872. # Privoxy returns a status 200(OK) for pages blocked with
  1873. # +handle-as-empty-document and a status 403(Forbidden) for all
  1874. # other blocked pages.
  1875. #
  1876. # Notes:
  1877. #
  1878. # This directive was added as a work-around for Firefox bug
  1879. # 492459: "Websites are no longer rendered if SSL requests for
  1880. # JavaScripts are blocked by a proxy."
  1881. # (https://bugzilla.mozilla.org/show_bug.cgi?id=492459), the bug
  1882. # has been fixed for quite some time, but this directive is also
  1883. # useful to make it harder for websites to detect whether or not
  1884. # resources are being blocked.
  1885. #
  1886. #handle-as-empty-doc-returns-ok 1
  1887. #
  1888. # 6.11. enable-compression
  1889. # =========================
  1890. #
  1891. # Specifies:
  1892. #
  1893. # Whether or not buffered content is compressed before delivery.
  1894. #
  1895. # Type of value:
  1896. #
  1897. # 0 or 1
  1898. #
  1899. # Default value:
  1900. #
  1901. # 0
  1902. #
  1903. # Effect if unset:
  1904. #
  1905. # Privoxy does not compress buffered content.
  1906. #
  1907. # Effect if set:
  1908. #
  1909. # Privoxy compresses buffered content before delivering it to
  1910. # the client, provided the client supports it.
  1911. #
  1912. # Notes:
  1913. #
  1914. # This directive is only supported if Privoxy has been compiled
  1915. # with FEATURE_COMPRESSION, which should not to be confused with
  1916. # FEATURE_ZLIB.
  1917. #
  1918. # Compressing buffered content is mainly useful if Privoxy and
  1919. # the client are running on different systems. If they are
  1920. # running on the same system, enabling compression is likely to
  1921. # slow things down. If you didn't measure otherwise, you should
  1922. # assume that it does and keep this option disabled.
  1923. #
  1924. # Privoxy will not compress buffered content below a certain
  1925. # length.
  1926. #
  1927. #enable-compression 1
  1928. #
  1929. # 6.12. compression-level
  1930. # ========================
  1931. #
  1932. # Specifies:
  1933. #
  1934. # The compression level that is passed to the zlib library when
  1935. # compressing buffered content.
  1936. #
  1937. # Type of value:
  1938. #
  1939. # Positive number ranging from 0 to 9.
  1940. #
  1941. # Default value:
  1942. #
  1943. # 1
  1944. #
  1945. # Notes:
  1946. #
  1947. # Compressing the data more takes usually longer than
  1948. # compressing it less or not compressing it at all. Which level
  1949. # is best depends on the connection between Privoxy and the
  1950. # client. If you can't be bothered to benchmark it for yourself,
  1951. # you should stick with the default and keep compression
  1952. # disabled.
  1953. #
  1954. # If compression is disabled, the compression level is
  1955. # irrelevant.
  1956. #
  1957. # Examples:
  1958. #
  1959. # # Best speed (compared to the other levels)
  1960. # compression-level 1
  1961. #
  1962. # # Best compression
  1963. # compression-level 9
  1964. #
  1965. # # No compression. Only useful for testing as the added header
  1966. # # slightly increases the amount of data that has to be sent.
  1967. # # If your benchmark shows that using this compression level
  1968. # # is superior to using no compression at all, the benchmark
  1969. # # is likely to be flawed.
  1970. # compression-level 0
  1971. #
  1972. #
  1973. #compression-level 1
  1974. #
  1975. # 6.13. client-header-order
  1976. # ==========================
  1977. #
  1978. # Specifies:
  1979. #
  1980. # The order in which client headers are sorted before forwarding
  1981. # them.
  1982. #
  1983. # Type of value:
  1984. #
  1985. # Client header names delimited by spaces or tabs
  1986. #
  1987. # Default value:
  1988. #
  1989. # None
  1990. #
  1991. # Notes:
  1992. #
  1993. # By default Privoxy leaves the client headers in the order they
  1994. # were sent by the client. Headers are modified in-place, new
  1995. # headers are added at the end of the already existing headers.
  1996. #
  1997. # The header order can be used to fingerprint client requests
  1998. # independently of other headers like the User-Agent.
  1999. #
  2000. # This directive allows to sort the headers differently to
  2001. # better mimic a different User-Agent. Client headers will be
  2002. # emitted in the order given, headers whose name isn't
  2003. # explicitly specified are added at the end.
  2004. #
  2005. # Note that sorting headers in an uncommon way will make
  2006. # fingerprinting actually easier. Encrypted headers are not
  2007. # affected by this directive.
  2008. #
  2009. #client-header-order Host \
  2010. # Accept \
  2011. # Accept-Language \
  2012. # Accept-Encoding \
  2013. # Proxy-Connection \
  2014. # Referer \
  2015. # Cookie \
  2016. # DNT \
  2017. # If-Modified-Since \
  2018. # Cache-Control \
  2019. # Content-Length \
  2020. # Content-Type
  2021. #
  2022. #
  2023. # 7. WINDOWS GUI OPTIONS
  2024. # =======================
  2025. #
  2026. # Privoxy has a number of options specific to the Windows GUI
  2027. # interface:
  2028. #
  2029. #
  2030. #
  2031. # If "activity-animation" is set to 1, the Privoxy icon will animate
  2032. # when "Privoxy" is active. To turn off, set to 0.
  2033. #
  2034. #activity-animation 1
  2035. #
  2036. #
  2037. #
  2038. # If "log-messages" is set to 1, Privoxy copies log messages to the
  2039. # console window. The log detail depends on the debug directive.
  2040. #
  2041. #log-messages 1
  2042. #
  2043. #
  2044. #
  2045. # If "log-buffer-size" is set to 1, the size of the log buffer, i.e.
  2046. # the amount of memory used for the log messages displayed in the
  2047. # console window, will be limited to "log-max-lines" (see below).
  2048. #
  2049. # Warning: Setting this to 0 will result in the buffer to grow
  2050. # infinitely and eat up all your memory!
  2051. #
  2052. #log-buffer-size 1
  2053. #
  2054. #
  2055. #
  2056. # log-max-lines is the maximum number of lines held in the log
  2057. # buffer. See above.
  2058. #
  2059. #log-max-lines 200
  2060. #
  2061. #
  2062. #
  2063. # If "log-highlight-messages" is set to 1, Privoxy will highlight
  2064. # portions of the log messages with a bold-faced font:
  2065. #
  2066. #log-highlight-messages 1
  2067. #
  2068. #
  2069. #
  2070. # The font used in the console window:
  2071. #
  2072. #log-font-name Comic Sans MS
  2073. #
  2074. #
  2075. #
  2076. # Font size used in the console window:
  2077. #
  2078. #log-font-size 8
  2079. #
  2080. #
  2081. #
  2082. # "show-on-task-bar" controls whether or not Privoxy will appear as
  2083. # a button on the Task bar when minimized:
  2084. #
  2085. #show-on-task-bar 0
  2086. #
  2087. #
  2088. #
  2089. # If "close-button-minimizes" is set to 1, the Windows close button
  2090. # will minimize Privoxy instead of closing the program (close with
  2091. # the exit option on the File menu).
  2092. #
  2093. #close-button-minimizes 1
  2094. #
  2095. #
  2096. #
  2097. # The "hide-console" option is specific to the MS-Win console
  2098. # version of Privoxy. If this option is used, Privoxy will
  2099. # disconnect from and hide the command console.
  2100. #
  2101. #hide-console
  2102. #
  2103. #
  2104. #