Micro Transport Protocol (Μtp) in Java

Total Page:16

File Type:pdf, Size:1020Kb

Micro Transport Protocol (Μtp) in Java Micro Transport Protocol (µTP) in Java Ivan Iljkic Zürich, Switzerland Student ID: 06-920-854 – Communication Systems Group, Prof. Dr. Burkhard Stiller HESIS T Supervisor: Daniel Dönni, Thomas Bocek, Andri Lareida ACHELOR Date of Submission: January 1, 2006 B University of Zurich Department of Informatics (IFI) Binzmühlestrasse 14, CH-8050 Zürich, Switzerland ifi Bachelor Thesis Communication Systems Group (CSG) Department of Informatics (IFI) University of Zurich Binzmühlestrasse 14, CH-8050 Zürich, Switzerland URL: http://www.csg.uzh.ch/ Abstract Transfer of large files like P2P file sharing traffic and software updates are less sensible to long delays and low bandwidths. But especially P2P file sharing clients gain an unfair advantage over applications like VoIP when managing multiple TCP connections. LED- BAT is an experimental algorithm that aims to manage background traffic in order to free up bandwidth for more interactive applications. An implementation of the algorithm is already in use in some P2P file sharing clients, known as µTP (Micro Transport Protocol). This paper discusses UTP4J, an Java implementation of µTP for scientific projects. The goal is to provide an easy-to-integrate, configurable and stable library for experimental purposes. It covers the API, architecture and implementation details of UTP4J. Further, an evaluation of UTP4J's behavior is given. This includes experiments with the congestion control mechanism during concurrent TCP traffic and ways to make µTP more aggressive under the influence of concurrent traffic. i ii Zusammenfassung Die Ubertragung¨ von grossen Dateien in P2P-File-Sharing-Applikationen und grossen Software Updates ist oftmals weniger sensibel was lange Delays und begrenzte Bandbre- iten angeht. Aber Speziell P2P-Clients erhalten einen unfairen Vorteil gegenuber¨ anderen Applikationen wie VoIP, wenn sie mehrere TCP-Verbindungen unterhalten. LEDBAT ist ein experimenteller Algorithmus, der sich zum Ziel gemacht hat, Background-Traffic zu managen, um gegebenenfalls mehr Bandbreite fur¨ interaktivere Applikationen freizugeben. Eine Implementation, bekannt als µTP (Micro Transport Protocol) des Algorithmus ist schon bei einigen P2P-Clients im Einsatz. Diese Arbeit stellt UTP4J vor, eine auf Java basierende Implementation von µTP fur¨ wis- senschaftliche Zwecke. Das Ziel ist es, eine einfach zu integrierende, konfigurierbare und stabile Bibliothek fur¨ experimentelle Zwecke zur Verfugung¨ zu stellen. Das Dokument beschreibt die API, Architektur und Implementationsdetails von UTP4J. Desweiteren wird das Verhalten von UTP4J evaluiert. Dies umfasst experimente mit dem Staukon- trollmechanismus w¨ahrend nebenl¨aufigem TCP-Verkehr und Wege, UTP4J aggressiver zu machen. iii iv Acknowledgments I would like to thank Prof. Dr. Burkhard Stiller and the Communication Systems Group for giving me the possibility of working on such an exciting topic. I would also like to thank my supervisors, Danni, Thomas and Andri for all the patience they had and all their valuable input which made this work possible. v vi Contents Abstract i Zusammenfassung iii Acknowledgments v 1 Introduction 1 1.1 Managing Background Traffic . .1 1.2 Buffering Delay . .2 1.3 LEDBAT Essentials . .3 1.4 µTP .......................................3 1.5 ThesisOutline..................................3 2 Related Work 5 3 Requirements 7 4 Design 9 4.1 API Design . .9 4.2 Architecture . 10 4.3 Design Decisions . 10 vii viii CONTENTS 5 Implementation 13 5.1 Connection Setup . 13 5.2 Writing Implementation . 13 5.3 Algorithm .................................... 14 5.3.1 Waitingtime .............................. 14 5.3.2 Retransmission Timeout . 15 5.3.3 Clock Drift Correction . 15 5.3.4 Configuration . 16 5.4 Reading Implementation . 16 5.5 ReceivingPackets................................ 17 5.6 DataTypes ................................... 17 5.7 Timestamping.................................. 17 6 Evaluation 19 6.1 Test Environment Setup . 19 6.2 TCP Reference . 20 6.3 OptimalParameters .............................. 20 6.4 OptimalTargetDelay ............................. 23 6.5 µTP competing with concurrent traffic . 26 6.6 µTP Aggresivity . 28 6.7 Compatibility to libutp . 29 7 Summary and Conclusions 31 8 Future Work 33 Bibliography 35 Abbreviations 37 List of Figures 37 CONTENTS ix List of Tables 39 List of Listings 41 A Important Configuration Parameters 45 B Installation Guidelines 47 C Contents of the CD 49 x CONTENTS Chapter 1 Introduction Internet traffic can be roughly categorized into two different groups. The first group is the so called foreground traffic and its Quality of Experience (QoE) is sensible to long delays and limited bandwidth. Such traffic is caused by interactive applications like VoIP, media streaming and online gaming. For example, the International Telecommunications Union recommends a 150ms one-way delay to be acceptable [1]. On the other hand, there is also traffic, that does not suffer from bad connections. This kind of traffic usually is not interactive and thus not sensitive to long delays or limited bandwidth. Traffic caused by P2P applications or large software updates belong into this group of background traffic. 1.1 Managing Background Traffic TCP is the internet's most common transmission protocol and seeks to share the available bandwidth evenly across all connections. However, one would want foreground traffic to be prioritized over background traffic and when there is no foreground traffic, the internet link should be still fully utilized. An even worse scenario is, when a background application, like a Bit-torrent client, manages multiple TCP connections. In this case, the Bit-torrent client would gain an unfair advantage over a more interactive application which only holds one TCP connection at a time and therefore its QoE would decrease. There are still options to limit the bandwidth utilization of a P2P client, but these settings require manual interaction each time when bandwidth is needed for more important applications and when the bandwidth can be fully used again. This solution is suboptimal [2]: The user needs to configure his client after installing it Knowledge about the available bandwidth is required for all networks Figuring out the optimal numbers is difficult. A wrong guess may waste bandwidth or not be sufficient. 1 2 CHAPTER 1. INTRODUCTION A mechanism to negate the disadvantages is desired. Ideally, it should all be done dynam- ically with a short response time. The mechanism should detect foreground traffic when it is present and reduce background traffic to the point where it no longer interferes with foreground traffic. On the opposite, when foreground traffic disappears, the mechanism should utilize the full available bandwidth. A good way to detect the competitive traffic is to keep an eye on the congestion situ- ation in the network. Typically, network devices have a buffer where packets temporary reside until the device processes the packet. When the buffer is full, routers usually will start to drop incoming packets. TCP's way to detect congestion is based on this principle. Every time TCP registers a packet was lost, it will halve its sending rate. However, at this point, the network is already congested. And after TCP has slowed down because of a lost packet, it still will start to gradually increase its sending rate until the next packet loss occurs due to a full buffer somewhere in the network. 1.2 Buffering Delay Yet a better way to detect competitive traffic is to look at the buffer utilization and react before it is completely filled. This can be achieved by measuring the one-way delay of an existing connection. There is no point in interpreting a delay value without a reference. An application can open a connection which will be routed through an already congested part of the network. In this case, the delays will always be high and it is difficult to tell whether the network is congested or the delays are high because of an other reason. Finding a generally accepted reference value is also difficult, as there are transmissions mediums with different delay characteristics. There are three factors which cause delays (δ) in a network transmission [3, 4]. The first one is the time the data spends traveling trough the transmission medium (τ). This can be calculated as the the length of the medium divided by the velocity the signal trav- els through the medium. The second is the routing delay (ρ). That is the time, a router spends to analyze the packet headers and figuring out where to forward the packet. And finally there is the buffering delay (β): the time, a packet spends waiting in buffers. If all packets are routed through the same routers, τ and ρ will stay constant. The only influenceable part by a sender is the buffering delay β. If a router has to process more packages, β will increase and vice versa. The problem can be reduced now. In order to track the congestion situation of a network, the sender needs to periodically measure the one-way delay and find out the values for τ and ρ. The LEDBAT algorithm [4] (for Low Extra Delay Background Transport) does this by keeping track of the minimum delay δmin. Assuming, that every once in a while, a packet will travel through the network without any buffering delay, LEDBAT concludes that this must be the base delay δbase = τ + ρ = δmin since β = 0. With this value, LEDBAT can estimate the buffering delay βn for each packet sent by comparing its delay with the base 1.3. LEDBAT ESSENTIALS 3 delay: βn = δn − δbase = (τ + ρ + βn) − (τ + ρ) 1.3 LEDBAT Essentials LEDBAT uses, just like TCP, a congestion window (CWND) to control its send rate. CWND is defined as the amount of data, that the sender is allowed to send in one round cwnd trip time (RTT). Thus the send rate can be defined as sendrate = RT T . Each outgoing packet has an attached time stamp. The receiver compares the incoming time stamp with a local one and returns the difference in the acknowledgment (ACK). The sender inter- prets this difference as a delay measurement of the packet that was just ACKed.
Recommended publications
  • What Is Peer-To-Peer File Transfer? Bandwidth It Can Use
    sharing, with no cap on the amount of commonly used to trade copyrighted music What is Peer-to-Peer file transfer? bandwidth it can use. Thus, a single NSF PC and software. connected to NSF’s LAN with a standard The Recording Industry Association of A peer-to-peer, or “P2P,” file transfer 100Mbps network card could, with KaZaA’s America tracks users of this software and has service allows the user to share computer files default settings, conceivably saturate NSF’s begun initiating lawsuits against individuals through the Internet. Examples of P2P T3 (45Mbps) internet connection. who use P2P systems to steal copyrighted services include KaZaA, Grokster, Gnutella, The KaZaA software assesses the quality of material or to provide copyrighted software to Morpheus, and BearShare. the PC’s internet connection and designates others to download freely. These services are set up to allow users to computers with high-speed connections as search for and download files to their “Supernodes,” meaning that they provide a How does use of these services computers, and to enable users to make files hub between various users, a source of available for others to download from their information about files available on other create security issues at NSF? computers. users’ PCs. This uses much more of the When configuring these services, it is computer’s resources, including bandwidth possible to designate as “shared” not only the and processing capability. How do these services function? one folder KaZaA sets up by default, but also The free version of KaZaA is supported by the entire contents of the user’s computer as Peer to peer file transfer services are highly advertising, which appears on the user well as any NSF network drives to which the decentralized, creating a network of linked interface of the program and also causes pop- user has access, to be searchable and users.
    [Show full text]
  • Cloud Token Wallet
    CLOUD TOKEN WALLET SYMBOL CTO STORE, EXCHANGE, EARN & SPEND VERSION 1.0 TABLE OF TABLE 1. EXECUTIVE SUMMARY 01 2. BACKGROUND 02 2.1 What is a blockchain? 02 2.2 What is a cryptocurrency? 04 2.3 What is a cryptocurrency wallet? 05 2.4 What are mobile payments? 06 2.5 What is a cryptocurrency exchange? 07 2.6 What is AI trading? 09 3. PROBLEMS WITH MOBILE CRYPTO WALLETS 10 3.1 Many mobile crypto wallets are centralised 10 CONTENTS 3.2 Mobile crypto wallets only do two things 10 4. ADVANTAGES OF CLOUD TOKEN WALLET 11 4.1 Fully distributed anonymity & transparency 11 4.2 Integrated services & convenience 11 4.2.1 AI-assisted trading system 12 4.2.2 Decentralised exchange 13 4.2.3 Payments 13 5. HOW? PARALLEL LEDGERS! 14 5.1 Parallel consensus 14 5.1.1 Individual P2P POR consensus 14 5.1.2 Organisational hybrid consensus 15 5.2 Parallel dApps for parallel chains 16 6. CLOUD TOKEN WALLET TECHNOLOGY 17 6.1 File System DLT (FSDLT) 17 6.2 Mainline Distributed Hash Table (mDHT) 18 6.3 SHOUT — Simple Heuristic Object UDP Transfer 19 6.4 SWARM Storage 20 6.5 IFTTT Business Logic Layer 21 7. CLOUD TOKEN WALLET SECURITY 22 7.1 Block gap synchronization 22 7.2 Transaction flooding 22 7.3 Penny-spend 23 7.4 51% attack 23 8. ROADMAP 24 8.1 Whence we came 24 8.2 Under construction 25 8.3 The road ahead 25 9. RISKS & CLAIMS 26 10. DOWNLOAD CLOUD TOKEN WALLET 28 EXECUTIVE01 SUMMARY The “Background” chapter of this concept paper offers foundational knowledge.
    [Show full text]
  • The Edonkey File-Sharing Network
    The eDonkey File-Sharing Network Oliver Heckmann, Axel Bock, Andreas Mauthe, Ralf Steinmetz Multimedia Kommunikation (KOM) Technische Universitat¨ Darmstadt Merckstr. 25, 64293 Darmstadt (heckmann, bock, mauthe, steinmetz)@kom.tu-darmstadt.de Abstract: The eDonkey 2000 file-sharing network is one of the most successful peer- to-peer file-sharing applications, especially in Germany. The network itself is a hybrid peer-to-peer network with client applications running on the end-system that are con- nected to a distributed network of dedicated servers. In this paper we describe the eDonkey protocol and measurement results on network/transport layer and application layer that were made with the client software and with an open-source eDonkey server we extended for these measurements. 1 Motivation and Introduction Most of the traffic in the network of access and backbone Internet service providers (ISPs) is generated by peer-to-peer (P2P) file-sharing applications [San03]. These applications are typically bandwidth greedy and generate more long-lived TCP flows than the WWW traffic that was dominating the Internet traffic before the P2P applications. To understand the influence of these applications and the characteristics of the traffic they produce and their impact on network design, capacity expansion, traffic engineering and shaping, it is important to empirically analyse the dominant file-sharing applications. The eDonkey file-sharing protocol is one of these file-sharing protocols. It is imple- mented by the original eDonkey2000 client [eDonkey] and additionally by some open- source clients like mldonkey [mlDonkey] and eMule [eMule]. According to [San03] it is with 52% of the generated file-sharing traffic the most successful P2P file-sharing net- work in Germany, even more successful than the FastTrack protocol used by the P2P client KaZaa [KaZaa] that comes to 44% of the traffic.
    [Show full text]
  • [Hal-00744922, V1] Improving Content Availability in the I2P Anonymous
    Improving Content Availability in the I2P Anonymous File-Sharing Environment Juan Pablo Timpanaro, Isabelle Chrisment*, Olivier Festor INRIA Nancy-Grand Est, France *LORIA - ESIAL, Universit´ede Lorraine Email: fjuanpablo.timpanaro, [email protected] Email: [email protected] Abstract. Anonymous communication has gained more and more inter- est from Internet users as privacy and anonymity problems have emerged. Dedicated anonymous networks such as Freenet and I2P allow anony- mous file-sharing among users. However, one major problem with anony- mous file-sharing networks is that the available content is highly reduced, mostly with outdated files, and non-anonymous networks, such as the BitTorrent network, are still the major source of content: we show that in a 30-days period, 21648 new torrents were introduced in the BitTor- rent community, whilst only 236 were introduced in the anonymous I2P network, for four different categories of content. Therefore, how can a user of these anonymous networks access this varied and non-anonymous content without compromising its anonymity? In this paper, we improve content availability in an anonymous environment by proposing the first internetwork model allowing anonymous users to access and share content in large public communities while remaining anonymous. We show that our approach can efficiently interconnect I2P users and public BitTorrent swarms without affecting their anonymity nor their performance. Our model is fully implemented and freely usable. 1 Introduction Peer-to-peer file-sharing has always been one of the major sources of the Internet hal-00744922, version 1 - 24 Oct 2012 traffic, since its early beginnings in 2000. It has been moving from semi-central approaches (eDonkey2000, for example), to semi-decentralized approaches (Kazaa, for instance) to fully decentralized file-sharing architectures (like the KAD net- work).
    [Show full text]
  • Downloading Copyrighted Materials
    What you need to know before... Downloading Copyrighted Materials Including movies, TV shows, music, digital books, software and interactive games The Facts and Consequences Who monitors peer-to-peer file sharing? What are the consequences at UAF The Motion Picture Association of America for violators of this policy? (MPAA), Home Box Office, and other copyright Student Services at UAF takes the following holders monitor file-sharing on the Internet minimum actions when the policy is violated: for the illegal distribution of their copyrighted 1st Offense: contents. Once identified they issue DMCA Loss of Internet access until issue is resolved. (Digital Millennium Copyright Act) take-down 2nd Offense: notices to the ISP (Internet Service Provider), in Loss of Internet access pending which the University of Alaska is considered as resolution and a $100 fee assessment. one, requesting the infringement be stopped. If 3rd Offense: not stopped, lawsuit against the user is possible. Loss of Internet access pending resolution and a $250 fee assessment. What is UAF’s responsibility? 4th, 5th, 6th Offense: Under the Digital Millennium Copyright Act and Loss of Internet access pending resolution and Higher Education Opportunity Act, university a $500 fee assessment. administrators are obligated to track these infractions and preserve relevent logs in your What are the Federal consequences student record. This means that if your case goes for violators? to court, your record may be subpoenaed as The MPAA, HBO and similar organizations are evidence. Since illegal file sharing also drains becoming more and more aggressive in finding bandwidth, costing schools money and slowing and prosecuting alleged offenders in criminal Internet connections, for students trying to use court.
    [Show full text]
  • A Study of Peer-To-Peer Systems
    A Study of Peer-to-Peer Systems JIA, Lu A Thesis Submitted in Partial Fulfilment of the Requirements for the Degree of Master of Philosophy in Information Engineering The Chinese University of Hong Kong August 2009 Abstract of thesis entitled: A Study of Peer-to-Peer Systems Submitted by JIA, Lu for the degree of Master of Philosophy at The Chinese University of Hong Kong in June 2009 Peer-to-peer (P2P) systems have evolved rapidly and become immensely popular in Internet. Users in P2P systems can share resources with each other and in this way the server loading is reduced. P2P systems' good performance and scalability attract a lot of interest in the research community as well as in industry. Yet, P2P systems are very complicated systems. Building a P2P system requires carefully and repeatedly thinking and ex- amining architectural design issues. Instead of setting foot in all aspects of designing a P2P system, this thesis focuses on two things: analyzing reliability and performance of different tracker designs and studying a large-scale P2P file sharing system, Xun- lei. The "tracker" of a P2P system is used to lookup which peers hold (or partially hold) a given object. There are various designs for the tracker function, from a single-server tracker, to DHT- based (distributed hash table) serverless systems. In the first part of this thesis, we classify the different tracker designs, dis- cuss the different considerations for these designs, and provide simple models to evaluate the reliability of these designs. Xunlei is a new proprietary P2P file sharing protocol that has become very popular in China.
    [Show full text]
  • Frequently Asked Questions
    Copyright & File-Sharing FREQUENTLY ASKED QUESTIONS WHAT IS COPYRIGHT? BUT I BOUGHT IT. WHY CAN’T I SHARE IT? WHAT CAN I DO TO AVOID COPYRIGHT Copyright refers to the legal rights creators have There is a difference between using and distributing INFRINGEMENT? over the use, distribution, and reproduction of copyrighted materials. Purchasing songs, movies, or Download content from legitimate sources and do original work (music, movies, software, etc.). software from legitimate sources does not give you the not share copyrighted materials online. Uninstall Copyright infringement is the unlawful use of any right to share these materials over the Internet or make P2P applications (e.g., Popcorn Time, BitTorrent, material protected under copyright law. Common copies for others. When you purchase a Peer-to-Peer Vuze), which may be sharing your files without violations include downloading ‘pirated’ copies of (P2P) program (e.g., Frostwire, BitTorrent, Vuze), you your knowledge. Do not share your NetID and copyrighted materials or sharing files not intended only buy the software, not any files you download or password with anyone. Keep your computer for you to distribute. share using this software. up-to-date with the latest security patches and anti-virus software. HOW DO I KNOW IT’S COPYRIGHTED? DOES UMASS IT MONITOR MY INTERNET Assume all materials are copyright-protected CONNECTION? HOW CAN I LEGALLY DOWNLOAD CONTENT? unless you created them or you have received the No. We do not monitor the contents of your computer Services like Amazon, iTunes, and eMusic offer author’s explicit permission to distribute them. All or issue copyright complaints.
    [Show full text]
  • Security Analysis of the Micro Transport Protocol with a Misbehaving Receiver
    2012 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discover Security Analysis of the Micro Transport Protocol with a Misbehaving Receiver ∗ † ‡ ∗ Florian Adamsky , Syed Ali Khayam , Rudolf Jäger , Muttukrishnan Rajarajan ∗ City University London, United Kingdom Email: {Florian.Adamsky.1, R.Muttukrishnan}@city.ac.uk † National University of Sciences and Technology, Pakistan Email: [email protected] ‡ Technische Hochschule Mittelhessen University of Applied Sciences, Germany Email: [email protected] Abstract—BitTorrent is the most widely used Peer- This approach is inflexible and often leaves big head to-Peer (P2P) protocol and it comprises the largest room which is unused. A better approach is to use share of traffic in Europe. To make BitTorrent more a separate transport protocol for background traffic Internet Service Provider (ISP) friendly, BitTorrent Inc. like TCP-LP [1] or TCP-Nice [2]. These protocols can invented the Micro Transport Protocol (uTP). It is based detect foreground traffic and automatically reduce their on UDP with a novel congestion control called Low Extra Delay Background Transport (LEDBAT). This sending rate. With uTP using LEDBAT there is a new protocol assumes that the receiver always gives correct kid on the block. feedback, since otherwise this deteriorates throughput or In December 2008, BitTorrent announced in the yields to corrupted data. We show through experimental developer forum that μTorrent will switch the data investigation that a misbehaving uTP receiver, which transfer from TCP to UDP [3]. Shortly after that is not interested in data integrity, can increase the announcement, panic started spreading all over the bandwidth of the sender by up to five times.
    [Show full text]
  • What You Need to Know About Copyright Infringement October 2, 2018 Dear Student, the Higher Education Opportunity Act of 2008 Re
    What You Need to Know About Copyright Infringement October 2, 2018 Dear Student, The Higher Education Opportunity Act of 2008 requires all colleges and universities to inform students of the possible consequences of copyright infringement as outlined by the Digital Millennium Copyright Act (DMCA). How the DMCA Affects Wake Forest University The Digital Millennium Copyright Act protects the rights of owners of copyrighted digital material. By providing students online access to the Wake Forest University’s computing network(s), including Internet access, the University is considered an Internet Service Provider (ISP). The DMCA requires an ISP to expeditiously respond to complaints it receives of copyright infringements over its networks. Potential Legal Penalties for Federal Copyright Law Violations Violation of the DMCA can result in severe civil or criminal penalties. University action taken to stop copyright violation, including disciplinary measures, does not protect the individual infringer from civil or criminal prosecution from the copyright owner or the authorities. Illegal Music Downloading Complaints Filed by Entertainment Entities Most copyright infringement cases reported to Wake Forest Information Systems are associated with illegal music downloading. Other common types of copyright infringement cases at Wake Forest involve the illegal downloading or sharing of movies, videos, and software including gaming software. Risks Associated with Illegal File Sharing Using peer-to-peer file sharing programs that share copyrighted material such as music, movies and software put you at risk of obtaining viruses, spyware or other malicious software that can corrupt your computer and damage your data. Peer-to-peer file sharing programs include Popcorn View, Popcorn Time, Vuze, uTorrent, BitTorrent, LimeWire, BitComet, and FrostWire.
    [Show full text]
  • Deluge-2.0.3
    deluge Documentation Release 2.0.3 Deluge Team June 12, 2019 CONTENTS 1 Contents 1 1.1 Getting started with Deluge.......................................1 1.2 How-to guides..............................................2 1.3 Release notes...............................................3 1.4 Development & community.......................................6 1.5 Development guide............................................ 11 1.6 Reference................................................. 21 i ii CHAPTER ONE CONTENTS 1.1 Getting started with Deluge This is a starting point if you are new to Deluge where we will walk you through getting up and running with our BitTorrent client. 1.1.1 Installing Deluge These are the instructions for installing Deluge. Consider them a work-in-progress and feel free to make suggestions for improvement. Ubuntu PPA Until the stable PPA is updated, the development version of Deluge can be used: sudo add-apt-repository-u ppa:deluge-team/stable sudo apt install deluge PyPi To install from Python PyPi, Deluge requires the following system installed packages: sudo apt install python3-pip python3-libtorrent python3-gi python3-gi-cairo gir1.2- ,!gtk-3.0 gir1.2-appindicator3 Install with pip: pip install deluge Windows Unfortuately due to move to GTK3 and Python 3 there is no installer package currently available for Windows. Intrepid users can install Deluge from seperate packages as detailed in issue #3201. 1 deluge Documentation, Release 2.0.3 macOS There is no .app package currently for macOS, but can try Deluge with homebrew. 1. Install Homebrew 2. Open a terminal. 3. Run the following to install required packages: brew install pygobject3 gtk+3 adwaita-icon-theme brew install libtorrent-rasterbar 4. To fix translations: brew link gettext--force 5.
    [Show full text]
  • Analys Av Popcorn Time Med Hjälp Av Sniffingprogrammet Wireshark
    Analys av Popcorn Time med hjalp¨ av sniffingprogrammet Wireshark Kevin A.˚ Kimaryo Fredrik Siemund Lund University Lund University [email protected] [email protected] Sammanfattning—Vi har anvant¨ sniffingprogrammet ocksa˚ sa˚ det funkar, men ar¨ det en stor fil som laddas upp Wireshark for¨ att analysera vad som hander¨ nar¨ man streamar i omraden˚ med laga˚ overf¨ oringshastigheter¨ kan det innebara¨ (svenska: strommar)¨ film med den olagliga tjansten¨ Popcorn stora belastningar pa˚ internettrafiken och andra anvandare¨ i Time. Popcorn Time ar¨ en BitTorrent-klient vilket betyder att anvandarna¨ bade˚ laddar upp och ner data vid tittandet av en omradet˚ kan uppleva storningar.¨ Dessutom kan det vara valdigt¨ film. Popcorn Time hittar andra anvandare¨ genom att ta kontakt dyrt att tillgodose den nodv¨ andiga¨ uppladdningshastigheten for¨ med en server som i BitTorrent-protokollet kallas for¨ "tracker", att kunna distribuera stora filer pa˚ ett snabbt och smidigt satt.¨ vilket ar¨ det enda centrala elementet i Popcorn Time och som Istallet¨ for¨ att ha en enda nedladdningskalla¨ sa˚ kan haller˚ reda pa˚ vart andra anvandare¨ finns. Vart˚ resultat visar man utnyttja de anvandare¨ som laddar ner filen; man later˚ att Popcorn Time i princip beter sig som en vanlig BitTorrent- klient med den enda skillnad att tjansten¨ dessutom anvander¨ ett dem inte bara ladda ner utan aven¨ ladda upp delar av filen protokoll for¨ streaming av video, kallat GVSP. till andra anvandare.¨ Detta ar¨ tanken bakom BitTorrent och innebar¨ att anvandarnas¨ (det vill saga¨ de som laddar ner en I. INLEDNING fil) uppladningskapacitet utnyttjas och pa˚ sa˚ satt¨ skickas och Att streama innehall˚ over¨ natet¨ blir allt vanligare.
    [Show full text]
  • Bittorrent Is an Auction: Analyzing and Improving Bittorrent’S Incentives
    BitTorrent is an Auction: Analyzing and Improving BitTorrent’s Incentives Dave Levin Katrina LaCurts Neil Spring Bobby Bhattacharjee University of Maryland University of Maryland University of Maryland University of Maryland [email protected] [email protected] [email protected] [email protected] ABSTRACT 1. INTRODUCTION Incentives play a crucial role in BitTorrent, motivating users to up- BitTorrent [2] is a remarkably successful decentralized system load to others to achieve fast download times for all peers. Though that allows many users to download a file from an otherwise under- long believed to be robust to strategic manipulation, recent work provisioned server. To ensure quick download times and scalabil- has empirically shown that BitTorrent does not provide its users ity, BitTorrent relies upon those downloading a file to cooperatively incentive to follow the protocol. We propose an auction-based trade portions, or pieces, of the file with one another [5]. Incentives model to study and improve upon BitTorrent’s incentives. The play an inherently crucial role in such a system; users generally insight behind our model is that BitTorrent uses, not tit-for-tat as wish to download their files as quickly as possible, and since Bit- widely believed, but an auction to decide which peers to serve. Our Torrent is decentralized, there is no global “BitTorrent police” to model not only captures known, performance-improving strategies, govern their actions. Users are therefore free to attempt to strate- it shapes our thinking toward new, effective strategies. For exam- gically manipulate others into helping them download faster. The ple, our analysis demonstrates, counter-intuitively, that BitTorrent role of incentives in BitTorrent is to motivate users to contribute peers have incentive to intelligently under-report what pieces of their resources to others so as to achieve desirable global system the file they have to their neighbors.
    [Show full text]