Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / net / i2pd / patches / 010-config.patch
1 --- a/contrib/i2pd.conf
2 +++ b/contrib/i2pd.conf
3 @@ -8,12 +8,12 @@
4
5 ## Tunnels config file
6 ## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf
7 -# tunconf = /var/lib/i2pd/tunnels.conf
8 +tunconf = /etc/i2pd/tunnels.conf
9
10 ## Tunnels config files path
11 ## Use that path to store separated tunnels in different config files.
12 ## Default: ~/.i2pd/tunnels.d or /var/lib/i2pd/tunnels.d
13 -# tunnelsdir = /var/lib/i2pd/tunnels.d
14 +tunnelsdir = /etc/i2pd/tunnels.conf
15
16 ## Where to write pidfile (default: i2pd.pid, not used in Windows)
17 # pidfile = /run/i2pd.pid
18 @@ -25,12 +25,12 @@
19 ## * stdout - print log entries to stdout
20 ## * file - log entries to a file
21 ## * syslog - use syslog, see man 3 syslog
22 -# log = file
23 +log = syslog
24 ## Path to logfile (default - autodetect)
25 # logfile = /var/log/i2pd/i2pd.log
26 ## Log messages above this level (debug, info, *warn, error, none)
27 ## If you set it to none, logging will be disabled
28 -# loglevel = warn
29 +loglevel = error
30 ## Write full CLF-formatted date and time to log (default: write only time)
31 # logclftime = true
32
33 @@ -61,7 +61,7 @@ ipv6 = false
34 # ifname6 =
35
36 ## Enable NTCP transport (default = true)
37 -# ntcp = true
38 +ntcp = false
39 ## If you run i2pd behind a proxy server, you can only use NTCP transport with ntcpproxy option
40 ## Should be http://address:port or socks://address:port
41 # ntcpproxy = http://127.0.0.1:8118
42 @@ -81,7 +81,7 @@ ipv6 = false
43
44 ## Router will not accept transit tunnels, disabling transit traffic completely
45 ## (default = false)
46 -# notransit = true
47 +notransit = true
48
49 ## Router will be floodfill
50 # floodfill = true
51 @@ -91,8 +91,10 @@ ipv6 = false
52 ## Uncomment and set to 'false' to disable Web Console
53 # enabled = true
54 ## Address and port service will listen on
55 -address = 127.0.0.1
56 +address = 192.168.1.1
57 +# address = ::
58 port = 7070
59 +# strictheaders = false
60 ## Path to web console, default "/"
61 # webroot = /
62 ## Uncomment following lines to enable Web Console authentication
63 @@ -104,7 +106,7 @@ port = 7070
64 ## Uncomment and set to 'false' to disable HTTP Proxy
65 # enabled = true
66 ## Address and port service will listen on
67 -address = 127.0.0.1
68 +address = 192.168.1.1
69 port = 4444
70 ## Optional keys file for proxy local destination
71 # keys = http-proxy-keys.dat
72 @@ -118,7 +120,7 @@ port = 4444
73 ## Uncomment and set to 'false' to disable SOCKS Proxy
74 # enabled = true
75 ## Address and port service will listen on
76 -address = 127.0.0.1
77 +address = 192.168.1.1
78 port = 4447
79 ## Optional keys file for proxy local destination
80 # keys = socks-proxy-keys.dat
81 @@ -228,4 +230,5 @@ verify = true
82
83 [persist]
84 ## Save peer profiles on disk (default: true)
85 -# profiles = true
86 +profiles = false
87 +addressbook = false