home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Wideo_HD / Vidalia / vidalia-bundle-0.2.2.33-0.2.14.exe / Polipo / polipo.conf < prev    next >
Encoding:
Text File  |  2011-08-26  |  3.8 KB  |  164 lines

  1. ### $Id$
  2. #
  3. ### Basic configuration
  4. ### *******************
  5.  
  6. # Uncomment one of these if you want to allow remote clients to
  7. # connect:
  8.  
  9. # proxyAddress = "::0"        # both IPv4 and IPv6
  10. # proxyAddress = "0.0.0.0"    # IPv4 only
  11.  
  12. proxyAddress = "127.0.0.1"
  13. proxyPort = 8118
  14.  
  15. # If you do that, you'll want to restrict the set of hosts allowed to
  16. # connect:
  17.  
  18. # allowedClients = "127.0.0.1, 134.157.168.57"
  19. # allowedClients = "127.0.0.1, 134.157.168.0/24"
  20.  
  21. allowedClients = 127.0.0.1
  22. allowedPorts = 1-65535
  23.  
  24. # Uncomment this if you want your Polipo to identify itself by
  25. # something else than the host name:
  26.  
  27. proxyName = "localhost"
  28.  
  29. # Uncomment this if there's only one user using this instance of Polipo:
  30.  
  31. cacheIsShared = false
  32.  
  33. # Uncomment this if you want to use a parent proxy:
  34.  
  35. # parentProxy = "squid.example.org:3128"
  36.  
  37. # Uncomment this if you want to use a parent SOCKS proxy:
  38.  
  39. socksParentProxy = "localhost:9050"
  40. socksProxyType = socks5
  41.  
  42.  
  43. ### Memory
  44. ### ******
  45.  
  46. # Uncomment this if you want Polipo to use a ridiculously small amount
  47. # of memory (a hundred C-64 worth or so):
  48.  
  49. # chunkHighMark = 819200
  50. # objectHighMark = 128
  51.  
  52. # Uncomment this if you've got plenty of memory:
  53.  
  54. # chunkHighMark = 50331648
  55. # objectHighMark = 16384
  56.  
  57. chunkHighMark = 33554432
  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. disableLocalInterface = true
  83. disableConfiguration = true
  84.  
  85. ### Domain Name System
  86. ### ******************
  87.  
  88. # Uncomment this if you want to contact IPv4 hosts only (and make DNS
  89. # queries somewhat faster):
  90. #
  91. # dnsQueryIPv6 = no
  92.  
  93. # Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
  94. # double-stack hosts:
  95. #
  96. # dnsQueryIPv6 = reluctantly
  97.  
  98. # Uncomment this to disable Polipo's DNS resolver and use the system's
  99. # default resolver instead.  If you do that, Polipo will freeze during
  100. # every DNS query:
  101.  
  102. dnsUseGethostbyname = yes
  103.  
  104.  
  105. ### HTTP
  106. ### ****
  107.  
  108. # Uncomment this if you want to enable detection of proxy loops.
  109. # This will cause your hostname (or whatever you put into proxyName
  110. # above) to be included in every request:
  111.  
  112. disableVia = true
  113.  
  114. # Uncomment this if you want to slightly reduce the amount of
  115. # information that you leak about yourself:
  116.  
  117. # censoredHeaders = from, accept-language
  118. # censorReferer = maybe
  119.  
  120. censoredHeaders = from,accept-language,x-pad,link
  121. censorReferer = maybe
  122.  
  123. # Uncomment this if you're paranoid.  This will break a lot of sites,
  124. # though:
  125.  
  126. # censoredHeaders = set-cookie, cookie, cookie2, from, accept-language
  127. # censorReferer = true
  128.  
  129. # Uncomment this if you want to use Poor Man's Multiplexing; increase
  130. # the sizes if you're on a fast line.  They should each amount to a few
  131. # seconds' worth of transfer; if pmmSize is small, you'll want
  132. # pmmFirstSize to be larger.
  133.  
  134. # Note that PMM is somewhat unreliable.
  135.  
  136. # pmmFirstSize = 16384
  137. # pmmSize = 8192
  138.  
  139. # Uncomment this if your user-agent does something reasonable with
  140. # Warning headers (most don't):
  141.  
  142. # relaxTransparency = maybe
  143.  
  144. # Uncomment this if you never want to revalidate instances for which
  145. # data is available (this is not a good idea):
  146.  
  147. # relaxTransparency = yes
  148.  
  149. # Uncomment this if you have no network:
  150.  
  151. # proxyOffline = yes
  152.  
  153. # Uncomment this if you want to avoid revalidating instances with a
  154. # Vary header (this is not a good idea):
  155.  
  156. # mindlesslyCacheVary = true
  157.  
  158. # Suggestions from Incognito configuration
  159. maxConnectionAge = 5m
  160. maxConnectionRequests = 120
  161. serverMaxSlots = 8
  162. serverSlots = 2
  163. tunnelAllowedPorts = 1-65535
  164.