TorrentFreak

The place where breaking news, BitTorrent and copyright collide

Run Your Own Encrypted Decentralized Filesharing Network

AllianceP2P is a free open source software for Windows, Linux and Mac which allows groups of file-sharers to share content in a secure, encrypted way. As the software reaches version one, we interview the developer of AllianceP2P, to find out about his labor of love.

alliance-logo
Last year we wrote about AllianceP2P, a safe and secure way for Windows, Linux and Mac users to share content with each other in an encrypted environment. There are Alliance networks running alongside other filesharing communities, and others set up by mutual friends as an added layer of communications and filesharing capability.

A little like a private tracker, you either have to be invited to an Alliance network – or help the hydra and make your own. It’s very easy to setup and scale your own decentralized network with BitTorrent-like ‘swarming’ capabilities using Alliance, and as the software just reached V1.0 we thought it would be a good time to catch up with the creator for the lowdown.

TF: Tell us about the birth of AllianceP2P and why you decided to conceive it.

Maciek: I remember writing the first lines of code for Alliance back in 2005. It was cold and dark outside. In Sweden, where I live, it tends to be dark and cold during the end of the year. So I’m guessing it was around November 2005.

I was discussing the different p2p networks out there with a work colleague. There was nothing really good that guaranteed high security, was easy to use and had high download speeds (all truly secure p2p networks I know are really slow, to the point where they’re useless). We talked about many, many different solutions to the problem – I remember talking about DHTs and network coding.

Finally I got totally hooked on the idea of a network where you connect to people that you trust. You’d use encrypted connections and only connect to friends , this way safety would be guaranteed. You’d be able to connect to friends of your friends , if you knew you trust them. This way the network would grow. I’d use a BitTorrent-like download mechanism and direct connections (no tunneling). This way I could guarantee high download speeds. I’d make sure it was user friendly and easy to use. This way networks would grow fast.

Now, almost three years later, I’ve just released version 1.0! I’m really happy with this because I feel I have implemented my entire vision. I have a full time job so I coded Alliance during my spare time. At times it was pretty intense… Other times I didn’t code on Alliance for months.

TF: Who else is involved in the project?

Maciek: This being an open source project I’ve had help from others along the way:pontusm, mrund and deathfired on sourceforce.net to mention a few.

search alliance chat p2p

TF: What size is the AllianceP2P userbase and who are they?

Maciek: Since Alliance is free and open source there is no real target market. I simply developed a piece of software that I knew I’d love to use. And since it’s decentralized I don’t keep track on any user statistics (a part from the automatic error reports I get). I just released version 1.0. Before 1.0 the alpha/beta versions where downloaded over 50,000 times.

TF: How does the software work?

Maciek: Alliance is written in Java and runs on Windows, Mac OS and Linux. It has file-swarming capabilities like BitTorrent. Unlike BitTorrent it has an extensive built-in search, is completely decentralized and designed to be secure. Alliance is actually a friend-2-friend network. Within each network of friends is a community where users can download files from each other, chat and post new files in the chat.

TF: What are the most important aspects of Alliance?

As you only connect to people you know and all connections are encrypted, Alliance is very secure. Since there is no central server or single point of failure, the network gets strength by decentralization.

Alliance has great scalability , it has been tested to work with share sizes where each client shares one terabyte of data in approximately 50,000 files and it is very easy to use. Additionally, Alliance is, and will always remain, free and open source.

Alliance uses tiger hashes to identify files. All files that a user shares are automatically hashed and indexed in the background. This way Alliance can automatically identify a file that several users have and download from all those users simultaneously.

TF: Tell us about this latest version 1.0. Why should people install it?

Maciek: I actually took two weeks off of my normal job in order to complete version 1.0. I knew that I would not be able to finish it otherwise. I had over 3000 detailed automatic error reports sent to me during the last year. I sorted all error reports in order of “popularity” and started fixing them. One after another. It was a dirty job but someone had to do it =). Alliance 1.0 is the first stable release of a new kind of p2p software. A network that is fast AND secure.

TF: Thanks for speaking with us.

