Twister (software)
Twister running on GNU/Linux | |
Original author(s) | Miguel Freitas |
---|---|
Developer(s) | Open Source on Github, Miguel Freitas, Lucas Leal |
Initial release | December 30, 2013 |
Development status | Active Alpha |
Operating system | FreeBSD,[1] GNU/Linux,[2] Mac OS X,[3] Microsoft Windows,[4] and Android[5] |
Size | 1 MB |
Available in | English, Russian |
Type | Social network service, microblogging |
License | MIT and BSD licenses |
Website |
twister |
Twister is free software for experimental peer-to-peer microblogging. Being completely decentralized means that no one is able to shut it down, as there is no single point to attack. The system uses end-to-end encryption to safeguard communications.[6] It is based on both BitTorrent and Bitcoin-like protocols[7] and is considered a (distributed) Twitter clone.[8][9]
Overview
Twister is a Twitter-like microblogging platform that utilizes the cryptocurrency Bitcoin and the file exchange method BitTorrent, both based on P2P technologies.
Twister is experimental software in alpha phase, implemented as a distributed file sharing system. User registration and authentication is provided by a Bitcoin-like network, so it is completely distributed and does not depend on any central authority. Distribution of posts uses Kademlia distributed hash table (DHT) network and BitTorrent-like swarms, both provided by libtorrent.[10] Included versions of both Bitcoin and libtorrent are highly patched, and intentionally not interoperable with the already existing networks.
Miguel Freitas, aiming to build a censor-resistant public posting platform,[11] began development on Twister in July 2013 to address the concerns of free speech and privacy. Building off the work of Bitcoin and Bittorrent, he was able to have the core working by October 2013. Lucas Leal was hired to create HTML and CSS for the user interface, with Miguel writing required JavaScript code. 2,500 user accounts were registered in the first six days of operation.[12]
As a completely decentralized network, no one is capable of incapacitating Twister since there is not a unique point of attack to the system. Twister uses end-to-end encryption to protect the communications. Furthermore, Twister is designed to prevent other users from knowing your GSM localization, IP address, and who you are following. You can publish public messages as with other microblogging platforms, but when you send direct messages and private messages to other users, these are protected from unsolicited access. The structure is almost identical to the encrypted design used by Lavabit (the provider of e-mail used by Edward Snowden).
History
The Brazilian computer engineer and programmer, Miguel Freitas, started developing the new social network after learning about the massive spy programs of the USA's National Security Agency (NSA) as revealed by the NSA whistle-blower Edward Snowden. He started to worry about the accessibility of that amount of information under the control of a single company under American jurisdiction.
According to Freitas, Twitter has been the social network that has helped the most to promote democracy and to organize protests, as the magazine 'Wired' claims. He believes that massive surveillance by the likes of the NSA makes it dangerous to provide personal information to the social networks that currently exist. For this reason he decided to build a new system based on privacy-preserving technology.
Freitas used to believe that in the future, social networks would be based on decentralized protocols and with no central point of control. But on learning that existing social networks were already massively compromised by the state he began to take action with the development an alternative service based closely on Twitter.
After a while, Miguel and his developer, Lucas Leal, considered the alpha version of the application for Android, Linux and OS X. The versions for Windows and iPhone aren’t planned, but, since it's open source, any of them is free to migrate the application for other operating systems.
Even though the Project is in this moment in alpha phase, Brian Armstrong, co-founder of Coinbase, believes that it is a great example of how the open protocol of Bitcoin can be used with diverse purposes.
Technology
Protocols
Twister is a decentralized system, but instead of other networks of this kind (like pump.io / Identi.ca, StatusNet / GNU social or Diaspora), it doesn't require you to use your own server or doesn’t require you to trust on a third one in order to do it. It works as a peer-to-peer program.
Bitcoin
This is achieved through the Bitcoin protocol (not through the net used by the cryptocurrency). Basically, the protocol handles the register of users and the accesses. In the same way the miners verify the transactions on the Bitcoin net to secure that no one makes a double spent, Twister network verifies the users names and that the messages belonging to a specific user are really from that user.
BitTorrent
The messages are driven through the BitTorrent protocol. This allows keeping a distribution system of a great number of messages along the network in a fast an efficient way; and also, allows the users to receive notifications almost instantly about new messages and alerts – all of it without the necessity of a central server.
Since the communication is encoded from one extreme to another, if it was intercepted, the direct private messages couldn’t be read by any other person apart from the addressee. The code used is the elliptic curve cryptography (different from the one used by NSA) that is used in Bitcoin. It is thought to give a security level similar to a RSA code of 3072 bits. Due to the fact that the data isn’t kept anywhere, they can’t be used by any other cut- but as compensation, if you lose your entry password, it won’t be possible for you to enter your private messages.
Because it is a peer-to-peer system, there isn’t a central server from which your publications may be compiled (see PRISM). As Freitas explains, the system is designed in a way that the users can’t know if the other is online, which is their IP, or what messages have been read. This information isn’t registered anywhere. Despite this, Freitas warns to the users that anonymity may not be total depending on the circumstances.
Platforms
Twister was developed under the Linux environment.
Freitas has migrated successfully the system to Android and OS X.
That is a clear invitation to the code community open to assume the challenge.
Another long-term interesting objective would be moving the whole cryptographic code of the implementation to the interface of the user of the browser. This way, the users would be capable of accessing Twister through any client platform that they use, choosing any third server and still maintaining the security of their private passwords at all times.
Functionality
The first Twister prototype is intended for reproducing the basic characteristics of any microblogging platform. Including:
- Search of users and profiles of navigation
- Follow / Unfollow
- Sending of text messages limited to 140 characters
- Broadcasting and answering messages
- Browsing through mailing routes, mentions, hashtags and direct messages (private)
The private messages require the addressee to be follower of the speaker, which is a common requisite in most of the existing platforms.
Some other characteristics can be difficult to implement in a completely decentralized system, requiring more effort. This includes the arbitrary register of the words in the posts and the recompilation of hashtaghs to find out the main tendencies.
Security
Twister uses the same parameters of elliptic curves as Bitcoin: secp256k1.This isn’t the curve that was usually implicated by the NSA, called sec256r1. A 256 bits of Public-key cryptography (no comprometido), ECC must proportionate a security similar to a key RSA of 3072 bits (al at least that is what is said by the experts) .
They usually stimulate the people who try to break the security in the systems with something that everyone desires, money. There are millions of $ USD on the table, coded with keys secp256k1 Bitcoin.
The direct application of messages encoding is based on an example code that was published on the Internet by Ladar Levison of Lavabit. It is known that Ladar has made his place down because he denied cooperating with the US government that allows the control of all its clients.
Decentralized Net
Twister is a platform of microblogging peer-to-peer. This means that the communication is established between computers without going through a central node that would be the one who recorded the information.
There is not a company behind that provides the server or the machinery used, and that can detect in that case the conversations.
Censored
People who run a node can delete your posts in the DHT, but not block your account.
Completely private
Due to the fact that the messages are sent directly from a user to another, without going through a central node, and also, in an encrypted way, -from beginning to end, it is encrypted on the exit and decrypted on the arrival- they travel in a private way through the web as a black-box. Besides, the IP directions are also protected.
Anonymity
In this application, our IP (the direction of our machine to go into the internet) is not recorded at any moment avoiding being followed by some entity or company.
According to Freitas, this guarantees the anonymity but does not mean that our IP won’t be detected from the ISP (Internet Service Provider) but that the content of the message won’t be visible except for some spy that knows how to decrypt breaking the algorithms.
In order to be 100% anonymous, you would have to use a browser that masks the IP such as Tor or another one similar protecting more against spies.
References
- ↑ "FreshPorts -- net-p2p/twister". https://www.freshports.org/. 2014-06-22. Retrieved 2014-08-29.
- ↑ "Github Default build guide for Linux Twister". http://twister.net.co/. 2014-01-01. Retrieved 2014-01-11.
- ↑ "Github build guide for mac". http://twister.net.co/. 2014-01-08. Retrieved 2014-01-11.
- ↑ "Github build guide for mac". http://twister.net.co/. 2014-07-08. Retrieved 2014-01-11.
- ↑ "FAQ Guide by Twister". http://twister.net.co/. 2013-10-24. Retrieved 2014-01-11.
- ↑ Frediani, Carola (18 February 2014). "Making "NSA-Proof" Social Networking Mainstream". Tech President. Retrieved 28 February 2014.
- ↑ Epstein, Michael (3 February 2013). "Cryptography Apps: How To Keep Your Personal Info Private". Notebook Review. Retrieved 28 February 2014.
- ↑ Finley, Klint (27 January 2014). "Out in the Open: Teenage Hacker Transforms Web Into One Giant Bitcoin Network". Wired. Retrieved 28 February 2014.
- ↑ Lunduke, Bryan (21 January 2014). "Previous Article Next Article Test-driving Twister: The NSA-proof Twitter clone". Network World. Retrieved 28 February 2014.
- ↑ Hasslberger, Sepp (26 January 2014). "Coming soon: Twister – a distributed p2p microblogging platform". P2P Foundation Blog. Retrieved 28 February 2014.
- ↑ Miguel, Freitas (7 January 2014). "Twister: The Fully Decentralized P2P Microblogging Platform". Slashdot. Retrieved 28 February 2014.
- ↑ "Twister: The Fully Decentralized P2P Microblogging Platform". http://slashdot.org. 2014-01-08. Retrieved 2014-01-11.