-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[WIP] Add I2P support #602
base: master
Are you sure you want to change the base?
Conversation
Requires i2p.socket
Requires support in the zero:// tracker software
The bug does not affect tests, but prevents ZeroNet from starting. It is not present in upstream pyelliptic.
Current coverage is 47.94% (diff: 31.59%)@@ master #602 diff @@
==========================================
Files 57 59 +2
Lines 7074 7314 +240
Methods 0 0
Messages 0 0
Branches 1469 1520 +51
==========================================
+ Hits 3425 3507 +82
- Misses 3234 3376 +142
- Partials 415 431 +16
|
This currently does not work fully, because i2p.socket (which this uses) doesn't listen properly under gevent. This means that ZeroNet can connect to I2P torrent trackers, and it can connect to peers, but it can't successfully listen for peer connections. Also, the above was true at the end of July when this was based on 523a7d4. I have just rebased this onto master, and have not tested it again, so if there were Tor-related changes in the intervening time, this PR does not currently reflect them (aside from the PEX limit change I spotted). |
@str4d, do you have news? |
Is I2P working now? |
@str4d Could you get back on this as part of your Friday fun projects? |
Signed-off-by: Marek Küthe <[email protected]>
Merge HelloZeroNet#602 Signed-off-by: Marek Küthe <[email protected]>
Merge HelloZeroNet#602 Signed-off-by: Marek Küthe <[email protected]>
Merge HelloZeroNet/ZeroNet#602 Signed-off-by: Marek Küthe <[email protected]>
Merge HelloZeroNet/ZeroNet#602 Signed-off-by: Marek Küthe <[email protected]>
Merge HelloZeroNet/ZeroNet#602 Signed-off-by: Marek Küthe <[email protected]>
This implements support for both connecting to I2P torrent trackers, and communicating with peers over I2P.
Closes #45