mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@941 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
280 lines
8.8 KiB
INI
280 lines
8.8 KiB
INI
|
|
|
|
(************************************)
|
|
(* Never edit options files when *)
|
|
(* the daemon is running *)
|
|
(************************************)
|
|
(* SECTION : Donkey *)
|
|
(* Donkey options *)
|
|
(************************************)
|
|
|
|
|
|
|
|
(* 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, 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. 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 *)
|
|
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 = false
|
|
|
|
(* 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
|
|
|
|
(* 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 = ""
|
|
|
|
(* 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
|
|
|
|
(* Interval (in seconds) before republish files *)
|
|
republish = 10800.
|
|
|
|
(* allow extended search to search on overnet *)
|
|
search_keyword = true
|
|
|
|
(* 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
|
|
}
|
|
|
|
|
|
(************************************)
|
|
(* 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
|
|
|
|
(* Interval (in seconds) before republish files *)
|
|
republish = 10800.
|
|
|
|
(* allow extended search to search on overnet *)
|
|
search_keyword = true
|
|
|
|
(* 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 *)
|
|
(************************************)
|
|
|
|
|
|
|
|
(* Max number of UDP packets per round for eXtended Search *)
|
|
max_xs_packets = 30
|
|
|
|
(* Delay used to request file sources *)
|
|
check_client_connections_delay = 180.
|
|
|
|
(* Timeout on client connections when not queued *)
|
|
client_timeout = 40.
|
|
|
|
(* 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 *)
|
|
walker_server_lifetime = 300
|
|
log_clients_on_console = false
|
|
|
|
(* 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 *)
|
|
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 = 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
|
|
|
|
(* 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) *)
|
|
(* changing this option requires restart of MLDonkey core *)
|
|
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
|
|
|
|
(* (internal option) *)
|
|
(* 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
|