So, if you’d like to quickly create a secure, decentralized filesharing network with BitTorrent-like swarming, and a DirectConnect-style community to compliment your communications and sharing arsenal, Alliance could be your solution. Even when your favorite tracker goes down, Alliance will still be there, with all the peers intact. You can get it here.

Related Posts

Previous Post | Next Post

  • andyness

    So this is like Limewire v2?

  • Yarrr

    We tried using Alliance as a sort of darknet used among students at our university, where up until which we had been using a DC++ hub (until it was shut down)
    And let me tell you, Alliance is garbage.
    Ugly interface, difficult to use… just all around bad. I would not recommend it.

  • pip

    its a shame he didnt use multicast DHT tunneling(“Bamboo” and Mtunnel”)
    as then you could have used the maximum benefits of near realtime Multicast and a single data stream to several people at once so saving vast amounts of bandwidth.

    if only one person wanted that data then you might loss a small amount of throughput but at a few kbits thats nto really a problem compared to the massive savings of collecting up several users to feed the content too as the same time .

    a massive saving infact compared to any current Unicast data stream DHT out there.

    perhaps he might consider retro-fitting parts of the Bamboo Multicast DHT java codebase or even includingthe old but still popular Mtunnel (multicast tunnel written in java)from the old MBone multicast days to improve the design or as a plug-in to the main app even?

  • @Yarr

    Bittorrent was absolutely hopeless when the first version came out, the first public release.

    It was nothing but terrible, now look at it.

    Looks to me like one to watch and for developers to work on!

  • PoacheR2k

    Wow, thanks for letting me know about this as I wasn’t aware of anything like this in existence :)

  • Ano

    Why cant they work on bittorrent itself and make it more reliable…say increased encryption, so that those f ckin RIAA wont peep on what we are downloading…
    I think its time we see next version of p2p or bittorrent arrives..,coz now reall all networks have started to throttle bittorrent…its time for OUR payback!

  • Yarrr

    [quote comment="362872"]Bittorrent was absolutely hopeless when the first version came out, the first public release.

    It was nothing but terrible, now look at it.

    Looks to me like one to watch and for developers to work on![/quote]
    I know, but the way Alliance is implemented it’s impossible for it to become mainstream. It’s too hard to inject new users (you have to go through this complicated process of giving them a password code and matching them with everyone else connected) and it’s just too closed to ever become mainstream. It may be useful for a very limited number of applications, like sharing files between friends you already know, but there are much better alternatives for even that.

  • mysogynistic bumsplat

    point=?

  • Maciek

    [quote comment="362899"]
    I know, but the way Alliance is implemented it’s impossible for it to become mainstream. It’s too hard to inject new users (you have to go through this complicated process of giving them a password code and matching them with everyone else connected) and it’s just too closed to ever become mainstream. It may be useful for a very limited number of applications, like sharing files between friends you already know, but there are much better alternatives for even that.[/quote]

    Not sure what version of Alliance you used but in 1.0 the process of inviting friends have been simplified. You still need to send them a password but it’s much easier then in the previous versions.

  • Anonymous

    Java? Alright then, thanks for the efforts.
    Try RetroShare:
    http://fileforum.betanews.com/detail/RetroShare_for_Windows/1179842697/1

  • Bakuryu

    This reminds me of direct connect in some way.

  • http://neuron2neuron.blogspot.com Ben Jones

    [quote comment="362891"]Why cant they work on bittorrent itself and make it more reliable…say increased encryption, so that those f ckin RIAA wont peep on what we are downloading…
    I think its time we see next version of p2p or bittorrent arrives..,coz now reall all networks have started to throttle bittorrent…its time for OUR payback![/quote]

    1) In acse you didn’t understand about sandvine – it doesn’t work off the contents, it works by traffic patterns.

    2) encrypted or not, if they’re participating in the swarm, by the nature of the protocol, they have to be able to decrypt it (same as any other peer would, else whats the point) – More on this comming soon…

  • Fugazi

    Great to see initiative from determined blokes.

  • ADz

    just tried it out cos it seemed like a nice alternative to running a ftp server but i was sadly dissapointed with the app.

    You cant download folders which is absoulty rediculous.

    Can anybody recomend any ftp server like apps so i can run a fileserver but will be allot easier for the end user to use maybe with a graphical front end that looks like a webpage or something?

  • Longtime Lurker

    @14

    Quick n Easy Web Server might be an idea. Easy to use, a piece of piss to set up and supports encryption. End users see your server as a web page. I’ve used worse.

    http://tinyurl.com/2qk977

  • GrX

    lol what would be the point in this then it’s totally useless

    what a waste of time

    Awesome idea great amazing piece of work but useless if it cant share folders what is the developers thinking?

  • Rick

    it would be cool if you could use a central point where all user register, so you only have to point to that location and dont need to add all the people/friends manually.

    also upnp would be nice.

  • psyco

    @17 that would defeat the security and decentralization idea which is what the entire client is built around…

  • Anonymous

    Is this not the same thing as WASTE?

  • Anonymous

    “And let me tell you, Alliance is garbage.”

    Hee!!! you loser! Don’t discourage people for doing cool stuff!

    People like you not only do nothing good but try to discourage the others on their way to success!

    Nobody listen to this loser!

  • Anonymous

    [quote comment="362988"]You cant download folders which is absoulty rediculous.[/quote]

    You’ve been able to download folders with Alliance since two years back.

    If you’re looking for a specific folder a friend is sharing then click on your friend. His share is then displayed. Then browse to the folder, right click and select download.

    Don’t really see how you could miss that..?

  • Maciek

    [quote comment="363051"]also upnp would be nice.[/quote]

    Upnp was implemented over a year ago.

  • Avru

    Everyone who’s already bashing the application, just calm down and give it some time. This is version 1.0 ffs.

  • Ezzy Elliott

    This application is great but Dargens is sexier, friendlier and faster.

    http://www.dargens.com

    With one click you can set up your own encrypted friend to friend p2p file sharing network without having to install any software (you need to download a client tho’).

    You can do this all from a website.

    You can be a private or public user.

    Also, if you have a google adsense account you can earn money if you invite your friends.

    http://www.dargens.com

    1. JOIN and you will automatically download a java p2p client then you’re ready to start
    2. Search, Download and keep, Use downloaded files when and how you want
    3. Friends network so totally private only your friends know you’re connected.

    * Open source based on ANTs p2p
    * Hides identity when sharing
    * SAFE file sharing
    * Millions of files available*
    * No spyware, no adware and no spoofing
    * Search your friends and friends of friends and so on shared files on their HD
    * YOUR identity while downloading and sharing is kept PRIVATE
    * Simple to join and FREE to use
    * Earn a monthly income by INVITING YOUR friends to join

    This is a hobby that I have developed in my sparetime but it does work and is open source so anyone can set up their own site.

    I like Alliance but this is less technical but still secure and it is fast.

    http://www.dargens.com

  • Pingback: p2pvine.com

  • suicidalpeer

    Mininova is down! please kill me!

  • compuguy1088

    It would be nice if this Java app had some real compatibility with other os’s like OS X. It will launch, but it does not look right.

  • User

    What if you don’t have any friends?

  • hottuna

    My alliance invite code.

    Ubr8Gyu?nLcgxg

    hottuna@drunkforfun.se

  • fredygamer

    MININOVA is down. =(

  • hottuna

    Already had someone joined me :)

    Alliance invite: Ubr8Gyu?nLcgxg

    hottuna@drunkforfun.se

  • R.I.P. OiNK

    I think it sounds great, I’m going to go try it out. Encrypted sharing is definitely a must have.

    Keep up the good work Maciek!

  • John

    Its a terrible resource hog and continually rehashes files… horrible file indexing and never stays connected to peers… i dont recommend

  • BÃ¥tsman

    now if we only could get a few hundred number of people in Sweden to use it everything would be perfect :-P

  • prodigydancer

    “Alliance is written in Java”

    No, thanx. Learn a true programming language first, then go programming.

  • compuguy1088

    @prodigydancer

    I would watch what your saying. As of april, Java is the #1 used language:
    Per the April programming community index: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

  • Anonymous

    [quote comment="362899"][quote comment="362872"]Bittorrent was absolutely hopeless when the first version came out, the first public release.

    It was nothing but terrible, now look at it.

    Looks to me like one to watch and for developers to work on![/quote]
    I know, but the way Alliance is implemented it’s impossible for it to become mainstream. It’s too hard to inject new users (you have to go through this complicated process of giving them a password code and matching them with everyone else connected) and it’s just too closed to ever become mainstream. It may be useful for a very limited number of applications, like sharing files between friends you already know, but there are much better alternatives for even that.[/quote]

    How is it impossible? Just think of private trackers, they are extremely popular yet they’re somewhat difficult to get into. Privacy is a good thing, don’t be so closed minded.

  • Anonymous

    @19

    We don’t talk about WASTE. ;)

  • mishra

    sweet, so this is basically the union of WASTE and bittorrent.

  • BÃ¥tsman

    seems awsome if you ask me…

  • nyne

    retroshare is awesome ive used it since december with no problems at all, as for alliance ive made myself try it 2 times more since i initially discovered it some time ago, but its just not my cup of tea, but for those that want something similar try retroshare

  • Anonymous

    [quote comment="362899"][quote comment="362872"]Bittorrent was absolutely hopeless when the first version came out, the first public release.

    It was nothing but terrible, now look at it.

    Looks to me like one to watch and for developers to work on![/quote]
    I know, but the way Alliance is implemented it’s impossible for it to become mainstream. It’s too hard to inject new users (you have to go through this complicated process of giving them a password code and matching them with everyone else connected) and it’s just too closed to ever become mainstream. It may be useful for a very limited number of applications, like sharing files between friends you already know, but there are much better alternatives for even that.[/quote]

    Whats so hard about pressing “generate new buddy code” and giving it to a friend to add to their client?

    If thats to hard for you then go into options>security and system tray and uncheck the “connection codes I make may only be used once” then generate a new code and keep giving that code out to all your friends. This way you wont ever have to generate a new one.

    Once you have a few friends it will then start adding their friends to your client. The process is effortless.

    As for ISP throttling, the only time I notice problems is when Bittorrent is run at the same time as Alliance. The RST packets meant for Bittorrent affect Alliance horribly causing your net to cripple and go slow. Once you shut Bittorrent off the RST packets stop and Alliance works perfect with speeds as fast as Bittorrent.

  • syagru1s

    Ok then. As a college student potentially interested in building a small p2p network with an emphasis on security, somebody hit me with a better option. Note that in college, the interface must be simple and the program must run on Macs (unfortunately very popular).

    Thanks for the advice.

  • skribbles

    on the alliance website it only has this for Windows. Anywhere where I can get the Mac OSX Version?

  • Anonymous

    [quote comment="363423"]on the alliance website it only has this for Windows. Anywhere where I can get the Mac OSX Version?[/quote]

    view the sourceforge page for the mac file. Just press forum to get directed to the SF page.

  • Anonymous

    “As for ISP throttling, the only time I notice problems is when Bittorrent is run at the same time as Alliance. The RST packets meant for Bittorrent affect Alliance horribly causing your net to cripple and go slow. Once you shut Bittorrent off the RST packets stop and Alliance works perfect with speeds as fast as Bittorrent.”

    Shut of my Bittorrent? Is this a conspiracy by the RIAA! I cant shut it off!
    Seriously, this would be unfortunate if it were true, can anyone confirm?

  • Ezzy Elliott

    Try http://www.Dargens.com

    Open source.

    It is encrypted and friend to friend and easier to use.

  • AliianceGeek

    [quote comment="362857"]So this is like Limewire v2?[/quote]

    Its friend to friend

    Just like… WLM’s Sharing Folders =]

  • Lizard Control

    Taken from dargens.com “Earn a monthly income by INVITING YOUR friends to join”. I see what Ezzy Elliott is up to… sneaky little lizard…

  • Quartz

    Whats the difference between something like this and “Waste” as I seem to have missed that completely, and may have served as a decent counter point to the program reviewed in terms of features or lack of them.

    Anyone got any idea ?

  • Rick

    “Upnp was implemented over a year ago.”

    yes, i noticed it sayes so in the changelog. But it’s not working with my router, for some reason :(

  • Raix

    Everyone go View > Options, click the Security & System tray tab and uncheck “Connection codes I make can only be used once” and than post an invite code as a comment.

    fwAAARshCZ6s!w

  • Anonymous

    [quote comment="363601"]Everyone go View > Options, click the Security & System tray tab and uncheck “Connection codes I make can only be used once” and than post an invite code as a comment.

    fwAAARshCZ6s!w[/quote]

    or post them on Alliance’s beta network list http://ordway.ath.cx:5121/alliance/

  • Anonymous

    since none of the connection codes that have been posted here works for me.. i thought i might as well paste my own..

    fwAAAQ5kbEdJFg

  • R2

    Thats great, i’v tested this app on beta, and the GUI was really slow.
    This software is good, people who talks bad about java, give a try.
    Try first!
    I’ll use this with my friends :)
    It’s a true secure software, try running sniffers and see what you get..

  • Anonymous

    R2, has someone pissed into your skull? You think it’s secure because some sniffer cannot identify/decode it? Do not ever trust anyone who claims this or that is “secure” because he doesn’t know what he’s talking about.

  • Anonymous

    &xwjzBshAPs5SQ

  • Anonymous

    &xwjzBshwJv2hg add me ^^

  • Crimson

    Hi,
    good job!
    I’m always overjoyed to see people building new additions to the world of p2p – so much fun AND so cool !!!

    Personally, I’m looking more for p2p than for f2f – plausible deniability, and when you minimize the amount of contact between yourself and others + the technical data you have to swap (passwords etc.) you minimize the chances of compromising yourself and your partners.

    But, centralized components of a p2p network are dinosaur relics that will doom a network to extinction, so I’m really impressed by the decentralization of the Alliance network!

    For daily life, I’d like to stick with something simple and decentralized (like gnutella), and I hope for a new network that is also secure, encryped, and anonymous (like unmentionable networks).

    For matters which required real security though, f2f would be my first choice by far; I can see this thing as having a lot of legitimate applications even in the business world!

    Thank you for all the time and programming; kickass results; hurrah !

  • thomas

    since i’m a n00b, the linux version doesn’t apply. it’s far too complicated to get alliencep2p to work on ubuntu (hardy heron).

  • Pingback: Run Your Own Encrypted Decentralized Filesharing Network | Clint Is A Geek.com

  • Pingback: Run Your Own Encrypted Decentralized Filesharing Network - Nerdcore

  • Rick

    “Upnp was implemented over a year ago.”

    if thats true why does it ask me to port a port when i want to invite someone ???

  • Rick

    i mean forward a port :P

  • avg joe

    how is this different from dc++ ?

  • BTGuard - BitTorrent Anonymously

NewsBits

Even more news...

  • Pirate Bay Founder Gottfrid Svartholm on Freedom of Speech

    Freedom of speech is a highly valued commodity, but should people be allowed to say whatever...

  • Blu-ray Anti-Piracy Tech Stops Discs and Promotes Purchases

    An anti-piracy system present in all official Blu-ray players since 2012 has received a fresh update...

  • Foxtel Breeds Pirates by Locking Up Game of Thrones

    One of the main reasons why people turn to piracy is the lack of legal alternatives....

  • UK Student Admits Breaching Sony Copyrights With Leak of PS3 SDK

    Last year an Internet user known as El Nomeo leaked version 3.70 of Sony’s Playstation3 SDK...

  • Pirates Can Be Identified Despite Sharing IP Addresses, ISP Claims

    Carrier-Grade Network Address Translation is a network mechanism through which many Internet subscribers can share the...

MostDiscussed

Below are TorrentFreak's most discussed articles of the past month. Join the discussion if you like.

CopyQuote

Left Quote

“The Pirate Bay has been one of the most important movements in Sweden for freedom of speech, working against corruption and censorship.

Peter Sunde Left Quote

PopularArticles

A selection of some TorrentFreak's classics dug up from our archives.