packages/net/i2pd/patches/010-config.patch
Daniel Bermond aa5ccd5ef2 i2pd: update to version 2.46.1
Maintainer   : @yangfl (David Yang)
Build system : Arch Linux x86_64
Build tested : r7800 OpenWrt git master (r22104-01262c921c)
Run tested   : r7800 OpenWrt git master (r22104-01262c921c)

Signed-off-by: Daniel Bermond <danielbermond@gmail.com>
2023-02-27 03:28:10 +01:00

94 lines
2.8 KiB
Diff

--- a/contrib/i2pd.conf
+++ b/contrib/i2pd.conf
@@ -8,16 +8,16 @@
## Tunnels config file
## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf
-# tunconf = /var/lib/i2pd/tunnels.conf
+tunconf = /etc/i2pd/tunnels.conf
## Tunnels config files path
## Use that path to store separated tunnels in different config files.
## Default: ~/.i2pd/tunnels.d or /var/lib/i2pd/tunnels.d
-# tunnelsdir = /var/lib/i2pd/tunnels.d
+tunnelsdir = /etc/i2pd/tunnels.d
## Path to certificates used for verifying .su3, families
## Default: ~/.i2pd/certificates or /var/lib/i2pd/certificates
-# certsdir = /var/lib/i2pd/certificates
+certsdir = /usr/share/i2pd/certificates
## Where to write pidfile (default: i2pd.pid, not used in Windows)
# pidfile = /run/i2pd.pid
@@ -35,7 +35,7 @@
# logfile = /var/log/i2pd/i2pd.log
## Log messages above this level (debug, info, *warn, error, none)
## If you set it to none, logging will be disabled
-# loglevel = warn
+loglevel = none
## Write full CLF-formatted date and time to log (default: write only time)
# logclftime = true
@@ -115,9 +115,9 @@ ssu = false
[http]
## Web Console settings
## Uncomment and set to 'false' to disable Web Console
-# enabled = true
+enabled = true
## Address and port service will listen on
-address = 127.0.0.1
+address = 192.168.1.1
port = 7070
## Path to web console, default "/"
# webroot = /
@@ -135,9 +135,9 @@ port = 7070
[httpproxy]
## Uncomment and set to 'false' to disable HTTP Proxy
-# enabled = true
+enabled = true
## Address and port service will listen on
-address = 127.0.0.1
+address = 192.168.1.1
port = 4444
## Optional keys file for proxy local destination
# keys = http-proxy-keys.dat
@@ -151,9 +151,9 @@ port = 4444
[socksproxy]
## Uncomment and set to 'false' to disable SOCKS Proxy
-# enabled = true
+enabled = true
## Address and port service will listen on
-address = 127.0.0.1
+address = 192.168.1.1
port = 4447
## Optional keys file for proxy local destination
# keys = socks-proxy-keys.dat
@@ -167,7 +167,7 @@ port = 4447
[sam]
## Comment or set to 'false' to disable SAM Bridge
-enabled = true
+enabled = false
## Address and port service will listen on
# address = 127.0.0.1
# port = 7656
@@ -202,7 +202,7 @@ enabled = true
[upnp]
## Enable or disable UPnP: automatic port forwarding (enabled by default in WINDOWS, ANDROID)
-# enabled = false
+enabled = false
## Name i2pd appears in UPnP forwardings list (default = I2Pd)
# name = I2Pd
@@ -244,7 +244,7 @@ verify = true
[limits]
## Maximum active transit sessions (default: 5000)
## This value is doubled if floodfill mode is enabled!
-# transittunnels = 5000
+transittunnels = 500
## Limit number of open file descriptors (0 - use system limit)
# openfiles = 0
## Maximum size of corefile in Kb (0 - use system limit)