Garlic routing

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Garlic routing is a variant of onion routing that encrypts multiple messages together to make it more difficult[1] for attackers to perform traffic analysis and to increase the speed of data transfer.[2]

Michael J. Freedman defined "garlic routing" as an extension of onion routing, in which multiple messages are bundled together. He called each message a "bulb", whereas I2P calls them "garlic cloves". All messages, each with its own delivery instructions, are exposed at the endpoint.[citation needed] This allows the efficient bundling of an onion routing "reply block" with the original message.[citation needed]

Garlic routing is one of the key factors that distinguishes I2P from Tor and other privacy or encryption networks. The name comes from the garlic plant, whose structure this protocol resembles. "Garlic routing" was first coined by Michael J. Freedman in Roger Dingledine's Free Haven Master's thesis Section 8.1.1 (June 2000), as derived from Onion Routing.[3] However garlic routing implementation in I2P differs from the design proposed by Freedman. The key difference is that garlic routing has unidirectional tunnels. Conversely, mainstream alternatives like Tor and Mixmaster use bidirectional tunnels.

List of P2P applications that use garlic routing[edit]

See also[edit]


  1. ^ B, David (January 27, 2014). "Common Darknet Weaknesses: An Overview of Attack Strategies".
  2. ^ Zantour, Bassam; Haraty, Ramzi A. (2011). "I2P Data Communication System". Proceedings of ICN 2011: The Tenth International Conference on Networks: 401–409.
  3. ^ "Garlic Routing - I2P".