100 likes | 118 Views
Learn about Distributed Hashtables based on Plaxton's work including examples like Tapestry, Chord, and CAN. Understand the concept of Pastry routing and how nodes receive randomly assigned addresses for network proximity. Explore message forwarding using address prefixes for efficient routing.
E N D
Security (part 5) CPS210 Spring 2006
Example SCA Identify the service Identify the SCA type Where to place verification Message to send
Vulnerable code Stack pointer What is happening here?
Dynamic dataflow analysis 400th byte move byte ptr[esp + eax + 4], cl 100th byte from network
Pastry routing • Distributed Hashtables (DHT) • Based on theoretical work by Plaxton • Other examples: Tapestry, Chord, CAN • All nodes receive an address • Must be assigned randomly • Keep network and address proximity apart • Forward based on address prefixes
Example: send to 10233102 • 1) Fwd to nearest address beginning w/ 1 • 2) “ … “ 10 • … • 7) “…” 1023310 • 8) Forward to host with address 10233102 • Message converges on destination
221 220 210 View from address space 000 111 111 to 220
220 221 210 View from network space 111 111 to 220
Closest in NodeId space Closest in network Closest nodes beginning with 0, 1, 2, 3 Closest nodes beginning with 10, 11, 12, 13 Closest nodes beginning with 100, 101, 102, 103 Pastry routing table