1
0

config 3.8 KB

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