bitorrent – P2P Foundation https://blog.p2pfoundation.net Researching, documenting and promoting peer to peer practices Thu, 19 Apr 2018 16:16:30 +0000 en-US hourly 1 https://wordpress.org/?v=5.5.15 62076519 Scuttlebutt: an off-grid social network https://blog.p2pfoundation.net/scuttlebutt-an-off-grid-social-network/2018/04/26 https://blog.p2pfoundation.net/scuttlebutt-an-off-grid-social-network/2018/04/26#comments Thu, 26 Apr 2018 08:00:00 +0000 https://blog.p2pfoundation.net/?p=70665 André Staltz, writing in his blog, tells the story of Scuttlebutt, a project we support at the P2P Foundation. Scuttlebutt is slang for gossip, particularly among sailors. It is also the name of a peer-to-peer system ideal for social graphs, identity and messaging. Scuttlebutt was created by Dominic Tarr, a Node.js developer with more than 600 modules published on npm,... Continue reading

The post Scuttlebutt: an off-grid social network appeared first on P2P Foundation.

]]>
André Staltz, writing in his blog, tells the story of Scuttlebutt, a project we support at the P2P Foundation.

Scuttlebutt is slang for gossip, particularly among sailors. It is also the name of a peer-to-peer system ideal for social graphs, identity and messaging. Scuttlebutt was created by Dominic Tarr, a Node.js developer with more than 600 modules published on npm, who lives on a self-steering sailboat in New Zealand.

Dominic is often offline, but he’s still able to use a social network to communicate with his friends such as James Halliday (a.k.a. substack), who is also often offline. James has also authored hundreds of npm modules, such as Browserify, and is building a shack with his partner Marina on top of 300-year old lava flows in Hawaii.

James Halliday

Dominic and James are a few key figures in a community of eccentric open source hackers gathering in a social network independent from mainstream internet. The unique properties of Secure Scuttlebutt (SSB) make it possible for digital information to spread easily even in the absence of Internet Service Providers (ISP) and the internet’s backbone. What makes that possible is a decentralized protocol based on the mechanics of word of mouth.

Scuttlebutt is decentralized in a similar way that Bitcoin or BitTorrent are. Unlike centralized systems like PayPal or Dropbox, there is no single website or server to connect when using decentralized services. Which in turn means there is no single company with control over the network.

However, Scuttlebutt differs from Bitcoin and BitTorrent because there are no “singleton components” in the network. When accessing the BitTorrent network, for instance, you need to connect to a Distributed Hash Table (DHT, think of it as a huge round table where anyone can come and take a seat). However, to get access to the DHT in the first place, you need to connect to a bootstrapping server, such as router.bittorrent.com:6881 or router.utorrent.com:6881. These are very lightweight servers which simply introduce you to the DHT. They still depend on the existence of ISPs and the internet backbone. Also, those systems are concerned about public information. For instance, with Bitcoin, each peer stores the entire log of all transactions ever sent by anyone.

Secure Scuttlebutt is also different to federated social networks like MastodonDiasporaGNU social, OStatus. Those technologies are not peer-to-peer, because each component is either a server or a client, but not both. Federated social networks are slightly better than centralized services like Facebook because they provide some degree of choice where your data should be hosted. However, there is still trust and dependency on third-party servers and ISPs, which makes it possible for admistrators of those to abuse their power, through content policies, privacy violations or censorship.

Patchwork

In Scuttlebutt, the “mesh” suffices. With simply two computers, a local router, and electricity, you can exchange messages between the computers with minimal effort and no technical skills. Each account in Scuttlebutt is a diary (or “log”) of what a person has publicly and digitally said. As those people move around between different WiFi / LAN networks, their log gets copy-pasted to different computers, and so digital information spreads.

What word of mouth is for humans, Scuttlebutt is for social news feeds. It is unstoppable and spreads fast. Once the word is out (just an arbitrary example) that Apple is releasing a new iPhone model, there is no way to restrict that information from spreading. A person may tell that piece of information to any of their friends, and those friends may in turn spread that information onwards.

With typical gossip, however, information deteriorates as it spreads and eventually becomes harmful rumor. Scuttlebutt on the other hand makes word of mouth securewith cryptography. Each Scuttlebutt account is comprised of simply two things: an append-only diary and private/public asymmetric crypto keys. An account’s identity is its public key. There are no unique usernames, because you can’t guarantee two people in separate places from choosing the same username, much like you cannot forbid the name “John Smith” to be given to a newborn in Canada if it is already taken by another person in Australia.

All information a person has published is registered in their diary. Public messages (like in Twitter) are the most common type of message in a diary, but you’ll also see “I am friends with that person” type of messages. To ‘send’ a private message to someone, I simply record a message in my diary, but encrypt it first, so the message isn’t plainly readable by anyone who gets their hands on a copy of the diary. Authenticity of diaries is preserved in that all diary entries reference the message that was written before, and then is signed. This prevents tampering and makes replication easier.

