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