]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/mldonkey/downloads.ini
Start core47.
[people/pmueller/ipfire-2.x.git] / config / mldonkey / downloads.ini
CommitLineData
02dc0a76
MT
1
2
3 (************************************)
4 (* Never edit options files when *)
5 (* the daemon is running *)
6 (************************************)
7 (* SECTION : Main *)
8 (* Main options *)
9 (************************************)
10
11
12
13 (* small name of client *)
14 client_name = ipfire
15
16
17 (************************************)
18 (* SECTION : Interfaces *)
19 (* Options to control ports used by mldonkey interfaces *)
20 (************************************)
21
22
23
24 (* list of IP address allowed to connect to the core via telnet/GUI/WEB
c7e54648
MT
25 for internal command set: list separated by spaces
26 example for internal command: set allowed_ips "127.0.0.0/8 192.168.1.2"
27 or for editing the ini-file: list separated by semi-colon
28 example for ini-file: allowed_ips = [ "127.0.0.0/8"; "192.168.1.2";]
29 CIDR and range notations are supported: ie use 192.168.0.0/24
30 or 192.168.0.0-192.168.0.255 for 192.168.0.* *)
02dc0a76 31 allowed_ips = [
c7e54648 32 "0.0.0.0/0";]
02dc0a76
MT
33
34 (* port for Graphical Interfaces *)
c7e54648 35 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
36 gui_port = 4001
37
38 (* port for GiFT Graphical Interfaces interaction. It was 1213, but the default is
c7e54648
MT
39 now 0 for disabled, because it does not check for a password. *)
40 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
41 gift_port = 0
42
43 (* The port used to connect to your client with a WEB browser *)
c7e54648 44 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
45 http_port = 4080
46
47 (* port for user interaction *)
c7e54648 48 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
49 telnet_port = 4000
50
51 (* Aliases to commands. The alias (fist string) has to be
c7e54648
MT
52 whitespaceless, the outcome of the alias (second string)
53 may have spaces (put it in quotation then). *)
02dc0a76
MT
54 alias_commands = [
55 (quit, q);
56 (exit, q);]
57
58
59 (************************************)
60 (* SECTION : Bandwidth *)
c7e54648 61 (* Bandwidth options *)
02dc0a76
MT
62 (************************************)
63
64
65
66 (* The maximal upload rate you can tolerate on your link in kBytes/s (0 = no limit)
67 The limit will apply on all your connections (clients and servers) and both
c7e54648 68 control and data messages. *)
02dc0a76
MT
69 max_hard_upload_rate = 10
70
71 (* The maximal download rate you can tolerate on your link in kBytes/s (0 = no limit)
72 The limit will apply on all your connections (clients and servers) and both
c7e54648
MT
73 control and data messages. Maximum value depends on max_hard_upload_rate:
74 >= 10 -> unlimited download
75 < 10 > 3 -> download limited to upload * 4
76 < 4 -> download limited to upload * 3 *)
02dc0a76
MT
77 max_hard_download_rate = 50
78
c7e54648
MT
79 (* Second maximal upload rate for easy toggling (use bw_toggle) *)
80 max_hard_upload_rate_2 = 5
81
82 (* Second maximal download rate for easy toggling (use bw_toggle) *)
83 max_hard_download_rate_2 = 20
84
02dc0a76
MT
85 (* Maximal number of opened connections *)
86 max_opened_connections = 200
87
88 (* Amount of indirect connections in percent (min 30, max 70) of max_opened_connections *)
89 max_indirect_connections = 30
90
91 (* How many slots can be used for upload *)
92 max_upload_slots = 5
93
c7e54648
MT
94 (* How many percent of upload slots can be used for downloading files tagged as release *)
95 max_release_slots = 20
96
02dc0a76
MT
97 (* Set aside a single reserved slot to upload to friends *)
98 friends_upload_slot = true
99
100 (* Maximum file size to benefit from the reserved slot for small files (0 to disable) *)
101 small_files_slot_limit = 10240
102
103 (* Set this to true if you want to have dynamic upload slot allocation (experimental) *)
104 dynamic_slots = false
105
106 (* Maximal number of connections that can be opened per second *)
107 max_connections_per_second = 5
108
109 (* list of IP addresses allowed to connect to the core with no limit on
c7e54648
MT
110 upload/download and upload slots. List separated by spaces, wildcard=255
111 ie: use 192.168.0.255 for 192.168.0.* *)
02dc0a76
MT
112 nolimit_ips = [
113 "127.0.0.1";]
114
115 (* This option enables MLdonkey to always read as much data as possible
116 from a channel, but use more CPU as it must then copy the data in the
c7e54648 117 channel buffer. *)
02dc0a76
MT
118 copy_read_buffer = true
119
120
121 (************************************)
122 (* SECTION : Networks *)
123 (* Networks options *)
124 (************************************)
125
126
127
128 (* Set to true if you also want mldonkey to run as an overnet client
c7e54648 129 (enable_donkey must be true) *)
02dc0a76
MT
130 enable_overnet = true
131
132 (* Set to true if you also want mldonkey to run as an kademlia client
c7e54648 133 (enable_donkey must be true, and only experimental) *)
02dc0a76
MT
134 enable_kademlia = false
135
136 (* Set to true if you want mldonkey to connect to edonkey servers
c7e54648 137 (enable_donkey must be true, and only experimental) *)
02dc0a76
MT
138 enable_servers = true
139
140 (* Set to true if you also want mldonkey to run as an Bittorrent client *)
141 enable_bittorrent = true
142
143 (* Set to true if you also want mldonkey to run as a donkey client *)
144 enable_donkey = true
145
146 (* Set to true if you also want mldonkey to run as a napster client (experimental) *)
147 enable_opennap = false
148
149 (* Set to true if you also want mldonkey to run as a soulseek client (experimental) *)
150 enable_soulseek = false
151
152 (* Set to true if you also want mldonkey to run as a gnutella1 sub node (experimental) *)
153 enable_gnutella = false
154
155 (* Set to true if you also want mldonkey to run as a gnutella2 sub node (experimental) *)
156 enable_gnutella2 = false
157
158 (* Set to true if you also want mldonkey to run as a Fasttrack sub node (experimental) *)
159 enable_fasttrack = false
160
161 (* Set to true if you also want mldonkey to run as a direct-connect node (experimental) *)
162 enable_directconnect = false
163
164 (* Set to true if you also want mldonkey to download HTTP files (experimental) *)
165 enable_fileTP = true
166
167
168 (************************************)
169 (* SECTION : Network Config *)
170 (* Network config options *)
171 (************************************)
172
173
174
175 (* The last IP address used for this client *)
c7e54648 176 client_ip = "192.168.181.70"
02dc0a76
MT
177
178 (* Use the IP specified by 'client_ip' instead of trying to determine it
c7e54648 179 ourself. Don't set this option to true if you have dynamic IP. *)
02dc0a76
MT
180 force_client_ip = false
181
c7e54648
MT
182 (* Use http://ip.discoveryvip.com/ip.asp to obtain WAN IP *)
183 discover_ip = true
184
02dc0a76
MT
185 (* User agent string (default = "default") *)
186 user_agent = default
187
188 (* A list of lines to download on the WEB: each line has
c7e54648
MT
189 the format: (kind, period, url), where kind is either
190 'server.met' for a server.met file (also in gz/bz2/zip format)
191 containing ed2k server, or
192 'comments.met' for a file of comments, or
193 'guarding.p2p' for a blocklist file (also in gz/bz2/zip format), or
194 'ocl' for file in the ocl format containing overnet peers, or
195 'contact.dat' for an contact.dat file containing overnet peers,
196 'nodes.gzip' for a fasttrack nodes.gzip,
197 and period is the period between updates (in hours),
198 a period of zero means the file is only loaded once on startup,
199 and url is the url of the file to download.
200 IMPORTANT: Put the URL and the kind between quotes.
201 EXAMPLE:
202 web_infos = [
9bfa4a36 203 ("server.met", 0, "http://ed2k.2x4u.de/u581miei/max/server.met");
c7e54648
MT
204 ("hublist", 0, "http://dchublist.com/hublist.config.bz2");
205 ("guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz");
206 ("ocl", 24, "http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl");
207 ("contact.dat", 168, "http://download.overnet.org/contact.dat");
208 ("geoip.dat", 168, "http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz");
209 ]
02dc0a76
MT
210 *)
211 web_infos = [
02dc0a76
MT
212 ("contact.dat", 168, "http://download.overnet.org/contact.dat");
213 ("geoip.dat", 0, "http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz");
c7e54648
MT
214 ("server.met", 0, "http://www.gruk.org/server.met.gz");
215 ("guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz");
216 (hublist, 0, "http://dchublist.com/hublist.config.bz2");
02dc0a76
MT
217 ("nodes.gzip", 0, "http://update.kceasy.com/update/fasttrack/nodes.gzip");]
218
219 (* Cookies send with a http request (used for .torrent files and web_infos) *)
220 referers = [
221 (".*suprnova.*", "http://www.suprnova.org/");]
222
223 (* Cookies send with a http request (used for .torrent files and web_infos) *)
224 cookies = []
225
226 (* Direct HTTP queries to HTTP proxy *)
227 http_proxy_server = ""
228
229 (* Port of HTTP proxy *)
230 http_proxy_port = 800
231
232 (* Direct TCP connections to HTTP proxy (the proxy should support CONNECT) *)
233 http_proxy_tcp = false
234
235
236 (************************************)
237 (* SECTION : HTML mods *)
238 (* Options to configure HTML mode *)
239 (************************************)
240
241
242
243 (* bw_stats refresh delay (seconds) *)
244 html_mods_bw_refresh_delay = 11
245
246 (* html_mods_theme to use (located in relative html_themes/<theme_name> directory
c7e54648 247 leave blank to use internal theme *)
02dc0a76
MT
248 html_mods_theme = ""
249
250
251 (************************************)
252 (* SECTION : Download *)
253 (* Download options *)
254 (************************************)
255
256
257
258 (* Set to false if you don't want mldonkey to automatically put completed files
c7e54648 259 in incoming directory *)
02dc0a76
MT
260 auto_commit = true
261
262 (* Set to true if you want all new downloads be paused immediatly
c7e54648 263 will be set to false on core start. *)
02dc0a76
MT
264 pause_new_downloads = false
265
266 (* The maximal number of files in Downloading state (other ones are Queued) *)
267 max_concurrent_downloads = 50
268
269 (* The maximal length of zero bytes between non-zero bytes in a file that
c7e54648 270 should be interpreted as downloaded during a recovery *)
02dc0a76
MT
271 max_recover_zeroes_gap = 16
272
273 (* A command that is called when a file is committed, does not work on MinGW.
c7e54648
MT
274 Arguments are (kept for compatability):
275 $1 - temp file name, without path
276 $2 - file size
277 $3 - filename of the committed file
278 Also these environment variables can be used (prefered way):
279 $TEMPNAME - temp file name, including path
280 $FILEID - same as $1
281 $FILESIZE - same as $2
282 $FILENAME - same as $3
283 $FILEHASH - internal hash
284 $DURATION - download duration
285 $INCOMING - directory used for commit
286 $NETWORK - network used for downloading
287 $ED2K_HASH - ed2k hash if MD4 is known
288 *)
02dc0a76
MT
289 file_completed_cmd = ""
290
291 (* The command which is called when a download is started. Arguments
c7e54648 292 are '-file <num>' *)
02dc0a76
MT
293 file_started_cmd = ""
294
295
296 (************************************)
297 (* SECTION : Startup *)
298 (* Startup options *)
299 (************************************)
300
301
302
303 (* The login of the user you want mldonkey to run as, after the ports
304 have been bound (can be use not to run with root priviledges when
c7e54648
MT
305 a port < 1024 is needed) *)
306 (* changing this option requires restart of MLDonkey core *)
307 run_as_user = mldonkey
02dc0a76
MT
308
309 (* The UID of the user (0=disabled) you want mldonkey to run as, after the ports
310 have been bound (can be use not to run with root priviledges when
c7e54648
MT
311 a port < 1024 is needed) *)
312 (* changing this option requires restart of MLDonkey core *)
313 run_as_useruid = 113
02dc0a76
MT
314
315 (* Ask for GUI start *)
316 ask_for_gui = false
317
318 (* Automatically Start the GUI *)
319 start_gui = false
320
321 (* Should MLdonkey try to recover downloads of files in temp/ at startup *)
322 recover_temp_on_startup = true
323
324
325 (************************************)
326 (* SECTION : Mail *)
327 (* Mail options *)
328 (************************************)
329
330
331
332 (* The mail server you want to use (must be SMTP). Use hostname or IP address *)
333 smtp_server = "127.0.0.1"
334
335 (* The port to use on the mail server (default 25) *)
336 smtp_port = 25
337
338 (* Your e-mail if you want to receive mails when downloads are completed *)
339 mail = ""
340
341 (* Does your mail-server need <...> around addresses *)
342 add_mail_brackets = false
343
344 (* Send filename in mail subject *)
345 filename_in_subject = true
346
347 (* Put a prefix for the filename here which shows up in the notification mail *)
348 url_in_mail = ""
349
350
351 (************************************)
352 (* SECTION : Paths *)
353 (* Paths options *)
354 (************************************)
355
356
357
358 (* The directory where temporary files should be put *)
43f8b5f1 359 temp_directory = "/var/log/mldonkey/temp"
02dc0a76 360
c7e54648
MT
361 (* How often (in minutes) should MLDonkey scan all shared directories for new/removed files.
362 0 to disable scanning of shared directories. Use command reshare to manually scan shares.
363 When core starts all shared directories are scanned once, independent of this option. *)
364 (* changing this option requires restart of MLDonkey core *)
365 share_scan_interval = 1
366
367 (* New download files are created with these rights (in octal) *)
368 create_file_mode = 664
369
370 (* New directories in incoming_directories are created with these rights (in octal) *)
371 create_dir_mode = 755
02dc0a76
MT
372
373 (* Create new files as sparse, only valid on MinGW for files on NTFS drives *)
374 create_file_sparse = true
375
376 (* Mininum free space in MB on temp_directory, minimum 50 *)
377 hdd_temp_minfree = 50
378
379 (* If true core shuts down when free space on temp dir is below hdd_temp_minfree,
c7e54648 380 otherwise all downloads are paused and a warning email is sent. *)
02dc0a76
MT
381 hdd_temp_stop_core = false
382
383 (* Mininum free space in MB on core directory, minimum 20 *)
384 hdd_coredir_minfree = 50
385
386 (* If true core shuts down when free space on core dir is below hdd_coredir_minfree,
c7e54648 387 otherwise all downloads are paused and a warning email is sent. *)
02dc0a76
MT
388 hdd_coredir_stop_core = true
389
390 (* Send a warning mail each <interval> hours for each directory, 0 to deactivate mail warnings. *)
391 hdd_send_warning_interval = 1
392
393 (* Incoming and shared directories.
394 At least two entries have to be present here, one with strategy
395 incoming_files and one with strategy incoming_directories.
396 Both entries can point to the same directory.
397 If one of the two strategies is missing, MLDonkey will create a default
398 directory with its entry here.
399 Finished BT multifile downloads are committed to the first directory
400 with strategy incoming_directories. Other downloads are committed
401 to the first directory with the strategy incoming_files.
c7e54648
MT
402 MLdonkey searches all shared_directories with incoming_* strategies
403 on commit and uses the first one with enough free diskspace.
02dc0a76
MT
404 Other strategies can be found in searches.ini, section customized_sharing. *)
405 shared_directories = [
406 { dirname = "/var/log/mldonkey/incoming/files"
02dc0a76
MT
407 strategy = incoming_files
408 priority = 0
409};
410 { dirname = "/var/log/mldonkey/incoming/directories"
02dc0a76
MT
411 strategy = incoming_directories
412 priority = 0
413};]
414
415
416 (************************************)
417 (* SECTION : Security *)
418 (* Security options *)
419 (************************************)
420
421
422
423 (* Commands that you are allowed to be call from the interface. These
c7e54648 424 commands should short, so that the core is not blocked more than necessary. *)
02dc0a76
MT
425 allowed_commands = [
426 (df, df);
427 (ls, "ls incoming");]
428
429 (* Allow you to use any command with ! in the interface instead of only the
c7e54648 430 ones in allowed_commands *)
02dc0a76
MT
431 allow_any_command = false
432
02dc0a76
MT
433 (* Allow others to browse our share list (0: none, 1: friends only, 2: everyone *)
434 allow_browse_share = 1
435
436 (* Regexp of messages to filter out, example: string1|string2|string3 *)
c7e54648
MT
437 messages_filter = "DI-Emule|ZamBoR|Ketamine|eMule FX|AUTOMATED MESSAGE"
438
439 (* Regexp of comments to filter out, example: string1|string2|string3 *)
440 comments_filter = "http://|https://|www\\."
02dc0a76
MT
441
442
443 (************************************)
444 (* SECTION : Other *)
445 (* Other options *)
446 (************************************)
447
448
449
450 (* (experimental) *)
451 save_results = 0
452
02dc0a76
MT
453 (* Buffer writes and flush after buffer_writes_delay seconds (experimental) *)
454 buffer_writes = false
455
456 (* build statistics about eMule mods *)
457 emule_mods_count = false
458
459 (* show all eMule mods in statistics *)
460 emule_mods_showall = false
461
462 (* How often (in hours) should a backup of the ini files be written into old_config.
463 A value of zero means that a backup is written only when the core shuts down. *)
464 backup_options_delay = 0
465
466 (* Define the total number of options archives in old_config. *)
467 backup_options_generations = 10
468
469 (* Define the format of the archive, zip or tar.gz are valid. *)
470 backup_options_format = "tar.gz"
471
472 (* The maximum time in seconds to wait for networks to cleanly shutdown. *)
473 shutdown_timeout = 3
474
475 (* The IP address used to bind the p2p clients *)
c7e54648 476 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
477 client_bind_addr = "0.0.0.0"
478
479
480
481(*****************************************************************)
482(* *)
483(* ADVANCED OPTIONS *)
484(* *)
485(* All the options after this line are for the expert *)
486(* user. Do not modify them if you are not sure. *)
487(* *)
488(*****************************************************************)
489
490
491
492
493
494 (************************************)
495 (* SECTION : Interfaces FOR EXPERTS *)
496 (* Options to control ports used by mldonkey interfaces *)
497 (************************************)
498
499
500
501 (* The IP address used to bind the http server *)
c7e54648 502 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
503 http_bind_addr = "0.0.0.0"
504
505 (* The IP address used to bind the gui server *)
c7e54648 506 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
507 gui_bind_addr = "0.0.0.0"
508
509 (* The IP address used to bind the telnet server *)
c7e54648 510 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
511 telnet_bind_addr = "0.0.0.0"
512
513 (* Should *all* sources for a file be shown on HTML/telnet vd <num> *)
514 print_all_sources = true
515
516 (* Improved telnet interface *)
517 improved_telnet = true
518
519 (* A space-separated list of keywords. Each keyword triggers
520 printing information on the corresponding messages:
521 verb : verbose mode (interesting not only for coders)
522 mc : debug client messages
523 mr|raw : debug raw messages
524 mct : debug emule clients tags
525 ms : debug server messages
526 sm : debug source management
527 net : debug net
528 gui : debug gui
529 no-login : disable login messages
530 file : debug file handling
531 do : some download warnings
532 up : some upload warnings
533 unk : unknown messages
534 ov : overnet
535 loc : debug source research/master servers
536 share: debug sharing
537 md4 : md4 computation
538 connect : debug connections
539 udp : udp messages
540 ultra|super : debug supernode
541 swarming : debug swarming
542 hc : http_client messages
543 hs : http_server messages
c7e54648 544 com : commands by non-admin users
02dc0a76
MT
545 act : debug activity
546 bw : debug bandwidth
c7e54648
MT
547 geo : debug GeoIP
548 unexp : debug unexpected messages *)
02dc0a76
MT
549 verbosity = ""
550
551
552 (************************************)
553 (* SECTION : Bandwidth FOR EXPERTS *)
c7e54648 554 (* Bandwidth options *)
02dc0a76
MT
555 (************************************)
556
557
558
559 (* The delay in milliseconds to wait in the event loop. Can be decreased to
c7e54648
MT
560 increase the bandwidth usage, or increased to lower the CPU usage. *)
561 loop_delay = 5
02dc0a76
MT
562
563
564 (************************************)
565 (* SECTION : Networks FOR EXPERTS *)
566 (* Networks options *)
567 (************************************)
568
569
570
571 (* Set to true if you also want mldonkey to run as a OpenFT sub node (experimental) *)
572 enable_openft = false
573
574
575 (************************************)
576 (* SECTION : Network Config FOR EXPERTS *)
577 (* Network config options *)
578 (************************************)
579
580
581
582 (* URLs of RSS feeds *)
583 rss_feeds = []
584
c7e54648
MT
585 (* If MLDonkey can not read broken RSS feeds, use this program to preprocess them *)
586 rss_preprocessor = xmllint
587
02dc0a76
MT
588 (* Keep IP blocking ranges descriptions in memory *)
589 ip_blocking_descriptions = false
590
591 (* IP blocking list filename (peerguardian format), can also be in gz/bz2/zip format
592 Zip files must contain either a file named guarding.p2p or guarding_full.p2p. *)
593 ip_blocking = ""
594
595 (* List of countries to block connections from/to (requires Geoip).
596 Names are in ISO 3166 format, see http://www.maxmind.com/app/iso3166
597 You can also at your own risk use "Unknown" for IPs Geoip won't recognize. *)
598 ip_blocking_countries = []
599
600 (* false: use ip_blocking_countries as block list, all other countries are allowed
601 true: use ip_blocking_countries as allow list, all other countries are blocked *)
602 ip_blocking_countries_block = false
603
604 (* Location of GeoIP.dat (Get one from http://www.maxmind.com/download/geoip/database/) *)
605 geoip_dat = ""
606
607 (* The size of the header of a TCP/IP packet on your connection (ppp adds
c7e54648 608 14 bytes sometimes, so modify to take that into account) *)
02dc0a76
MT
609 tcpip_packet_size = 40
610
611 (* The size of the MTU of a TCP/IP packet on your connection *)
612 mtu_packet_size = 1500
613
02dc0a76 614 (* The size of the minimal packet you want mldonkey to send when data is
c7e54648 615 available on the connection *)
02dc0a76
MT
616 minimal_packet_size = 600
617
618 (* Should a connection check if the peer we are connected to is still alive?
619 This implies some bandwidth-cost (with 200 connections ~10-20%) *)
620 socket_keepalive = false
621
622
623 (************************************)
624 (* SECTION : HTML mods FOR EXPERTS *)
625 (* Options to configure HTML mode *)
626 (************************************)
627
628
629
630 (* Whether to use the modified WEB interface *)
631 html_mods = true
632
633 (* Which html_mods style to use (set with html_mods_style command) *)
634 html_mods_style = 0
635
636 (* Whether to use human readable GMk number format *)
637 html_mods_human_readable = true
638
639 (* Whether to use relative availability in the WEB interface *)
640 html_mods_use_relative_availability = true
641
642 (* Whether to display the Net column in vd output *)
643 html_mods_vd_network = true
644
c7e54648
MT
645 (* Whether to display the Comments column in vd output *)
646 html_mods_vd_comments = true
647
648 (* Whether to display the User column in vd output *)
649 html_mods_vd_user = false
650
651 (* Whether to display the Group column in vd output *)
652 html_mods_vd_group = false
653
02dc0a76
MT
654 (* Whether to display the Active Sources column in vd output *)
655 html_mods_vd_active_sources = true
656
657 (* Whether to display the Age column in vd output *)
658 html_mods_vd_age = true
659
c7e54648
MT
660 (* Whether to display flags instead of country codes *)
661 html_flags = true
662
02dc0a76
MT
663 (* Show graph in vd output *)
664 html_mods_vd_gfx = true
665
666 (* Remove graph files on core shutdown *)
667 html_mods_vd_gfx_remove = false
668
669 (* Fill graph in vd output *)
670 html_mods_vd_gfx_fill = true
671
672 (* Split download and upload graph in vd output *)
673 html_mods_vd_gfx_split = false
674
675 (* Stacked download and upload graph *)
676 html_mods_vd_gfx_stack = true
677
678 (* Flip up/side graph position in vd output *)
679 html_mods_vd_gfx_flip = true
680
681 (* Show mean line on graph in vd output *)
682 html_mods_vd_gfx_mean = true
683
684 (* Show transparent graph in vd output (only for png) *)
685 html_mods_vd_gfx_transparent = true
686
687 (* Draw graph as png if true, else draw as jpg in vd output *)
688 html_mods_vd_gfx_png = true
689
690 (* Show hourly graph in vd output *)
691 html_mods_vd_gfx_h = true
692
c7e54648 693 (* Graph x size in vd output ( 365 < x < 3665 ) *)
02dc0a76
MT
694 html_mods_vd_gfx_x_size = 630
695
696 (* Graph y size in vd output ( 200 < y < 1200 ) *)
697 html_mods_vd_gfx_y_size = 200
698
c7e54648
MT
699 (* compute values for hourly graph every 1,2,3,4,5,10,15,20,30,60 min
700 Changes to this option require a core restart. *)
701 (* changing this option requires restart of MLDonkey core *)
702 html_mods_vd_gfx_h_intervall = 60
703
704 (* Dynamic grid width, start with 1 h/grid, maximum html_mods_vd_gfx_h_grid_time h/grid *)
705 html_mods_vd_gfx_h_dymamic = true
706
707 (* Max hours on time scale per grid (0 = no limit) *)
708 html_mods_vd_gfx_h_grid_time = 0
709
710 (* Number of shown subgrids on graph (0 = no subgrids) *)
711 html_mods_vd_gfx_subgrid = 0
712
02dc0a76
MT
713 (* Draw tag graph *)
714 html_mods_vd_gfx_tag = false
715
716 (* Use tag source image *)
717 html_mods_vd_gfx_tag_use_source = false
718
719 (* Tag source image name *)
720 html_mods_vd_gfx_tag_source = image
721
722 (* Draw tag as png if true, else draw as jpg in vd output *)
723 html_mods_vd_gfx_tag_png = true
724
725 (* Enable tag graph title *)
726 html_mods_vd_gfx_tag_enable_title = true
727
728 (* Tag graph title *)
729 html_mods_vd_gfx_tag_title = "MLNet traffic"
730
c7e54648 731 (* Tag graph title x pos in vd output *)
02dc0a76
MT
732 html_mods_vd_gfx_tag_title_x_pos = 4
733
c7e54648 734 (* Tag graph title y pos in vd output *)
02dc0a76
MT
735 html_mods_vd_gfx_tag_title_y_pos = 1
736
c7e54648 737 (* Tag graph download x pos in vd output *)
02dc0a76
MT
738 html_mods_vd_gfx_tag_dl_x_pos = 4
739
c7e54648 740 (* Tag graph download y pos in vd output *)
02dc0a76
MT
741 html_mods_vd_gfx_tag_dl_y_pos = 17
742
c7e54648 743 (* Tag graph upload x pos in vd output *)
02dc0a76
MT
744 html_mods_vd_gfx_tag_ul_x_pos = 4
745
c7e54648 746 (* Tag graph upload y pos in vd output *)
02dc0a76
MT
747 html_mods_vd_gfx_tag_ul_y_pos = 33
748
749 (* Tag graph x size in vd output ( 130 < x < 3600 ) *)
750 html_mods_vd_gfx_tag_x_size = 80
751
752 (* Tag graph y size in vd output ( 50 < x < 1200 ) *)
753 html_mods_vd_gfx_tag_y_size = 50
754
755 (* Whether to display the Last column in vd output *)
756 html_mods_vd_last = true
757
758 (* Whether to display the Priority column in vd output *)
759 html_mods_vd_prio = true
760
02dc0a76
MT
761 (* Change height of download indicator bar in vd output *)
762 html_vd_barheight = 2
763
764 (* Whether to display chunks list as graph or text in vd output *)
765 html_vd_chunk_graph = true
766
767 (* Change style of chunk graph *)
768 html_vd_chunk_graph_style = 0
769
770 (* Change max width of chunk graph *)
771 html_vd_chunk_graph_max_width = 200
772
773 (* Whether to display the pending slots in uploaders command *)
774 html_mods_show_pending = true
775
776 (* Whether to load the mldonkey_messages.ini file (false=use internal settings) *)
777 html_mods_load_message_file = false
778
779 (* Maximum chat messages to log in memory *)
780 html_mods_max_messages = 50
781
782 (* Whether to use checkboxes in the WEB interface for download list *)
783 html_checkbox_vd_file_list = true
784
785 (* Whether to use checkboxes in the WEB interface for search result list *)
786 html_checkbox_search_file_list = false
787
788 (* Use gzip compression on web pages *)
789 html_use_gzip = false
790
791 (* Whether to use the fancy javascript tooltips or plain html-title *)
792 html_mods_use_js_tooltips = true
793
794 (* How long to wait before displaying the tooltips *)
795 html_mods_js_tooltips_wait = 0
796
797 (* How long to display the tooltips *)
798 html_mods_js_tooltips_timeout = 100000
799
800 (* Use javascript to display option help text as js popup (true=use js, false=use html tables) *)
801 html_mods_use_js_helptext = true
802
803
804 (************************************)
805 (* SECTION : Debug FOR EXPERTS *)
806 (* Debug options *)
807 (************************************)
808
809
810
811 (* If this option is set, IP addresses on the local network are allowed
c7e54648 812 (only for debugging) *)
02dc0a76
MT
813 allow_local_network = false
814
815 (* size of log in number of records *)
816 log_size = 300
817
c7e54648
MT
818 (* Maximum size of log_file in MB, this value is only checked on startup,
819 log_file will be deleted if its bigger than log_file_size. *)
02dc0a76
MT
820 log_file_size = 2
821
822 (* The file in which you want mldonkey to log its debug messages. If you
823 set this option, mldonkey will log this info in the file until you use the
c7e54648
MT
824 'close_log' command. The log file may become very large. You can
825 also enable logging in a file after startup using the 'log_file' command. *)
02dc0a76
MT
826 log_file = "mlnet.log"
827
c7e54648
MT
828 (* Post log messages to syslog. This setting is independent of log_file
829 and its associated commands, therefore close_log does not stop log to syslog.
830 Its therefore possible to log to syslog and log_file at the same time. *)
831 log_to_syslog = false
832
02dc0a76
MT
833 (* number of lines for GUI console messages *)
834 gui_log_size = 30
835
836
837 (************************************)
838 (* SECTION : Download FOR EXPERTS *)
839 (* Download options *)
840 (************************************)
841
842
843
02dc0a76
MT
844 (* How many sources to use to download each chunk *)
845 sources_per_chunk = 3
846
02dc0a76
MT
847
848 (************************************)
849 (* SECTION : Startup FOR EXPERTS *)
850 (* Startup options *)
851 (************************************)
852
853
854
855 (* How many megabytes should MLdonkey keep for saving configuration files. *)
c7e54648 856 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
857 config_files_security_space = 10
858
859
860 (************************************)
861 (* SECTION : Paths FOR EXPERTS *)
862 (* Paths options *)
863 (************************************)
864
865
866
867 (* Name of program used for preview (first arg is local filename, second arg
c7e54648 868 is name of file as searched on eDonkey *)
02dc0a76
MT
869 previewer = mldonkey_previewer
870
871 (* Directory where mldonkey binaries are installed *)
872 mldonkey_bin = "."
873
874 (* Name of GUI to start *)
875 mldonkey_gui = "./mlgui"
876
877
02dc0a76
MT
878 (************************************)
879 (* SECTION : Other FOR EXPERTS *)
880 (* Other options *)
881 (************************************)
882
883
884
02dc0a76 885 (* Buffer writes and flush after buffer_writes_delay seconds (experimental) *)
c7e54648 886 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
887 buffer_writes_delay = 30.
888
889 (* Flush buffers if buffers exceed buffer_writes_threshold kB (experimental) *)
890 buffer_writes_threshold = 1024
891
892 (* The conversions to apply on Unicode characters *)
893 utf8_filename_conversions = []
894
895 (* The size of the buffer between the client and its GUI. Can be useful
c7e54648 896 to increase when the connection between them has a small bandwith *)
02dc0a76
MT
897 interface_buffer = 1000000
898
899 (* The size long names will be shortened to in the interface *)
900 max_name_len = 50
901
c7e54648
MT
902 (* The maximum number of different filenames used by MLDonkey *)
903 max_filenames = 50
904
02dc0a76
MT
905 (* The size long client names will be shortened to in the interface *)
906 max_client_name_len = 25
907
908 (* Is the default terminal an ANSI terminal (escape sequences can be used) *)
909 term_ansi = true
910
911 (* Delay between updates to the GUI *)
912 update_gui_delay = 1.
913
914 (* The realm shown when connecting with a WEB browser *)
915 http_realm = MLdonkey
916
02dc0a76
MT
917 (* This option controls whether the WEB interface should show frame borders or not *)
918 html_frame_border = true
919
920 (* The height of the command frame in pixel (depends on your screen and browser sizes) *)
921 commands_frame_height = 46
922
c7e54648
MT
923 (* Message printed at startup additional to welcome text *)
924 motd_html = ""
925
02dc0a76
MT
926 (* Force compaction every <n> hours (in [1..24]) *)
927 compaction_delay = 2
928
929 (* The delay between reloads of the vd output in the WEB interface *)
930 vd_reload_delay = 120
931
02dc0a76
MT
932 (* Should the MLSUBMIT.REG file be created *)
933 create_mlsubmit = true
934
935 (* Size of the minor heap in kB *)
936 minor_heap_size = 32
937
938 (* The source queues to display in source lists (see 'sources' command) *)
939 relevant_queues = [
940 0;
941 1;
942 2;
943 3;
944 4;
945 5;
946 6;
947 8;
948 9;
949 10;]
950
951 (* The minimal delay between two connections to the same client (in seconds) *)
952 min_reask_delay = 600
953
954 (* Whether to display results already downloaded *)
955 display_downloaded_results = true
956
957 (* Minimal number of results for filter form to appear *)
958 filter_table_threshold = 50
959
c7e54648
MT
960 (* Maximal size in byte of the buffers of a client, minimum 50.000 byte.
961 For high-volume links raise this value to 1.000.000 or higher. *)
02dc0a76
MT
962 client_buffer_size = 500000
963
964 (* The delay between two saves of the 'downloads.ini' file (default is 15 minutes).
c7e54648
MT
965 Changes to this option require a core restart. *)
966 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
967 save_options_delay = 900.
968
969 (* timeout when connecting to a server *)
970 server_connection_timeout = 30.
971
972 (* The delay between one glance at a file and another *)
c7e54648 973 (* changing this option requires restart of MLDonkey core *)
02dc0a76
MT
974 download_sample_rate = 1.
975
976 (* How many samples go into an estimate of transfer rates *)
c7e54648 977 download_sample_size = 100
02dc0a76
MT
978
979 (* This option defines a set of date at which some commands have to be executed.
980 For each tuple, the first argument is a list of week days (from 0 to 6),
981 the second is a list of hours (from 0 to 23) and the last one a command to
982 execute. Can be used with 'pause all' and 'resume all' for example to
983 resume and pause downloads automatically for the night. *)
984 calendar = []
985
986 (* The percentage of free memory before a compaction is triggered *)
987 compaction_overhead = 25
988
989 (* The major GC speed is computed from this parameter. This is the memory
c7e54648
MT
990 that will be "wasted" because the GC does not immediatly collect
991 unreachable blocks. It is expressed as a percentage of the memory used
992 for live data. The GC will work more (use more CPU time and collect
993 blocks more eagerly) if space_overhead is smaller. *)
02dc0a76
MT
994 space_overhead = 80
995
996 (* Maximal number of results displayed for a search *)
997 max_displayed_results = 1000
998
999 (* (internal option) *)
c7e54648
MT
1000 (* Do not change this option, internal use only! *)
1001 options_version = 18
1002
1003 (* Maximum number of comments per file *)
1004 max_comments_per_file = 100
1005
1006 (* Maximum length of file comments *)
1007 max_comment_length = 256