From cb1e47eb7138d13b3bf48ec4f3a38fa23485caa4 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Fri, 20 Jul 2018 23:15:22 +0300 Subject: [PATCH] use preconfigured configs for android package --- android/assets/i2pd.conf | 79 +++++++++++++++++++++++++++++++- android/assets/subscriptions.txt | 4 +- android/assets/tunnels.conf | 34 +++++++++++++- 3 files changed, 114 insertions(+), 3 deletions(-) diff --git a/android/assets/i2pd.conf b/android/assets/i2pd.conf index f4a68aa2..8022b3d9 120000 --- a/android/assets/i2pd.conf +++ b/android/assets/i2pd.conf @@ -1 +1,78 @@ -../../contrib/i2pd.conf \ No newline at end of file +## Configuration file for a typical i2pd user +## See https://i2pd.readthedocs.org/en/latest/configuration.html +## for more options you can use in this file. + +#logfile = /sdcard/i2pd/i2pd.log +loglevel = none + +# host = 1.2.3.4 +# port = 4567 + +ipv4 = true +ipv6 = false + +# ntcp = true +# ntcpproxy = http://127.0.0.1:8118 +# ssu = true + +bandwidth = O +# share = 100 + +# notransit = true +# floodfill = true + +[http] +enabled = true +address = 127.0.0.1 +port = 7070 +# auth = true +# user = i2pd +# pass = changeme + +[httpproxy] +enabled = true +address = 127.0.0.1 +port = 4444 +# keys = http-proxy-keys.dat +# addresshelper = true +# outproxy = http://false.i2p +## httpproxy section also accepts I2CP parameters, like "inbound.length" etc. + +[socksproxy] +enabled = true +address = 127.0.0.1 +port = 4447 +# keys = socks-proxy-keys.dat +# outproxy.enabled = false +# outproxy = 127.0.0.1 +# outproxyport = 9050 +## socksproxy section also accepts I2CP parameters, like "inbound.length" etc. + +[sam] +enabled = false +# address = 127.0.0.1 +# port = 7656 + +[precomputation] +elgamal = true + +[upnp] +enabled = true +# name = I2Pd + +[reseed] +verify = true +## Path to local reseed data file (.su3) for manual reseeding +# file = /path/to/i2pseeds.su3 +## or HTTPS URL to reseed from +# file = https://legit-website.com/i2pseeds.su3 +## Path to local ZIP file or HTTPS URL to reseed from +# zipfile = /path/to/netDb.zip +## If you run i2pd behind a proxy server, set proxy server for reseeding here +## Should be http://address:port or socks://address:port +# proxy = http://127.0.0.1:8118 +## Minimum number of known routers, below which i2pd triggers reseeding. 25 by default +# threshold = 25 + +[limits] +transittunnels = 50 diff --git a/android/assets/subscriptions.txt b/android/assets/subscriptions.txt index 4fcc444f..8f4afb03 120000 --- a/android/assets/subscriptions.txt +++ b/android/assets/subscriptions.txt @@ -1 +1,3 @@ -../../contrib/subscriptions.txt \ No newline at end of file +http://inr.i2p/export/alive-hosts.txt +http://stats.i2p/cgi-bin/newhosts.txt +http://i2p-projekt.i2p/hosts.txt diff --git a/android/assets/tunnels.conf b/android/assets/tunnels.conf index 08767c73..e95fdf2e 120000 --- a/android/assets/tunnels.conf +++ b/android/assets/tunnels.conf @@ -1 +1,33 @@ -../../contrib/tunnels.conf \ No newline at end of file +[IRC-IRC2P] +#type = client +#address = 127.0.0.1 +#port = 6668 +#destination = irc.postman.i2p +#destinationport = 6667 +#keys = irc-keys.dat + +#[IRC-ILITA] +#type = client +#address = 127.0.0.1 +#port = 6669 +#destination = irc.ilita.i2p +#destinationport = 6667 +#keys = irc-keys.dat + +#[SMTP] +#type = client +#address = 127.0.0.1 +#port = 7659 +#destination = smtp.postman.i2p +#destinationport = 25 +#keys = smtp-keys.dat + +#[POP3] +#type = client +#address = 127.0.0.1 +#port = 7660 +#destination = pop.postman.i2p +#destinationport = 110 +#keys = pop3-keys.dat + +# see more examples at https://i2pd.readthedocs.io/en/latest/user-guide/tunnels/