Creating a P2P / Decentralized file sharing network [closed]
Asked Answered
R

4

8

I was wondering where I could learn more about decentralized sharing and P2P networks. Ideally, I'd like to create something to help students share files with one another over their universities network, so they could share without fear of outside entities.

I'm not trying to build the next Napster here, just wondering if this idea is feasible. Are there any open source P2P networks out there that could be tweaked to do what I want?

Ratan answered 23/8, 2010 at 22:52 Comment(0)
S
3

Basically you need a server (well, you don't NEED a server, but it would make it much simplier) that would store user IPs between other things like file hash lists, etc.
That server can be in any enviroinment you want (which is very comfortable).

Then, each client connects to the server (it should have a dns, it can be a free one, I've used no-ip.com once) and sends basic information first (such as its IP, and a file hash list), then sends something every now and then (say each 5 minutes or less) to report that it's still reachable.

When a client searchs files/users, it just asks the server.

This is a centralized network, but the file sharing would be done in p2p client-to-client connections.
The reason to do it like this is that you can't know an IP to connect to without some reference.

Just to clear this server thing up:
- Torrents use trackers.
- eMule's ED2K uses lugdunum servers.
- eMule's "true p2p" Kademlia uses known nodes (clients) (most of the time taken from servers like this).

Spindly answered 23/8, 2010 at 23:18 Comment(0)
C
2

Tribler is what you are looking for!

It's a fully decentralized BitTorrent Client from the Delft University of Technology. It's Open Source and written in Python, so also a great starting point to learn.

Comfy answered 24/7, 2013 at 19:30 Comment(0)
T
1

Use DC++

Talebearer answered 24/7, 2011 at 9:41 Comment(0)
T
0

What is wrong with Bit-Torrent?

Edit: There is also a pre-built P2P network on Microsoft operating systems that is pretty cool as the basis to build something. http://technet.microsoft.com/en-us/network/bb545868.aspx

Tasteful answered 23/8, 2010 at 23:0 Comment(3)
i think he means bit-torrent, but he wants some references on how to start learning the system, how it works, its protocols etc.Gump
I guess bit torrent would work, I thought of setting up a tracker, but I'd prefer a system that doesn't require me to use a serverRatan
@Parker: Bittorrent with DHT and PEX doesn't require a server. en.wikipedia.org/wiki/…Dickenson

© 2022 - 2024 — McMap. All rights reserved.