@ -18,59 +18,58 @@ network is both distributed and dynamic, with no trusted parties.
Any of the configuration options below can be used in the \fBDAEMON_ARGS\fR variable in \fI/etc/default/i2pd\fR.
Any of the configuration options below can be used in the \fBDAEMON_ARGS\fR variable in \fI/etc/default/i2pd\fR.
.BR
.BR
.TP
.TP
\fB\-\-host=\fR
\fB\-\-help\fR
The external IP (deprecated)
Show available options.
.TP
\fB\-\-port=\fR
The external port to listen on
.TP
.TP
\fB\-\-httpport=\fR
\fB\-\-conf=\fR
The HTTP port to listen on
Config file (default: \fI~/.i2pd/i2pd.conf\fR or \fI/var/lib/i2pd/i2pd.conf\fR)
.BR
This parameter will be silently ignored if the specified config file does not exist.
Options specified on the command line take precedence over those in the config file.
.TP
.TP
\fB\-\-log=\fR[\fI1\fR|\fI0\fR]
\fB\-\-tunconf=\fR
.br
Tunnels config file (default: \fI~/.i2pd/tunnels.conf\fR or \fI/var/lib/i2pd/tunnels.conf\fR)
Enable of disable logging to a file. \fI1\fR for yes, \fI0\fR for no. (default: \fI0\fR, off)
.TP
.TP
\fB\-\-daemon=\fR[\fI1\fR|\fI0\fR]
\fB\-\-pidfile=\fR
Enable or disable daemon mode. Daemon mode is enabled with \fI1\fR and disabled with \fI0\fR. (default: \fI0\fR, off)
Where to write pidfile (don\'t write by default)
.TP
.TP
\fB\-\-service=\fR[\fI1\fR|\fI0\fR]
\fB\-\-log=\fR
If enabled, system folders (\fB/var/run/i2pd.pid\fR, \fB/var/log/i2pd.log\fR, \fB/var/lib/i2pd\fR) will be used. If off, \fB$HOME/.i2pd\fR will be used instead. (default: \fI0\fR, off).
Logs destination: \fIstdout\fR, \fIfile\fR, \fIsyslog\fR (\fIstdout\fR if not set, \fIfile\fR - otherwise, for compatibility)
.TP
.TP
\fB\-\-unreachable=\fR[\fI1\fR|\fI0\fR]
\fB\-\-loglevel=\fR
\fI1\fR if router is declared as unreachable and works through introducers. (default: \fI0\fR, off)
Log messages above this level (\fIdebug\fR, \fBinfo\fR, \fIwarn\fR, \fIerror\fR)
.TP
.TP
\fB\-\-v6=\fR[\fI1\fR|\fI0\fR]
\fB\-\-datadir=\fR
\fI1\fR if \fBi2pd\fR should communicate via IPv6. (default: \fI0\fR, off)
Path to storage of i2pd data (RI, keys, peer profiles, ...)
.TP
.TP
\fB\-\-floodfill=\fR[\fI1\fR|\fI0\fR]
\fB\-\-host=\fR
\fI1\fR if \fBi2pd\fR should become a floodfill. (default: \fI0\fR, off)
The external IP address
.TP
.TP
\fB\-\-bandwidth=\fR[\fI1\fR|\fI0\fR]
\fB\-\-port=\fR
\fIL\fR if \fBi2pd\fR should be limited to 32KiB/s. Enabling floodfill will automatically set this to \fI0\fR (default: \fI0\fR, no limit)
The port to listen on for incoming connections
.TP
.TP
\fB\-\-httpproxyport=\fR
\fB\-\-daemon\fR
The local port for the HTTP Proxy to listen on (default: \fI4446\fR)
Router will go to background after start
.TP
.TP
\fB\-\-socksproxyport=\fR
\fB\-\-service\fR
The local port for the SOCKS proxy to listen on (default: \fI4447\fR)
Router will use system folders like \fI/var/lib/i2pd\fR
.TP
.TP
\fB\-\-proxykeys=\fR
\fB\-\-ipv6\fR
An optional keys file for tunnel local destination (both HTTP and SOCKS)
Enable communication through ipv6. false by default
.TP
.TP
\fB\-\-samport=\fR
\fB\-\-notransit\fR
Port of SAM bridge. Usually \fI7656\fR. SAM will not be enabled if this is not set. (default: unset)
Router will not accept transit tunnels at startup
.TP
.TP
\fB\-\-bobport=\fR
\fB\-\-floodfill\fR
Port of BOB command channel. Usually \fI2827\fR. BOB will not be enabled if this is not set. (default: unset)
Router will be floodfill
.TP
.TP
\fB\-\-i2pcontrolport=\fR
\fB\-\-bandwidth=\fR
Port of I2P control service. Usually \fI7650\fR. I2PControl will not be enabled if this is not set. (default: unset)
Bandwidth limit: integer in KBps or letter aliases: \fIL (32KBps)\fR, O (256), P (2048), X (>9000)
.TP
.TP
\fB\-\-conf=\fR
\fB\-\-family=\fR
Config file (default: \fI~/.i2pd/i2pd.conf\fR or \fI/var/lib/i2pd/i2pd.conf\fR)
Name of a family, router belongs to.
This parameter will be silently ignored if the specified config file does not exist.
.PP
Options specified on the command line take precedence over those in the config file.
See service-specific parameters in page \fIdocs/configuration.md\fR or in example config file \fIdocs/i2pd.conf\fR
.SHFILES
.SHFILES
.PP
.PP
@ -82,10 +81,10 @@ i2pd configuration files (when running as a system service)
.PP
.PP
/var/lib/i2pd/
/var/lib/i2pd/
.RS4
.RS4
i2pd profile directory (when running as a system service, see \fB\-\-service=\fR above)
i2pd profile directory (when running as a system service, see \fB\-\-service\fR above)
.RE
.RE
.PP
.PP
$HOME/.i2pd
$HOME/.i2pd/
.RS4
.RS4
i2pd profile directory (when running as a normal user)
i2pd profile directory (when running as a normal user)
.RE
.RE
@ -95,7 +94,9 @@ i2pd profile directory (when running as a normal user)
default I2P hosts file
default I2P hosts file
.SHAUTHOR
.SHAUTHOR
This manual page was written by kytv <killyourtv@i2pmail.org> for the Debian system (but may be used by others).
This manual page was written by kytv <killyourtv@i2pmail.org> for the Debian system (but may be used by others).
.BR
.PP
Updated by hagen <hagen@i2pmail.org> in 2016.
.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
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
.BR
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL
On Debian systems, the complete text of the GNU General Public License can be found in \fI/usr/share/common-licenses/GPL\fR