mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 14:03:00 +02:00
* Mldonkey 2.7.7 * Ocaml - letzte Version. * Net-Config ins Webinterface. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@226 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
305 lines
9.3 KiB
INI
305 lines
9.3 KiB
INI
|
|
|
|
(************************************)
|
|
(* Never edit options files when *)
|
|
(* the daemon is running *)
|
|
(************************************)
|
|
(* SECTION : Donkey *)
|
|
(* Donkey options *)
|
|
(************************************)
|
|
|
|
|
|
|
|
(* The port used for connection by other donkey clients. *)
|
|
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 *)
|
|
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 *)
|
|
server_black_list = []
|
|
|
|
(* immediately close connection to servers that don't grant a High ID *)
|
|
force_high_id = false
|
|
|
|
(* send all clients your IP regardless of what ID was assigned by the server *)
|
|
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
|
|
|
|
(* Set this option to false if you don't want to
|
|
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 *)
|
|
update_server_list_client = false
|
|
|
|
(* Maximal number of sources for each file *)
|
|
max_sources_per_file = 5000
|
|
|
|
(* The MD4 of this client *)
|
|
client_md4 = "00E0B50D660EA80F530BC4C540506FA4"
|
|
|
|
(* The RSA private key of this client *)
|
|
client_private_key = "MIIBCAIBADANBgkqhkiG9w0BAQEFAASB8zCB8AIBAAIxAKVGA5DvO9HEl/pov8Fqc1E5mp83Uy3oRQ9Ob9ycWxpC47HyAHpaMUfr9WLj2+BrZwIBEQIwMJwfKqC3PbJK0S3eC7Xlrnpap0yB4FNfIZYVovj86sjd9su5EHoIlORptq5L7kSBAhkAu7MM9al0lYqt/3eEC5/D7Da22OKOPJFZAhkA4WnmIz3xAA1DBPkHNrUc+xMKUBcYRoq/AhkAsKiEqvnXI1VYd/gDzrR8KZzoU6gNZi5xAhhCTFK/EjfS1rlb0MXi6fl3BZmfFdn2oUcCGHfyegqjsdMDeH7mDwqIRlXG/JrilDZ8Og=="
|
|
|
|
(* Enable secure user identification support *)
|
|
enable_sui = true
|
|
|
|
(* min connected users for each server *)
|
|
min_users_on_server = 0
|
|
|
|
(* login of client on eDonkey network (nothing default to global one) *)
|
|
login = ""
|
|
|
|
(* The files that were downloaded *)
|
|
old_files = []
|
|
|
|
|
|
(************************************)
|
|
(* SECTION : Overnet *)
|
|
(* Overnet options *)
|
|
(************************************)
|
|
|
|
|
|
Overnet = {
|
|
|
|
(* The protocol version sent on Overnet connections replies *)
|
|
protocol_connectreply_version = 44
|
|
|
|
(* The protocol version sent on Overnet connections *)
|
|
protocol_connect_version = 1044
|
|
|
|
(* Set this option to false if you don't want to receive new Overnet peers *)
|
|
update_nodes = true
|
|
|
|
(* 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 *)
|
|
port = 21984
|
|
}
|
|
|
|
|
|
(************************************)
|
|
(* SECTION : Kademlia *)
|
|
(* Kademlia options *)
|
|
(************************************)
|
|
|
|
|
|
Kademlia = {
|
|
|
|
(* Set this option to false if you don't want to receive new Overnet peers *)
|
|
update_nodes = true
|
|
|
|
(* 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
|
|
|
|
(* port for Kademlia *)
|
|
port = 2096
|
|
}
|
|
|
|
|
|
|
|
(*****************************************************************)
|
|
(* *)
|
|
(* ADVANCED OPTIONS *)
|
|
(* *)
|
|
(* All the options after this line are for the expert *)
|
|
(* user. Do not modify them if you are not sure. *)
|
|
(* *)
|
|
(*****************************************************************)
|
|
|
|
|
|
|
|
|
|
|
|
(************************************)
|
|
(* SECTION : Donkey FOR EXPERTS *)
|
|
(* Donkey options *)
|
|
(************************************)
|
|
|
|
|
|
|
|
(* 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 *)
|
|
keep_best_server = true
|
|
|
|
(* only servers which are set to 'preferred' will be connected,
|
|
please note that any server must be set to preferred to use this feature *)
|
|
connect_only_preferred_server = false
|
|
|
|
(* Number of servers that can be used to walk
|
|
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) *)
|
|
walker_server_lifetime = 300
|
|
log_clients_on_console = false
|
|
|
|
(* Allow mldonkey to propagate your sources to other donkey clients *)
|
|
propagate_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 *)
|
|
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.
|
|
|
|
(* How long a downloading client can stay in my upload queue (in minutes >5) *)
|
|
upload_lifetime = 90
|
|
|
|
(* Each client upload lifetime depends on download-upload ratio *)
|
|
dynamic_upload_lifetime = false
|
|
|
|
(* Uploaded zones (1 zone = 180 kBytes) needed to enable the dynamic upload lifetime *)
|
|
dynamic_upload_threshold = 10
|
|
|
|
(* How long can a silent server stay connected *)
|
|
connected_server_timeout = 1800.
|
|
|
|
(* The weight of upload on a donkey connection compared to upload on other
|
|
peer-to-peer networks. Setting it to 5 for example means that a donkey
|
|
connection will be allowed to send 5 times more information per second than
|
|
an Open Napster connection. This is done to favorise donkey connections
|
|
over other networks, where upload is less efficient, without preventing
|
|
upload from these networks. *)
|
|
upload_power = 5
|
|
|
|
(* max number of days after which an unconnected server is removed *)
|
|
max_server_age = 2
|
|
|
|
(* How often should remove old donkey servers (see max_server_age) be called
|
|
(in seconds, 0 to disable) *)
|
|
remove_old_servers_delay = 900.
|
|
|
|
(* Minimal number of servers remaining after remove_old_servers *)
|
|
min_left_servers = 20
|
|
|
|
(* How often should we check all servers (minimum 4 hours, 0 to disable) *)
|
|
servers_walking_period = 6
|
|
|
|
(* Are the cancelled files added to the old files list to prevent re-download ? *)
|
|
keep_cancelled_in_old_files = false
|
|
|
|
(* Are the downloaded files added to the old files list to prevent re-download ? *)
|
|
keep_downloaded_in_old_files = false
|
|
|
|
(* true if you want your mldonkey to lose some
|
|
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) *)
|
|
ban_queue_jumpers = true
|
|
|
|
(* true if you want your client IP to be set from servers ID *)
|
|
use_server_ip = true
|
|
|
|
(* Set the number of hours you want client to remain banned *)
|
|
ban_period = 1
|
|
|
|
(* 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
|
|
|
|
(*
|
|
The following options are not used (errors, obsolete, ...)
|
|
*)
|