1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

Add note about ports < 1024 (reserved for root) for listening ports (options xfer.network.port_range and relay.network.listen_port_range)

This commit is contained in:
Sebastien Helleu
2009-06-02 16:01:37 +02:00
parent 7d34e10c6d
commit 89701be94f
14 changed files with 114 additions and 35 deletions
+2 -1
View File
@@ -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;
+3 -1
View File
@@ -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,