daily pastebin goal
89%
SHARE
TWEET

Untitled

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