Advertisement
Guest User

Polipo

a guest
Jul 6th, 2010
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.06 KB | None | 0 0
  1. # Sample configuration file for Polipo. -*-sh-*-
  2.  
  3. # You should not need to edit this configuration file; all configuration
  4. # variables have reasonable defaults.
  5.  
  6. # This file only contains some of the configuration variables; see the
  7. # list given by ``polipo -v'' and the manual for more.
  8.  
  9.  
  10. ### Basic configuration
  11. ### *******************
  12.  
  13. # Uncomment one of these if you want to allow remote clients to
  14. # connect:
  15.  
  16. # proxyAddress = "::0" # both IPv4 and IPv6
  17. # proxyAddress = "0.0.0.0" # IPv4 only
  18.  
  19. # If you are enabling 'proxyAddress' above, then you want to enable the
  20. # 'allowedClients' variable to the address of your network, e.g.
  21. # allowedClients = 127.0.0.1, 192.168.42.0/24
  22.  
  23. # allowedClients = 127.0.0.1
  24.  
  25. # Uncomment this if you want your Polipo to identify itself by
  26. # something else than the host name:
  27.  
  28. # proxyName = "polipo.example.org"
  29.  
  30. # Uncomment this if there's only one user using this instance of Polipo:
  31.  
  32. # cacheIsShared = false
  33.  
  34. # Uncomment this if you want to use a parent proxy:
  35.  
  36. # parentProxy = "squid.example.org:3128"
  37.  
  38. # Uncomment this if you want to use a parent SOCKS proxy:
  39.  
  40. # socksParentProxy = "localhost:9050"
  41. # socksProxyType = socks5
  42.  
  43.  
  44. ### Memory
  45. ### ******
  46.  
  47. # Uncomment this if you want Polipo to use a ridiculously small amount
  48. # of memory (a hundred C-64 worth or so):
  49.  
  50. # chunkHighMark = 819200
  51. # objectHighMark = 128
  52.  
  53. # Uncomment this if you've got plenty of memory:
  54.  
  55. # chunkHighMark = 50331648
  56. # objectHighMark = 16384
  57.  
  58.  
  59. ### On-disk data
  60. ### ************
  61.  
  62. # Uncomment this if you want to disable the on-disk cache:
  63.  
  64. # diskCacheRoot = ""
  65.  
  66. # Uncomment this if you want to put the on-disk cache in a
  67. # non-standard location:
  68.  
  69. # diskCacheRoot = "~/.polipo-cache/"
  70.  
  71. # Uncomment this if you want to disable the local web server:
  72.  
  73. # localDocumentRoot = ""
  74.  
  75. # Uncomment this if you want to enable the pages under /polipo/index?
  76. # and /polipo/servers?. This is a serious privacy leak if your proxy
  77. # is shared.
  78.  
  79. # disableIndexing = false
  80. # disableServersList = false
  81.  
  82.  
  83. ### Domain Name System
  84. ### ******************
  85.  
  86. # Uncomment this if you want to contact IPv4 hosts only (and make DNS
  87. # queries somewhat faster):
  88.  
  89. # dnsQueryIPv6 = no
  90.  
  91. # Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
  92. # double-stack hosts:
  93.  
  94. # dnsQueryIPv6 = reluctantly
  95.  
  96. # Uncomment this to disable Polipo's DNS resolver and use the system's
  97. # default resolver instead. If you do that, Polipo will freeze during
  98. # every DNS query:
  99.  
  100. # dnsUseGethostbyname = yes
  101.  
  102.  
  103. ### HTTP
  104. ### ****
  105.  
  106. # Uncomment this if you want to enable detection of proxy loops.
  107. # This will cause your hostname (or whatever you put into proxyName
  108. # above) to be included in every request:
  109.  
  110. # disableVia=false
  111.  
  112. # Uncomment this if you want to slightly reduce the amount of
  113. # information that you leak about yourself:
  114.  
  115. # censoredHeaders = from, accept-language
  116. # censorReferer = maybe
  117.  
  118. # Uncomment this if you're paranoid. This will break a lot of sites,
  119. # though:
  120.  
  121. # censoredHeaders = set-cookie, cookie, cookie2, from, accept-language
  122. # censorReferer = true
  123.  
  124. # Uncomment this if you want to use Poor Man's Multiplexing; increase
  125. # the sizes if you're on a fast line. They should each amount to a few
  126. # seconds' worth of transfer; if pmmSize is small, you'll want
  127. # pmmFirstSize to be larger.
  128.  
  129. # Note that PMM is somewhat unreliable.
  130.  
  131. # pmmFirstSize = 16384
  132. # pmmSize = 8192
  133.  
  134. # Uncomment this if your user-agent does something reasonable with
  135. # Warning headers (most don't):
  136.  
  137. # relaxTransparency = maybe
  138.  
  139. # Uncomment this if you never want to revalidate instances for which
  140. # data is available (this is not a good idea):
  141.  
  142. # relaxTransparency = yes
  143.  
  144. # Uncomment this if you have no network:
  145.  
  146. # proxyOffline = yes
  147.  
  148. # Uncomment this if you want to avoid revalidating instances with a
  149. # Vary header (this is not a good idea):
  150.  
  151. # mindlesslyCacheVary = true
  152.  
  153. proxyAddress = "127.0.0.1"
  154. proxyPort = 8118
  155. socksParentProxy = "localhost:9050"
  156. socksProxyType = socks5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement