config.sample 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. # Sample configuration file for Polipo. -*-sh-*-
  2. # You should not need to use a configuration file; all configuration
  3. # variables have reasonable defaults. If you want to use one, you
  4. # can copy this to /etc/polipo/config or to ~/.polipo and modify.
  5. # This file only contains some of the configuration variables; see the
  6. # list given by ``polipo -v'' and the manual for more.
  7. ### Basic configuration
  8. ### *******************
  9. # Uncomment one of these if you want to allow remote clients to
  10. # connect:
  11. # proxyAddress = "::0" # both IPv4 and IPv6
  12. # proxyAddress = "0.0.0.0" # IPv4 only
  13. # Uncomment this if you want your Polipo to bind to a specific IP:
  14. # proxyOutgoingAddress = "134.157.168.1"
  15. # If you do that, you'll want to restrict the set of hosts allowed to
  16. # connect:
  17. # allowedClients = 127.0.0.1, 134.157.168.57
  18. # allowedClients = 127.0.0.1, 134.157.168.0/24
  19. # Uncomment this if you want your Polipo to identify itself by
  20. # something else than the host name:
  21. # proxyName = "polipo.example.org"
  22. # Uncomment this if there's only one user using this instance of Polipo:
  23. # cacheIsShared = false
  24. # Uncomment this if you want to use a parent proxy:
  25. # parentProxy = "squid.example.org:3128"
  26. # Uncomment this if you want to use a parent SOCKS proxy:
  27. # socksParentProxy = "localhost:9050"
  28. # socksProxyType = socks5
  29. # Uncomment this if you want to scrub private information from the log:
  30. # scrubLogs = true
  31. ### Memory
  32. ### ******
  33. # Uncomment this if you want Polipo to use a ridiculously small amount
  34. # of memory (a hundred C-64 worth or so):
  35. # chunkHighMark = 819200
  36. # objectHighMark = 128
  37. # Uncomment this if you've got plenty of memory:
  38. # chunkHighMark = 50331648
  39. # objectHighMark = 16384
  40. ### On-disk data
  41. ### ************
  42. # Uncomment this if you want to disable the on-disk cache:
  43. # diskCacheRoot = ""
  44. # Uncomment this if you want to put the on-disk cache in a
  45. # non-standard location:
  46. # diskCacheRoot = "~/.polipo-cache/"
  47. # Uncomment this if you want to disable the local web server:
  48. # localDocumentRoot = ""
  49. # Uncomment this if you want to enable the pages under /polipo/index?
  50. # and /polipo/servers?. This is a serious privacy leak if your proxy
  51. # is shared.
  52. # disableIndexing = false
  53. # disableServersList = false
  54. ### Domain Name System
  55. ### ******************
  56. # Uncomment this if you want to contact IPv4 hosts only (and make DNS
  57. # queries somewhat faster):
  58. # dnsQueryIPv6 = no
  59. # Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
  60. # double-stack hosts:
  61. # dnsQueryIPv6 = reluctantly
  62. # Uncomment this to disable Polipo's DNS resolver and use the system's
  63. # default resolver instead. If you do that, Polipo will freeze during
  64. # every DNS query:
  65. # dnsUseGethostbyname = yes
  66. ### HTTP
  67. ### ****
  68. # Uncomment this if you want to enable detection of proxy loops.
  69. # This will cause your hostname (or whatever you put into proxyName
  70. # above) to be included in every request:
  71. # disableVia=false
  72. # Uncomment this if you want to slightly reduce the amount of
  73. # information that you leak about yourself:
  74. # censoredHeaders = from, accept-language
  75. # censorReferer = maybe
  76. # Uncomment this if you're paranoid. This will break a lot of sites,
  77. # though:
  78. # censoredHeaders = set-cookie, cookie, cookie2, from, accept-language
  79. # censorReferer = true
  80. # Uncomment this if you want to use Poor Man's Multiplexing; increase
  81. # the sizes if you're on a fast line. They should each amount to a few
  82. # seconds' worth of transfer; if pmmSize is small, you'll want
  83. # pmmFirstSize to be larger.
  84. # Note that PMM is somewhat unreliable.
  85. # pmmFirstSize = 16384
  86. # pmmSize = 8192
  87. # Uncomment this if your user-agent does something reasonable with
  88. # Warning headers (most don't):
  89. # relaxTransparency = maybe
  90. # Uncomment this if you never want to revalidate instances for which
  91. # data is available (this is not a good idea):
  92. # relaxTransparency = yes
  93. # Uncomment this if you have no network:
  94. # proxyOffline = yes
  95. # Uncomment this if you want to avoid revalidating instances with a
  96. # Vary header (this is not a good idea):
  97. # mindlesslyCacheVary = true
  98. # Uncomment this if you want to add a no-transform directive to all
  99. # outgoing requests.
  100. # alwaysAddNoTransform = true