]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/mldonkey/donkey.ini
HinzugefĆ¼gt:
[people/pmueller/ipfire-2.x.git] / config / mldonkey / donkey.ini
1
2
3 (************************************)
4 (* Never edit options files when *)
5 (* the daemon is running *)
6 (************************************)
7 (* SECTION : Donkey *)
8 (* Donkey options *)
9 (************************************)
10
11
12
13 (* The port used for connection by other donkey clients. *)
14 port = 4662
15
16 (* The number of servers you want to stay connected to *)
17 max_connected_servers = 3
18
19 (* Should mldonkey try to detect sources responsible for corruption and ban them *)
20 reliable_sources = true
21
22 (* Should mldonkey try to detect sources masquerading as others and ban them *)
23 ban_identity_thieves = true
24
25 (* A list of server IP to remove from server list.
26 Servers on this list can't be added, and will eventually be removed *)
27 server_black_list = []
28
29 (* immediately close connection to servers that don't grant a High ID *)
30 force_high_id = false
31
32 (* send all clients your IP regardless of what ID was assigned by the server *)
33 force_client_high_id = false
34
35 (* Set this option to false if you don't want to
36 receive new servers from servers *)
37 update_server_list_server = true
38
39 (* Set this option to false if you don't want to
40 receive new servers from server.met *)
41 update_server_list_server_met = true
42
43 (* Set this option to false if you don't want to
44 receive new servers from clients *)
45 update_server_list_client = false
46
47 (* Maximal number of sources for each file *)
48 max_sources_per_file = 5000
49
50 (* The MD4 of this client *)
51 client_md4 = "00E0B50D660EA80F530BC4C540506FA4"
52
53 (* The RSA private key of this client *)
54 client_private_key = "MIIBCAIBADANBgkqhkiG9w0BAQEFAASB8zCB8AIBAAIxAKVGA5DvO9HEl/pov8Fqc1E5mp83Uy3oRQ9Ob9ycWxpC47HyAHpaMUfr9WLj2+BrZwIBEQIwMJwfKqC3PbJK0S3eC7Xlrnpap0yB4FNfIZYVovj86sjd9su5EHoIlORptq5L7kSBAhkAu7MM9al0lYqt/3eEC5/D7Da22OKOPJFZAhkA4WnmIz3xAA1DBPkHNrUc+xMKUBcYRoq/AhkAsKiEqvnXI1VYd/gDzrR8KZzoU6gNZi5xAhhCTFK/EjfS1rlb0MXi6fl3BZmfFdn2oUcCGHfyegqjsdMDeH7mDwqIRlXG/JrilDZ8Og=="
55
56 (* Enable secure user identification support *)
57 enable_sui = true
58
59 (* min connected users for each server *)
60 min_users_on_server = 0
61
62 (* login of client on eDonkey network (nothing default to global one) *)
63 login = ""
64
65 (* The files that were downloaded *)
66 old_files = []
67
68
69 (************************************)
70 (* SECTION : Overnet *)
71 (* Overnet options *)
72 (************************************)
73
74
75 Overnet = {
76
77 (* The protocol version sent on Overnet connections replies *)
78 protocol_connectreply_version = 44
79
80 (* The protocol version sent on Overnet connections *)
81 protocol_connect_version = 1044
82
83 (* Set this option to false if you don't want to receive new Overnet peers *)
84 update_nodes = true
85
86 (* The MD4 of the Overnet client *)
87 md4 = F168E4A3FCDADBBF8175AA5DFBAE8B89
88
89 (* These IP addresses cannot be peers. Elements are separated by spaces, wildcard=255 ie: use 192.168.0.255 for 192.168.0.* *)
90 exclude_peers = [
91 "1.0.0.0";]
92
93 (* Interval (in seconds) before republish files *)
94 republish = 10800.
95
96 (* Max number of hits in a search on Overnet *)
97 max_search_hits = 200
98
99 (* Period between two queries in the overnet tree (should not be set under 5) *)
100 query_peer_period = 5.
101
102 (* How long shoud a search on Overnet wait for the last answer before terminating *)
103 search_timeout = 140
104
105 (* allow extended search to search on overnet *)
106 search_keyword = true
107
108 (* maximal number of peers to keep overnet connected (should be >2048) *)
109 max_known_peers = 8192
110
111 (* Size of the filename storage used to answer queries *)
112 store_size = 2000
113
114 (* port for overnet *)
115 port = 21984
116 }
117
118
119 (************************************)
120 (* SECTION : Kademlia *)
121 (* Kademlia options *)
122 (************************************)
123
124
125 Kademlia = {
126
127 (* Set this option to false if you don't want to receive new Overnet peers *)
128 update_nodes = true
129
130 (* The MD4 of the Overnet client *)
131 md4 = C5A53009B6AC813961C80F7BD0CC99B4
132
133 (* These IP addresses cannot be peers. Elements are separated by spaces, wildcard=255 ie: use 192.168.0.255 for 192.168.0.* *)
134 exclude_peers = [
135 "1.0.0.0";]
136
137 (* Interval (in seconds) before republish files *)
138 republish = 10800.
139
140 (* Max number of hits in a search on Overnet *)
141 max_search_hits = 200
142
143 (* Period between two queries in the overnet tree (should not be set under 5) *)
144 query_peer_period = 5.
145
146 (* How long shoud a search on Overnet wait for the last answer before terminating *)
147 search_timeout = 140
148
149 (* allow extended search to search on overnet *)
150 search_keyword = true
151
152 (* maximal number of peers to keep overnet connected (should be >2048) *)
153 max_known_peers = 8192
154
155 (* Size of the filename storage used to answer queries *)
156 store_size = 2000
157
158 (* port for Kademlia *)
159 port = 2096
160 }
161
162
163
164 (*****************************************************************)
165 (* *)
166 (* ADVANCED OPTIONS *)
167 (* *)
168 (* All the options after this line are for the expert *)
169 (* user. Do not modify them if you are not sure. *)
170 (* *)
171 (*****************************************************************)
172
173
174
175
176
177 (************************************)
178 (* SECTION : Donkey FOR EXPERTS *)
179 (* Donkey options *)
180 (************************************)
181
182
183
184 (* Initial score for a new server *)
185 initial_score = 5
186
187 (* Max number of UDP packets per round for eXtended Search *)
188 max_xs_packets = 30
189
190 (* Max number of messages of Chat remembered *)
191 max_dialog_history = 30
192
193 (* Delay used to request file sources *)
194 check_client_connections_delay = 180.
195
196 (* The delay between server connection rounds *)
197 check_connections_delay = 5.
198
199 (* Timeout on client connections when not queued *)
200 client_timeout = 40.
201
202 (* The number of UDP packets you send every check_client_connections_delay *)
203 max_udp_sends = 10
204
205 (* Set this option to false if you don't want mldonkey
206 to change the master servers it is connected to *)
207 keep_best_server = true
208
209 (* only servers which are set to 'preferred' will be connected,
210 please note that any server must be set to preferred to use this feature *)
211 connect_only_preferred_server = false
212
213 (* Number of servers that can be used to walk
214 between servers *)
215 max_walker_servers = 1
216
217 (* The maximal delay a connection with a server should last when walking
218 through the list (should be greater than become_master_delay) *)
219 walker_server_lifetime = 300
220 log_clients_on_console = false
221
222 (* Allow mldonkey to propagate your sources to other donkey clients *)
223 propagate_sources = true
224 black_list = true
225
226 (* A list of ports that specify servers to remove
227 from server list. Servers with ports on this list can't be added, and
228 will eventually be removed *)
229 port_black_list = []
230
231 (* How long should we wait in the queue of another client *)
232 queued_timeout = 1800.
233
234 (* How long can a silent client stay in the upload queue *)
235 upload_timeout = 1800.
236
237 (* How long a downloading client can stay in my upload queue (in minutes >5) *)
238 upload_lifetime = 90
239
240 (* Each client upload lifetime depends on download-upload ratio *)
241 dynamic_upload_lifetime = false
242
243 (* Uploaded zones (1 zone = 180 kBytes) needed to enable the dynamic upload lifetime *)
244 dynamic_upload_threshold = 10
245
246 (* How long can a silent server stay connected *)
247 connected_server_timeout = 1800.
248
249 (* The weight of upload on a donkey connection compared to upload on other
250 peer-to-peer networks. Setting it to 5 for example means that a donkey
251 connection will be allowed to send 5 times more information per second than
252 an Open Napster connection. This is done to favorise donkey connections
253 over other networks, where upload is less efficient, without preventing
254 upload from these networks. *)
255 upload_power = 5
256
257 (* max number of days after which an unconnected server is removed *)
258 max_server_age = 2
259
260 (* How often should remove old donkey servers (see max_server_age) be called
261 (in seconds, 0 to disable) *)
262 remove_old_servers_delay = 900.
263
264 (* Minimal number of servers remaining after remove_old_servers *)
265 min_left_servers = 20
266
267 (* How often should we check all servers (minimum 4 hours, 0 to disable) *)
268 servers_walking_period = 6
269
270 (* Are the cancelled files added to the old files list to prevent re-download ? *)
271 keep_cancelled_in_old_files = false
272
273 (* Are the downloaded files added to the old files list to prevent re-download ? *)
274 keep_downloaded_in_old_files = false
275
276 (* true if you want your mldonkey to lose some
277 upload bandwidth sending messages to clients which are banned :) *)
278 send_warning_messages = false
279
280 (* true if you want your client to ban
281 clients that try queue jumping (3 reconnections faster than 9 minutes) *)
282 ban_queue_jumpers = true
283
284 (* true if you want your client IP to be set from servers ID *)
285 use_server_ip = true
286
287 (* Set the number of hours you want client to remain banned *)
288 ban_period = 1
289
290 (* Set the maximal rank of a client to be kept as a client *)
291 good_client_rank = 500
292
293 (* (only for development tests) *)
294 immediate_master = false
295
296 (* (only for development tests) *)
297 become_master_delay = 120
298
299 (* (internal option) *)
300 options_version = 1
301
302 (*
303 The following options are not used (errors, obsolete, ...)
304 *)