add blacklist option to defaults
[oweals/gnunet.git] / contrib / defaults.conf
1 [PATHS]
2 SERVICEHOME = ~/.gnunet/
3 # SERVICEHOME = /var/lib/gnunet/
4 # DEFAULTCONFIG = /etc/gnunet.conf
5 # If 'DEFAULTCONFIG' is not defined, the current
6 # configuration file is assumed to be the default,
7 # which is what we want by default...
8
9 [gnunetd]
10 HOSTKEY = $SERVICEHOME/.hostkey
11
12 [TESTING]
13 WEAKRANDOM = NO
14
15 [client]
16 HOME = $SERVICEHOME
17
18 [transport-tcp]
19 # Use 0 to ONLY advertise as a peer behind NAT (no port binding)
20 PORT = 2086
21 ADVERTISED_PORT = 2086
22
23 # Are we behind NAT?
24 BEHIND_NAT = YES
25
26 # Is the NAT hole-punched?
27 PUNCHED_NAT = NO
28
29 # Disable UPNP by default until it gets cleaner!
30 ENABLE_UPNP = NO
31
32 # External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!)
33 # normal interface IP address for non-NATed peers; 
34 # possibly auto-detected (using UPnP) if possible if not specified
35 # EXTERNAL_ADDRESS = 
36
37 # Should we use ICMP-based NAT traversal to try connect to NATed peers
38 # or, if we are behind NAT, to allow connections to us?
39 ENABLE_ICMP_CLIENT = YES
40 ENABLE_ICMP_SERVER = YES
41
42 # IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY;
43 # normal interface IP address for non-NATed peers; 
44 # likely auto-detected (via interface list) if not specified (!)
45 # INTERNAL_ADDRESS = 
46
47 # Only bind to a specific IP address; if both are given, this should be idential to INTERNAL_ADDRESS
48 # (but use different: this one restricts our bind!)
49 # BINDTO =
50
51 TIMEOUT = 300000
52
53 # Disable IPv6 support
54 # DISABLEV6 =
55 # ACCEPT_FROM =
56 # ACCEPT_FROM6 =
57 # REJECT_FROM =
58 # REJECT_FROM6 =
59
60 [transport-udp]
61 PORT = 2086
62 # BEHIND_NAT = 
63 # BINDTO = 
64 # ALLOW_NAT = 
65 # ONLY_NAT_ADDRESSES = 
66 # INTERNAL_ADDRESS = 
67 # EXTERNAL_ADDRESS = 
68
69 [transport-http]
70 PORT = 1080
71
72 [transport-https]
73 PORT = 4433
74
75 [arm]
76 PORT = 2087
77 HOSTNAME = localhost
78 HOME = $SERVICEHOME
79 CONFIG = $DEFAULTCONFIG
80 BINARY = gnunet-service-arm
81 ACCEPT_FROM = 127.0.0.1;
82 ACCEPT_FROM6 = ::1;
83 DEFAULTSERVICES = topology hostlist
84 UNIXPATH = /tmp/gnunet-service-arm.sock
85 # GLOBAL_POSTFIX = -l $SERVICEHOME/{}-logs
86 # GLOBAL_PREFIX =
87 # USERNAME =
88 # MAXBUF =
89 # TIMEOUT =
90 # DISABLEV6 =
91 # BINDTO =
92 # REJECT_FROM =
93 # REJECT_FROM6 =
94 # PREFIX =
95
96 [statistics]
97 AUTOSTART = YES
98 PORT = 2088
99 HOSTNAME = localhost
100 HOME = $SERVICEHOME
101 CONFIG = $DEFAULTCONFIG
102 BINARY = gnunet-service-statistics
103 ACCEPT_FROM = 127.0.0.1;
104 ACCEPT_FROM6 = ::1;
105 UNIXPATH = /tmp/gnunet-service-statistics.sock
106 # DISABLE_SOCKET_FORWARDING = NO
107 # USERNAME = 
108 # MAXBUF =
109 # TIMEOUT =
110 # DISABLEV6 =
111 # BINDTO =
112 # REJECT_FROM =
113 # REJECT_FROM6 =
114 # PREFIX =
115
116 [resolver]
117 AUTOSTART = YES
118 PORT = 2089
119 HOSTNAME = localhost
120 HOME = $SERVICEHOME
121 CONFIG = $DEFAULTCONFIG
122 BINARY = gnunet-service-resolver
123 ACCEPT_FROM = 127.0.0.1;
124 ACCEPT_FROM6 = ::1;
125 UNIXPATH = /tmp/gnunet-service-resolver.sock
126 # DISABLE_SOCKET_FORWARDING = NO
127 # USERNAME = 
128 # MAXBUF =
129 # TIMEOUT =
130 # DISABLEV6 =
131 # BINDTO =
132 # REJECT_FROM =
133 # REJECT_FROM6 =
134 # PREFIX =
135
136 [peerinfo]
137 AUTOSTART = YES
138 PORT = 2090
139 HOSTNAME = localhost
140 HOME = $SERVICEHOME
141 CONFIG = $DEFAULTCONFIG
142 BINARY = gnunet-service-peerinfo
143 ACCEPT_FROM = 127.0.0.1;
144 ACCEPT_FROM6 = ::1;
145 UNIXPATH = /tmp/gnunet-service-peerinfo.sock
146 # DISABLE_SOCKET_FORWARDING = NO
147 # USERNAME = 
148 # MAXBUF =
149 # TIMEOUT =
150 # DISABLEV6 =
151 # BINDTO = 
152 # REJECT_FROM =
153 # REJECT_FROM6 =
154 # PREFIX =
155 HOSTS = $SERVICEHOME/data/hosts/
156
157
158 [transport]
159 AUTOSTART = YES
160 PORT = 2091
161 HOSTNAME = localhost
162 HOME = $SERVICEHOME
163 CONFIG = $DEFAULTCONFIG
164 BINARY = gnunet-service-transport
165 NEIGHBOUR_LIMIT = 50
166 ACCEPT_FROM = 127.0.0.1;
167 ACCEPT_FROM6 = ::1;
168 PLUGINS = tcp
169 UNIXPATH = /tmp/gnunet-service-transport.sock
170 BLACKLIST_FILE = $SERVICEHOME/blacklist
171 # DISABLE_SOCKET_FORWARDING = NO
172 # USERNAME = 
173 # MAXBUF =
174 # TIMEOUT =
175 # DISABLEV6 =
176 # BINDTO =
177 # REJECT_FROM =
178 # REJECT_FROM6 =
179 # PREFIX =
180
181 [core]
182 AUTOSTART = YES
183 PORT = 2092
184 HOSTNAME = localhost
185 HOME = $SERVICEHOME
186 CONFIG = $DEFAULTCONFIG
187 BINARY = gnunet-service-core
188 ACCEPT_FROM = 127.0.0.1;
189 ACCEPT_FROM6 = ::1;
190 # quotas are in bytes per second now!
191 TOTAL_QUOTA_IN = 65536
192 TOTAL_QUOTA_OUT = 65536
193 UNIXPATH = /tmp/gnunet-service-core.sock
194 # DISABLE_SOCKET_FORWARDING = NO
195 # DEBUG = YES
196 # USERNAME = 
197 # MAXBUF =
198 # TIMEOUT =
199 # DISABLEV6 =
200 # BINDTO =
201 # REJECT_FROM =
202 # REJECT_FROM6 =
203 # PREFIX =
204
205
206 [topology]
207 MINIMUM-FRIENDS = 0
208 FRIENDS-ONLY = NO
209 AUTOCONNECT = YES
210 TARGET-CONNECTION-COUNT = 16
211 FRIENDS = $SERVICEHOME/friends
212 CONFIG = $DEFAULTCONFIG
213 BINARY = gnunet-daemon-topology
214
215 [hostlist]
216 # port for hostlist http server
217 HTTPPORT = 8080
218 HOME = $SERVICEHOME
219 HOSTLISTFILE = $SERVICEHOME/hostlist/learned.data
220 CONFIG = $DEFAULTCONFIG
221 BINARY = gnunet-daemon-hostlist
222 # consider having "-e" as default as well once implemented
223 OPTIONS = -b
224 SERVERS = http://v9.gnunet.org:58080/
225 # proxy for downloading hostlists
226 HTTP-PROXY = 
227
228
229 [datastore]
230 AUTOSTART = YES
231 UNIXPATH = /tmp/gnunet-service-datastore.sock
232 PORT = 2093
233 HOSTNAME = localhost
234 HOME = $SERVICEHOME
235 CONFIG = $DEFAULTCONFIG
236 BINARY = gnunet-service-datastore
237 ACCEPT_FROM = 127.0.0.1;
238 ACCEPT_FROM6 = ::1;
239 QUOTA = 100000000
240 BLOOMFILTER = $SERVICEHOME/fs/bloomfilter
241 DATABASE = sqlite
242 # DISABLE_SOCKET_FORWARDING = NO
243
244 [datastore-sqlite]
245 FILENAME = $SERVICEHOME/datastore/sqlite.db
246
247 [datastore-postgres]
248 CONFIG = connect_timeout=10; dbname=gnunet
249
250 [datastore-mysql]
251 DATABASE = gnunet
252 CONFIG = ~/.my.cnf
253 # USER = gnunet
254 # PASSWORD = 
255 # HOST = localhost
256 # PORT = 3306
257
258 [datacache-mysql]
259 DATABASE = gnunetcheck
260 CONFIG = ~/.my.cnf
261 # USER = gnunet
262 # PASSWORD =
263 # HOST = localhost
264 # PORT = 3306
265
266
267 [fs]
268 AUTOSTART = YES
269 INDEXDB = $SERVICEHOME/idxinfo.lst
270 TRUST = $SERVICEHOME/data/credit/
271 IDENTITY_DIR = $SERVICEHOME/identities/
272 STATE_DIR = $SERVICEHOME/persistence/
273 UPDATE_DIR = $SERVICEHOME/updates/
274 PORT = 2094
275 HOSTNAME = localhost
276 HOME = $SERVICEHOME
277 CONFIG = $DEFAULTCONFIG
278 BINARY = gnunet-service-fs
279 ACCEPT_FROM = 127.0.0.1;
280 ACCEPT_FROM6 = ::1;
281
282 CONTENT_CACHING = YES
283 CONTENT_PUSHING = YES
284
285 UNIXPATH = /tmp/gnunet-service-fs.sock
286 # DISABLE_SOCKET_FORWARDING = NO
287 # DEBUG = YES
288 MAX_PENDING_REQUESTS = 65536
289 MIN_MIGRATION_DELAY = 1000
290 EXPECTED_NEIGHBOUR_COUNT = 128
291
292 [dht]
293 AUTOSTART = YES
294 PORT = 2095
295 HOSTNAME = localhost
296 HOME = $SERVICEHOME
297 CONFIG = $DEFAULTCONFIG
298 BINARY = gnunet-service-dht
299 ACCEPT_FROM = 127.0.0.1;
300 ACCEPT_FROM6 = ::1;
301 BUCKET_SIZE = 4
302 UNIXPATH = /tmp/gnunet-service-dht.sock
303 # DISABLE_SOCKET_FORWARDING = NO
304 # DEBUG = YES
305 # USERNAME = 
306 # MAXBUF =
307 # TIMEOUT =
308 # DISABLEV6 =
309 # BINDTO =
310 # REJECT_FROM =
311 # REJECT_FROM6 =
312 # PREFIX =
313 # DO_FIND_PEER =
314 # STRICT_KADEMLIA =
315 # USE_MAX_HOPS =
316 # MAX_HOPS =
317 # REPUBLISH = YES
318 # REPLICATION_FREQUENCY = 60 
319 # STOP_ON_CLOSEST =
320 # STOP_FOUND =
321 # CONVERGE_MODIFIER =
322
323
324 [dhtcache]
325 DATABASE = sqlite
326 QUOTA = 1024000
327
328 [block]
329 PLUGINS = fs dht test