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