Page 1 of 1

qBittorrent and i2p

Posted: Tue Feb 17, 2015 3:14 am
by xepelin
Hi, I want to setup qBittorrent to use I2P but I can't find any information on how to do that. Is it possible or related libtorrent options are not implemented in qBittorrent GUI yet? Setting an http proxy to 127.0.0.1 port 4444 doesn't work. i2p have a proxy interface called SAM and libtorrent support it but currently I see no options in qBittorrent about it.

Sledgehammer commented in this bug thread https://github.com/qbittorrent/qBittorrent/issues/1766 about adding I2P options to GUI. There is this active issue https://github.com/qbittorrent/qBittorrent/issues/1768 but I don't know if a new issue is needed.

Re: qBittorrent and i2p

Posted: Tue Feb 17, 2015 4:41 pm
by ciaobaby
Setting an http proxy to 127.0.0.1 port 4444 doesn't work.
Do you have a proxy server on your machine that is running and using that port??

What version of qBT and what operating system are you running??

Re: qBittorrent and i2p

Posted: Wed Feb 18, 2015 5:06 am
by xepelin
[quote="ciaobaby"]
Do you have a proxy server on your machine that is running and using that port??
[/quote]
Yes, i2p http proxy up and running.. It was the impression I got from http://qbforums.shiki.hu/index.php/topi ... l#msg10744 to try.

It can't connect to i2p trackers that way and usually fails with "Request fail" and "Invalid i2p destination in your announce". I2P trackers don't use IP:port in their announces they have something called a destination hash.

From what I see from libtorrent documents  and source code there is a dedicated proxy type called i2p_proxy separate from socks and http that should handle i2p. There is also another important setting allow_i2p_mixed that should handle rejecting non-i2p peers in i2p torrents. Those settings are not currently exposed in GUI as far as I can see.

http://www.libtorrent.org/reference-Settings.html


[quote="ciaobaby"]
What version of qBT and what operating system are you running??
[/quote]
qBt git master (3.2.0?) and libtorrent 1.0.3 on Linux.

Re: qBittorrent and i2p

Posted: Mon Feb 19, 2018 2:14 am
by share_plz
Bumping. At the dawn of a new century here, and I2P is still advertised on "Anonymous Mode" yet no one can get it to work. What gives? How to make it work and protect torrent privacy??

https://github.com/qbittorrent/qBittorr ... ymous-Mode
https://geti2p.net/en/docs/applications/bittorrent

Re: qBittorrent and i2p

Posted: Sun Feb 25, 2018 10:05 pm
by Switeck
https://github.com/arvidn/libtorrent/is ... -366577715
I2P support has serious bugs which renders it unusable at this time.

Re: qBittorrent and i2p

Posted: Wed Oct 02, 2024 10:39 am
by postcd
qBittorrent 5.0.0 is available and in its Settings / Connection one can tick I2P.
Default host and port should be OK. Assuming one is running I2P software:

On Linux I am using this lightweight implementation https://i2pd.website and it should work by default. Other one is https://geti2p.net
It is recommended to increase I2P bandwidth quota (on Linux inside the file /etc/i2pd/i2pd.conf) by looking up for "# bandwidth" line and set it to "bandwidth = 3000" (for 3000 KB/second I2P BW limit).
If you are manually forwarding/opening ports you may want to also lookup for "Port to listen for connections" and uncomment set to "port = yorforwardedportfori2p".
After restarting I2P, I can watch its status at http://127.0.0.1:7070