Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Boxpolipo-config.txt
- Sign upLog in
- 1 ### Basic configuration 2 ### ******************* 3 4 logSyslog = true 5 logFile = /var/log/polipo/polipo.log 6 7 # Uncomment one of these if you want to allow remote clients to 8 # connect: 9 10 # proxyAddress = "::0"# both IPv4 and IPv6 11 # proxyAddress = "0.0.0.0"# IPv4 only 12 13 proxyAddress = "127.0.0.1" 14 proxyPort = 8118 15 16 # If you do that, you'll want to restrict the set of hosts allowed to 17 # connect: 18 19 # allowedClients = "127.0.0.1, 134.157.168.57" 20 # allowedClients = "127.0.0.1, 134.157.168.0/24" 21 22 allowedClients = 127.0.0.1 23 allowedPorts = 1-65535 24 25 # Uncomment this if you want your Polipo to identify itself by 26 # something else than the host name: 27 28 proxyName = "localhost" 29 30 # Uncomment this if there's only one user using this instance of Polipo: 31 32 cacheIsShared = false 33 34 # Uncomment this if you want to use a parent proxy: 35 36 # parentProxy = "squid.example.org:3128" 37 38 # Uncomment this if you want to use a parent SOCKS proxy: 39 40 socksParentProxy = "localhost:9050" 41 socksProxyType = socks5 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 = 67108864 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 ### 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 = 120 160 serverMaxSlots = 8 161 serverSlots = 2 162 tunnelAllowedPorts = 1-65535
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement