1 # Sample configuration file for Polipo. -*-sh-*-
3 # You should not need to edit this configuration file; all configuration
4 # variables have reasonable defaults.
6 # This file only contains some of the configuration variables; see the
7 # list given by ``polipo -v'' and the manual for more.
10 ### Basic configuration
11 ### *******************
13 # Uncomment one of these if you want to allow remote clients to
16 # proxyAddress = "::0" # both IPv4 and IPv6
17 # proxyAddress = "0.0.0.0" # IPv4 only
18 proxyAddress = "127.0.0.1" # IPv4 only
21 # If you are enabling 'proxyAddress' above, then you want to enable the
22 # 'allowedClients' variable to the address of your network, e.g.
23 # allowedClients = 127.0.0.1, 192.168.42.0/24
25 # allowedClients = 127.0.0.1
27 # Uncomment this if you want your Polipo to identify itself by
28 # something else than the host name:
30 proxyName = "localhost"
32 # Uncomment this if there's only one user using this instance of Polipo:
36 # Uncomment this if you want to use a parent proxy:
38 # parentProxy = "squid.example.org:3128"
40 # Uncomment this if you want to use a parent SOCKS proxy:
42 socksParentProxy = "localhost:9050"
43 socksProxyType = socks5
49 # Uncomment this if you want Polipo to use a ridiculously small amount
50 # of memory (a hundred C-64 worth or so):
52 # chunkHighMark = 819200
53 # objectHighMark = 128
55 # Uncomment this if you've got plenty of memory:
57 # chunkHighMark = 50331648
58 # objectHighMark = 16384
64 # Uncomment this if you want to disable the on-disk cache:
68 # Uncomment this if you want to put the on-disk cache in a
69 # non-standard location:
71 # diskCacheRoot = "~/.polipo-cache/"
73 # Uncomment this if you want to disable the local web server:
75 # localDocumentRoot = ""
77 # Uncomment this if you want to enable the pages under /polipo/index?
78 # and /polipo/servers?. This is a serious privacy leak if your proxy
81 # disableIndexing = false
82 # disableServersList = false
84 disableLocalInterface = true
86 ### Domain Name System
87 ### ******************
89 # Uncomment this if you want to contact IPv4 hosts only (and make DNS
90 # queries somewhat faster):
94 # Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
97 # dnsQueryIPv6 = reluctantly
99 # Uncomment this to disable Polipo's DNS resolver and use the system's
100 # default resolver instead. If you do that, Polipo will freeze during
103 # dnsUseGethostbyname = yes
109 # Uncomment this if you want to enable detection of proxy loops.
110 # This will cause your hostname (or whatever you put into proxyName
111 # above) to be included in every request:
115 # Uncomment this if you want to slightly reduce the amount of
116 # information that you leak about yourself:
118 censoredHeaders = from, accept-language, x-pad
119 censorReferer = maybe
121 # Uncomment this if you're paranoid. This will break a lot of sites,
124 # censoredHeaders = set-cookie, cookie, cookie2, from, accept-language
125 # censorReferer = true
127 # Uncomment this if you want to use Poor Man's Multiplexing; increase
128 # the sizes if you're on a fast line. They should each amount to a few
129 # seconds' worth of transfer; if pmmSize is small, you'll want
130 # pmmFirstSize to be larger.
132 # Note that PMM is somewhat unreliable.
134 # pmmFirstSize = 16384
137 # Uncomment this if your user-agent does something reasonable with
138 # Warning headers (most don't):
140 # relaxTransparency = maybe
142 # Uncomment this if you never want to revalidate instances for which
143 # data is available (this is not a good idea):
145 # relaxTransparency = yes
147 # Uncomment this if you have no network:
151 # Uncomment this if you want to avoid revalidating instances with a
152 # Vary header (this is not a good idea):
154 # mindlesslyCacheVary = true
156 ### Tor-specific configuration
157 ### **************************
161 allowedPorts = 1-65535
162 tunnelAllowedPorts = 1-65535
163 maxConnectionAge = 5m
164 maxConnectionRequests = 120