tolikpunkoff

polipo config

Nov 25th, 2019
163
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Sample configuration file for Polipo. -*-sh-*-
  2.  
  3. # You should not need to use a configuration file; all configuration
  4. # variables have reasonable defaults. If you want to use one, you
  5. # can copy this to /etc/polipo/config or to ~/.polipo and modify.
  6.  
  7. # This file only contains some of the configuration variables; see the
  8. # list given by ``polipo -v'' and the manual for more.
  9.  
  10.  
  11. ### Basic configuration
  12. ### *******************
  13.  
  14. # Uncomment one of these if you want to allow remote clients to
  15. # connect:
  16.  
  17. # proxyAddress = "::0" # both IPv4 and IPv6
  18. proxyAddress = "192.168.0.20" # IPv4 only
  19. proxyPort = 9666
  20. daemonise = true
  21. pidFile = /home/torusr/polipo.pid
  22. logFile = /home/torusr/polipo.log
  23.  
  24. # If you do that, you'll want to restrict the set of hosts allowed to
  25. # connect:
  26.  
  27. # allowedClients = 127.0.0.1, 134.157.168.57
  28. allowedClients = 127.0.0.1, 192.168.0.0/24
  29.  
  30. # Uncomment this if you want your Polipo to identify itself by
  31. # something else than the host name:
  32.  
  33. # proxyName = "polipo.example.org"
  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. # Uncomment this if you want to scrub private information from the log:
  49.  
  50. # scrubLogs = true
  51.  
  52.  
  53. ### Memory
  54. ### ******
  55.  
  56. # Uncomment this if you want Polipo to use a ridiculously small amount
  57. # of memory (a hundred C-64 worth or so):
  58.  
  59. # chunkHighMark = 819200
  60. # objectHighMark = 128
  61.  
  62. # Uncomment this if you've got plenty of memory:
  63.  
  64. # chunkHighMark = 50331648
  65. # objectHighMark = 16384
  66.  
  67.  
  68. ### On-disk data
  69. ### ************
  70.  
  71. # Uncomment this if you want to disable the on-disk cache:
  72.  
  73. diskCacheRoot = ""
  74.  
  75. # Uncomment this if you want to put the on-disk cache in a
  76. # non-standard location:
  77.  
  78. # diskCacheRoot = "~/.polipo-cache/"
  79.  
  80. # Uncomment this if you want to disable the local web server:
  81.  
  82. # localDocumentRoot = ""
  83.  
  84. # Uncomment this if you want to enable the pages under /polipo/index?
  85. # and /polipo/servers?. This is a serious privacy leak if your proxy
  86. # is shared.
  87.  
  88. # disableIndexing = false
  89. # disableServersList = false
  90.  
  91.  
  92. ### Domain Name System
  93. ### ******************
  94.  
  95. # Uncomment this if you want to contact IPv4 hosts only (and make DNS
  96. # queries somewhat faster):
  97.  
  98. # dnsQueryIPv6 = no
  99.  
  100. # Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
  101. # double-stack hosts:
  102.  
  103. # dnsQueryIPv6 = reluctantly
  104.  
  105. # Uncomment this to disable Polipo's DNS resolver and use the system's
  106. # default resolver instead. If you do that, Polipo will freeze during
  107. # every DNS query:
  108.  
  109. # dnsUseGethostbyname = yes
  110.  
  111.  
  112. ### HTTP
  113. ### ****
  114.  
  115. # Uncomment this if you want to enable detection of proxy loops.
  116. # This will cause your hostname (or whatever you put into proxyName
  117. # above) to be included in every request:
  118.  
  119. # disableVia=false
  120.  
  121. # Uncomment this if you want to slightly reduce the amount of
  122. # information that you leak about yourself:
  123.  
  124. # censoredHeaders = from, accept-language
  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. # Uncomment this if you want to add a no-transform directive to all
  163. # outgoing requests.
  164.  
  165. # alwaysAddNoTransform = true
RAW Paste Data