Difference between revisions of "De/Libtorrent"
(The still outgoing translation after the ejection for too fast cooperation, despite login and constant captcha. An export from Emacs Org mode using Pandoc.) |
(Two interrupted connections ultimately led to data loss in transit.) |
||
Line 20: | Line 20: | ||
Die I2P Unterstützung erfolgt über das Protokol <span class="spurious-link" target="en/docs/api/samv3}">''SAMv3''</span>. |
Die I2P Unterstützung erfolgt über das Protokol <span class="spurious-link" target="en/docs/api/samv3}">''SAMv3''</span>. |
||
− | Obschon die I2P Unterstützung seit längeren implementiert war, galt sie als defekt. Erst nach einem Aufruf im I2P-Entwicklerforum zzz. |
+ | Obschon die I2P Unterstützung seit längeren implementiert war, galt sie als defekt. Erst nach einem Aufruf im I2P-Entwicklerforum zzz.i2p<ref>http://zzz.i2p/topics/3470-libtorrent-rasterbar-and-i2p</ref> wurden Patch-Dateien bereitgestellt und in ibtorrent-rasterbar eingepflegt.<ref>https://github.com/arvidn/libtorrent/pull/7272</ref><ref>https://github.com/arvidn/libtorrent/commit/94ed94ec1468e786bea2610c59586c4bf2994697</ref> |
+ | |||
+ | <span id="bekannte-fehler"></span> |
||
+ | === Bekannte Fehler === |
||
+ | |||
+ | Es sei an dieser Stelle schlicht darauf hingewiesen, dass es sich derzeit um experimentelle Software handelt. |
||
+ | |||
+ | Currently (early 2023), the peer count shows the right numbers, but the peer list (both in libtorrent's client<sub>test</sub> <ref>https://github.com/arvidn/libtorrent/blob/RC_2_0/examples/client_test.cpp - a basic full implementation of libtorrent.</ref> and qBittorrent) shows only one peer with an IP address of "0.0.0.0:0".<br /> (client<sub>test</sub> shows multiple 0.0.0.0's, while qBittorrent shows only one.) |
||
+ | |||
+ | <span id="beispielhafte-verwendungen"></span> |
||
+ | === Beispielhafte Verwendungen === |
||
+ | |||
+ | <ol> |
||
+ | <li><p>libtorrent-rasterbar</p> |
||
+ | <p>libtorrent-rasterbar bringt ein Test-Programm <code>client_test</code> mit <ref><p>https://github.com/arvidn/libtorrent/blob/RC_2_0/examples/client_test.cpp - a basic full implementation of libtorrent.</p></ref>, das folgende Kommando ist lauffähig auf ''I2P+ 2.1.0 Universal Installer'' und kann verwendet werden um Magnet-URI über I2P herunter zu laden und auch zu verteilen (siehe auch die Diskussion unter<ref><p>[https://github.com/arvidn/libtorrent/issues/7262#issuecomment-1383848366 #7262] „I2P: no outgoing connections to peers after resolve is complete“</p></ref>):</p> |
||
+ | <syntaxhighlight lang="bash">examples/client_test \ |
||
+ | --enable_dht=false \ |
||
+ | --proxy_type=i2p_proxy \ |
||
+ | --i2p_hostname=127.0.0.1 \ |
||
+ | --i2p_port=7656 \ |
||
+ | 'magnet:?xt=urn:btih:889401025a1c16bbf9d8001ae157679507a87feb&dn=I2P%2B+Universal+Installer+2.1.0%2B&tr=http://tracker2.postman.i2p/announce.php' |
||
+ | </syntaxhighlight> |
||
+ | <p>An eine Hilfestellung zu den vorhandene Optionen im laufenden Test-Programm <code>client_test</code> gelangt man mit der Taste <code>h</code>.</p></li> |
||
+ | <li><p>qBittorrent</p> |
||
+ | <!-- Keine Übersetzung meinerseits, wer hochgradig experimentelle Software verwenden will spricht i.d.R. auch Englisch. --> |
||
+ | |||
+ | <p>For qBittorrent, until the I2P support is added<ref><p>https://github.com/qbittorrent/qBittorrent/issues/16257</p></ref>, one needs to build using Jiigen's fork.</p> |
||
+ | <p>/Make sure the installed libtorrent-rasterbar library includes the I2P-fix commit. Building/Installing from source is recommended until the release with the fix is tagged and becomes available on most distros.<ref><p>https://github.com/arvidn/libtorrent/releases</p></ref></p> |
||
+ | <syntaxhighlight lang="bash">git clone https://github.com/jiigen/qbittorrent -b i2p-support jiigen_qbit |
||
+ | cd jiigen_qbit |
||
+ | mkdir build |
||
+ | cd build |
||
+ | cmake .. |
||
+ | make |
||
+ | sudo make install |
||
+ | </syntaxhighlight> |
||
+ | <p>And within the Settings: Connection: Proxy, one needs to set "Proxy Type" to I2P, the host/port to SAM bridge's host/port, and needs to tick "proxy for peer connections/host lookups".</p> |
||
+ | <p>Note: One might also want to enable [https://github.com/qbittorrent/qBittorrent/wiki/Anonymous-Mode Anonymous Mode]. (Settings: BitTorrent: Enable anon.mode)</p></li></ol> |
||
+ | |||
+ | <span id="external-links"></span> |
||
+ | == External links == |
||
+ | |||
+ | * https://libtorrent.org - Homepage von libtorrent-rasterbar |
||
+ | * https://github.com/arvidn/libtorrent - GitHub repository |
||
+ | * https://github.com/qBittorrent/qbittorrent - qBittorrent's GitHub repository |
||
+ | |||
+ | <span id="quellenangaben"></span> |
||
+ | == Quellenangaben == |
||
+ | <references /> |
||
+ | |||
+ | {| class="wikitable zebra" |
||
+ | | Kategorien: |
||
+ | | [[Category:BitTorrent mit I2P|BitTorrent mit I2P]] |
||
+ | | [[Category:BitTorrent-Client für I2P|BitTorrent-Client für I2P]] |
||
+ | | [[Category:BitTorrent-Client|BitTorrent-Client]] |
||
+ | |} |
Latest revision as of 11:21, 3 February 2023
In other languages: | Englisch |
Hinweis: Diese Seite beschreibt die BitTorrent Programmbibliothek „libtorrent-rasterbar“ von Rasterbar Software (Arvid Norberg) aber nicht die gleichnamige Programmbibliothek „LibTorrent“ von Rakshasa.
libtorrent-rasterbar
libtorrent-rasterbar ist eine C++-Bibliothek, die eine gute Alternative zu allen anderen BitTorrent-Implementierungen sein soll. Die Hauptziele von libtorrent-rasterbar bestehen aus einer effizienten Nutzung der CPU-Rechenzeit, dem Speicherverbrauch und einer einfachen Handhabung.
Die BitTorrent-CLients qBittorrent und Deluge verwenden diese Programmbibliothek.
I2P Unterstützung
Die I2P Unterstützung erfolgt über das Protokol SAMv3.
Obschon die I2P Unterstützung seit längeren implementiert war, galt sie als defekt. Erst nach einem Aufruf im I2P-Entwicklerforum zzz.i2p[1] wurden Patch-Dateien bereitgestellt und in ibtorrent-rasterbar eingepflegt.[2][3]
Bekannte Fehler
Es sei an dieser Stelle schlicht darauf hingewiesen, dass es sich derzeit um experimentelle Software handelt.
Currently (early 2023), the peer count shows the right numbers, but the peer list (both in libtorrent's clienttest [4] and qBittorrent) shows only one peer with an IP address of "0.0.0.0:0".<br /> (clienttest shows multiple 0.0.0.0's, while qBittorrent shows only one.)
Beispielhafte Verwendungen
libtorrent-rasterbar
libtorrent-rasterbar bringt ein Test-Programm
client_test
mit [5], das folgende Kommando ist lauffähig auf I2P+ 2.1.0 Universal Installer und kann verwendet werden um Magnet-URI über I2P herunter zu laden und auch zu verteilen (siehe auch die Diskussion unter[6]):examples/client_test \ --enable_dht=false \ --proxy_type=i2p_proxy \ --i2p_hostname=127.0.0.1 \ --i2p_port=7656 \ 'magnet:?xt=urn:btih:889401025a1c16bbf9d8001ae157679507a87feb&dn=I2P%2B+Universal+Installer+2.1.0%2B&tr=http://tracker2.postman.i2p/announce.php'
An eine Hilfestellung zu den vorhandene Optionen im laufenden Test-Programm
client_test
gelangt man mit der Tasteh
.qBittorrent
For qBittorrent, until the I2P support is added[7], one needs to build using Jiigen's fork.
/Make sure the installed libtorrent-rasterbar library includes the I2P-fix commit. Building/Installing from source is recommended until the release with the fix is tagged and becomes available on most distros.[8]
git clone https://github.com/jiigen/qbittorrent -b i2p-support jiigen_qbit cd jiigen_qbit mkdir build cd build cmake .. make sudo make install
And within the Settings: Connection: Proxy, one needs to set "Proxy Type" to I2P, the host/port to SAM bridge's host/port, and needs to tick "proxy for peer connections/host lookups".
Note: One might also want to enable Anonymous Mode. (Settings: BitTorrent: Enable anon.mode)
External links
- https://libtorrent.org - Homepage von libtorrent-rasterbar
- https://github.com/arvidn/libtorrent - GitHub repository
- https://github.com/qBittorrent/qbittorrent - qBittorrent's GitHub repository
Quellenangaben
- ↑ http://zzz.i2p/topics/3470-libtorrent-rasterbar-and-i2p
- ↑ https://github.com/arvidn/libtorrent/pull/7272
- ↑ https://github.com/arvidn/libtorrent/commit/94ed94ec1468e786bea2610c59586c4bf2994697
- ↑ https://github.com/arvidn/libtorrent/blob/RC_2_0/examples/client_test.cpp - a basic full implementation of libtorrent.
- ↑
https://github.com/arvidn/libtorrent/blob/RC_2_0/examples/client_test.cpp - a basic full implementation of libtorrent.
- ↑
#7262 „I2P: no outgoing connections to peers after resolve is complete“
- ↑
- ↑
Kategorien: |