0168704667ccc79782e72ee2ea66deca216a1bbc
[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 PORT = 2086
20 TIMEOUT = 300000
21 # MAXBUF =
22 # DISABLEV6 =
23 # BINDTO =
24 # ACCEPT_FROM =
25 # ACCEPT_FROM6 =
26 # REJECT_FROM =
27 # REJECT_FROM6 =
28
29 [arm]
30 PORT = 2087
31 HOSTNAME = localhost
32 HOME = $SERVICEHOME
33 CONFIG = $DEFAULTCONFIG
34 BINARY = gnunet-service-arm
35 ACCEPT_FROM = 127.0.0.1;
36 ACCEPT_FROM6 = ::1;
37 DEFAULTSERVICES = resolver transport core topology hostlist
38 UNIXPATH = /tmp/gnunet-service-arm.sock
39 # GLOBAL_POSTFIX = -l $SERVICEHOME/{}-logs
40 # GLOBAL_PREFIX =
41 # USERNAME =
42 # MAXBUF =
43 # TIMEOUT =
44 # DISABLEV6 =
45 # BINDTO =
46 # REJECT_FROM =
47 # REJECT_FROM6 =
48 # PREFIX =
49
50 [statistics]
51 AUTOSTART = YES
52 PORT = 2088
53 HOSTNAME = localhost
54 HOME = $SERVICEHOME
55 CONFIG = $DEFAULTCONFIG
56 BINARY = gnunet-service-statistics
57 ACCEPT_FROM = 127.0.0.1;
58 ACCEPT_FROM6 = ::1;
59 UNIXPATH = /tmp/gnunet-service-statistics.sock
60 # DISABLE_SOCKET_FORWARDING = NO
61 # USERNAME = 
62 # MAXBUF =
63 # TIMEOUT =
64 # DISABLEV6 =
65 # BINDTO =
66 # REJECT_FROM =
67 # REJECT_FROM6 =
68 # PREFIX =
69
70 [resolver]
71 AUTOSTART = YES
72 PORT = 2089
73 HOSTNAME = localhost
74 HOME = $SERVICEHOME
75 CONFIG = $DEFAULTCONFIG
76 BINARY = gnunet-service-resolver
77 ACCEPT_FROM = 127.0.0.1;
78 ACCEPT_FROM6 = ::1;
79 UNIXPATH = /tmp/gnunet-service-resolver.sock
80 # DISABLE_SOCKET_FORWARDING = NO
81 # USERNAME = 
82 # MAXBUF =
83 # TIMEOUT =
84 # DISABLEV6 =
85 # BINDTO =
86 # REJECT_FROM =
87 # REJECT_FROM6 =
88 # PREFIX =
89
90 [peerinfo]
91 AUTOSTART = YES
92 PORT = 2090
93 HOSTNAME = localhost
94 HOME = $SERVICEHOME
95 CONFIG = $DEFAULTCONFIG
96 BINARY = gnunet-service-peerinfo
97 ACCEPT_FROM = 127.0.0.1;
98 ACCEPT_FROM6 = ::1;
99 UNIXPATH = /tmp/gnunet-service-peerinfo.sock
100 # DISABLE_SOCKET_FORWARDING = NO
101 # USERNAME = 
102 # MAXBUF =
103 # TIMEOUT =
104 # DISABLEV6 =
105 # BINDTO = 
106 # REJECT_FROM =
107 # REJECT_FROM6 =
108 # PREFIX =
109 HOSTS = $SERVICEHOME/data/hosts/
110
111
112 [transport]
113 AUTOSTART = YES
114 PORT = 2091
115 HOSTNAME = localhost
116 HOME = $SERVICEHOME
117 CONFIG = $DEFAULTCONFIG
118 BINARY = gnunet-service-transport
119 NEIGHBOUR_LIMIT = 50
120 ACCEPT_FROM = 127.0.0.1;
121 ACCEPT_FROM6 = ::1;
122 PLUGINS = tcp
123 UNIXPATH = /tmp/gnunet-service-transport.sock
124 # DISABLE_SOCKET_FORWARDING = NO
125 # USERNAME = 
126 # MAXBUF =
127 # TIMEOUT =
128 # DISABLEV6 =
129 # BINDTO =
130 # REJECT_FROM =
131 # REJECT_FROM6 =
132 # PREFIX =
133
134 [core]
135 AUTOSTART = YES
136 PORT = 2092
137 HOSTNAME = localhost
138 HOME = $SERVICEHOME
139 CONFIG = $DEFAULTCONFIG
140 BINARY = gnunet-service-core
141 ACCEPT_FROM = 127.0.0.1;
142 ACCEPT_FROM6 = ::1;
143 # quotas are in bytes per second now!
144 TOTAL_QUOTA_IN = 65536
145 TOTAL_QUOTA_OUT = 65536
146 UNIXPATH = /tmp/gnunet-service-core.sock
147 # DISABLE_SOCKET_FORWARDING = NO
148 # DEBUG = YES
149 # USERNAME = 
150 # MAXBUF =
151 # TIMEOUT =
152 # DISABLEV6 =
153 # BINDTO =
154 # REJECT_FROM =
155 # REJECT_FROM6 =
156 # PREFIX =
157
158
159 [topology]
160 MINIMUM-FRIENDS = 0
161 FRIENDS-ONLY = NO
162 AUTOCONNECT = YES
163 TARGET-CONNECTION-COUNT = 16
164 FRIENDS = $SERVICEHOME/friends
165 CONFIG = $DEFAULTCONFIG
166 BINARY = gnunet-daemon-topology
167
168 [hostlist]
169 # port for hostlist http server
170 HTTPPORT = 8080
171 HOME = $SERVICEHOME
172 HOSTLISTFILE = $SERVICEHOME/hostlist/learned.data
173 CONFIG = $DEFAULTCONFIG
174 BINARY = gnunet-daemon-hostlist
175 # consider having "-e" as default as well once implemented
176 OPTIONS = -b
177 SERVERS = http://v9.gnunet.org:58080/
178 # proxy for downloading hostlists
179 HTTP-PROXY = 
180
181
182 [datastore]
183 AUTOSTART = YES
184 UNIXPATH = /tmp/gnunet-service-datastore.sock
185 PORT = 2093
186 HOSTNAME = localhost
187 HOME = $SERVICEHOME
188 CONFIG = $DEFAULTCONFIG
189 BINARY = gnunet-service-datastore
190 ACCEPT_FROM = 127.0.0.1;
191 ACCEPT_FROM6 = ::1;
192 QUOTA = 100000000
193 BLOOMFILTER = $SERVICEHOME/fs/bloomfilter
194 DATABASE = sqlite
195 # DISABLE_SOCKET_FORWARDING = NO
196
197 [datastore-sqlite]
198 FILENAME = $SERVICEHOME/datastore/sqlite.db
199
200 [datastore-mysql]
201 DATABASE = gnunet
202 # CONFIG = ~/.my.cnf
203 USER = gnunet
204 # PASSWORD =
205 # HOST = 
206 # PORT = 
207
208 [fs]
209 AUTOSTART = YES
210 INDEXDB = $SERVICEHOME/idxinfo.lst
211 TRUST = $SERVICEHOME/data/credit/
212 IDENTITY_DIR = $SERVICEHOME/identities/
213 STATE_DIR = $SERVICEHOME/persistence/
214 PORT = 2094
215 HOSTNAME = localhost
216 HOME = $SERVICEHOME
217 CONFIG = $DEFAULTCONFIG
218 BINARY = gnunet-service-fs
219 ACCEPT_FROM = 127.0.0.1;
220 ACCEPT_FROM6 = ::1;
221 ACTIVEMIGRATION = YES
222 UNIXPATH = /tmp/gnunet-service-fs.sock
223 # DISABLE_SOCKET_FORWARDING = NO
224 # DEBUG = YES
225 MAX_PENDING_REQUESTS = 65536
226 MIN_MIGRATION_DELAY = 1000
227 EXPECTED_NEIGHBOUR_COUNT = 128
228
229 [dht]
230 AUTOSTART = YES
231 PORT = 2095
232 HOSTNAME = localhost
233 HOME = $SERVICEHOME
234 CONFIG = $DEFAULTCONFIG
235 BINARY = gnunet-service-dht
236 ACCEPT_FROM = 127.0.0.1;
237 ACCEPT_FROM6 = ::1;
238 UNIXPATH = /tmp/gnunet-service-dht.sock
239 # DISABLE_SOCKET_FORWARDING = NO
240 # DEBUG = YES
241 # USERNAME = 
242 # MAXBUF =
243 # TIMEOUT =
244 # DISABLEV6 =
245 # BINDTO =
246 # REJECT_FROM =
247 # REJECT_FROM6 =
248 # PREFIX =