From 6bd73cdea2db75b0f976da308629dc35f3c4ec80 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sat, 16 Jun 2018 18:11:46 +0300 Subject: [PATCH] Update help message, debian manpage. Prepare changelog message --- debian/changelog | 8 ++++++++ debian/i2pd.1 | 38 +++++++++++++++++++++++++------------- libi2pd/Config.cpp | 7 +++---- 3 files changed, 36 insertions(+), 17 deletions(-) diff --git a/debian/changelog b/debian/changelog index afddc797..79c368a6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +i2pd (2.19.0-1) unstable; urgency=low + + * updated to version 2.19.0/0.9.35 + * update manpage (1) + * fixes in systemd unit (#1089, #1142, #1154, #1155) + + -- R4SAS Tue, 19 Jun 2018 18:00:00 +0000 + i2pd (2.18.0-1) unstable; urgency=low * updated to version 2.18.0/0.9.33 diff --git a/debian/i2pd.1 b/debian/i2pd.1 index e1390891..77e62a6e 100644 --- a/debian/i2pd.1 +++ b/debian/i2pd.1 @@ -1,4 +1,4 @@ -.TH I2PD "1" "March 31, 2015" +.TH I2PD "1" "June 15, 2018" .SH NAME i2pd \- Load-balanced unspoofable packet switching network @@ -40,7 +40,10 @@ Logs destination: \fIstdout\fR, \fIfile\fR, \fIsyslog\fR (\fIstdout\fR if not se Path to logfile (default - autodetect) .TP \fB\-\-loglevel=\fR -Log messages above this level (\fIdebug\fR, \fBinfo\fR, \fIwarn\fR, \fIerror\fR) +Log messages above this level (\fIdebug\fR, \fBinfo\fR, \fIwarn\fR, \fIerror\fR, \fInone\fR) +.TP +\fB\-\-logclftime\fR +Log messages with full CLF-formatted date and time .TP \fB\-\-datadir=\fR Path to storage of i2pd data (RI, keys, peer profiles, ...) @@ -51,14 +54,17 @@ The external IP address \fB\-\-port=\fR The port to listen on for incoming connections .TP -\fB\-\-daemon\fR -Router will go to background after start +\fB\-\-ifname=\fR +The network interface to bind to .TP -\fB\-\-service\fR -Router will use system folders like \fI/var/lib/i2pd\fR +\fB\-\-ifname4=\fR +The network interface to bind to for IPv4 connections +.TP +\fB\-\-ifname6=\fR +The network interface to bind to for IPv6 connections .TP \fB\-\-ipv6\fR -Enable communication through ipv6. false by default +Enable communication through ipv6 (disabled by default) .TP \fB\-\-notransit\fR Router will not accept transit tunnels at startup @@ -67,7 +73,16 @@ Router will not accept transit tunnels at startup Router will be floodfill .TP \fB\-\-bandwidth=\fR -Bandwidth limit: integer in KBps or letter aliases: \fIL (32KBps)\fR, O (256), P (2048), X (>9000) +Bandwidth limit: integer in KBps or letter aliases: \fBL (32KBps)\fR, \fIO (256)\fR, \fIP (2048)\fR, \fIX (>9000)\fR +.TP +\fB\-\-share=\fR +Limit of transit traffic from max bandwidth in percents. (default: 100) +.TP +\fB\-\-daemon\fR +Router will go to background after start +.TP +\fB\-\-service\fR +Router will use system folders like \fI/var/lib/i2pd\fR .TP \fB\-\-family=\fR Name of a family, router belongs to. @@ -90,16 +105,13 @@ i2pd profile directory (when running as a system service, see \fB\-\-service\fR $HOME/.i2pd/ .RS 4 i2pd profile directory (when running as a normal user) -.RE -.PP -/usr/share/doc/i2pd/examples/hosts.txt.gz -.RS 4 -default I2P hosts file .SH AUTHOR This manual page was written by kytv for the Debian system (but may be used by others). .PP Updated by hagen in 2016. .PP +Updated by R4SAS in 2018. +.PP Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation .BR On Debian systems, the complete text of the GNU General Public License can be found in \fI/usr/share/common-licenses/GPL\fR diff --git a/libi2pd/Config.cpp b/libi2pd/Config.cpp index a7bc305c..5f108fbb 100644 --- a/libi2pd/Config.cpp +++ b/libi2pd/Config.cpp @@ -37,8 +37,8 @@ namespace config { ("pidfile", value()->default_value(""), "Path to pidfile (default: ~/i2pd/i2pd.pid or /var/lib/i2pd/i2pd.pid)") ("log", value()->default_value(""), "Logs destination: stdout, file, syslog (stdout if not set)") ("logfile", value()->default_value(""), "Path to logfile (stdout if not set, autodetect if daemon)") - ("loglevel", value()->default_value("info"), "Set the minimal level of log messages (debug, info, warn, error)") - ("logclftime", value()->default_value(false), "Write full CLF-formatted date and time to log (default: write only time)") + ("loglevel", value()->default_value("info"), "Set the minimal level of log messages (debug, info, warn, error, none)") + ("logclftime", value()->zero_tokens()->default_value(false), "Write full CLF-formatted date and time to log (default: write only time)") ("family", value()->default_value(""), "Specify a family, router belongs to") ("datadir", value()->default_value(""), "Path to storage of i2pd data (RI, keys, peer profiles, ...)") ("host", value()->default_value("0.0.0.0"), "External IP") @@ -63,7 +63,7 @@ namespace config { #ifdef _WIN32 ("svcctl", value()->default_value(""), "Windows service management ('install' or 'remove')") ("insomnia", value()->zero_tokens()->default_value(false), "Prevent system from sleeping") - ("close", value()->default_value("ask"), "Action on close: minimize, exit, ask") // TODO: add custom validator or something + ("close", value()->default_value("ask"), "Action on close: minimize, exit, ask") #endif ; @@ -331,4 +331,3 @@ namespace config { } // namespace config } // namespace i2p -