ssb-account

Every time two Scuttlebutt friends connect to the same WiFi, their computers will synchronize the latest messages in their diaries. Another way of synchronizing information is to connect to a common Scuttlebutt server, known as “pub”, set up by any member in the community. Pubs make information spread faster, and globally, but are totally dispensable. It’s even feasible to exchange latest news through sneakernet, using e.g. USB sticks.

This architecture is built so that network connections accurately represent the social graph and word of mouth. Typically with social networks like Facebook or Twitter, the network connections are centralized with their servers. The network architecture looks completely different to social architecture. Most users don’t care about this because the network architecture is invisible to them. However, it becomes a real problem once an authoritarian government or even the host company itself takes control over the network architecture in ways that disrupt the social architecture. It is not uncommon for a government to shut down a social network in a country for days/weeks, affecting how people communicate with each other. This has happened in EgyptCameroon, and Brazil.

With Scuttlebutt, the social graph is the network architecture, with peer-to-peer infrastructure accurately matching peer-to-peer interactions. It makes communication and the spread of information highly resilient, bringing improvements to freedom of speech with modern information technologies.

This peer-to-peer system has existed for more than two years and brought unique challenges and possibilities. For instance, unique usernames are impossible without a centralized username registry. On the other hand, this questions the need for a login system in the first place: why do you need to “enter” into the service? Scuttlebutt will not have a user registration flow, because such thing makes no sense in that world.

So far, the network has received a dedicated social network desktop app, a Soundcloud alternative, a Viewer webapp, and a git layer (putting “distributed” back into “distributed version control”). These work seemlessly together: a person using the git layer to push a commit will record that on their diary, which is visible also in the social network app, for their friends. Currently, the community is using this to “eat their own dog food”, coordinating team work and contributing code all on the same platform, without any intermediate company. GitHub being down will rarely be a problem for them.

The platform is being improved constantly, in areas such as: mobile support, an NPM alternative, WebRTC support for browser peers, and even legal transactions in New Zealand. It has proved to work as a platform setting the requirements and examples for a human-centered social network, as Dominic well described:

I wanted an open platform that anyone could build things on. (…) Also, we couldn’t realistically plan to just sit down and create an app that everyone wants to use, we need many experiments so that one can succeed, therefore we need a decentralized application platform more than we need any given a decentralized application.

To use Scuttlebutt, I recommend reading the ssb handbook.

If you liked this article, consider sharing (tweeting) it to your followers.

The post Scuttlebutt: an off-grid social network appeared first on P2P Foundation.

]]>
https://blog.p2pfoundation.net/scuttlebutt-an-off-grid-social-network/2018/04/26/feed 1 70665
Netflix researching “large-scale peer-to-peer technology” for streaming https://blog.p2pfoundation.net/netflix-researching-large-scale-peer-to-peer-technology-for-streaming/2014/05/03 https://blog.p2pfoundation.net/netflix-researching-large-scale-peer-to-peer-technology-for-streaming/2014/05/03#respond Sat, 03 May 2014 12:17:14 +0000 http://blog.p2pfoundation.net/?p=38640 Source: arstechnica.com. As  the allegedly illegal (and apparently now defunct) PopcornTime app showed, it is possible to combine streaming video and P2P torrent-style downloading. In fact despite the demise of the original app, others inspired by it have started to appear. So given that such a hybrid technology is possible, why should a copyright-respecting company... Continue reading

The post Netflix researching “large-scale peer-to-peer technology” for streaming appeared first on P2P Foundation.

]]>
Jon Brodkin, Ars Technica

Jon Brodkin, Ars Technica

Source: arstechnica.com. As  the allegedly illegal (and apparently now defunct) PopcornTime app showed, it is possible to combine streaming video and P2P torrent-style downloading. In fact despite the demise of the original app, others inspired by it have started to appear.

So given that such a hybrid technology is possible, why should a copyright-respecting company like Netflix not make use of a similar technology, and thereby circumvent the monopolistic bandwidth tolls levied on it by dinosaur ISPs in the USA?

 


Job ad says Netflix wants to “integrate P2P as an additional delivery mechanism.”
by Jon Brodkin – Apr 25 2014, 10:45pm CEST

When we wrote about the possibility of Netflix using a peer-to-peer architecture for streaming earlier today, it seemed like more of a thought experiment than a real possibility.

But it turns out Netflix is looking for an engineer to research this very type of system. By searching Netflix job postings we found an opening for a senior software engineer who would work on Netflix’s Open Connect content delivery network while researching how P2P technology could be used for streaming.

“Netflix seeks a seasoned Senior Software Engineer with a special focus in peer-to-peer networks,” the listing says. Responsibilities include:

