tor the second generation onion router
Download
Skip this Video
Download Presentation
Tor: The Second-Generation Onion Router

Loading in 2 Seconds...

play fullscreen
1 / 19

Tor: The Second-Generation Onion Router - PowerPoint PPT Presentation


  • 236 Views
  • Uploaded on

Tor: The Second-Generation Onion Router. Roger Dingledine, Nick Mathewson, Paul Syverson. Introduction. Second Generation of Onion Routing Focus on deployability Perfect forward secrecy Separation of “protocol cleaning” from anonymity No mixing, padding or traffic shaping

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Tor: The Second-Generation Onion Router' - mac


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
tor the second generation onion router

Tor: The Second-Generation Onion Router

Roger Dingledine, Nick Mathewson, Paul Syverson

introduction
Introduction
  • Second Generation of Onion Routing
    • Focus on deployability
  • Perfect forward secrecy
  • Separation of “protocol cleaning” from anonymity
  • No mixing, padding or traffic shaping
  • TCP Streams can share on circuit
  • Leaky-pipe circuit topology
introduction1
Introduction
  • Congestion control
  • Directory servers
  • Exit policies
  • Integrity checking
  • Hidden services
design goals
Design Goals
  • Deployability
  • Usability
  • Flexibilty
  • Simple Design
non goals
Non-Goals
  • Not P2P
  • Not secure against end to end attacks
  • No protocol normalization
  • Not steganographic
threat model
Threat Model
  • Does not protect against a global passive adversary
  • Adversary can:
    • Generate, modify, delay and delete traffic
    • Operate onion routers
    • Compromise many onion routers
  • Aim is to project gains traffic analysis attacks not traffic confirmation attacks
    • What do you all think of this distinction? Is it valid?
design
Design
  • Overlay network
  • Onion routers route traffic
  • Onion Proxy fetches directories and creates circuits on the network
  • Uses TCP
  • All data is sent in fixed size cells

Data

CircID

CMD

StreamID Digest Len CMD Data

CircID

Relay

circuits
Circuits
  • Describes the Onion Routers on the path
  • Can be used by many TCP streams
  • Built incrementally
building a circuit
Building a circuit

Create c2 E(gx2)

Created c2, gy2, H(K2)

Created c1, gy1, H(K1)

Relay c1(Extended, gy2, H(K2)

Create c1, E(gx1)

Relay c1 (Extend, OR2, E(gx1))

fetching a web page
Fetching a web page

Relay c2 (Begin <Bob>)

Relay c2 (Connected)

Relay c1 (Connected)

TCP Handshake

Relay c1 (Begin <Bob>)

Last onion router should get the IP address of Bob’s website to protect Alice’s anonymity.

additional functionality
Additional functionality
  • Integrity checking
    • Only done at the edges of a stream
    • SHA-1 digest of data sent and received
    • First 4 bytes of digest are sent with each message for verification
  • Rate limiting
    • Uses token bucket approach
    • Interactive streams get preferential treatment
congestion control
Congestion Control
  • There is some concern about OR-to-OR congestion
  • Circuit Level throttling
    • 2 windows keep track of relay data to be transmitted to other ORs and data transmitted out of the network
    • Windows are decremented after forwarding packets and increments on a relay sendme message
    • When a window reaches 0, no messages are forwarded
congestion control1
Congestion Control
  • Stream Level Throttling
    • Streams have packaging windows associated with them
    • The window is decremented was messages are sent and incremement when relay sendme are received
    • relay sendme messages are sent after the TCP stream has flushed a certain number of bytes
  • This congestion control method is pretty primitive. Why not leverage existing work here?
hidden service and rendezvous points
Hidden Service and Rendezvous Points
  • Tor accommodates receiver anonymity by allowing location hidden services
  • Design goals for location hidden services
    • Access Control
    • Robustness
    • Smear-resistance
    • Application transparency
  • Location hidden service leverage rendezvous points
other design decisions
Other design decisions
  • DoS
    • CPU consumption attacks are possible
    • Crashing routers also causes a DoS
  • Exit Policies and Abuse
    • As with other systems, abuse is a big deal
    • Routers can specify exit policies restricting how they are used
  • Directory Services
    • Advertises current network states and routers
attacks and defenses
Attacks and Defenses
  • Passive Attacks
    • Observing user content
    • End-to-end timing correlation
  • Active Attacks
    • Compromising Keys
    • Run a hostile OR
  • Attacks on the Directory Service
    • Destroy directory service
    • Subvert 1 or more directory servers
  • Attacks against rendezvous points
    • Make many introduction requests
    • Compromise a rendezvous point
tor in the wild
Tor in the wild
  • There is a current deployment of Tor
  • Currently ~ 350 Tor routers
  • ~ 40MB read and write at any given time
  • Performance
    • 42% increase in time for large file
    • Varied for interactive sessions
discussion questions
Discussion Questions
  • In Tor, if your entry node and exit node are compromised, you are sunk. If this is the case, what is the point of circuits with more then 2 hops?
  • One of the tensions for Tor (and other anonymity systems) is that they need a good user base to improve the system. However, the anonymity the offer isn’t great. How do you get people to use such a system?
ad