Advertisement
Guest User

Arquivo de configuração polipo

a guest
Jul 6th, 2013
1,816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.02 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. proxyAddress = "127.0.0.1"
  20. proxyPort = 8118
  21.  
  22. # If you are enabling 'proxyAddress' above, then you want to enable the
  23. # 'allowedClients' variable to the address of your network, e.g.
  24. # allowedClients = 127.0.0.1, 192.168.42.0/24
  25.                                            
  26. allowedClients = 127.0.0.1              
  27.  
  28. # Uncomment this if you want your Polipo to identify itself by
  29. # something else than the host name:
  30.  
  31. # proxyName = "polipo.example.org"
  32.  
  33. proxyName = "localhost"
  34.  
  35. # Uncomment this if there's only one user using this instance of Polipo:
  36.  
  37. # cacheIsShared = false
  38.  
  39. # Uncomment this if you want to use a parent proxy:
  40.  
  41. # parentProxy = "squid.example.org:3128"
  42.  
  43. # Uncomment this if you want to use a parent SOCKS proxy:
  44.  
  45. socksParentProxy = "localhost:9050"
  46. socksProxyType = socks5
  47.  
  48.  
  49. ### Memory
  50. ### ******
  51.  
  52. # Uncomment this if you want Polipo to use a ridiculously small amount
  53. # of memory (a hundred C-64 worth or so):
  54.  
  55. # chunkHighMark = 819200
  56. # objectHighMark = 128
  57.  
  58. # Uncomment this if you've got plenty of memory:
  59.  
  60. # chunkHighMark = 50331648
  61. # objectHighMark = 16384
  62.  
  63.  
  64. ### On-disk data
  65. ### ************
  66.  
  67. # Uncomment this if you want to disable the on-disk cache:
  68.  
  69. # diskCacheRoot = ""
  70.  
  71. # Uncomment this if you want to put the on-disk cache in a
  72. # non-standard location:
  73.  
  74. # diskCacheRoot = "~/.polipo-cache/"
  75.  
  76. # Uncomment this if you want to disable the local web server:
  77.  
  78. # localDocumentRoot = ""
  79.  
  80. # Uncomment this if you want to enable the pages under /polipo/index?
  81. # and /polipo/servers?.  This is a serious privacy leak if your proxy
  82. # is shared.
  83.  
  84. # disableIndexing = false
  85. # disableServersList = false
  86.  
  87.  
  88. ### Domain Name System
  89. ### ******************
  90.  
  91. # Uncomment this if you want to contact IPv4 hosts only (and make DNS
  92. # queries somewhat faster):
  93.  
  94. # dnsQueryIPv6 = no
  95.  
  96. # Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
  97. # double-stack hosts:
  98.  
  99. # dnsQueryIPv6 = reluctantly
  100.  
  101. # Uncomment this to disable Polipo's DNS resolver and use the system's
  102. # default resolver instead.  If you do that, Polipo will freeze during
  103. # every DNS query:
  104.  
  105. # dnsUseGethostbyname = yes
  106.  
  107.  
  108. ### HTTP
  109. ### ****
  110.  
  111. # Uncomment this if you want to enable detection of proxy loops.
  112. # This will cause your hostname (or whatever you put into proxyName
  113. # above) to be included in every request:
  114.  
  115. # disableVia=false
  116.  
  117. # Uncomment this if you want to slightly reduce the amount of
  118. # information that you leak about yourself:
  119.  
  120. # censoredHeaders = from, accept-language
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement