-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2P Proxy settings #7285
Comments
I don't know exaclty why, probably cuz internally they are used differently by libtorrent. Maybe @Vort or @arvidn can have the answer. |
This is most likely the reason. |
I don't remember why the i2p hostname and port ended up as a separate setting. There are some remnants of a proxy type for i2p, and I think it may have worked that way at some point in the past. it seems to need some straightening out though. maybe setting proxy type to i2p (and using proxy_hostname and proxy_port) could be made synonymous with i2p_hostname and i2p_port. |
The presence of these alternative settings ( |
yes |
Well, libtorrent and the downstreams need to decide whether you eventually want to support "mixed" networks or not, and if so what's the default. Mixed = both I2P and clearnet at the same time, "bridging" clearnet torrents into I2P. This has obvious anonymity issues but BiglyBT supports it and lots of people run it that way. There's complexity with bandwidth and peer management if you do it that way because of the vastly different speeds. Whether you support mixed or not, you have to make sure you're not trying to pump clearnet traffic or announce to clearnet trackers or do uTP through SAM, that's why it's not a real proxy and perhaps why it's a different set of configs. So think through where you're headed. Speaking of, defaulting to localhost/7656 would help your users, as that's where the i2p router will be 99.9% of the time. |
I just want to note that right now |
I would highly request for mixed network options as described aforementioned. The default state can be public (normal as it is now), and users can then choose to make it mixed from settings or i2p only. As shown in screenshot; that would be nice. |
After having looked into this, I believe the rationale for having i2p SAM settings be separate from proxy settings is to allow non-i2p connections to use a proxy, while still supporting pure i2p torrents along side regular ones. Also in mixed mode obviously. This patch clarifies the documentation: #7305 |
@arvidn
|
saying "internal" as the first line of the comment is special. The generation tool will not include it in the html by default. Another "magic" word is "hidden". See: https://github.com/arvidn/libtorrent/blob/RC_2_0/docs/gen_reference_doc.py#L204 |
both (1) and (2) are correct |
You are talking about docs, I'm about the C++ itself. |
I see. Right. My long term ambition is to replace |
Is someone working on dht and/or ut_pex with i2p? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Did I understand correctly that for an I2P proxy, not the usual settings (
proxy_hostname
andproxy_port
are used, but separate ones:i2p_hostname
andi2p_port
? If so, why?The text was updated successfully, but these errors were encountered: