tejash1991

polipo configure file

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