From 6f86e19a604d31b07a4434f3438597a0b811b574 Mon Sep 17 00:00:00 2001 From: milisman Date: Thu, 29 Dec 2016 23:50:35 +0200 Subject: [PATCH] i2pd.guncellendi --- talimatname/genel/i2pd/i2pd.conf | 168 ++++++++++++++++++++++++++++ talimatname/genel/i2pd/i2pd.kur-kos | 2 + talimatname/genel/i2pd/talimat | 10 +- talimatname/genel/i2pd/tunnels.conf | 49 ++++++++ 4 files changed, 225 insertions(+), 4 deletions(-) create mode 100644 talimatname/genel/i2pd/i2pd.conf create mode 100644 talimatname/genel/i2pd/i2pd.kur-kos create mode 100644 talimatname/genel/i2pd/tunnels.conf diff --git a/talimatname/genel/i2pd/i2pd.conf b/talimatname/genel/i2pd/i2pd.conf new file mode 100644 index 000000000..3da696f25 --- /dev/null +++ b/talimatname/genel/i2pd/i2pd.conf @@ -0,0 +1,168 @@ +## 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. + +## Lines that begin with "## " try to explain what's going on. Lines +## that begin with just "#" are disabled commands: you can enable them +## by removing the "#" symbol. + +## Tunnels config file +## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf +#tunconf = /etc/i2pd/tunnels.conf + +## Where to write pidfile (don't write by default) +# pidfile = /var/run/i2pd.pid + +## Logging configuration section +## By default logs go to stdout with level 'info' and higher +## +## Logs destination (valid values: stdout, file, syslog) +## * stdout - print log entries to stdout +## * file - log entries to a file +## * syslog - use syslog, see man 3 syslog +# log = file +## Path to logfile (default - autodetect) +logfile = /var/log/i2pd.log +## Log messages above this level (debug, *info, warn, error) +# loglevel = info + +## Path to storage of i2pd data (RI, keys, peer profiles, ...) +## Default: ~/.i2pd or /var/lib/i2pd +#datadir = /var/lib/i2pd + +## Daemon mode. Router will go to background after start +# daemon = true +## Run as a service. Router will use system folders like ‘/var/lib/i2pd’ +# service = true + +## Specify a family, router belongs to (default - none) +# family = + +## External IP address to listen for connections +## By default i2pd sets IP automatically +# host = 1.2.3.4 + +## Port to listen for connections +## By default i2pd picks random port. You MUST pick a random number too, +## don't just uncomment this +# port = 4567 + +## Enable communication through ipv4 +ipv4 = true +## Enable communication through ipv6 +ipv6 = false + +## Network interface to bind to +# ifname = + +## Enable NTCP transport (default = true) +# ntcp = true +## Enable SSU transport (default = true) +# ssu = true + +## Should we assume we are behind NAT? (false only in MeshNet) +# nat = true + +## Bandwidth configuration +## L limit bandwidth to 32Kbs/sec, O - to 256Kbs/sec, P - to 2048Kbs/sec, +## X - unlimited +## Default is X for floodfill, L for regular node +# bandwidth = L + +## Router will not accept transit tunnels at startup +# notransit = true + +## Router will be floodfill +# floodfill = true + +[limits] +## Maximum active transit sessions (default:2500) +# transittunnels = 2500 + +[precomputation] +## Enable or disable elgamal precomputation table +## By default, enabled on i386 hosts +# elgamal = true + +[upnp] +## Enable or disable UPnP: automatic port forwarding (enabled by default in WINDOWS, ANDROID) +# enabled = false + +## Name i2pd appears in UPnP forwardings list (default = I2Pd) +# name = I2Pd + +[reseed] +## Enable or disable reseed data verification. +verify = true +## URLs to request reseed data from, separated by comma +## Default: "mainline" I2P Network reseeds +# urls = https://reseed.i2p-projekt.de/,https://i2p.mooo.com/netDb/,https://netdb.i2p2.no/ +## 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 + +[addressbook] +## AddressBook subscription URL for initial setup +## Default: inr.i2p at "mainline" I2P Network +defaulturl = http://joajgazyztfssty4w2on5oaqksz6tqoxbduy553y34mf4byv6gpq.b32.i2p/export/alive-hosts.txt +## Optional subscriptions URLs, separated by comma +subscriptions = http://inr.i2p/export/alive-hosts.txt,http://stats.i2p/cgi-bin/newhosts.txt,http://rus.i2p/hosts.txt + +[http] +## Uncomment and set to 'false' to disable Web Console +# enabled = true +## Address and port service will listen on +address = 127.0.0.1 +port = 7070 + +[httpproxy] +## Uncomment and set to 'false' to disable HTTP Proxy +# enabled = true +## Address and port service will listen on +address = 127.0.0.1 +port = 4444 +## Optional keys file for proxy local destination +# keys = http-proxy-keys.dat + +[socksproxy] +## Uncomment and set to 'false' to disable SOCKS Proxy +# enabled = true +## Address and port service will listen on +address = 127.0.0.1 +port = 4447 +## Optional keys file for proxy local destination +# keys = socks-proxy-keys.dat + +## Socks outproxy. Example below is set to use Tor for all connections except i2p +## Address and port of outproxy +# outproxy = 127.0.0.1 +# outproxyport = 9050 + +[sam] +## Uncomment and set to 'true' to enable SAM Bridge +# enabled = false +## Address and port service will listen on +# address = 127.0.0.1 +# port = 7656 + +[bob] +## Uncomment and set to 'true' to enable BOB command channel +# enabled = false +## Address and port service will listen on +# address = 127.0.0.1 +# port = 2827 + +[i2cp] +## Uncomment and set to 'true' to enable I2CP protocol +# enabled = false +## Address and port service will listen on +# address = 127.0.0.1 +# port = 7654 + +[i2pcontrol] +## Uncomment and set to 'true' to enable I2PControl protocol +# enabled = false +## Address and port service will listen on +# address = 127.0.0.1 +# port = 7650 diff --git a/talimatname/genel/i2pd/i2pd.kur-kos b/talimatname/genel/i2pd/i2pd.kur-kos new file mode 100644 index 000000000..e120dadd6 --- /dev/null +++ b/talimatname/genel/i2pd/i2pd.kur-kos @@ -0,0 +1,2 @@ +mkdir -p ~/.i2pd +cp -r /usr/share/i2pd/certificates ~/.i2pd/certificates diff --git a/talimatname/genel/i2pd/talimat b/talimatname/genel/i2pd/talimat index 53b471319..0689e43c8 100644 --- a/talimatname/genel/i2pd/talimat +++ b/talimatname/genel/i2pd/talimat @@ -1,4 +1,4 @@ -# Description: Simplified C++ implementation of I2P client +# Description: I2P sistemi c++ # URL: https://github.com/PurpleI2P/i2pd # Packager: milisarge # Depends on: cmake boost miniupnpc websocketpp @@ -6,7 +6,9 @@ name=i2pd version=2.11.0 release=1 -source=(https://github.com/PurpleI2P/${name}/archive/${version}.tar.gz) +source=(https://github.com/PurpleI2P/${name}/archive/${version}.tar.gz + i2pd.conf + tunnels.conf) build() { cd $SRC/$name-$version @@ -24,8 +26,8 @@ build() { cd build make DESTDIR=$PKG install - install -Dm0644 $SRC/$name-$version/docs/i2pd.conf $PKG/${_conf_dest}/i2pd.conf - install -Dm0644 $SRC/$name-$version/docs/tunnels.conf $PKG/${_conf_dest}/tunnels.conf + install -Dm0644 $SRC/i2pd.conf $PKG/${_conf_dest}/i2pd.conf + install -Dm0644 $SRC/tunnels.conf $PKG/${_conf_dest}/tunnels.conf install -Dm0644 $SRC/$name-$version/docs/subscriptions.txt $PKG/${_conf_dest}/subscriptions.txt install -d -m0750 $PKG/${_home_dest} ln -s /${_conf_dest}/i2pd.conf $PKG/${_home_dest}/i2pd.conf diff --git a/talimatname/genel/i2pd/tunnels.conf b/talimatname/genel/i2pd/tunnels.conf new file mode 100644 index 000000000..c9df56f42 --- /dev/null +++ b/talimatname/genel/i2pd/tunnels.conf @@ -0,0 +1,49 @@ +[IRC] +type = client +address = 127.0.0.1 +port = 6668 +destination = irc.postman.i2p +destinationport = 6667 +keys = irc-keys.dat + +#[IRCBAGLANICI] +#type = client +#address = 127.0.0.1 +#port = 6670 +#destination = walker.i2p +#destinationport = 6670 +#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 + +#[MTN] +#type = client +#address = 127.0.0.1 +#port = 8998 +#destination = mtn.i2p-projekt.i2p +#destinationport = 4691 +#keys = mtn-keys.dat + +#yerel siste sunmak icin + +#[YERELSITE] +#type = http +#host = 127.0.0.1 +#port = 80 +#keys = site-keys.dat + +# see more examples in /usr/share/doc/i2pd/configuration.md.gz