Skip to content
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

Does iroh need a file specification to add trackers? #3208

Open
amiyatulu opened this issue Feb 27, 2025 · 2 comments
Open

Does iroh need a file specification to add trackers? #3208

amiyatulu opened this issue Feb 27, 2025 · 2 comments

Comments

@amiyatulu
Copy link

amiyatulu commented Feb 27, 2025

CIDs are great, unique hash to fetch content, unlike .torrent file.
If one add or remove some file in .torrent, one will create a new torrent, and one will loose all the seeders of old torrent file.

With CID this will not be the case. But discovering through DHT is slow. So one need tracker servers, spread across the internet. DHT can be backup if all trackers are censored.

Can we have similar specification for iroh to add trackers, where instead of magnetic link one can provide CID.

magnet:?xt=urn:btih:3adff9a30c9cdab33c042fb807db6eb23f79a082&dn=AC-37.zip&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com

Also, one can fetch list of cids (files) from one cid, and list of cids linked to the trackers.

One can also have file specification, like .torrent. May be use apache parquet format for compression and retrieval, that supports most programming languages.

@n0bot n0bot bot added this to iroh Feb 27, 2025
@amiyatulu
Copy link
Author

amiyatulu commented Feb 27, 2025

One can also make blockchain as trackers. Storing the ip address or node id by encrypting it with cid as password. And storing all ip address/node id under a hash of cid. Transaction cost of blockchain might be problem, but its reducing day by day.

In Iroh, the Node ID is typically a cryptographic hash derived from a public key, which ensures uniqueness and security. This design allows nodes to be identified without revealing their IP addresses directly.

So storing node id directly also won't be problem.

@n0-computer n0-computer locked and limited conversation to collaborators Feb 27, 2025
@matheus23 matheus23 converted this issue into a discussion Feb 27, 2025
@matheus23 matheus23 reopened this Feb 27, 2025
@github-project-automation github-project-automation bot moved this to ✅ Done in iroh Feb 27, 2025
@matheus23
Copy link
Member

Sorry I don't have much to say about the overall question yet. However:

In Iroh, the Node ID is typically a cryptographic hash derived from a public key, which ensures uniqueness and security. This design allows nodes to be identified without revealing their IP addresses directly.

This is incorrect. The Node ID is an ed25519 public key, not the hash of one. Hashing that would not be needed for security nor for uniqueness. This all also doesn't have to do anything with revealing IP addresses strictly.
Where did you get that information from? If possible we should try to correct the source material, although I suspect this was AI generated :/

@flub flub converted this issue into a discussion Feb 28, 2025
@flub flub reopened this Feb 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants