You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.7 KiB

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