Skip to main content

RatFish: A File Sharing Protocol Provably Secure against Rational Users

  • Conference paper

Part of the Lecture Notes in Computer Science book series (LNSC,volume 6345)


The proliferation of P2P computing has recently been propelled by popular applications, most notably file sharing protocols such as BitTorrent. These protocols provide remarkable efficiency and scalability, as well as adaptivity to dynamic situations. However, none of them is secure against attacks from rational users, i.e., users that misuse the protocol if doing so increases their benefits (e.g., reduces download time or amount of upload capacity).

We propose a rigorous model of rational file sharing for both seeders and leechers, building upon the concept of rational cryptography. We design a novel file sharing protocol called RatFish, and we formally prove that no rational party has an incentive to deviate from RatFish; i.e., RatFish constitutes a Nash equilibrium. Compared to existing file sharing protocols such as BitTorrent, the tracker in RatFish is assigned additional tasks while the communication overhead of a RatFish client is kept to a minimum. We demonstrate by means of a prototype implementation that RatFish is practical and efficient.


  • Nash Equilibrium
  • Rational User
  • Cheat Action
  • Download Time
  • Sharing Protocol

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. Abraham, I., Dolev, D., Gonen, R., Halpern, J.: Distributed computing meets game theory: robust mechanisms for rational secret sharing and multiparty computation. In: 25th Annual ACM Symposium on Principles of Distributed Computing (PODC 2006), pp. 53–62 (2006)

    Google Scholar 

  2. Aiyer, A.S., Alvisi, L., Clement, A., Dahlin, M., Martin, J.P., Porth, C.: BAR fault tolerance for cooperative services. Operating Systems Review (OSR) 39(5), 45–58 (2005)

    CrossRef  Google Scholar 

  3. Bharambe, A.R., Herley, C., Padmanabhan, V.N.: Analyzing and improving a BitTorrent network’s performance mechanisms. In: The 25th IEEE Conference on Computer Communications, INFOCOM 2006 (2005)

    Google Scholar 

  4. Bieber, J., Kenney, M., Torre, N., Cox, L.P.: An empirical study of seeders in BitTorrent. Tech. rep., Duke University (2006)

    Google Scholar 

  5. Cohen, B.: Incentives build robustness in BitTorrent. Tech. rep., (2003)

    Google Scholar 

  6. Dodis, Y., Halevi, S., Rabin, T.: A cryptographic solution to a game theoretic problem. In: Bellare, M. (ed.) CRYPTO 2000. LNCS, vol. 1880, pp. 112–130. Springer, Heidelberg (2000)

    CrossRef  Google Scholar 

  7. Feigenbaum, J., Shenker, S.: Distributed algorithmic mechanism design: recent results and future directions. In: 6th International Workshop on Discrete Algorithms and Methods for Mobile Computing and Communications (DIAL-M 2002), pp. 1–13 (2002)

    Google Scholar 

  8. Fuchsbauer, G., Katz, J., Naccache, D.: Efficient rational secret sharing in standard communication networks. In: Micciancio, D. (ed.) TCC 2010. LNCS, vol. 5978, pp. 419–436. Springer, Heidelberg (2010)

    Google Scholar 

  9. Gordon, D., Katz, J.: Rational secret sharing, revisited. In: De Prisco, R., Yung, M. (eds.) SCN 2006. LNCS, vol. 4116, pp. 229–241. Springer, Heidelberg (2006)

    CrossRef  Google Scholar 

  10. Halpern, J., Teague, V.: Rational secret sharing and multiparty computation: extended abstract. In: STOC 2004, pp. 623–632 (2004)

    Google Scholar 

  11. Izal, M., Uroy-Keller, G., Biersack, E., Felber, P.A., Hamra, A.A., Garces-Erice, L.: Dissecting BitTorrent: Five months in torrent’s lifetime. In: Barakat, C., Pratt, I. (eds.) PAM 2004. LNCS, vol. 3015, pp. 1–11. Springer, Heidelberg (2004)

    CrossRef  Google Scholar 

  12. Katz, J.: Bridging game theory and cryptography: Recent results and future directions. In: Canetti, R. (ed.) TCC 2008. LNCS, vol. 4948, pp. 251–272. Springer, Heidelberg (2008)

    CrossRef  Google Scholar 

  13. Keidar, I., Melamed, R., Orda, A.: Equicast: Scalable multicast with selfish users. Computer Networks 53(13), 2373–2386 (2009)

    MATH  CrossRef  Google Scholar 

  14. Kol, G., Naor, M.: Cryptography and game theory: Designing protocols for exchanging information. In: Canetti, R. (ed.) TCC 2008. LNCS, vol. 4948, pp. 320–339. Springer, Heidelberg (2008)

    CrossRef  Google Scholar 

  15. Levin, D., LaCurts, K., Spring, N., Bhattacharjee, B.: BitTorrent is an auction: analyzing and improving BitTorrent’s incentives. Computer Communications Review (CCR) 38(4), 243–254 (2008)

    CrossRef  Google Scholar 

  16. Li, H.C., Clement, A., Marchetti, M., Kapritsos, M., Robison, L., Alvisi, L., Dahlin, M.: FlightPath: Obedience vs. choice in cooperative services. In: USENIX OSDI 2008, pp. 355–368 (2008)

    Google Scholar 

  17. Li, H.C., Clement, A., Wong, E.L., Napper, J., Roy, I., Alvisi, L., Dahlin, M.: BAR gossip. In: USENIX OSDI 2006, pp. 191–204 (2006)

    Google Scholar 

  18. Liogkas, N., Nelson, R., Kohler, E., Zhang, L.: Exploiting BitTorrent for fun (not for profit) (2006),

  19. Locher, T., Moor, P., Schmid, S., Wattenhofer, R.: Free riding in BitTorrent is cheap. In: 5th Workshop on Hot Topics in Networks (HotNets-V), pp. 85–90 (2006)

    Google Scholar 

  20. Peterson, R.S., Sirer, E.G.: Antfarm: efficient content distribution with managed swarms. In: USENIX NSDI 2009, pp. 107–122 (2009)

    Google Scholar 

  21. Piatek, M., Isdal, T., Anderson, T., Krishnamurthy, A., Venkataramani, A.: Do incentives build robustness in BitTorrent? In: USENIX NSDI 2007, pp. 1–14 (2007)

    Google Scholar 

  22. Piatek, M., Isdal, T., Krishnamurthy, A., Anderson, T.: One hop reputations for peer to peer file sharing workloads. In: USENIX NSDI 2008, pp. 1–14 (2008)

    Google Scholar 

  23. Pouwelse, J.A., Garbacki, P., Epema, D., Sips, H.J.: The BitTorrent p2p file-sharing system: Measurements and analysis. In: Castro, M., van Renesse, R. (eds.) IPTPS 2005. LNCS, vol. 3640, pp. 205–216. Springer, Heidelberg (2005)

    CrossRef  Google Scholar 

  24. Qiu, D., Srikant, R.: Modeling and performance analysis of BitTorrent-like peer-to-peer networks. In: SIGCOMM 2004, pp. 367–378 (2004)

    Google Scholar 

  25. Rob, D.L., Sherwood, R., Bhattacharjee, B.: Fair file swarming with FOX (2006),

  26. Shneidman, J., Parkes, D., Massoulie, L.: Faithfulness in internet algorithms. In: Workshop on Practice and Theory of Incentives and Game Theory in Networked Systems (PINS 2004), pp. 220–227 (2004)

    Google Scholar 

  27. Sirivianos, M., Yang, X., Jarecki, S.: Robust and efficient incentives for cooperative content distribution. Transactions On Networking (TON) 17(6), 1766–1779 (2009)

    CrossRef  Google Scholar 

  28. Thommes, R., Coates, M.: BitTorrent fairness: Analysis and improvements. In: 4th IEEE Workshop on the Internet, Telecommunications and Signal Processing, WITSP 2005 (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations


Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Backes, M., Ciobotaru, O., Krohmer, A. (2010). RatFish: A File Sharing Protocol Provably Secure against Rational Users. In: Gritzalis, D., Preneel, B., Theoharidou, M. (eds) Computer Security – ESORICS 2010. ESORICS 2010. Lecture Notes in Computer Science, vol 6345. Springer, Berlin, Heidelberg.

Download citation

  • DOI:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-15496-6

  • Online ISBN: 978-3-642-15497-3

  • eBook Packages: Computer ScienceComputer Science (R0)