Research and architecture of large-scale peer-to-peer network technology as applicable to Netflix streaming.
Liaise with internal client and toolkit teams to integrate P2P as an additional delivery mechanism.
Design and develop tools for the operation of peer-to-peer enabled clients in a production environment.

The successful applicant is required to have “At least five years of relevant experience with development and testing of large-scale peer-to-peer systems.” Preferred qualifications include “Knowledge of and proven experience with P2P, CDN/HTTP cache/proxy technology.”

The job posting appears to be at least a month old. When asked whether the company intends to stream video using P2P, a Netflix spokesperson replied only that “the best way to see it is that we look at all kinds of routes.”

Our story this morning was spurred by a blog post written by BitTorrent, Inc. CEO Eric Klinker, who argued that a peer-to-peer architecture would help Netflix deliver its traffic without having to pay Internet service providers. We spoke with Klinker this afternoon, and he expanded on his thoughts.

“Netflix has a hard time getting traffic onto these networks. It’s because they are in a hub-and-spoke model where the traffic flows in only one direction, from Netflix to the consumer,” Klinker told Ars.
Read more at Ars Technica

The post Netflix researching “large-scale peer-to-peer technology” for streaming appeared first on P2P Foundation.

]]>
https://blog.p2pfoundation.net/netflix-researching-large-scale-peer-to-peer-technology-for-streaming/2014/05/03/feed 0 38640
File-sharing declared legal in Spain https://blog.p2pfoundation.net/file-sharing-declared-legal-in-spain/2014/04/22 https://blog.p2pfoundation.net/file-sharing-declared-legal-in-spain/2014/04/22#respond Tue, 22 Apr 2014 10:46:00 +0000 http://blog.p2pfoundation.net/?p=38328 Extracted from Torrentfreak. In a landmark win for P2P software protocols, Spanish developer Pablo Soto has been acquitted of charges that could have landed him a 13 million € fine. Moreover, the court has found that P2P filesharing programs are neutral and are not liable for infringement. “In 2008, Universal, Sony, EMI, Warner and “Spanish RIAA”... Continue reading

The post File-sharing declared legal in Spain appeared first on P2P Foundation.

]]>
Extracted from Torrentfreak. In a landmark win for P2P software protocols, Spanish developer Pablo Soto has been acquitted of charges that could have landed him a 13 million € fine. Moreover, the court has found that P2P filesharing programs are neutral and are not liable for infringement.


“In 2008, Universal, Sony, EMI, Warner and “Spanish RIAA” Promusicae (Productores de Música de España) joined forces to sue MP2P Technologies, a company created by Pablo Soto, the brains behind Blubster, the “Spanish Napster” file-sharing software.

The record companies said that Soto had designed his Blubster, Piolet and Manolito software with the intent of providing a platform for users to pirate music while he generated profit. This, the labels said, amounted to unfair competition in the market. Soto should pay them 13 million euros ($18m) in damages, the labels argued.

Following years of litigation, in 2011 a Madrid court handed defeat to the labels by declaring Soto’s technology neutral. While his users may have infringed copyright, Soto was not responsible for that, the court said. Furthermore, since Soto wasn’t in the record business and the labels weren’t in the file-sharing business, the unfair competition claim was also dismissed.

After investing so much time in the case, the labels weren’t prepared to concede defeat. The case went to the Madrid Court of Appeals which has just made its decision public. It’s a decisive win for Soto and a big loss for the labels.

“[Soto’s] activity is not only neutral, and perfectly legal, moreover it is protected by article 38 of our Constitution,” the Court wrote in its ruling.

Speaking with TorrentFreak, Soto says that the Court saw no problem with sharing technology and discovered no plan “to sink or unbalance the recording industry” or obstruct the development of its business.

“The court affirmed — yet again — that [the creation of sharing technologies] is not an act of looting, unfair competition or unfair benefit from others’ effort,” Soto informs TF.

The Spaniard, who has been developing software since he was 16 years old, adds that the win is not only good news for him, but also for others seeking to innovate.

“This clears the path for more opportunities to bring leading edge technologies to the marketplace and no longer be distracted by misguided legal tactics from the copyright conglomerates. We really appreciate and thank our loyal following, especially among the readers at TorrentFreak.”

Soto’s lawyer, David Bravo, who described the ruling as having a “very strong foundation”, said developers will now be able to go about their business free from “inventive legal interpretations that define the very creator of a file-sharing tool as the responsible of copyright infringement.”

In celebration of the victory, Soto has released a brand new version of his Blubster software, for the first time powered by BitTorrent.

“While we have continued innovating with Torrents.fm, we can now also focus once again on further creating and offering advanced P2P technology across our other networks with this new version of Blubster just launched today,” Soto told TF.

Traditionally Windows only, Blubster will soon debut on both Linux and Mac.”

The post File-sharing declared legal in Spain appeared first on P2P Foundation.

]]>
https://blog.p2pfoundation.net/file-sharing-declared-legal-in-spain/2014/04/22/feed 0 38328