";
- print "";
+ print "";
}
# Generate the CPU Graph for the current period of time for values given by
@@ -103,16 +122,10 @@ sub updatecpugraph {
my $cpucount = `ls -dA $mainsettings{'RRDLOG'}/collectd/localhost/cpu-*/ 2>/dev/null | wc -l`;
my $period = $_[0];
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-l 0",
"-u 100",
"-r",
@@ -237,16 +250,10 @@ sub updatecpugraph {
sub updateloadgraph {
my $period = $_[0];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-l 0",
"-r",
"-t Load Average ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
@@ -275,16 +282,10 @@ sub updateloadgraph {
sub updatememorygraph {
my $period = $_[0];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-l 0",
"-u 100",
"-r",
@@ -337,16 +338,10 @@ sub updatememorygraph {
sub updateswapgraph {
my $period = $_[0];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-l 0",
"-u 100",
"-r",
@@ -395,16 +390,10 @@ sub updateprocessescpugraph {
my $count="0";
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-l 0",
"-r",
"-t ".$Lang::tr{'processes'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
@@ -448,16 +437,10 @@ sub updateprocessesmemorygraph {
my $count="0";
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-l 0",
"-r",
"-t ".$Lang::tr{'processes'}." ".$Lang::tr{'memory'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
@@ -498,16 +481,10 @@ sub updatediskgraph {
my $disk = $_[0];
my $period = $_[1];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$disk." ".$Lang::tr{'disk access per'}." ".$Lang::tr{$period."-graph"},
"-v ".$Lang::tr{'bytes per second'},
@@ -548,16 +525,10 @@ sub updateifgraph {
my $interface = $_[0];
my $period = $_[1];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$Lang::tr{'traffic on'}." ".$interface." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"-v ".$Lang::tr{'bytes per second'},
@@ -591,16 +562,10 @@ sub updatevpngraph {
my $interface = $_[0];
my $period = $_[1];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$Lang::tr{'traffic on'}." ".$interface." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"-v ".$Lang::tr{'bytes per second'},
@@ -634,16 +599,10 @@ sub updatevpnn2ngraph {
my $interface = $_[0];
my $period = $_[1];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$Lang::tr{'traffic on'}." ".$interface." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"-v ".$Lang::tr{'bytes per second'},
@@ -704,16 +663,10 @@ sub updatevpnn2ngraph {
sub updatefwhitsgraph {
my $period = $_[0];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$Lang::tr{'firewall hits per'}." ".$Lang::tr{$period."-graph"},
"-v ".$Lang::tr{'bytes per second'},
@@ -766,16 +719,10 @@ sub updatepinggraph {
my $period = $_[1];
my $host = $_[0];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-l 0",
"-r",
"-t ".$Lang::tr{'linkq'}." ".$host." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
@@ -812,16 +759,10 @@ sub updatewirelessgraph {
my $period = $_[1];
my $interface = $_[0];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-t Wireless ".$interface." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"-v dBm",
"--color=SHADEA".$color{"color19"},
@@ -855,16 +796,10 @@ sub updatehddgraph {
my $disk = $_[0];
my $period = $_[1];
RRDs::graph(
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$disk." ".$Lang::tr{'harddisk temperature'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"-v Celsius",
@@ -895,16 +830,10 @@ sub updatehwtempgraph {
my $period = $_[0];
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$Lang::tr{'mbmon temp'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"--color=SHADEA".$color{"color19"},
@@ -948,16 +877,10 @@ sub updatehwfangraph {
my $period = $_[0];
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$Lang::tr{'mbmon fan'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"--color=SHADEA".$color{"color19"},
@@ -1001,16 +924,10 @@ sub updatehwvoltgraph {
my $period = $_[0];
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$Lang::tr{'mbmon volt'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"--color=SHADEA".$color{"color19"},
@@ -1074,16 +991,10 @@ sub updateqosgraph {
my $color="#000000";
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$Lang::tr{'Utilization on'}." (".$qossettings{'DEV'}.") ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"-v ".$Lang::tr{'bytes per second'},
@@ -1133,16 +1044,10 @@ sub updatecpufreqgraph {
my $cpucount = `ls -dA $mainsettings{'RRDLOG'}/collectd/localhost/cpu-*/ 2>/dev/null | wc -l`;
my $period = $_[0];
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t ".$Lang::tr{'cpu frequency per'}." ".$Lang::tr{$period."-graph"},
"-v MHz",
@@ -1178,16 +1083,10 @@ sub updatethermaltempgraph {
my $thermalcount = `ls -dA $mainsettings{'RRDLOG'}/collectd/localhost/thermal-thermal_zone* 2>/dev/null | wc -l`;
my $period = $_[0];
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 125",
"-r",
"-t "."ACPI Thermal-Zone Temperature"." - ".$Lang::tr{$period."-graph"},
"-v Grad Celsius",
@@ -1237,16 +1136,10 @@ sub getprocesses {
sub updateentropygraph {
my $period = $_[0];
my @command = (
+ @GRAPH_ARGS,
"-",
"--start",
"-1".$period,
- "-aPNG",
- "-i",
- "-z",
- "-W www.ipfire.org",
- "--alt-y-grid",
- "-w 600",
- "-h 225",
"-r",
"--lower-limit","0",
"-t $Lang::tr{'entropy'}",
@@ -1259,6 +1152,7 @@ sub updateentropygraph {
"GPRINT:entrmax:" . sprintf("%12s\\: %%5.0lf", $Lang::tr{'maximum'}),
"GPRINT:entrmin:" . sprintf("%12s\\: %%5.0lf", $Lang::tr{'minimum'}),
"GPRINT:entravg:" . sprintf("%12s\\: %%5.0lf", $Lang::tr{'average'}) . "\\n",
+ "--color=BACK".$color{"color21"},
);
RRDs::graph (@command);
diff --git a/config/cfgroot/network-functions.pl b/config/cfgroot/network-functions.pl
index 70fa5ed35..66f1ed554 100644
--- a/config/cfgroot/network-functions.pl
+++ b/config/cfgroot/network-functions.pl
@@ -102,6 +102,22 @@ sub bin2ip($) {
return $address;
}
+# Takes two network addresses, compares them against each other
+# and returns true if equal or false if not
+sub network_equal {
+ my $network1 = shift;
+ my $network2 = shift;
+
+ my $bin1 = &network2bin($network1);
+ my $bin2 = &network2bin($network2);
+
+ if ($bin1 eq $bin2) {
+ return 1;
+ }
+
+ return 0;
+}
+
# Takes a network in either a.b.c.d/a.b.c.d or a.b.c.d/e notation
# and will return an 32 bit integer representing the start
# address and an other one representing the network mask.
@@ -299,6 +315,65 @@ sub setup_upstream_proxy() {
}
}
+my %wireless_status = ();
+
+sub _get_wireless_status($) {
+ my $intf = shift;
+
+ if (!$wireless_status{$intf}) {
+ $wireless_status{$intf} = `iwconfig $intf`;
+ }
+
+ return $wireless_status{$intf};
+}
+
+sub wifi_get_essid($) {
+ my $status = &_get_wireless_status(shift);
+
+ my ($essid) = $status =~ /ESSID:\"(.*)\"/;
+
+ return $essid;
+}
+
+sub wifi_get_frequency($) {
+ my $status = &_get_wireless_status(shift);
+
+ my ($frequency) = $status =~ /Frequency:(\d+\.\d+ GHz)/;
+
+ return $frequency;
+}
+
+sub wifi_get_access_point($) {
+ my $status = &_get_wireless_status(shift);
+
+ my ($access_point) = $status =~ /Access Point: ([0-9A-F:]+)/;
+
+ return $access_point;
+}
+
+sub wifi_get_bit_rate($) {
+ my $status = &_get_wireless_status(shift);
+
+ my ($bit_rate) = $status =~ /Bit Rate=(\d+ [GM]b\/s)/;
+
+ return $bit_rate;
+}
+
+sub wifi_get_link_quality($) {
+ my $status = &_get_wireless_status(shift);
+
+ my ($cur, $max) = $status =~ /Link Quality=(\d+)\/(\d+)/;
+
+ return $cur * 100 / $max;
+}
+
+sub wifi_get_signal_level($) {
+ my $status = &_get_wireless_status(shift);
+
+ my ($signal_level) = $status =~ /Signal level=(\-\d+ dBm)/;
+
+ return $signal_level;
+}
1;
# Remove the next line to enable the testsuite
@@ -352,12 +427,26 @@ sub testsuite() {
$result = &find_next_ip_address("1.2.3.4", 2);
assert($result eq "1.2.3.6");
+ $result = &network_equal("192.168.0.0/24", "192.168.0.0/255.255.255.0");
+ assert($result);
+
+ $result = &network_equal("192.168.0.0/24", "192.168.0.0/25");
+ assert(!$result);
+
+ $result = &network_equal("192.168.0.0/24", "192.168.0.128/25");
+ assert(!$result);
+
+ $result = &network_equal("192.168.0.1/24", "192.168.0.XXX/24");
+ assert($result);
+
$result = &ip_address_in_network("10.0.1.4", "10.0.0.0/8");
assert($result);
$result = &ip_address_in_network("192.168.30.11", "192.168.30.0/255.255.255.0");
assert($result);
+ print "Testsuite completed successfully!\n";
+
return 0;
}
diff --git a/config/etc/group b/config/etc/group
index e4897db25..d781745c7 100644
--- a/config/etc/group
+++ b/config/etc/group
@@ -37,7 +37,6 @@ postfix:x:107:
postdrop:x:108:
clamav:x:109:
amavis:x:110:
-mldonkey:x:111:
audio:x:112:
video:x:113:
asterisk:x:114:
diff --git a/config/etc/passwd b/config/etc/passwd
index 542e3bf94..93940d606 100644
--- a/config/etc/passwd
+++ b/config/etc/passwd
@@ -21,6 +21,5 @@ clamav:x:109:109:Clam AntiVirus:/home/clamav:/bin/false
amavis:x:110:110:Amavisd-new user:/var/amavis:
cyrus:x:111:12:Cyrus user:/usr/cyrus:
filter:x:112:12:Spam user:/home/filter:/bin/false
-mldonkey:x:113:111:Mldonkey user:/opt/mldonkey:/bin/false
asterisk:x:114:114:Asterisk user:/var/empty:/bin/false
samba:x:1000:1000:Samba User:/var/empty:/bin/false
diff --git a/config/etc/sysctl.conf b/config/etc/sysctl.conf
index e2e3d81b0..ad562404f 100644
--- a/config/etc/sysctl.conf
+++ b/config/etc/sysctl.conf
@@ -34,3 +34,8 @@ net.ipv6.conf.default.disable_ipv6 = 1
# Enable netfilter accounting
net.netfilter.nf_conntrack_acct=1
+
+# Disable netfilter on bridges.
+net.bridge.bridge-nf-call-ip6tables = 0
+net.bridge.bridge-nf-call-iptables = 0
+net.bridge.bridge-nf-call-arptables = 0
diff --git a/config/etc/syslog.conf b/config/etc/syslog.conf
index b1b7ec848..cdef75682 100644
--- a/config/etc/syslog.conf
+++ b/config/etc/syslog.conf
@@ -5,10 +5,10 @@
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
# local0.* any dhcpcd log (even debug) in messages
-cron.none;daemon.*;local0.*;local2.*;*.info;mail.none;authpriv.* /var/log/messages
+cron.none;daemon.*;local0.*;local2.*;*.info;mail.none;authpriv.* -/var/log/messages
# Log crons
-#cron.* /var/log/cron.log
+#cron.* -/var/log/cron.log
# Everybody gets emergency messages
*.emerg *
@@ -20,4 +20,4 @@ cron.none;daemon.*;local0.*;local2.*;*.info;mail.none;authpriv.* /var/log/messag
#*.* @hostname.domain
# Postfix logs
-mail.* /var/log/mail
+mail.* -/var/log/mail
diff --git a/config/firewall/ipsec-block b/config/firewall/ipsec-block
index 9fa8e1a46..96682b894 100644
--- a/config/firewall/ipsec-block
+++ b/config/firewall/ipsec-block
@@ -23,23 +23,43 @@ VPN_CONFIG="/var/ipfire/vpn/config"
block_subnet() {
local subnet="${1}"
+ local action="${2}"
# Don't block a wildcard subnet
if [ "${subnet}" = "0.0.0.0/0" ] || [ "${subnet}" = "0.0.0.0/0.0.0.0" ]; then
return 0
fi
- iptables -A IPSECBLOCK -d "${subnet}" -j REJECT --reject-with icmp-net-unreachable
+ case "${action}" in
+ reject)
+ iptables -A IPSECBLOCK -d "${subnet}" -j REJECT --reject-with icmp-net-unreachable
+ ;;
+ drop)
+ iptables -A IPSECBLOCK -d "${subnet}" -j DROP
+ ;;
+ *)
+ return 1
+ ;;
+ esac
+
+ return 0
}
block_ipsec() {
# Flush all exists rules
iptables -F IPSECBLOCK
- local id status name lefthost type ctype unknown1 unknown2 unknown3
- local leftsubnets unknown4 righthost rightsubnets rest
- while IFS="," read -r id status name lefthost type ctype unkown1 unknown2 unknown3 \
- leftsubnets unknown4 righthost rightsubnets rest; do
+ local action
+
+ local vars="id status name lefthost type ctype x1 x2 x3 leftsubnets"
+ vars="${vars} x4 righthost rightsubnets x5 x6 x7 x8 x9 x10 x11 x12"
+ vars="${vars} x13 x14 x15 x16 x17 x18 x19 x20 x21 proto x22 x23 x24"
+ vars="${vars} route rest"
+
+ # Register local variables
+ local ${vars}
+
+ while IFS="," read -r ${vars}; do
# Check if the connection is enabled
[ "${status}" = "on" ] || continue
@@ -49,9 +69,18 @@ block_ipsec() {
# Split multiple subnets
rightsubnets="${rightsubnets//\|/ }"
+ case "${route}" in
+ route)
+ action="drop"
+ ;;
+ *)
+ action="reject"
+ ;;
+ esac
+
local rightsubnet
for rightsubnet in ${rightsubnets}; do
- block_subnet "${rightsubnet}"
+ block_subnet "${rightsubnet}" "${action}"
done
done < "${VPN_CONFIG}"
}
diff --git a/config/httpd/server-tuning.conf b/config/httpd/server-tuning.conf
index 183ce80fa..90410186d 100644
--- a/config/httpd/server-tuning.conf
+++ b/config/httpd/server-tuning.conf
@@ -19,9 +19,8 @@ KeepAliveTimeout 15
MinSpareServers 1
MaxSpareServers 10
-StartServers 1
-MaxClients 10
-MaxRequestsPerChild 100
+StartServers 2
+MaxClients 256
#
# The following directives modify normal HTTP response behavior to
diff --git a/config/imspector/imspector.conf b/config/imspector/imspector.conf
deleted file mode 100644
index a37241df6..000000000
--- a/config/imspector/imspector.conf
+++ /dev/null
@@ -1,24 +0,0 @@
-# The listening port for redirected connections
-port=16667
-
-# For dropping privs - you probably want to do this.
-user=nobody
-group=nobody
-
-# Prefix and postfix to all responses using all responder plugins
-response_prefix=Message from IMSpector: -=
-response_postfix==-
-
-# Will load enabled plugins in plugin_dir
-icq_protocol=on
-irc_protocol=on
-msn_protocol=on
-yahoo_protocol=on
-gg_protocol=on
-jabber_protocol=on
-
-# Location where the file logging plugin will start from.
-file_logging_dir=/var/log/imspector/
-log_typing_events=on
-
-plugin_dir=/usr/lib/imspector
diff --git a/config/menu/EX-imspector.menu b/config/menu/EX-imspector.menu
deleted file mode 100644
index c88866f5f..000000000
--- a/config/menu/EX-imspector.menu
+++ /dev/null
@@ -1,5 +0,0 @@
- $subipfire->{'30.imspector'} = {'caption' => 'Imspector',
- 'uri' => '/cgi-bin/imspector.cgi',
- 'title' => 'Imspector',
- 'enabled' => 1,
- };
diff --git a/config/miniupnpd/miniupnpd.conf b/config/miniupnpd/miniupnpd.conf
index 4a9cbc086..582758192 100644
--- a/config/miniupnpd/miniupnpd.conf
+++ b/config/miniupnpd/miniupnpd.conf
@@ -2,6 +2,9 @@
# LAN network interfaces IPs / networks
# there can be multiple listening ips for SSDP traffic.
# should be under the form nnn.nnn.nnn.nnn/nn
+listening_ip=green0
+#listening_ip=green1
+
# HTTP is available on all interfaces
# port for HTTP (descriptions and SOAP) traffic. set 0 for autoselect.
port=0
diff --git a/config/mldonkey/bittorrent.ini b/config/mldonkey/bittorrent.ini
deleted file mode 100644
index fbb170ee4..000000000
--- a/config/mldonkey/bittorrent.ini
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
- (************************************)
- (* Never edit options files when *)
- (* the daemon is running *)
- (************************************)
- (* SECTION : Bittorrent *)
- (* Bittorrent options *)
- (************************************)
-
-
-
- (* 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 = FVGUYMROHEXDALLJAB2KACHON6Y5HBUN
-
- (* Ask the tracker for new sources only if you have fewer than that number of sources *)
- ask_tracker_threshold = 20
-
- (* Maximum number of HTTP redirects before reaching the tracker - maximum 10, 0 to disable *)
- max_tracker_redirect = 1
-
- (* Send client key to trackers *)
- send_key = true
-
- (* Maximum number of uploaders for one torrent *)
- max_uploaders_per_torrent = 5
-
- (* Maximum number of uploaders for bittorrent *)
- max_bt_uploaders = 5
-
- (* 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 *)
- (* 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
-
- (* Timeout on client connections *)
- client_timeout = 90.
-
- (* User agent string (default = "default") *)
- 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) *)
- max_tracked_files = 100
-
- (* The maximal number of peers returned by the tracker *)
- max_tracker_reply = 20
-
- (* The tracker will check the torrent file is available if an announce request is received *)
- tracker_force_local_torrents = true
-
- (* The tracker will check the client key to update ip if changed *)
- tracker_use_key = true
-
- (* Let you define a default tracker for creating torrents (leave empty for mlnet tracker) *)
- default_tracker = ""
-
- (* Let you define a default comment for creating torrents *)
- default_comment = ""
-
-(*
- The following options are not used (errors, obsolete, ...)
-*)
diff --git a/config/mldonkey/directconnect.ini b/config/mldonkey/directconnect.ini
deleted file mode 100644
index 1010baed8..000000000
--- a/config/mldonkey/directconnect.ini
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
- (************************************)
- (* 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
deleted file mode 100644
index 1a49c61a6..000000000
--- a/config/mldonkey/donkey.ini
+++ /dev/null
@@ -1,279 +0,0 @@
-
-
- (************************************)
- (* 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
diff --git a/config/mldonkey/downloads.ini b/config/mldonkey/downloads.ini
deleted file mode 100644
index fb050a05e..000000000
--- a/config/mldonkey/downloads.ini
+++ /dev/null
@@ -1,1007 +0,0 @@
-
-
- (************************************)
- (* Never edit options files when *)
- (* the daemon is running *)
- (************************************)
- (* SECTION : Main *)
- (* Main options *)
- (************************************)
-
-
-
- (* small name of client *)
- client_name = ipfire
-
-
- (************************************)
- (* SECTION : Interfaces *)
- (* Options to control ports used by mldonkey interfaces *)
- (************************************)
-
-
-
- (* 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.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 = [
- "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. *)
- (* 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). *)
- alias_commands = [
- (quit, q);
- (exit, q);]
-
-
- (************************************)
- (* 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. *)
- 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. 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
-
- (* Amount of indirect connections in percent (min 30, max 70) of max_opened_connections *)
- max_indirect_connections = 30
-
- (* 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
-
- (* Maximum file size to benefit from the reserved slot for small files (0 to disable) *)
- small_files_slot_limit = 10240
-
- (* Set this to true if you want to have dynamic upload slot allocation (experimental) *)
- dynamic_slots = false
-
- (* Maximal number of connections that can be opened per second *)
- 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.* *)
- 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. *)
- copy_read_buffer = true
-
-
- (************************************)
- (* SECTION : Networks *)
- (* Networks options *)
- (************************************)
-
-
-
- (* Set to true if you also want mldonkey to run as an overnet client
- (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_kademlia = false
-
- (* Set to true if you want mldonkey to connect to edonkey servers
- (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 *)
- enable_bittorrent = true
-
- (* Set to true if you also want mldonkey to run as a donkey client *)
- enable_donkey = true
-
- (* Set to true if you also want mldonkey to run as a napster client (experimental) *)
- enable_opennap = false
-
- (* Set to true if you also want mldonkey to run as a soulseek client (experimental) *)
- enable_soulseek = false
-
- (* Set to true if you also want mldonkey to run as a gnutella1 sub node (experimental) *)
- enable_gnutella = false
-
- (* Set to true if you also want mldonkey to run as a gnutella2 sub node (experimental) *)
- enable_gnutella2 = false
-
- (* Set to true if you also want mldonkey to run as a Fasttrack sub node (experimental) *)
- enable_fasttrack = false
-
- (* Set to true if you also want mldonkey to run as a direct-connect node (experimental) *)
- enable_directconnect = false
-
- (* Set to true if you also want mldonkey to download HTTP files (experimental) *)
- enable_fileTP = true
-
-
- (************************************)
- (* SECTION : Network Config *)
- (* Network config options *)
- (************************************)
-
-
-
- (* The last IP address used for this client *)
- 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. *)
- 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://ed2k.2x4u.de/u581miei/max/server.met");
- ("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 = [
- ("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) *)
- referers = [
- (".*suprnova.*", "http://www.suprnova.org/");]
-
- (* Cookies send with a http request (used for .torrent files and web_infos) *)
- cookies = []
-
- (* Direct HTTP queries to HTTP proxy *)
- http_proxy_server = ""
-
- (* Port of HTTP proxy *)
- http_proxy_port = 800
-
- (* Direct TCP connections to HTTP proxy (the proxy should support CONNECT) *)
- http_proxy_tcp = false
-
-
- (************************************)
- (* SECTION : HTML mods *)
- (* Options to configure HTML mode *)
- (************************************)
-
-
-
- (* bw_stats refresh delay (seconds) *)
- html_mods_bw_refresh_delay = 11
-
- (* html_mods_theme to use (located in relative html_themes/ directory
- leave blank to use internal theme *)
- html_mods_theme = ""
-
-
- (************************************)
- (* SECTION : Download *)
- (* Download options *)
- (************************************)
-
-
-
- (* Set to false if you don't want mldonkey to automatically put completed files
- 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. *)
- 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 *)
- 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
- *)
- file_completed_cmd = ""
-
- (* The command which is called when a download is started. Arguments
- are '-file ' *)
- file_started_cmd = ""
-
-
- (************************************)
- (* SECTION : Startup *)
- (* Startup options *)
- (************************************)
-
-
-
- (* 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) *)
- (* 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) *)
- (* changing this option requires restart of MLDonkey core *)
- run_as_useruid = 113
-
- (* Ask for GUI start *)
- ask_for_gui = false
-
- (* Automatically Start the GUI *)
- start_gui = false
-
- (* Should MLdonkey try to recover downloads of files in temp/ at startup *)
- recover_temp_on_startup = true
-
-
- (************************************)
- (* SECTION : Mail *)
- (* Mail options *)
- (************************************)
-
-
-
- (* The mail server you want to use (must be SMTP). Use hostname or IP address *)
- smtp_server = "127.0.0.1"
-
- (* The port to use on the mail server (default 25) *)
- smtp_port = 25
-
- (* Your e-mail if you want to receive mails when downloads are completed *)
- mail = ""
-
- (* Does your mail-server need <...> around addresses *)
- add_mail_brackets = false
-
- (* Send filename in mail subject *)
- filename_in_subject = true
-
- (* Put a prefix for the filename here which shows up in the notification mail *)
- url_in_mail = ""
-
-
- (************************************)
- (* SECTION : Paths *)
- (* Paths options *)
- (************************************)
-
-
-
- (* The directory where temporary files should be put *)
- temp_directory = "/var/log/mldonkey/temp"
-
- (* 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
-
- (* Mininum free space in MB on temp_directory, minimum 50 *)
- 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. *)
- 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. *)
- hdd_coredir_stop_core = true
-
- (* Send a warning mail each hours for each directory, 0 to deactivate mail warnings. *)
- hdd_send_warning_interval = 1
-
- (* Incoming and shared directories.
- At least two entries have to be present here, one with strategy
- incoming_files and one with strategy incoming_directories.
- Both entries can point to the same directory.
- If one of the two strategies is missing, MLDonkey will create a default
- directory with its entry here.
- 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.
- 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"
- strategy = incoming_files
- priority = 0
-};
- { dirname = "/var/log/mldonkey/incoming/directories"
- strategy = incoming_directories
- priority = 0
-};]
-
-
- (************************************)
- (* SECTION : Security *)
- (* Security options *)
- (************************************)
-
-
-
- (* 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. *)
- 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 *)
- allow_any_command = false
-
- (* 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 = "DI-Emule|ZamBoR|Ketamine|eMule FX|AUTOMATED MESSAGE"
-
- (* Regexp of comments to filter out, example: string1|string2|string3 *)
- comments_filter = "http://|https://|www\\."
-
-
- (************************************)
- (* SECTION : Other *)
- (* Other options *)
- (************************************)
-
-
-
- (* (experimental) *)
- save_results = 0
-
- (* Buffer writes and flush after buffer_writes_delay seconds (experimental) *)
- buffer_writes = false
-
- (* build statistics about eMule mods *)
- emule_mods_count = false
-
- (* show all eMule mods in statistics *)
- emule_mods_showall = false
-
- (* How often (in hours) should a backup of the ini files be written into old_config.
- A value of zero means that a backup is written only when the core shuts down. *)
- backup_options_delay = 0
-
- (* Define the total number of options archives in old_config. *)
- backup_options_generations = 10
-
- (* Define the format of the archive, zip or tar.gz are valid. *)
- backup_options_format = "tar.gz"
-
- (* The maximum time in seconds to wait for networks to cleanly shutdown. *)
- 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"
-
-
-
-(*****************************************************************)
-(* *)
-(* ADVANCED OPTIONS *)
-(* *)
-(* All the options after this line are for the expert *)
-(* user. Do not modify them if you are not sure. *)
-(* *)
-(*****************************************************************)
-
-
-
-
-
- (************************************)
- (* SECTION : Interfaces FOR EXPERTS *)
- (* Options to control ports used by mldonkey interfaces *)
- (************************************)
-
-
-
- (* 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 *)
- print_all_sources = true
-
- (* Improved telnet interface *)
- improved_telnet = true
-
- (* A space-separated list of keywords. Each keyword triggers
- printing information on the corresponding messages:
- verb : verbose mode (interesting not only for coders)
- mc : debug client messages
- mr|raw : debug raw messages
- mct : debug emule clients tags
- ms : debug server messages
- sm : debug source management
- net : debug net
- gui : debug gui
- no-login : disable login messages
- file : debug file handling
- do : some download warnings
- up : some upload warnings
- unk : unknown messages
- ov : overnet
- loc : debug source research/master servers
- share: debug sharing
- md4 : md4 computation
- connect : debug connections
- udp : udp messages
- ultra|super : debug supernode
- swarming : debug swarming
- hc : http_client messages
- hs : http_server messages
- com : commands by non-admin users
- act : debug activity
- bw : debug bandwidth
- 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 = 5
-
-
- (************************************)
- (* SECTION : Networks FOR EXPERTS *)
- (* Networks options *)
- (************************************)
-
-
-
- (* Set to true if you also want mldonkey to run as a OpenFT sub node (experimental) *)
- enable_openft = false
-
-
- (************************************)
- (* SECTION : Network Config FOR EXPERTS *)
- (* Network config options *)
- (************************************)
-
-
-
- (* 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
-
- (* IP blocking list filename (peerguardian format), can also be in gz/bz2/zip format
- Zip files must contain either a file named guarding.p2p or guarding_full.p2p. *)
- ip_blocking = ""
-
- (* List of countries to block connections from/to (requires Geoip).
- Names are in ISO 3166 format, see http://www.maxmind.com/app/iso3166
- You can also at your own risk use "Unknown" for IPs Geoip won't recognize. *)
- ip_blocking_countries = []
-
- (* false: use ip_blocking_countries as block list, all other countries are allowed
- true: use ip_blocking_countries as allow list, all other countries are blocked *)
- ip_blocking_countries_block = false
-
- (* Location of GeoIP.dat (Get one from http://www.maxmind.com/download/geoip/database/) *)
- 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) *)
- 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 minimal packet you want mldonkey to send when data is
- available on the connection *)
- minimal_packet_size = 600
-
- (* Should a connection check if the peer we are connected to is still alive?
- This implies some bandwidth-cost (with 200 connections ~10-20%) *)
- socket_keepalive = false
-
-
- (************************************)
- (* SECTION : HTML mods FOR EXPERTS *)
- (* Options to configure HTML mode *)
- (************************************)
-
-
-
- (* Whether to use the modified WEB interface *)
- html_mods = true
-
- (* Which html_mods style to use (set with html_mods_style command) *)
- html_mods_style = 0
-
- (* Whether to use human readable GMk number format *)
- html_mods_human_readable = true
-
- (* Whether to use relative availability in the WEB interface *)
- html_mods_use_relative_availability = true
-
- (* 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
-
- (* Remove graph files on core shutdown *)
- html_mods_vd_gfx_remove = false
-
- (* Fill graph in vd output *)
- html_mods_vd_gfx_fill = true
-
- (* Split download and upload graph in vd output *)
- html_mods_vd_gfx_split = false
-
- (* Stacked download and upload graph *)
- html_mods_vd_gfx_stack = true
-
- (* Flip up/side graph position in vd output *)
- html_mods_vd_gfx_flip = true
-
- (* Show mean line on graph in vd output *)
- html_mods_vd_gfx_mean = true
-
- (* Show transparent graph in vd output (only for png) *)
- html_mods_vd_gfx_transparent = true
-
- (* Draw graph as png if true, else draw as jpg in vd output *)
- html_mods_vd_gfx_png = true
-
- (* Show hourly graph in vd output *)
- html_mods_vd_gfx_h = true
-
- (* 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
-
- (* Use tag source image *)
- html_mods_vd_gfx_tag_use_source = false
-
- (* Tag source image name *)
- html_mods_vd_gfx_tag_source = image
-
- (* Draw tag as png if true, else draw as jpg in vd output *)
- html_mods_vd_gfx_tag_png = true
-
- (* Enable tag graph title *)
- html_mods_vd_gfx_tag_enable_title = true
-
- (* Tag graph title *)
- html_mods_vd_gfx_tag_title = "MLNet traffic"
-
- (* 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 *)
- html_mods_vd_gfx_tag_title_y_pos = 1
-
- (* 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 *)
- html_mods_vd_gfx_tag_dl_y_pos = 17
-
- (* 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 *)
- html_mods_vd_gfx_tag_ul_y_pos = 33
-
- (* Tag graph x size in vd output ( 130 < x < 3600 ) *)
- html_mods_vd_gfx_tag_x_size = 80
-
- (* Tag graph y size in vd output ( 50 < x < 1200 ) *)
- html_mods_vd_gfx_tag_y_size = 50
-
- (* Whether to display the Last column in vd output *)
- html_mods_vd_last = true
-
- (* Whether to display the Priority column in vd output *)
- html_mods_vd_prio = true
-
- (* Change height of download indicator bar in vd output *)
- html_vd_barheight = 2
-
- (* Whether to display chunks list as graph or text in vd output *)
- html_vd_chunk_graph = true
-
- (* Change style of chunk graph *)
- html_vd_chunk_graph_style = 0
-
- (* Change max width of chunk graph *)
- html_vd_chunk_graph_max_width = 200
-
- (* Whether to display the pending slots in uploaders command *)
- html_mods_show_pending = true
-
- (* Whether to load the mldonkey_messages.ini file (false=use internal settings) *)
- html_mods_load_message_file = false
-
- (* Maximum chat messages to log in memory *)
- html_mods_max_messages = 50
-
- (* Whether to use checkboxes in the WEB interface for download list *)
- html_checkbox_vd_file_list = true
-
- (* Whether to use checkboxes in the WEB interface for search result list *)
- html_checkbox_search_file_list = false
-
- (* Use gzip compression on web pages *)
- html_use_gzip = false
-
- (* Whether to use the fancy javascript tooltips or plain html-title *)
- html_mods_use_js_tooltips = true
-
- (* How long to wait before displaying the tooltips *)
- html_mods_js_tooltips_wait = 0
-
- (* How long to display the tooltips *)
- html_mods_js_tooltips_timeout = 100000
-
- (* Use javascript to display option help text as js popup (true=use js, false=use html tables) *)
- html_mods_use_js_helptext = true
-
-
- (************************************)
- (* SECTION : Debug FOR EXPERTS *)
- (* Debug options *)
- (************************************)
-
-
-
- (* If this option is set, IP addresses on the local network are allowed
- (only for debugging) *)
- allow_local_network = false
-
- (* size of log in number of records *)
- log_size = 300
-
- (* 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. *)
- 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
-
-
- (************************************)
- (* SECTION : Download FOR EXPERTS *)
- (* Download options *)
- (************************************)
-
-
-
- (* How many sources to use to download each chunk *)
- sources_per_chunk = 3
-
-
- (************************************)
- (* SECTION : Startup FOR EXPERTS *)
- (* Startup options *)
- (************************************)
-
-
-
- (* How many megabytes should MLdonkey keep for saving configuration files. *)
- (* changing this option requires restart of MLDonkey core *)
- config_files_security_space = 10
-
-
- (************************************)
- (* SECTION : Paths FOR EXPERTS *)
- (* Paths options *)
- (************************************)
-
-
-
- (* Name of program used for preview (first arg is local filename, second arg
- is name of file as searched on eDonkey *)
- previewer = mldonkey_previewer
-
- (* Directory where mldonkey binaries are installed *)
- mldonkey_bin = "."
-
- (* Name of GUI to start *)
- mldonkey_gui = "./mlgui"
-
-
- (************************************)
- (* SECTION : Other FOR EXPERTS *)
- (* Other options *)
- (************************************)
-
-
-
- (* 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) *)
- buffer_writes_threshold = 1024
-
- (* The conversions to apply on Unicode characters *)
- 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 *)
- 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
-
- (* Is the default terminal an ANSI terminal (escape sequences can be used) *)
- term_ansi = true
-
- (* Delay between updates to the GUI *)
- update_gui_delay = 1.
-
- (* The realm shown when connecting with a WEB browser *)
- http_realm = MLdonkey
-
- (* 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
-
- (* Should the MLSUBMIT.REG file be created *)
- create_mlsubmit = true
-
- (* Size of the minor heap in kB *)
- minor_heap_size = 32
-
- (* The source queues to display in source lists (see 'sources' command) *)
- relevant_queues = [
- 0;
- 1;
- 2;
- 3;
- 4;
- 5;
- 6;
- 8;
- 9;
- 10;]
-
- (* The minimal delay between two connections to the same client (in seconds) *)
- min_reask_delay = 600
-
- (* Whether to display results already downloaded *)
- display_downloaded_results = true
-
- (* Minimal number of results for filter form to appear *)
- filter_table_threshold = 50
-
- (* 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. *)
- (* 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 = 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),
- the second is a list of hours (from 0 to 23) and the last one a command to
- execute. Can be used with 'pause all' and 'resume all' for example to
- resume and pause downloads automatically for the night. *)
- calendar = []
-
- (* The percentage of free memory before a compaction is triggered *)
- 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. *)
- space_overhead = 80
-
- (* Maximal number of results displayed for a search *)
- max_displayed_results = 1000
-
- (* (internal option) *)
- (* 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
deleted file mode 100644
index 9e4b3e0d4..000000000
--- a/config/mldonkey/fileTP.ini
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
- (************************************)
- (* Never edit options files when *)
- (* the daemon is running *)
- (************************************)
- (* SECTION : FileTP *)
- (* FileTP options *)
- (************************************)
-
-
-
- (* A list of lists, where each list contains equivalent prefixes for mirrors *)
- mirrors = []
-
- (* A list of (hostname, args). Example: [ ( "mycomputer.mydomain.fr", (ssh, "mldonkey@mycomputer.mydomain.fr") ) ] *)
- remote_shells = []
-
- (* The command to call to get a range *)
- get_range = get_range
-
- (* The argument to !!get_range to get a range *)
- range_arg = range
-
- (* (internal option) *)
- (* Do not change this option, internal use only! *)
- options_version = 0
-
- (* Chunk size (in bytes) (0 = No chunks) *)
- chunk_size = 0
- old_urls = []
-
-(*
- The following options are not used (errors, obsolete, ...)
-*)
diff --git a/config/mldonkey/file_sources.ini b/config/mldonkey/file_sources.ini
deleted file mode 100644
index 3f3e108fe..000000000
--- a/config/mldonkey/file_sources.ini
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- (************************************)
- (* Never edit options files when *)
- (* the daemon is running *)
- (************************************)
- (* SECTION : Header *)
- (* These options must be read first *)
- (************************************)
-
-
- save_time = 191427490
- sources = []
-
-(*
- The following options are not used (errors, obsolete, ...)
-*)
diff --git a/config/mldonkey/files.ini b/config/mldonkey/files.ini
deleted file mode 100644
index ed06f2dfe..000000000
--- a/config/mldonkey/files.ini
+++ /dev/null
@@ -1,13 +0,0 @@
-
- (* All the swarmers used *)
- swarmers = []
-
- (* The files whose download is finished *)
- done_files = []
-
- (* The files currently being downloaded, primary downloads must come first *)
- files = []
-
-(*
- The following options are not used (errors, obsolete, ...)
-*)
diff --git a/config/mldonkey/friends.ini b/config/mldonkey/friends.ini
deleted file mode 100644
index 9c654ac73..000000000
--- a/config/mldonkey/friends.ini
+++ /dev/null
@@ -1,7 +0,0 @@
-
- (* The list of known friends *)
- friends = []
-
-(*
- The following options are not used (errors, obsolete, ...)
-*)
diff --git a/config/mldonkey/mldonkey_submit b/config/mldonkey/mldonkey_submit
deleted file mode 100755
index 275a5be56..000000000
--- a/config/mldonkey/mldonkey_submit
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/perl
-
-# Submit an eDonkey download request to mldonkey
-#
-# Argument(s): An ed2k URI of the form:
-#
-# ed2k://|file|||= 0) || die "Usage: mldonkey_submit ...
-";
-
-$vars{'HTTPURL'} = "http://192.168.181.70:4080";
-$vars{'HTTPUSER'} = "admin";
-$vars{'HTTPPASS'} = "";
-
-my $ua = LWP::UserAgent->new;
-
-while (my $uri = shift @ARGV) {
- $_ = URI::Escape::uri_unescape($uri);
- if (/^ed2k:\/\/\|file\|[^|]+\|(\d+)\|([\dabcdef]+)\|$/) {
- my $size = $1;
- my $md4 = $2;
- my $req = HTTP::Request->new(
- GET => "$vars{'HTTPURL'}/submit?q=dllink+$uri"
- );
- if (($vars{'HTTPUSER'}) && ($vars{'HTTPPASS'})) {
- $req->authorization_basic($vars{'HTTPUSER'},
- $vars{'HTTPPASS'});
- }
- my $response = $ua->request($req);
- if (!($response->is_success)) {
- print $response->error_as_HTML;
- exit 1;
- }
- } else {
- print "Not an ed2k URI: $_
-";
- }
-}
diff --git a/config/mldonkey/mlnet_strings.en b/config/mldonkey/mlnet_strings.en
deleted file mode 100644
index cd6f55f4b..000000000
--- a/config/mldonkey/mlnet_strings.en
+++ /dev/null
@@ -1,888 +0,0 @@
-(************************************)
-(* *)
-
- module "DriverMain"
-
-(* *)
-(************************************)
-
-"Core stopped" = "Core stopped"
-
-"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"
-
-"none" = "none"
-
-"\n%sdisabled networks: " = "\n%sdisabled networks: "
-
-"%s " = "%s "
-
-"%senabling networks: " = "%senabling networks: "
-
-"Check http://www.mldonkey.net/ for updates" = "Check http://www.mldonkey.net/ 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"
-
-"Libmagic file-type recognition database present" = "Libmagic file-type recognition database present"
-
-"\nDNS resolution does not work! Looking up %s failed with %s." = "\nDNS resolution does not work! Looking up %s failed with %s."
-
-(************************************)
-(* *)
-
- module "DriverCommands"
-
-(* *)
-(************************************)
-
-" :\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\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"
-
-" :\t\t\tremove a mldonkey user" = " :\t\t\tremove a mldonkey user"
-
-" [] :\tadd new mldonkey user/change user password" = " [] :\tadd 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\tchange name of download to " = " \"\" :\t\tchange name of download to "
-
-" :\t\t\tstart previewer for file " = " :\t\t\tstart previewer for file "
-
-" :\t\t\t\t$bview file info$n" = " :\t\t\t\t$bview file info$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\tresume a paused download (use arg 'all' for all files)" = " :\t\t\t\tresume a paused download (use arg 'all' for all files)"
-
-" :\t\t\t\tpause a download (use arg 'all' for all files)" = " :\t\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\t\tcancel download (use arg 'all' for all files)" = " :\t\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 file priorities" = " :\tchange file priorities"
-
-":\t\t\t\tshow users currently uploading" = ":\t\t\t\tshow users currently uploading"
-
-":\t\t\t\t\tlist links of shared files" = ":\t\t\t\t\tlist links of shared files"
-
-":\t\t\t\tstatistics on upload" = ":\t\t\t\tstatistics on upload"
-
-" :\t\t\t\tshare directory " = " :\t\t\t\tshare 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"
-
-":\t\t\t\t\tprint all options" = ":\t\t\t\t\tprint all options"
-
-":\t\t\t\t\t$bdisplay options$n" = ":\t\t\t\t\t$bdisplay options$n"
-
-"[] :\tsave options and/or sources or backup (empty for options and sources)" = "[] :\tsave options and/or sources or backup (empty for options and sources)"
-
-" :\t$bchange option value$n" = " :\t$bchange option value$n"
-
-":\t\t\tforce download of an already downloaded file" = ":\t\t\tforce download of an already downloaded file"
-
-" :\t\t\t\t$bfile to download$n" = " :\t\t\t\t$bfile to download$n"
-
-":\t\t\tview custom queries" = ":\t\t\tview custom queries"
-
-":\t\t\t\t\tview all queries" = ":\t\t\t\t\tview all queries"
-
-" :\t\t\t\tsearch for files locally\n\n\tWith special args:\n\t-network \n\t-minsize \n\t-maxsize \n\t-media