aboutsummaryrefslogtreecommitdiff
path: root/net/i2pd/patches/010-config.patch
blob: ffd3b17606be4b78add4f64f953b85df5f0274af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
--- 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: /run/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, critical, 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
 
@@ -118,9 +118,9 @@ ipv6 = false
 [http]
 ## Web Console settings
 ## Enable the Web Console (default: true)
-# enabled = true
+enabled = true
 ## Address and port service will listen on (default: 127.0.0.1:7070)
-# address = 127.0.0.1
+address = 192.168.1.1
 # port = 7070
 ## Path to web console (default: /)
 # webroot = /
@@ -138,9 +138,9 @@ ipv6 = false
 
 [httpproxy]
 ## Enable the HTTP proxy (default: true)
-# enabled = true
+enabled = true
 ## Address and port service will listen on (default: 127.0.0.1:4444)
-# address = 127.0.0.1
+address = 192.168.1.1
 # port = 4444
 ## Optional keys file for proxy local destination (default: http-proxy-keys.dat)
 # keys = http-proxy-keys.dat
@@ -154,9 +154,9 @@ ipv6 = false
 
 [socksproxy]
 ## Enable the SOCKS proxy (default: true)
-# enabled = true
+enabled = true
 ## Address and port service will listen on (default: 127.0.0.1:4447)
-# address = 127.0.0.1
+address = 192.168.1.1
 # port = 4447
 ## Optional keys file for proxy local destination (default: socks-proxy-keys.dat)
 # keys = socks-proxy-keys.dat
@@ -170,7 +170,7 @@ ipv6 = false
 
 [sam]
 ## Enable the SAM bridge (default: true)
-# enabled = false
+enabled = false
 ## Address and ports service will listen on (default: 127.0.0.1:7656, udp: 7655)
 # address = 127.0.0.1
 # port = 7656
@@ -206,7 +206,7 @@ ipv6 = false
 
 [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
 
@@ -248,7 +248,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)