summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/en/autogen/user/relay_options.txt2
-rw-r--r--doc/en/autogen/user/xfer_options.txt2
-rw-r--r--doc/fr/autogen/user/relay_options.txt2
-rw-r--r--doc/fr/autogen/user/xfer_options.txt2
-rw-r--r--po/cs.po17
-rw-r--r--po/de.po18
-rw-r--r--po/es.po18
-rw-r--r--po/fr.po31
-rw-r--r--po/hu.po17
-rw-r--r--po/pl.po8
-rw-r--r--po/ru.po17
-rw-r--r--po/weechat.pot8
-rw-r--r--src/plugins/relay/relay-config.c3
-rw-r--r--src/plugins/xfer/xfer-config.c4
14 files changed, 114 insertions, 35 deletions
diff --git a/doc/en/autogen/user/relay_options.txt b/doc/en/autogen/user/relay_options.txt
index ffb6a2dc7..8edbad5b3 100644
--- a/doc/en/autogen/user/relay_options.txt
+++ b/doc/en/autogen/user/relay_options.txt
@@ -49,7 +49,7 @@
** values: on, off (default value: off)
* *relay.network.listen_port_range*
-** description: port number (or range of ports) that relay plugin listens on (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015)
+** description: port number (or range of ports) that relay plugin listens on (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to use ports greater than 1024, because only root can use ports below 1024)
** type: string
** values: any string (default value: "22373-22400")
diff --git a/doc/en/autogen/user/xfer_options.txt b/doc/en/autogen/user/xfer_options.txt
index 78d593cb2..2d2e8dfaa 100644
--- a/doc/en/autogen/user/xfer_options.txt
+++ b/doc/en/autogen/user/xfer_options.txt
@@ -109,7 +109,7 @@
** values: any string (default value: "")
* *xfer.network.port_range*
-** description: restricts outgoing files/chats to use only ports in the given range (useful for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, empty value means any port)
+** description: restricts outgoing files/chats to use only ports in the given range (useful for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, empty value means any port, it's recommended to use ports greater than 1024, because only root can use ports below 1024)
** type: string
** values: any string (default value: "")
diff --git a/doc/fr/autogen/user/relay_options.txt b/doc/fr/autogen/user/relay_options.txt
index 36353b7f6..35509e3cb 100644
--- a/doc/fr/autogen/user/relay_options.txt
+++ b/doc/fr/autogen/user/relay_options.txt
@@ -49,7 +49,7 @@
** valeurs: on, off (valeur par défaut: off)
* *relay.network.listen_port_range*
-** description: numéro de port (ou intervalle de ports) sur lesquels écoute l'extension relay (syntaxe: un port simple, par exemple 5000, un intervalle de ports, par exemple 5000-5015)
+** description: restreint les fichiers/discussions sortants à utiliser des ports dans l'intervalle donné (pratique pour le NAT) (syntaxe: un port simple, par exemple 5000, un intervalle de ports, par exemple 5000-5015, si non renseigné tout port peut être utilisé, il est recommandé d'utiliser des ports supérieurs à 1024, car seul root peut utiliser les ports en dessous de 1024)
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: "22373-22400")
diff --git a/doc/fr/autogen/user/xfer_options.txt b/doc/fr/autogen/user/xfer_options.txt
index a52e1a50a..dea36e916 100644
--- a/doc/fr/autogen/user/xfer_options.txt
+++ b/doc/fr/autogen/user/xfer_options.txt
@@ -109,7 +109,7 @@
** valeurs: toute chaîne (valeur par défaut: "")
* *xfer.network.port_range*
-** description: restreint les fichiers/discussions sortants à utiliser des ports dans l'intervalle donné (pratique pour le NAT) (syntaxe: un port simple, par exemple 5000, un intervalle de ports, par exemple 5000-5015, si non renseigné tout port peut être utilisé)
+** description: restreint les fichiers/discussions sortants à utiliser des ports dans l'intervalle donné (pratique pour le NAT) (syntaxe: un port simple, par exemple 5000, un intervalle de ports, par exemple 5000-5015, si non renseigné tout port peut être utilisé, il est recommandé d'utiliser des ports supérieurs à 1024, car seul root peut utiliser les ports en dessous de 1024)
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: "")
diff --git a/po/cs.po b/po/cs.po
index 9dc6d506c..e11a7eddd 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2009-06-02 15:05+0200\n"
+"POT-Creation-Date: 2009-06-02 15:54+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5147,7 +5147,8 @@ msgstr ""
#, fuzzy
msgid ""
"port number (or range of ports) that relay plugin listens on (syntax: a "
-"single port, ie. 5000 or a port range, ie. 5000-5015)"
+"single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to "
+"use ports greater than 1024, because only root can use ports below 1024)"
msgstr ""
"omezit odchozí dcc pro používaní portů pouze v zadaném rozsahu (užitečné pro "
"NAT) (syntaxe: samostatný port, např. 5000 nebo rozsah portů např. 5000-"
@@ -5694,7 +5695,8 @@ msgstr "nečekat na ACK při odesílání souboru"
msgid ""
"restricts outgoing files/chats to use only ports in the given range (useful "
"for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, "
-"empty value means any port)"
+"empty value means any port, it's recommended to use ports greater than 1024, "
+"because only root can use ports below 1024)"
msgstr ""
"omezit odchozí dcc pro používaní portů pouze v zadaném rozsahu (užitečné pro "
"NAT) (syntaxe: samostatný port, např. 5000 nebo rozsah portů např. 5000-"
@@ -5800,6 +5802,15 @@ msgstr "%s chybí argument pro volbu \"%s\"\n"
#, fuzzy
#~ msgid ""
+#~ "port number (or range of ports) that relay plugin listens on (syntax: a "
+#~ "single port, ie. 5000 or a port range, ie. 5000-5015)"
+#~ msgstr ""
+#~ "omezit odchozí dcc pro používaní portů pouze v zadaném rozsahu (užitečné "
+#~ "pro NAT) (syntaxe: samostatný port, např. 5000 nebo rozsah portů např. "
+#~ "5000-5015, prázdná hodnota znamená jakýkoliv port)"
+
+#, fuzzy
+#~ msgid ""
#~ "allow user to send colors with special codes (\"^Cb\"=bold, \"^Ccxx"
#~ "\"=color, \"^Ccxx,yy\"=color+background, \"^Cu\"=underline, \"^Cr"
#~ "\"=reverse)"
diff --git a/po/de.po b/po/de.po
index 1c9bc3b4e..31c50892b 100644
--- a/po/de.po
+++ b/po/de.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2009-06-02 15:05+0200\n"
+"POT-Creation-Date: 2009-06-02 15:54+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5098,7 +5098,8 @@ msgstr ""
#, fuzzy
msgid ""
"port number (or range of ports) that relay plugin listens on (syntax: a "
-"single port, ie. 5000 or a port range, ie. 5000-5015)"
+"single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to "
+"use ports greater than 1024, because only root can use ports below 1024)"
msgstr ""
"beschränkt ausgehenden DCC auf die ausschließliche Benutzung von Ports in "
"einem vorgegebenen Bereich (hilfreich bei NAT) (Syntax: ein einzelner Port, "
@@ -5635,7 +5636,8 @@ msgstr "warte beim Veschicken von Dateien nicht auf das ACK-Signal"
msgid ""
"restricts outgoing files/chats to use only ports in the given range (useful "
"for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, "
-"empty value means any port)"
+"empty value means any port, it's recommended to use ports greater than 1024, "
+"because only root can use ports below 1024)"
msgstr ""
"beschränkt ausgehenden DCC auf die ausschließliche Benutzung von Ports in "
"einem vorgegebenen Bereich (hilfreich bei NAT) (Syntax: ein einzelner Port, "
@@ -5741,6 +5743,16 @@ msgstr "%s fehlende Argumente für die \"--dir\"-Option\n"
#, fuzzy
#~ msgid ""
+#~ "port number (or range of ports) that relay plugin listens on (syntax: a "
+#~ "single port, ie. 5000 or a port range, ie. 5000-5015)"
+#~ msgstr ""
+#~ "beschränkt ausgehenden DCC auf die ausschließliche Benutzung von Ports in "
+#~ "einem vorgegebenen Bereich (hilfreich bei NAT) (Syntax: ein einzelner "
+#~ "Port, z.B. 5000, oder eine Port-Bereich, z.B. 5000-5015,wenn kein Bereich "
+#~ "angegeben ist, ist jeder Port möglich)"
+
+#, fuzzy
+#~ msgid ""
#~ "allow user to send colors with special codes (\"^Cb\"=bold, \"^Ccxx"
#~ "\"=color, \"^Ccxx,yy\"=color+background, \"^Cu\"=underline, \"^Cr"
#~ "\"=reverse)"
diff --git a/po/es.po b/po/es.po
index 7cc5e38b9..8655ff587 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2009-06-02 15:05+0200\n"
+"POT-Creation-Date: 2009-06-02 15:54+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5088,7 +5088,8 @@ msgstr ""
#, fuzzy
msgid ""
"port number (or range of ports) that relay plugin listens on (syntax: a "
-"single port, ie. 5000 or a port range, ie. 5000-5015)"
+"single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to "
+"use ports greater than 1024, because only root can use ports below 1024)"
msgstr ""
"restringe el dcc de salida a utilizar únicamente los puertos del rango "
"especificado (útil para NAT) (sintaxis: un puerto simple, e.g. 5000, o un "
@@ -5626,7 +5627,8 @@ msgstr "convertir los espacios a subrayados cuando se envían los ficheros"
msgid ""
"restricts outgoing files/chats to use only ports in the given range (useful "
"for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, "
-"empty value means any port)"
+"empty value means any port, it's recommended to use ports greater than 1024, "
+"because only root can use ports below 1024)"
msgstr ""
"restringe el dcc de salida a utilizar únicamente los puertos del rango "
"especificado (útil para NAT) (sintaxis: un puerto simple, e.g. 5000, o un "
@@ -5734,6 +5736,16 @@ msgstr "%s falta un argumento para la opción --dir\n"
#, fuzzy
#~ msgid ""
+#~ "port number (or range of ports) that relay plugin listens on (syntax: a "
+#~ "single port, ie. 5000 or a port range, ie. 5000-5015)"
+#~ msgstr ""
+#~ "restringe el dcc de salida a utilizar únicamente los puertos del rango "
+#~ "especificado (útil para NAT) (sintaxis: un puerto simple, e.g. 5000, o "
+#~ "un rango de puertos, e.g. 5000-5015, un valor vacío significa cualquier "
+#~ "puerto)"
+
+#, fuzzy
+#~ msgid ""
#~ "allow user to send colors with special codes (\"^Cb\"=bold, \"^Ccxx"
#~ "\"=color, \"^Ccxx,yy\"=color+background, \"^Cu\"=underline, \"^Cr"
#~ "\"=reverse)"
diff --git a/po/fr.po b/po/fr.po
index e16e10c13..526bcad60 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2009-06-02 15:05+0200\n"
-"PO-Revision-Date: 2009-06-02 15:06+0200\n"
+"POT-Creation-Date: 2009-06-02 15:54+0200\n"
+"PO-Revision-Date: 2009-06-02 15:55+0200\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@@ -5293,11 +5293,15 @@ msgstr "activer le relai"
msgid ""
"port number (or range of ports) that relay plugin listens on (syntax: a "
-"single port, ie. 5000 or a port range, ie. 5000-5015)"
+"single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to "
+"use ports greater than 1024, because only root can use ports below 1024)"
msgstr ""
-"numéro de port (ou intervalle de ports) sur lesquels écoute l'extension "
-"relay (syntaxe: un port simple, par exemple 5000, un intervalle de ports, "
-"par exemple 5000-5015)"
+"restreint les fichiers/discussions sortants à utiliser des ports dans "
+"l'intervalle donné (pratique pour le NAT) (syntaxe: un port simple, par "
+"exemple 5000, un intervalle de ports, par exemple 5000-5015, si non "
+"renseigné tout port peut être utilisé, il est recommandé d'utiliser des "
+"ports supérieurs à 1024, car seul root peut utiliser les ports en dessous de "
+"1024)"
msgid "list of relay clients"
msgstr "liste des clients pour le relai"
@@ -5826,12 +5830,15 @@ msgstr "n'attend pas les accusés de réception lors de l'envoi de fichier"
msgid ""
"restricts outgoing files/chats to use only ports in the given range (useful "
"for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, "
-"empty value means any port)"
+"empty value means any port, it's recommended to use ports greater than 1024, "
+"because only root can use ports below 1024)"
msgstr ""
"restreint les fichiers/discussions sortants à utiliser des ports dans "
"l'intervalle donné (pratique pour le NAT) (syntaxe: un port simple, par "
"exemple 5000, un intervalle de ports, par exemple 5000-5015, si non "
-"renseigné tout port peut être utilisé)"
+"renseigné tout port peut être utilisé, il est recommandé d'utiliser des "
+"ports supérieurs à 1024, car seul root peut utiliser les ports en dessous de "
+"1024)"
msgid ""
"IP or DNS address used for sending files/chats (if empty, local interface IP "
@@ -5930,6 +5937,14 @@ msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: délai d'attente dépassé pour \"%s\" avec %s"
#~ msgid ""
+#~ "port number (or range of ports) that relay plugin listens on (syntax: a "
+#~ "single port, ie. 5000 or a port range, ie. 5000-5015)"
+#~ msgstr ""
+#~ "numéro de port (ou intervalle de ports) sur lesquels écoute l'extension "
+#~ "relay (syntaxe: un port simple, par exemple 5000, un intervalle de ports, "
+#~ "par exemple 5000-5015)"
+
+#~ msgid ""
#~ "allow user to send colors with special codes (\"^Cb\"=bold, \"^Ccxx"
#~ "\"=color, \"^Ccxx,yy\"=color+background, \"^Cu\"=underline, \"^Cr"
#~ "\"=reverse)"
diff --git a/po/hu.po b/po/hu.po
index e30a6640a..a25d73303 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2009-06-02 15:05+0200\n"
+"POT-Creation-Date: 2009-06-02 15:54+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5156,7 +5156,8 @@ msgstr ""
#, fuzzy
msgid ""
"port number (or range of ports) that relay plugin listens on (syntax: a "
-"single port, ie. 5000 or a port range, ie. 5000-5015)"
+"single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to "
+"use ports greater than 1024, because only root can use ports below 1024)"
msgstr ""
"korlátozza a dcc-t, hogy csak egy bizonyos tartományban lévő portokat "
"használja (NAT esetén hasznos) (szintaxis: egyetlen port, pl. 5000 vagy egy "
@@ -5694,7 +5695,8 @@ msgstr "nem vár ACK válaszra fájl küldésekor"
msgid ""
"restricts outgoing files/chats to use only ports in the given range (useful "
"for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, "
-"empty value means any port)"
+"empty value means any port, it's recommended to use ports greater than 1024, "
+"because only root can use ports below 1024)"
msgstr ""
"korlátozza a dcc-t, hogy csak egy bizonyos tartományban lévő portokat "
"használja (NAT esetén hasznos) (szintaxis: egyetlen port, pl. 5000 vagy egy "
@@ -5795,6 +5797,15 @@ msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
#, fuzzy
#~ msgid ""
+#~ "port number (or range of ports) that relay plugin listens on (syntax: a "
+#~ "single port, ie. 5000 or a port range, ie. 5000-5015)"
+#~ msgstr ""
+#~ "korlátozza a dcc-t, hogy csak egy bizonyos tartományban lévő portokat "
+#~ "használja (NAT esetén hasznos) (szintaxis: egyetlen port, pl. 5000 vagy "
+#~ "egy port intervallum, pl. 5000-5015, üresen hagyva tetszőleges port)"
+
+#, fuzzy
+#~ msgid ""
#~ "allow user to send colors with special codes (\"^Cb\"=bold, \"^Ccxx"
#~ "\"=color, \"^Ccxx,yy\"=color+background, \"^Cu\"=underline, \"^Cr"
#~ "\"=reverse)"
diff --git a/po/pl.po b/po/pl.po
index 93caa88bb..4cc4aa0e2 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2009-06-02 15:05+0200\n"
+"POT-Creation-Date: 2009-06-02 15:54+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: <soltys@szluug.org>\n"
"Language-Team: Polish\n"
@@ -4445,7 +4445,8 @@ msgstr ""
msgid ""
"port number (or range of ports) that relay plugin listens on (syntax: a "
-"single port, ie. 5000 or a port range, ie. 5000-5015)"
+"single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to "
+"use ports greater than 1024, because only root can use ports below 1024)"
msgstr ""
msgid "list of relay clients"
@@ -4938,7 +4939,8 @@ msgstr ""
msgid ""
"restricts outgoing files/chats to use only ports in the given range (useful "
"for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, "
-"empty value means any port)"
+"empty value means any port, it's recommended to use ports greater than 1024, "
+"because only root can use ports below 1024)"
msgstr ""
msgid ""
diff --git a/po/ru.po b/po/ru.po
index f87591e24..1b5a46d3f 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2009-06-02 15:05+0200\n"
+"POT-Creation-Date: 2009-06-02 15:54+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5128,7 +5128,8 @@ msgstr ""
#, fuzzy
msgid ""
"port number (or range of ports) that relay plugin listens on (syntax: a "
-"single port, ie. 5000 or a port range, ie. 5000-5015)"
+"single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to "
+"use ports greater than 1024, because only root can use ports below 1024)"
msgstr ""
"привязывает исходящие DCС соединения к определённому интервалу портов "
"(полезно для NAT) (синтаксис: определённый порт, например 5000, или интервал "
@@ -5659,7 +5660,8 @@ msgstr "не ожидать ACK при отправке файла"
msgid ""
"restricts outgoing files/chats to use only ports in the given range (useful "
"for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, "
-"empty value means any port)"
+"empty value means any port, it's recommended to use ports greater than 1024, "
+"because only root can use ports below 1024)"
msgstr ""
"привязывает исходящие DCС соединения к определённому интервалу портов "
"(полезно для NAT) (синтаксис: определённый порт, например 5000, или интервал "
@@ -5762,6 +5764,15 @@ msgstr "%s нет аргумента для параметра \"%s\"\n"
#, fuzzy
#~ msgid ""
+#~ "port number (or range of ports) that relay plugin listens on (syntax: a "
+#~ "single port, ie. 5000 or a port range, ie. 5000-5015)"
+#~ msgstr ""
+#~ "привязывает исходящие DCС соединения к определённому интервалу портов "
+#~ "(полезно для NAT) (синтаксис: определённый порт, например 5000, или "
+#~ "интервал портов, например 5000-5015, пустое значение означает любой порт)"
+
+#, fuzzy
+#~ msgid ""
#~ "allow user to send colors with special codes (\"^Cb\"=bold, \"^Ccxx"
#~ "\"=color, \"^Ccxx,yy\"=color+background, \"^Cu\"=underline, \"^Cr"
#~ "\"=reverse)"
diff --git a/po/weechat.pot b/po/weechat.pot
index d3aad87f1..eba3b89b8 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2009-06-02 15:05+0200\n"
+"POT-Creation-Date: 2009-06-02 15:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -4407,7 +4407,8 @@ msgstr ""
msgid ""
"port number (or range of ports) that relay plugin listens on (syntax: a "
-"single port, ie. 5000 or a port range, ie. 5000-5015)"
+"single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to "
+"use ports greater than 1024, because only root can use ports below 1024)"
msgstr ""
msgid "list of relay clients"
@@ -4900,7 +4901,8 @@ msgstr ""
msgid ""
"restricts outgoing files/chats to use only ports in the given range (useful "
"for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, "
-"empty value means any port)"
+"empty value means any port, it's recommended to use ports greater than 1024, "
+"because only root can use ports below 1024)"
msgstr ""
msgid ""
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c
index 64336f68d..ec1db436b 100644
--- a/src/plugins/relay/relay-config.c
+++ b/src/plugins/relay/relay-config.c
@@ -212,7 +212,8 @@ relay_config_init ()
"listen_port_range", "string",
N_("port number (or range of ports) that relay plugin listens on "
"(syntax: a single port, ie. 5000 or a port "
- "range, ie. 5000-5015)"),
+ "range, ie. 5000-5015, it's recommended to use ports greater than "
+ "1024, because only root can use ports below 1024)"),
NULL, 0, 0, "22373-22400", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
return 1;
diff --git a/src/plugins/xfer/xfer-config.c b/src/plugins/xfer/xfer-config.c
index 346cebe8e..caf8be5e1 100644
--- a/src/plugins/xfer/xfer-config.c
+++ b/src/plugins/xfer/xfer-config.c
@@ -230,7 +230,9 @@ xfer_config_init ()
"port_range", "string",
N_("restricts outgoing files/chats to use only ports in the given "
"range (useful for NAT) (syntax: a single port, ie. 5000 or a port "
- "range, ie. 5000-5015, empty value means any port)"),
+ "range, ie. 5000-5015, empty value means any port, it's recommended "
+ "to use ports greater than 1024, because only root can use ports "
+ "below 1024)"),
NULL, 0, 0, "", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_network_own_ip = weechat_config_new_option (
xfer_config_file, ptr_section,