diff --git a/config/mldonkey/bittorrent.ini b/config/mldonkey/bittorrent.ini index 14faf87c5..fbb170ee4 100644 --- a/config/mldonkey/bittorrent.ini +++ b/config/mldonkey/bittorrent.ini @@ -11,10 +11,11 @@ (* The port to bind the client to *) + (* changing this option requires restart of MLDonkey core *) client_port = 6882 (* The UID of this client *) - client_uid = FVGUYMROG4XDOLN7O4WJZ2KKH7IL5CBE + client_uid = FVGUYMROHEXDALLJAB2KACHON6Y5HBUN (* Ask the tracker for new sources only if you have fewer than that number of sources *) ask_tracker_threshold = 20 @@ -34,9 +35,13 @@ (* Number of peers to request from tracker (Negative # = let tracker decide) *) numwant = -1 - (* Interval in seconds 'torrents/incoming' is scanned for new torrent files to be downloaded, 0 to deactivate, changes require restart *) + (* Interval in seconds 'torrents/incoming' is scanned for new torrent files to be downloaded, 0 to deactivate *) + (* changing this option requires restart of MLDonkey core *) import_new_torrents_interval = 60. + (* Number of retries before a tracker is disabled, use 0 to not disable trackers *) + tracker_retries = 10 + (* Minimum time in seconds to wait between asking the tracker for sources *) min_tracker_reask_interval = 300 @@ -47,10 +52,12 @@ user_agent = default (* (internal option) *) + (* Do not change this option, internal use only! *) options_version = 0 old_files = [] (* The port to bind the tracker to *) + (* changing this option requires restart of MLDonkey core *) tracker_port = 6881 (* The maximal number of tracked files (to prevend saturation attack) *) diff --git a/config/mldonkey/directconnect.ini b/config/mldonkey/directconnect.ini new file mode 100644 index 000000000..1010baed8 --- /dev/null +++ b/config/mldonkey/directconnect.ini @@ -0,0 +1,70 @@ + + + (************************************) + (* Never edit options files when *) + (* the daemon is running *) + (************************************) + (* SECTION : DirectConnect *) + (* DirectConnect options *) + (************************************) + + + + (* The port to bind the client to *) + client_port = 4444 + + (* How many slots are open to other clients *) + dc_open_slots = 2 + + (* Your login on DC (no spaces !!!) *) + login = "" + + (* The URL from which the first server list is downloaded *) + servers_list_url = "http://dchublist.com/hublist.config.bz2" + + (* Define here a list of address/passwords/nick triples for hubs in form: + [ ("hubserver.ip.com", "nick1", "pass1"); + ("somehub.somewhere.org", "nick2", "pass2"); + ("11.22.333.444", "nick3", "pass3"); + ] *) + hubs_passwords = [] + + (* The time a search is active *) + search_timeout = 60 + + (* Minimum time between automated file tth searches in minutes *) + file_search_time = 60 + + (* In initialization, the time in seconds we wait connection responses from client *) + client_timeout = 90 + + (* The maximum time in seconds we wait data from client in downloading *) + client_read_timeout = 60 + + (* The maximum time in seconds we wait to continue pushing data to client in uploading *) + client_write_timeout = 60 + + (* How many seconds we wait a client to continue slot before closing and freeing the slot *) + wait_for_next_upload = 30 + + (* Is this client firewalled (use passive searches) *) + firewalled = false + + (* Automatically find alternative sources, if file is unavailable. Also add sources + from searches automatically *) + autosearch_by_tth = true + + (* Maximal number of sources to single file *) + max_sources_file = 5 + + (* The line speed sent in the MyINFO message + eg. Modem, Cable, DSL, Satellite, LAN(T1), LAN(T3) *) + client_speed = DSL + + (* (internal option) *) + (* Do not change this option, internal use only! *) + options_version = 0 + +(* + The following options are not used (errors, obsolete, ...) +*) diff --git a/config/mldonkey/donkey.ini b/config/mldonkey/donkey.ini index d19961e1e..1a49c61a6 100644 --- a/config/mldonkey/donkey.ini +++ b/config/mldonkey/donkey.ini @@ -11,19 +11,20 @@ (* The port used for connection by other donkey clients. *) + (* changing this option requires restart of MLDonkey core *) port = 4662 (* The number of servers you want to stay connected to *) max_connected_servers = 3 - (* Should mldonkey try to detect sources responsible for corruption and ban them *) + (* Should mldonkey try to detect sources responsible for corruption and ban them, currently disabled *) reliable_sources = true (* Should mldonkey try to detect sources masquerading as others and ban them *) ban_identity_thieves = true - (* A list of server IP to remove from server list. - Servers on this list can't be added, and will eventually be removed *) + (* A list of server IP to remove from server list. Can contain single IPs, CIDR ranges, or begin-end ranges. + Servers on this list can't be added, and will eventually be removed *) server_black_list = [] (* immediately close connection to servers that don't grant a High ID *) @@ -33,15 +34,15 @@ force_client_high_id = false (* Set this option to false if you don't want to - receive new servers from servers *) - update_server_list_server = true + receive new servers from servers *) + update_server_list_server = false (* Set this option to false if you don't want to - receive new servers from server.met *) + receive new servers from server.met *) update_server_list_server_met = true (* Set this option to false if you don't want to - receive new servers from clients *) + receive new servers from clients *) update_server_list_client = false (* Maximal number of sources for each file *) @@ -56,9 +57,12 @@ (* Enable secure user identification support *) enable_sui = true - (* min connected users for each server *) + (* disconnect if server users is smaller *) min_users_on_server = 0 + (* maximum number of files published to servers per minute, eMule default 200 *) + max_published_files = 200 + (* login of client on eDonkey network (nothing default to global one) *) login = "" @@ -86,32 +90,17 @@ (* The MD4 of the Overnet client *) md4 = F168E4A3FCDADBBF8175AA5DFBAE8B89 - (* These IP addresses cannot be peers. Elements are separated by spaces, wildcard=255 ie: use 192.168.0.255 for 192.168.0.* *) - exclude_peers = [ - "1.0.0.0";] - (* Interval (in seconds) before republish files *) republish = 10800. - (* Max number of hits in a search on Overnet *) - max_search_hits = 200 - - (* Period between two queries in the overnet tree (should not be set under 5) *) - query_peer_period = 5. - - (* How long shoud a search on Overnet wait for the last answer before terminating *) - search_timeout = 140 - (* allow extended search to search on overnet *) search_keyword = true - (* maximal number of peers to keep overnet connected (should be >2048) *) - max_known_peers = 8192 - (* Size of the filename storage used to answer queries *) store_size = 2000 (* port for overnet *) + (* changing this option requires restart of MLDonkey core *) port = 21984 } @@ -130,28 +119,12 @@ (* The MD4 of the Overnet client *) md4 = C5A53009B6AC813961C80F7BD0CC99B4 - (* These IP addresses cannot be peers. Elements are separated by spaces, wildcard=255 ie: use 192.168.0.255 for 192.168.0.* *) - exclude_peers = [ - "1.0.0.0";] - (* Interval (in seconds) before republish files *) republish = 10800. - (* Max number of hits in a search on Overnet *) - max_search_hits = 200 - - (* Period between two queries in the overnet tree (should not be set under 5) *) - query_peer_period = 5. - - (* How long shoud a search on Overnet wait for the last answer before terminating *) - search_timeout = 140 - (* allow extended search to search on overnet *) search_keyword = true - (* maximal number of peers to keep overnet connected (should be >2048) *) - max_known_peers = 8192 - (* Size of the filename storage used to answer queries *) store_size = 2000 @@ -181,29 +154,17 @@ - (* Initial score for a new server *) - initial_score = 5 - (* Max number of UDP packets per round for eXtended Search *) max_xs_packets = 30 - (* Max number of messages of Chat remembered *) - max_dialog_history = 30 - (* Delay used to request file sources *) check_client_connections_delay = 180. - (* The delay between server connection rounds *) - check_connections_delay = 5. - (* Timeout on client connections when not queued *) client_timeout = 40. - (* The number of UDP packets you send every check_client_connections_delay *) - max_udp_sends = 10 - (* Set this option to false if you don't want mldonkey - to change the master servers it is connected to *) + to change the master servers it is connected to *) keep_best_server = true (* only servers which are set to 'preferred' will be connected, @@ -211,32 +172,44 @@ connect_only_preferred_server = false (* Number of servers that can be used to walk - between servers *) + between servers *) max_walker_servers = 1 - (* The maximal delay a connection with a server should last when walking - through the list (should be greater than become_master_delay) *) + (* The maximal delay a connection with a server should last when walking through the list *) walker_server_lifetime = 300 log_clients_on_console = false - (* Allow mldonkey to propagate your sources to other donkey clients *) - propagate_sources = true + (* Allow mldonkey to propagate your sources to other mldonkey clients. + This function is superseeded by eMule-style source exchange, + this option is outdated *) + propagate_sources = false + + (* Save sources to file_sources.ini and reload them on core start. *) + keep_sources = true black_list = true (* A list of ports that specify servers to remove - from server list. Servers with ports on this list can't be added, and - will eventually be removed *) + from server list. Servers with ports on this list can't be added, and + will eventually be removed *) port_black_list = [] (* How long should we wait in the queue of another client *) queued_timeout = 1800. (* How long can a silent client stay in the upload queue *) - upload_timeout = 1800. + upload_timeout = 600. (* How long a downloading client can stay in my upload queue (in minutes >5) *) upload_lifetime = 90 + (* If true, each client is allowed to receive one chunk, this setting overrides upload_lifetime *) + upload_full_chunks = true + + (* If true, each client is allowed to complete only one chunk, independent, if it is empty or + partial. this setting overrides upload_full_chunks and dynamic_upload_lifetime, + but is, as a failsafe, limited by upload_lifetime (should be set reasonable high) *) + upload_complete_chunks = false + (* Each client upload lifetime depends on download-upload ratio *) dynamic_upload_lifetime = false @@ -258,7 +231,8 @@ max_server_age = 2 (* How often should remove old donkey servers (see max_server_age) be called - (in seconds, 0 to disable) *) + (in seconds, 0 to disable) *) + (* changing this option requires restart of MLDonkey core *) remove_old_servers_delay = 900. (* Minimal number of servers remaining after remove_old_servers *) @@ -274,11 +248,11 @@ keep_downloaded_in_old_files = false (* true if you want your mldonkey to lose some - upload bandwidth sending messages to clients which are banned :) *) + upload bandwidth sending messages to clients which are banned :) *) send_warning_messages = false (* true if you want your client to ban - clients that try queue jumping (3 reconnections faster than 9 minutes) *) + clients that try queue jumping (3 reconnections faster than 9 minutes) *) ban_queue_jumpers = true (* true if you want your client IP to be set from servers ID *) @@ -290,15 +264,16 @@ (* Set the maximal rank of a client to be kept as a client *) good_client_rank = 500 - (* (only for development tests) *) - immediate_master = false - - (* (only for development tests) *) - become_master_delay = 120 - (* (internal option) *) - options_version = 1 + (* Do not change this option, internal use only! *) + options_version = 4 (* The following options are not used (errors, obsolete, ...) *) +become_master_delay = 120 +immediate_master = false +max_udp_sends = 10 +check_connections_delay = 5. +max_dialog_history = 30 +initial_score = 5 diff --git a/config/mldonkey/downloads.ini b/config/mldonkey/downloads.ini index b0aee397b..94eab8a4b 100644 --- a/config/mldonkey/downloads.ini +++ b/config/mldonkey/downloads.ini @@ -22,30 +22,35 @@ (* list of IP address allowed to connect to the core via telnet/GUI/WEB - for internal command set: list separated by spaces - example for internal command: set allowed_ips "127.0.0.1 192.168.1.2" - or for editing the ini-file: list separated by semi-colon - example for ini-file: allowed_ips = [ "127.0.0.1"; "192.168.1.2";] - wildcard=255 ie: use 192.168.0.255 for 192.168.0.* *) + for internal command set: list separated by spaces + example for internal command: set allowed_ips "127.0.0.0/8 192.168.1.2" + or for editing the ini-file: list separated by semi-colon + example for ini-file: allowed_ips = [ "127.0.0.0/8"; "192.168.1.2";] + CIDR and range notations are supported: ie use 192.168.0.0/24 + or 192.168.0.0-192.168.0.255 for 192.168.0.* *) allowed_ips = [ - "255.255.255.255";] + "0.0.0.0/0";] (* port for Graphical Interfaces *) + (* changing this option requires restart of MLDonkey core *) gui_port = 4001 (* port for GiFT Graphical Interfaces interaction. It was 1213, but the default is - now 0 for disabled, because it does not check for a password. *) + now 0 for disabled, because it does not check for a password. *) + (* changing this option requires restart of MLDonkey core *) gift_port = 0 (* The port used to connect to your client with a WEB browser *) + (* changing this option requires restart of MLDonkey core *) http_port = 4080 (* port for user interaction *) + (* changing this option requires restart of MLDonkey core *) telnet_port = 4000 (* Aliases to commands. The alias (fist string) has to be - whitespaceless, the outcome of the alias (second string) - may have spaces (put it in quotation then). *) + whitespaceless, the outcome of the alias (second string) + may have spaces (put it in quotation then). *) alias_commands = [ (quit, q); (exit, q);] @@ -53,21 +58,30 @@ (************************************) (* SECTION : Bandwidth *) - (* *) + (* Bandwidth options *) (************************************) (* The maximal upload rate you can tolerate on your link in kBytes/s (0 = no limit) The limit will apply on all your connections (clients and servers) and both - control and data messages. *) + control and data messages. *) max_hard_upload_rate = 10 (* The maximal download rate you can tolerate on your link in kBytes/s (0 = no limit) The limit will apply on all your connections (clients and servers) and both - control and data messages. *) + control and data messages. Maximum value depends on max_hard_upload_rate: + >= 10 -> unlimited download + < 10 > 3 -> download limited to upload * 4 + < 4 -> download limited to upload * 3 *) max_hard_download_rate = 50 + (* Second maximal upload rate for easy toggling (use bw_toggle) *) + max_hard_upload_rate_2 = 5 + + (* Second maximal download rate for easy toggling (use bw_toggle) *) + max_hard_download_rate_2 = 20 + (* Maximal number of opened connections *) max_opened_connections = 200 @@ -77,6 +91,9 @@ (* How many slots can be used for upload *) max_upload_slots = 5 + (* How many percent of upload slots can be used for downloading files tagged as release *) + max_release_slots = 20 + (* Set aside a single reserved slot to upload to friends *) friends_upload_slot = true @@ -90,14 +107,14 @@ max_connections_per_second = 5 (* list of IP addresses allowed to connect to the core with no limit on - upload/download and upload slots. List separated by spaces, wildcard=255 - ie: use 192.168.0.255 for 192.168.0.* *) + upload/download and upload slots. List separated by spaces, wildcard=255 + ie: use 192.168.0.255 for 192.168.0.* *) nolimit_ips = [ "127.0.0.1";] (* This option enables MLdonkey to always read as much data as possible from a channel, but use more CPU as it must then copy the data in the - channel buffer. *) + channel buffer. *) copy_read_buffer = true @@ -109,15 +126,15 @@ (* Set to true if you also want mldonkey to run as an overnet client - (enable_donkey must be true) *) + (enable_donkey must be true) *) enable_overnet = true (* Set to true if you also want mldonkey to run as an kademlia client - (enable_donkey must be true, and only experimental) *) + (enable_donkey must be true, and only experimental) *) enable_kademlia = false (* Set to true if you want mldonkey to connect to edonkey servers - (enable_donkey must be true, and only experimental) *) + (enable_donkey must be true, and only experimental) *) enable_servers = true (* Set to true if you also want mldonkey to run as an Bittorrent client *) @@ -156,41 +173,47 @@ (* The last IP address used for this client *) - client_ip = "127.0.0.1" + client_ip = "192.168.181.70" (* Use the IP specified by 'client_ip' instead of trying to determine it - ourself. Don't set this option to true if you have dynamic IP. *) + ourself. Don't set this option to true if you have dynamic IP. *) force_client_ip = false + (* Use http://ip.discoveryvip.com/ip.asp to obtain WAN IP *) + discover_ip = true + (* User agent string (default = "default") *) user_agent = default (* A list of lines to download on the WEB: each line has - the format: (kind, period, url), where kind is either - 'server.met' for a server.met file (also in gz/bz2/zip format) - containing ed2k server, or - 'comments.met' for a file of comments, or - 'guarding.p2p' for a blocklist file (also in gz/bz2/zip format), or - 'ocl' for file in the ocl format containing overnet peers, or - 'contact.dat' for an contact.dat file containing overnet peers, - 'nodes.gzip' for a fasttrack nodes.gzip, - and period is the period between updates (in hours), - a period of zero means the file is only loaded once on startup, - and url is the url of the file to download. - IMPORTANT: Put the URL and the kind between quotes. - EXAMPLE: - web_infos = [ - ("server.met", 0, "http://www.jd2k.com/server.met"); - ("guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz"); - ("ocl", 24, "http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl"); - ("contact.dat", 168, "http://download.overnet.org/contact.dat"); - ] + the format: (kind, period, url), where kind is either + 'server.met' for a server.met file (also in gz/bz2/zip format) + containing ed2k server, or + 'comments.met' for a file of comments, or + 'guarding.p2p' for a blocklist file (also in gz/bz2/zip format), or + 'ocl' for file in the ocl format containing overnet peers, or + 'contact.dat' for an contact.dat file containing overnet peers, + 'nodes.gzip' for a fasttrack nodes.gzip, + and period is the period between updates (in hours), + a period of zero means the file is only loaded once on startup, + and url is the url of the file to download. + IMPORTANT: Put the URL and the kind between quotes. + EXAMPLE: + web_infos = [ + ("server.met", 0, "http://www.gruk.org/server.met.gz"); + ("hublist", 0, "http://dchublist.com/hublist.config.bz2"); + ("guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz"); + ("ocl", 24, "http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl"); + ("contact.dat", 168, "http://download.overnet.org/contact.dat"); + ("geoip.dat", 168, "http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz"); + ] *) web_infos = [ - ("guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz"); - ("server.met", 0, "http://www.jd2k.com/server.met"); ("contact.dat", 168, "http://download.overnet.org/contact.dat"); ("geoip.dat", 0, "http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz"); + ("server.met", 0, "http://www.gruk.org/server.met.gz"); + ("guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz"); + (hublist, 0, "http://dchublist.com/hublist.config.bz2"); ("nodes.gzip", 0, "http://update.kceasy.com/update/fasttrack/nodes.gzip");] (* Cookies send with a http request (used for .torrent files and web_infos) *) @@ -221,7 +244,7 @@ html_mods_bw_refresh_delay = 11 (* html_mods_theme to use (located in relative html_themes/ directory - leave blank to use internal theme *) + leave blank to use internal theme *) html_mods_theme = "" @@ -233,39 +256,40 @@ (* Set to false if you don't want mldonkey to automatically put completed files - in incoming directory *) + in incoming directory *) auto_commit = true (* Set to true if you want all new downloads be paused immediatly - will be set to false on core start. *) + will be set to false on core start. *) pause_new_downloads = false (* The maximal number of files in Downloading state (other ones are Queued) *) max_concurrent_downloads = 50 (* The maximal length of zero bytes between non-zero bytes in a file that - should be interpreted as downloaded during a recovery *) + should be interpreted as downloaded during a recovery *) max_recover_zeroes_gap = 16 (* A command that is called when a file is committed, does not work on MinGW. - Arguments are (kept for compatability): - $1 - temp file name, without path - $2 - file size - $3 - filename of the committed file - Also these environment variables can be used (prefered way): - $TEMPNAME - temp file name, including path - $FILEID - same as $1 - $FILESIZE - same as $2 - $FILENAME - same as $3 - $FILEHASH - internal hash - $DURATION - download duration - $INCOMING - directory used for commit - $NETWORK - network used for downloading - $ED2K_HASH - ed2k hash if MD4 is known *) + Arguments are (kept for compatability): + $1 - temp file name, without path + $2 - file size + $3 - filename of the committed file + Also these environment variables can be used (prefered way): + $TEMPNAME - temp file name, including path + $FILEID - same as $1 + $FILESIZE - same as $2 + $FILENAME - same as $3 + $FILEHASH - internal hash + $DURATION - download duration + $INCOMING - directory used for commit + $NETWORK - network used for downloading + $ED2K_HASH - ed2k hash if MD4 is known + *) file_completed_cmd = "" (* The command which is called when a download is started. Arguments - are '-file ' *) + are '-file ' *) file_started_cmd = "" @@ -278,13 +302,15 @@ (* The login of the user you want mldonkey to run as, after the ports have been bound (can be use not to run with root priviledges when - a port < 1024 is needed) *) - run_as_user = "" + a port < 1024 is needed) *) + (* changing this option requires restart of MLDonkey core *) + run_as_user = mldonkey (* The UID of the user (0=disabled) you want mldonkey to run as, after the ports have been bound (can be use not to run with root priviledges when - a port < 1024 is needed) *) - run_as_useruid = 0 + a port < 1024 is needed) *) + (* changing this option requires restart of MLDonkey core *) + run_as_useruid = 113 (* Ask for GUI start *) ask_for_gui = false @@ -332,8 +358,17 @@ (* The directory where temporary files should be put *) temp_directory = "/var/log/mldonkey/temp" - (* New directories in incoming_directories are created with these rights *) - create_dir_mask = 755 + (* How often (in minutes) should MLDonkey scan all shared directories for new/removed files. + 0 to disable scanning of shared directories. Use command reshare to manually scan shares. + When core starts all shared directories are scanned once, independent of this option. *) + (* changing this option requires restart of MLDonkey core *) + share_scan_interval = 1 + + (* New download files are created with these rights (in octal) *) + create_file_mode = 664 + + (* New directories in incoming_directories are created with these rights (in octal) *) + create_dir_mode = 755 (* Create new files as sparse, only valid on MinGW for files on NTFS drives *) create_file_sparse = true @@ -342,14 +377,14 @@ hdd_temp_minfree = 50 (* If true core shuts down when free space on temp dir is below hdd_temp_minfree, - otherwise all downloads are paused and a warning email is sent. *) + otherwise all downloads are paused and a warning email is sent. *) hdd_temp_stop_core = false (* Mininum free space in MB on core directory, minimum 20 *) hdd_coredir_minfree = 50 (* If true core shuts down when free space on core dir is below hdd_coredir_minfree, - otherwise all downloads are paused and a warning email is sent. *) + otherwise all downloads are paused and a warning email is sent. *) hdd_coredir_stop_core = true (* Send a warning mail each hours for each directory, 0 to deactivate mail warnings. *) @@ -364,17 +399,15 @@ Finished BT multifile downloads are committed to the first directory with strategy incoming_directories. Other downloads are committed to the first directory with the strategy incoming_files. - If more than one directory has one of the incoming_* strategies - it will be ignored on commit, but they are shared nonetheless. + MLdonkey searches all shared_directories with incoming_* strategies + on commit and uses the first one with enough free diskspace. Other strategies can be found in searches.ini, section customized_sharing. *) shared_directories = [ { dirname = "/var/log/mldonkey/incoming/files" - networks = [] strategy = incoming_files priority = 0 }; { dirname = "/var/log/mldonkey/incoming/directories" - networks = [] strategy = incoming_directories priority = 0 };] @@ -388,23 +421,23 @@ (* Commands that you are allowed to be call from the interface. These - commands should short, so that the core is not blocked more than necessary. *) + commands should short, so that the core is not blocked more than necessary. *) allowed_commands = [ (df, df); (ls, "ls incoming");] (* Allow you to use any command with ! in the interface instead of only the - ones in allowed_commands *) + ones in allowed_commands *) allow_any_command = false - (* Are all users allowed to change MLDonkey options? *) - enable_user_config = true - (* Allow others to browse our share list (0: none, 1: friends only, 2: everyone *) allow_browse_share = 1 (* Regexp of messages to filter out, example: string1|string2|string3 *) - messages_filter = "Your client is connecting too fast" + messages_filter = "DI-Emule|ZamBoR|Ketamine|eMule FX|AUTOMATED MESSAGE" + + (* Regexp of comments to filter out, example: string1|string2|string3 *) + comments_filter = "http://|https://|www\\." (************************************) @@ -417,9 +450,6 @@ (* (experimental) *) save_results = 0 - (* filters on replies (replies will be kept). *) - filters = "" - (* Buffer writes and flush after buffer_writes_delay seconds (experimental) *) buffer_writes = false @@ -443,6 +473,7 @@ shutdown_timeout = 3 (* The IP address used to bind the p2p clients *) + (* changing this option requires restart of MLDonkey core *) client_bind_addr = "0.0.0.0" @@ -468,12 +499,15 @@ (* The IP address used to bind the http server *) + (* changing this option requires restart of MLDonkey core *) http_bind_addr = "0.0.0.0" (* The IP address used to bind the gui server *) + (* changing this option requires restart of MLDonkey core *) gui_bind_addr = "0.0.0.0" (* The IP address used to bind the telnet server *) + (* changing this option requires restart of MLDonkey core *) telnet_bind_addr = "0.0.0.0" (* Should *all* sources for a file be shown on HTML/telnet vd *) @@ -507,23 +541,24 @@ swarming : debug swarming hc : http_client messages hs : http_server messages + com : commands by non-admin users act : debug activity bw : debug bandwidth - unexp : debug unexpected messages - *) + geo : debug GeoIP + unexp : debug unexpected messages *) verbosity = "" (************************************) (* SECTION : Bandwidth FOR EXPERTS *) - (* *) + (* Bandwidth options *) (************************************) (* The delay in milliseconds to wait in the event loop. Can be decreased to - increase the bandwidth usage, or increased to lower the CPU usage. *) - loop_delay = 20 + increase the bandwidth usage, or increased to lower the CPU usage. *) + loop_delay = 5 (************************************) @@ -547,6 +582,9 @@ (* URLs of RSS feeds *) rss_feeds = [] + (* If MLDonkey can not read broken RSS feeds, use this program to preprocess them *) + rss_preprocessor = xmllint + (* Keep IP blocking ranges descriptions in memory *) ip_blocking_descriptions = false @@ -567,17 +605,14 @@ geoip_dat = "" (* The size of the header of a TCP/IP packet on your connection (ppp adds - 14 bytes sometimes, so modify to take that into account) *) + 14 bytes sometimes, so modify to take that into account) *) tcpip_packet_size = 40 (* The size of the MTU of a TCP/IP packet on your connection *) mtu_packet_size = 1500 - (* The size of the frame packet on your network (on my cable link, it is 250) *) - packet_frame_size = 250 - (* The size of the minimal packet you want mldonkey to send when data is - available on the connection *) + available on the connection *) minimal_packet_size = 600 (* Should a connection check if the peer we are connected to is still alive? @@ -607,12 +642,24 @@ (* Whether to display the Net column in vd output *) html_mods_vd_network = true + (* Whether to display the Comments column in vd output *) + html_mods_vd_comments = true + + (* Whether to display the User column in vd output *) + html_mods_vd_user = false + + (* Whether to display the Group column in vd output *) + html_mods_vd_group = false + (* Whether to display the Active Sources column in vd output *) html_mods_vd_active_sources = true (* Whether to display the Age column in vd output *) html_mods_vd_age = true + (* Whether to display flags instead of country codes *) + html_flags = true + (* Show graph in vd output *) html_mods_vd_gfx = true @@ -643,12 +690,26 @@ (* Show hourly graph in vd output *) html_mods_vd_gfx_h = true - (* Graph x size in vd output ( 320 < x < 3600 ) *) + (* Graph x size in vd output ( 365 < x < 3665 ) *) html_mods_vd_gfx_x_size = 630 (* Graph y size in vd output ( 200 < y < 1200 ) *) html_mods_vd_gfx_y_size = 200 + (* compute values for hourly graph every 1,2,3,4,5,10,15,20,30,60 min + Changes to this option require a core restart. *) + (* changing this option requires restart of MLDonkey core *) + html_mods_vd_gfx_h_intervall = 60 + + (* Dynamic grid width, start with 1 h/grid, maximum html_mods_vd_gfx_h_grid_time h/grid *) + html_mods_vd_gfx_h_dymamic = true + + (* Max hours on time scale per grid (0 = no limit) *) + html_mods_vd_gfx_h_grid_time = 0 + + (* Number of shown subgrids on graph (0 = no subgrids) *) + html_mods_vd_gfx_subgrid = 0 + (* Draw tag graph *) html_mods_vd_gfx_tag = false @@ -667,23 +728,22 @@ (* Tag graph title *) html_mods_vd_gfx_tag_title = "MLNet traffic" - (* Tag graph title x pos in vd output - *) + (* Tag graph title x pos in vd output *) html_mods_vd_gfx_tag_title_x_pos = 4 - (* Tag graph title y pos in vd output *) + (* Tag graph title y pos in vd output *) html_mods_vd_gfx_tag_title_y_pos = 1 - (* Tag graph download x pos in vd output *) + (* Tag graph download x pos in vd output *) html_mods_vd_gfx_tag_dl_x_pos = 4 - (* Tag graph download y pos in vd output *) + (* Tag graph download y pos in vd output *) html_mods_vd_gfx_tag_dl_y_pos = 17 - (* Tag graph upload x pos in vd output *) + (* Tag graph upload x pos in vd output *) html_mods_vd_gfx_tag_ul_x_pos = 4 - (* Tag graph upload y pos in vd output *) + (* Tag graph upload y pos in vd output *) html_mods_vd_gfx_tag_ul_y_pos = 33 (* Tag graph x size in vd output ( 130 < x < 3600 ) *) @@ -698,9 +758,6 @@ (* Whether to display the Priority column in vd output *) html_mods_vd_prio = true - (* Whether to display the Queues in vd # output *) - html_mods_vd_queues = true - (* Change height of download indicator bar in vd output *) html_vd_barheight = 2 @@ -752,21 +809,27 @@ (* If this option is set, IP addresses on the local network are allowed - (only for debugging) *) + (only for debugging) *) allow_local_network = false (* size of log in number of records *) log_size = 300 - (* Maximum size of log_file in MB *) + (* Maximum size of log_file in MB, this value is only checked on startup, + log_file will be deleted if its bigger than log_file_size. *) log_file_size = 2 (* The file in which you want mldonkey to log its debug messages. If you set this option, mldonkey will log this info in the file until you use the - 'close_log' command. The log file may become very large. You can - also enable logging in a file after startup using the 'log_file' command. *) + 'close_log' command. The log file may become very large. You can + also enable logging in a file after startup using the 'log_file' command. *) log_file = "mlnet.log" + (* Post log messages to syslog. This setting is independent of log_file + and its associated commands, therefore close_log does not stop log to syslog. + Its therefore possible to log to syslog and log_file at the same time. *) + log_to_syslog = false + (* number of lines for GUI console messages *) gui_log_size = 30 @@ -778,17 +841,9 @@ - (* Set to true if you want MLdonkey to emulate sparse files on your disk. - Files will use less space, but and won't work anymore. - Works only on Edonkey plugin. EXPERIMENTAL. *) - emulate_sparsefiles = false - (* How many sources to use to download each chunk *) sources_per_chunk = 3 - (* What algorithm to use to select blocks (currently 1 or 2) *) - swarming_block_selection_algorithm = 1 - (************************************) (* SECTION : Startup FOR EXPERTS *) @@ -798,6 +853,7 @@ (* How many megabytes should MLdonkey keep for saving configuration files. *) + (* changing this option requires restart of MLDonkey core *) config_files_security_space = 10 @@ -809,7 +865,7 @@ (* Name of program used for preview (first arg is local filename, second arg - is name of file as searched on eDonkey *) + is name of file as searched on eDonkey *) previewer = mldonkey_previewer (* Directory where mldonkey binaries are installed *) @@ -819,32 +875,6 @@ mldonkey_gui = "./mlgui" - (************************************) - (* SECTION : MLChat FOR EXPERTS *) - (* MLChat options *) - (************************************) - - - - (* port of the external chat application *) - chat_app_port = 5036 - - (* hostname of the external chat application *) - chat_app_host = localhost - - (* port used by the external chat application to use the core as a proxy *) - chat_port = 4002 - - (* The IP address used to bind the chat server *) - chat_bind_addr = "0.0.0.0" - - (* the id to use for communicating with the core console through chat interface *) - chat_console_id = "donkey console" - - (* use the chat to indicate when a file has been downloaded *) - chat_warning_for_downloaded = true - - (************************************) (* SECTION : Other FOR EXPERTS *) (* Other options *) @@ -852,10 +882,8 @@ - (* keep seen files in history to allow local search (can be expensive in memory) *) - use_file_history = false - (* Buffer writes and flush after buffer_writes_delay seconds (experimental) *) + (* changing this option requires restart of MLDonkey core *) buffer_writes_delay = 30. (* Flush buffers if buffers exceed buffer_writes_threshold kB (experimental) *) @@ -865,12 +893,15 @@ utf8_filename_conversions = [] (* The size of the buffer between the client and its GUI. Can be useful - to increase when the connection between them has a small bandwith *) + to increase when the connection between them has a small bandwith *) interface_buffer = 1000000 (* The size long names will be shortened to in the interface *) max_name_len = 50 + (* The maximum number of different filenames used by MLDonkey *) + max_filenames = 50 + (* The size long client names will be shortened to in the interface *) max_client_name_len = 25 @@ -883,33 +914,21 @@ (* The realm shown when connecting with a WEB browser *) http_realm = MLdonkey - (* This option controls whether the WEB interface should use frames or not *) - use_html_frames = true - (* This option controls whether the WEB interface should show frame borders or not *) html_frame_border = true (* The height of the command frame in pixel (depends on your screen and browser sizes) *) commands_frame_height = 46 + (* Message printed at startup additional to welcome text *) + motd_html = "" + (* Force compaction every hours (in [1..24]) *) compaction_delay = 2 (* The delay between reloads of the vd output in the WEB interface *) vd_reload_delay = 120 - (* (experimental) *) - dp500_pclink = false - - (* (experimental) *) - dp500_port = 8000 - - (* (experimental) *) - dp500_buffer = 2000000 - - (* (experimental) *) - dp500_directory = dp500 - (* Should the MLSUBMIT.REG file be created *) create_mlsubmit = true @@ -938,21 +957,24 @@ (* Minimal number of results for filter form to appear *) filter_table_threshold = 50 - (* Maximal size of the buffers of a client *) + (* Maximal size in byte of the buffers of a client, minimum 50.000 byte. + For high-volume links raise this value to 1.000.000 or higher. *) client_buffer_size = 500000 (* The delay between two saves of the 'downloads.ini' file (default is 15 minutes). - Changes to this option require a core restart. *) + Changes to this option require a core restart. *) + (* changing this option requires restart of MLDonkey core *) save_options_delay = 900. (* timeout when connecting to a server *) server_connection_timeout = 30. (* The delay between one glance at a file and another *) + (* changing this option requires restart of MLDonkey core *) download_sample_rate = 1. (* How many samples go into an estimate of transfer rates *) - download_sample_size = 10 + download_sample_size = 100 (* This option defines a set of date at which some commands have to be executed. For each tuple, the first argument is a list of week days (from 0 to 6), @@ -965,14 +987,21 @@ compaction_overhead = 25 (* The major GC speed is computed from this parameter. This is the memory - that will be "wasted" because the GC does not immediatly collect - unreachable blocks. It is expressed as a percentage of the memory used - for live data. The GC will work more (use more CPU time and collect - blocks more eagerly) if space_overhead is smaller. *) + that will be "wasted" because the GC does not immediatly collect + unreachable blocks. It is expressed as a percentage of the memory used + for live data. The GC will work more (use more CPU time and collect + blocks more eagerly) if space_overhead is smaller. *) space_overhead = 80 (* Maximal number of results displayed for a search *) max_displayed_results = 1000 (* (internal option) *) - options_version = 13 + (* Do not change this option, internal use only! *) + options_version = 18 + + (* Maximum number of comments per file *) + max_comments_per_file = 100 + + (* Maximum length of file comments *) + max_comment_length = 256 diff --git a/config/mldonkey/fileTP.ini b/config/mldonkey/fileTP.ini index 3618b8ba1..9e4b3e0d4 100644 --- a/config/mldonkey/fileTP.ini +++ b/config/mldonkey/fileTP.ini @@ -23,6 +23,7 @@ range_arg = range (* (internal option) *) + (* Do not change this option, internal use only! *) options_version = 0 (* Chunk size (in bytes) (0 = No chunks) *) diff --git a/config/mldonkey/file_sources.ini b/config/mldonkey/file_sources.ini index c6cadc246..3f3e108fe 100644 --- a/config/mldonkey/file_sources.ini +++ b/config/mldonkey/file_sources.ini @@ -9,7 +9,7 @@ (************************************) - save_time = 153199884 + save_time = 191427490 sources = [] (* diff --git a/config/mldonkey/mldonkey_submit b/config/mldonkey/mldonkey_submit index 72aba860c..275a5be56 100755 --- a/config/mldonkey/mldonkey_submit +++ b/config/mldonkey/mldonkey_submit @@ -10,7 +10,7 @@ use LWP::UserAgent; ($#ARGV >= 0) || die "Usage: mldonkey_submit ... "; -$vars{'HTTPURL'} = "http://127.0.0.1:4080"; +$vars{'HTTPURL'} = "http://192.168.181.70:4080"; $vars{'HTTPUSER'} = "admin"; $vars{'HTTPPASS'} = ""; diff --git a/config/mldonkey/mlnet.log b/config/mldonkey/mlnet.log deleted file mode 100644 index 93ec0dd33..000000000 --- a/config/mldonkey/mlnet.log +++ /dev/null @@ -1,18 +0,0 @@ -2006/07/18 05:18:03 Started logging... -2006/07/18 05:18:03 [cCO] Options correctly saved -2006/07/18 05:18:03 [dMain] Check http://www.mldonkey.net/ for updates -2006/07/18 05:18:03 enabling networks: Donkey (loading sources ... completed) BitTorrent FileTP -2006/07/18 05:18:03 disabled networks: none -2006/07/18 05:18:03 [eDThieves] Updating options to version 1 -2006/07/18 05:18:03 [dMain] To command: telnet 127.0.0.1 4000 -2006/07/18 05:18:03 [dMain] Or with browser: http://127.0.0.1:4080 -2006/07/18 05:18:03 [dMain] For a GUI check out http://sancho-gui.sourceforge.net -2006/07/18 05:18:03 [dMain] Connect to IP 127.0.0.1, port 4001 -2006/07/18 05:18:03 [dMain] If you connect from a remote machine adjust allowed_ips -2006/07/18 05:18:03 [cCO] Options correctly saved -2006/07/18 05:18:03 [dMain] Core started -2006/07/18 05:18:04 [dMain] Received SIGINT, stopping MLDonkey... -2006/07/18 05:18:04 [cCO] Options correctly saved -2006/07/18 05:18:04 [cCO] Sources correctly saved -2006/07/18 05:18:04 [cCO] Options backup as .tar.gz correctly saved -2006/07/18 05:18:04 [dMain] Core stopped diff --git a/config/mldonkey/mlnet_strings.en_US.utf8 b/config/mldonkey/mlnet_strings.en_US.utf8 new file mode 100644 index 000000000..0a9e2e804 --- /dev/null +++ b/config/mldonkey/mlnet_strings.en_US.utf8 @@ -0,0 +1,1012 @@ +(************************************) + module "GeoIp" +(************************************) + +"%s database loaded" = "%s database loaded" + +(************************************) + module "CommonWeb" +(************************************) + +"%s while loading %s" = "%s while loading %s" + +"request %s (%s)" = "request %s (%s)" + +(************************************) + module "DriverMain" +(************************************) + +"Core stopped" = "Core stopped" + +"Received SIGTERM, stopping MLDonkey..." = "Received SIGTERM, stopping MLDonkey..." + +"Core started" = "Core started" + +"If you connect from a remote machine adjust allowed_ips" = "If you connect from a remote machine adjust allowed_ips" + +"Connect to IP %s, port %d" = "Connect to IP %s, port %d" + +"For a GUI check out http://sancho-gui.sourceforge.net" = "For a GUI check out http://sancho-gui.sourceforge.net" + +"Or with browser: http://%s:%d" = "Or with browser: http://%s:%d" + +"To command: telnet %s %d" = "To command: telnet %s %d" + +"%s " = "%s " + +"%s[dMain] disabled networks: " = "%s[dMain] disabled networks: " + +"---- enabling interfaces ----" = "---- enabling interfaces ----" + +"---- enabling %s ----" = "---- enabling %s ----" + +"enabling networks: " = "enabling networks: " + +"Check http://www.mldonkey.org for updates" = "Check http://www.mldonkey.org for updates" + +" : print version number and exit" = " : print version number and exit" + +" : check file format" = " : check file format" + +" : undocumented" = " : undocumented" + +" : display information on the implementations" = " : display information on the implementations" + +": keep output to stdout after startup" = ": keep output to stdout after startup" + +": keep output to stderr after startup" = ": keep output to stderr after startup" + +" : this argument was removed, core will exit" = " : this argument was removed, core will exit" + +" : find another port when one is already used" = " : find another port when one is already used" + +": directory for pid file" = ": directory for pid file" + +"\" \" : create user/change password" = "\" \" : create user/change password" + +"Libmagic file-type recognition database present" = "Libmagic file-type recognition database present" + +(************************************) + module "Ip" +(************************************) + +"[DNS] Resolving [%s] ..." = "[DNS] Resolving [%s] ..." + +(************************************) + module "DriverCommands" +(************************************) + +":\t\t\tfor debugging only" = ":\t\t\tfor debugging only" + +" :\t\t\tcheck whether an IP is blocked" = " :\t\t\tcheck whether an IP is blocked" + +":\t\t\t\tdisplay the list of blocked IP ranges that were hit" = ":\t\t\t\tdisplay the list of blocked IP ranges that were hit" + +":\t\t\t\tfor debugging only" = ":\t\t\t\tfor debugging only" + +":\t\t\t\tclose all files (use to free space on disk after remove)" = ":\t\t\t\tclose all files (use to free space on disk after remove)" + +" :\t\t\tuse poll instead of select" = " :\t\t\tuse poll instead of select" + +":\t\t\tclose all opened sockets" = ":\t\t\tclose all opened sockets" + +":\t\t\t\tprint memory stats []" = ":\t\t\t\tprint memory stats []" + +" :\t\t\tselect html_theme" = " :\t\t\tselect html_theme" + +":\t\t\t\t\tprint RSS feeds" = ":\t\t\t\t\tprint RSS feeds" + +":\t\t\tselect html_mods_style <#>" = ":\t\t\tselect html_mods_style <#>" + +":\t\t\t\ttoggle html_mods" = ":\t\t\t\ttoggle html_mods" + +":\t\t\t\tclear log_file" = ":\t\t\t\tclear log_file" + +":\t\t\t\tclose logging to file" = ":\t\t\t\tclose logging to file" + +":\t\t\t\tenable logging to file" = ":\t\t\t\tenable logging to file" + +" :\t\t\ttry to swarm downloads from file (secondary) to file (primary)" = " :\t\t\ttry to swarm downloads from file (secondary) to file (primary)" + +":\t\t\t\tclear the table of clients being debugged" = ":\t\t\t\tclear the table of clients being debugged" + +" :\t\tdebug file state" = " :\t\tdebug file state" + +" :\t\tdebug message in communications with these clients" = " :\t\tdebug message in communications with these clients" + +" :\t\t\treactivate log to stdout" = " :\t\t\treactivate log to stdout" + +" :\t\t\tset terminal width and height (devel)" = " :\t\t\tset terminal width and height (devel)" + +":\t\t\t\t\ttoggle ansi terminal (devel)" = ":\t\t\t\t\ttoggle ansi terminal (devel)" + +":\t\t\t\t\tdump current log state to console" = ":\t\t\t\t\tdump current log state to console" + +":\t\t\treload messages file" = ":\t\t\treload messages file" + +" :\t\t\tchange owner of download to " = " :\t\t\tchange owner of download to " + +" :\t\t\tchange group of download to , use group = none for private file" = " :\t\t\tchange group of download to , use group = none for private file" + +":\t\t\t\tprint default group of logged-in user" = ":\t\t\t\tprint default group of logged-in user" + +":\t\t\t\tprint groups of logged-in user" = ":\t\t\t\tprint groups of logged-in user" + +":\t\t\t\tprint logged-in user name" = ":\t\t\t\tprint logged-in user name" + +":\t\t\t\t\tprint users" = ":\t\t\t\t\tprint users" + +" :\tchange group admin status" = " :\tchange group admin status" + +" :\t\t\tremove an unused mldonkey group" = " :\t\t\tremove an unused mldonkey group" + +" :\tadd new mldonkey group" = " :\tadd new mldonkey group" + +" :\t\tchange user specific commit directory" = " :\t\tchange user specific commit directory" + +" :\t\t\tchange number of allowed concurrent downloads" = " :\t\t\tchange number of allowed concurrent downloads" + +" :\t\tchange user mail address" = " :\t\tchange user mail address" + +" :\t\t\tchange own password" = " :\t\t\tchange own password" + +" :\tchange user default group" = " :\tchange user default group" + +" :\t\tremove a group from a mldonkey user" = " :\t\tremove a group from a mldonkey user" + +" :\t\tadd a group to a mldonkey user" = " :\t\tadd a group to a mldonkey user" + +" :\t\t\tremove a mldonkey user" = " :\t\t\tremove a mldonkey user" + +" [] [] [] []: add new mldonkey user/change user password" = " [] [] [] []: add new mldonkey user/change user password" + +" :\t\t\tdownload all the links contained in the file" = " :\t\t\tdownload all the links contained in the file" + +" :\t\t\t\tdownload ed2k, sig2dat, torrent or other link" = " :\t\t\t\tdownload ed2k, sig2dat, torrent or other link" + +":\t\t\ttell which files have several very different names" = ":\t\t\ttell which files have several very different names" + +" \"\" :\t\tchange name of download to " = " \"\" :\t\tchange name of download to " + +" :\t\t\tstart previewer for file " = " :\t\t\tstart previewer for file " + +"[|queued|paused|downloading] :\t$bview file info for download , or lists of queued, paused or downloading files, or all downloads if no argument given$n" = "[|queued|paused|downloading] :\t$bview file info for download , or lists of queued, paused or downloading files, or all downloads if no argument given$n" + +":\t\t\t\t$bmove downloaded files to incoming directory$n" = ":\t\t\t\t$bmove downloaded files to incoming directory$n" + +" :\t\t\t\tchange release state of a download" = " :\t\t\t\tchange release state of a download" + +" :\t\t\tresume a paused download (use arg 'all' for all files)" = " :\t\t\tresume a paused download (use arg 'all' for all files)" + +" :\t\t\tpause a download (use arg 'all' for all files)" = " :\t\t\tpause a download (use arg 'all' for all files)" + +" :\t\t\tverify chunks of file " = " :\t\t\tverify chunks of file " + +":\t\t\t\tdisplay downloaders list" = ":\t\t\t\tdisplay downloaders list" + +" :\t\t\tcancel download (use arg 'all' for all files)" = " :\t\t\tcancel download (use arg 'all' for all files)" + +" :\t\t\tprint the segments downloaded in file" = " :\t\t\tprint the segments downloaded in file" + +" :\t\t\tconfirm cancellation" = " :\t\t\tconfirm cancellation" + +" :\tchange download order of file blocks (default random, with first and last block first)" = " :\tchange download order of file blocks (default random, with first and last block first)" + +" :\tchange file priorities" = " :\tchange file priorities" + +":\t\t\t\tshow users currently uploading" = ":\t\t\t\tshow users currently uploading" + +"[downloading|shared|empty for all]: list links of shared files" = "[downloading|shared|empty for all]: list links of shared files" + +":\t\t\t\tstatistics on upload" = ":\t\t\t\tstatistics on upload" + +" :\t\t\t\tunshare directory " = " :\t\t\t\tunshare directory " + +" [] :\tshare directory with [and sharing strategy ]" = " [] :\tshare directory with [and sharing strategy ]" + +":\t\t\t\tprint shared directories" = ":\t\t\t\tprint shared directories" + +"debug command" = "debug command" + +"debug command (example: file .)" = "debug command (example: file .)" + +"debug command (example: disk .)" = "debug command (example: disk .)" + +":\t\t\t\tcheck shared files for removal" = ":\t\t\t\tcheck shared files for removal" + +":\t\t\t\t$bprint options values by section$n" = ":\t\t\t\t$bprint options values by section$n" + +":\t\t\t\t\tprint web_infos options" = ":\t\t\t\t\tprint web_infos options" + +"[