Principles of Computer Security

Slides:



Advertisements
Similar presentations
NETWORK ALGORITHMS Presenter- Kurchi Subhra Hazra.
Advertisements

Replication. Topics r Why Replication? r System Model r Consistency Models r One approach to consistency management and dealing with failures.
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Byzantine Fault Tolerance Steve Ko Computer Sciences and Engineering University at Buffalo.
Yee Jiun Song Cornell University. CS5410 Fall 2008.
EEC 688/788 Secure and Dependable Computing Lecture 12 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
EEC 693/793 Special Topics in Electrical Engineering Secure and Dependable Computing Lecture 15 Wenbing Zhao Department of Electrical and Computer Engineering.
EEC 693/793 Special Topics in Electrical Engineering Secure and Dependable Computing Lecture 15 Wenbing Zhao Department of Electrical and Computer Engineering.
Byzantine fault tolerance
Byzantine Fault Tolerance CS 425: Distributed Systems Fall Material drived from slides by I. Gupta and N.Vaidya.
Distributed Systems (15-440) Mohammad Hammoud December 4 th, 2013.
Distributed Storage System Survey
BFT3W'091 Intrusion Tolerance: The Killer App for BFT (?) Alysson Bessani, Miguel Correia, Paulo Sousa, Nuno Ferreira Neves, Paulo Veríssimo Universidade.
Fault and Intrusion Tolerant (FIT) Event Broker & BFT-SMaRt A. Casimiro, D. Kreutz, A. Bessani, J. Sousa, I. Antunes, P. Veríssimo University of Lisboa,
1 System Models. 2 Outline Introduction Architectural models Fundamental models Guideline.
Exercises for Chapter 2: System models
An Introduction to Consensus with Raft
Practical Byzantine Fault Tolerance
Byzantine fault-tolerance COMP 413 Fall Overview Models –Synchronous vs. asynchronous systems –Byzantine failure model Secure storage with self-certifying.
From Viewstamped Replication to BFT Barbara Liskov MIT CSAIL November 2007.
1 ZYZZYVA: SPECULATIVE BYZANTINE FAULT TOLERANCE R.Kotla, L. Alvisi, M. Dahlin, A. Clement and E. Wong U. T. Austin Best Paper Award at SOSP 2007.
Byzantine fault tolerance
Architecture Models. Readings r Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 m Note: All figures from this book.
Paxos A Consensus Algorithm for Fault Tolerant Replication.
Replication (1). Topics r Why Replication? r System Model r Consistency Models – How do we reason about the consistency of the “global state”? m Data-centric.
Copyright © George Coulouris, Jean Dollimore, Tim Kindberg This material is made available for private study and for direct.
Byzantine Fault Tolerance CS 425: Distributed Systems Fall 2012 Lecture 26 November 29, 2012 Presented By: Imranul Hoque 1.
CSE 60641: Operating Systems Implementing Fault-Tolerant Services Using the State Machine Approach: a tutorial Fred B. Schneider, ACM Computing Surveys.
CSE 486/586 CSE 486/586 Distributed Systems Byzantine Fault Tolerance Steve Ko Computer Sciences and Engineering University at Buffalo.
Chapter 7: Consistency & Replication IV - REPLICATION MANAGEMENT By Jyothsna Natarajan Instructor: Prof. Yanqing Zhang Course: Advanced Operating Systems.
Hwajung Lee.  Improves reliability  Improves availability ( What good is a reliable system if it is not available?)  Replication must be transparent.
Systems Research Barbara Liskov October Replication Goal: provide reliability and availability by storing information at several nodes.
Replication Improves reliability Improves availability ( What good is a reliable system if it is not available?) Replication must be transparent and create.
Exercises for Chapter 2: System models From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson Education 2005.
CSci8211: Distributed Systems: State Machines 1 Detour: Some Theory of Distributed Systems Supplementary Materials  Replicated State Machines Notion of.
CSE 486/586 Distributed Systems Byzantine Fault Tolerance
BChain: High-Throughput BFT Protocols
CPS 512/590 final exam, 12/8/2015 /60 Your name please: /50 /50 /60
Privacy-Preserving and Fault-Tolerant
The consensus problem in distributed systems
Tolerating Latency in Replicated State Machines through Client Speculation April 22, 2009 Benjamin Wester1, James Cowling2, Edmund B. Nightingale3, Peter.
CSE 486/586 Distributed Systems Mid-Semester Overview
Distributed Systems – Paxos
Secure Causal Atomic Broadcast, Revisited
Principles of Computer Security
Strong Consistency & CAP Theorem
Byzantine Fault Tolerance
CSE 486/586 Distributed Systems Byzantine Fault Tolerance
IS 651: Distributed Systems Midterm
Principles of Computer Security
Replication Improves reliability Improves availability
IS 651: Distributed Systems Byzantine Fault Tolerance
EEC 688/788 Secure and Dependable Computing
From Viewstamped Replication to BFT
IS 651: Distributed Systems Fault Tolerance
EEC 688/788 Secure and Dependable Computing
Fault-Tolerant State Machine Replication
IS 651: Distributed Systems Final Exam
Distributed Systems CS
EEC 688/788 Secure and Dependable Computing
EEC 688/788 Secure and Dependable Computing
EEC 688/788 Secure and Dependable Computing
EEC 688/788 Secure and Dependable Computing
Cryptography Lecture 24.
Distributed Systems (15-440)
Blockchains Lecture 1.
Blockchains Lecture 2.
Blockchains Lecture 6.
Sisi Duan Assistant Professor Information Systems
IS 651: Distributed Systems HW3
Presentation transcript:

Principles of Computer Security Instructor: Haibin Zhang hbzhang@umbc.edu

State Machine Replication and Paxos

Single Server Architecture State Machine Replication Single Server Architecture

Single Server Architecture State Machine Replication Single Server Architecture A single point of failure!

State Machine Replication Interactive protocol among servers State machine replication gives safety and liveness.

State Machine Replication (SMR) Replicas maintain the same state Replicas start in the same state Operations are deterministic Replicas execute operations in the same order (i.e., total order) Replicas send replies to clients Clients vote on replica replies

State Machine Replication (SMR) Total order $100 $100 $100

State Machine Replication (SMR) Total order $100 $100 $100

State Machine Replication (SMR) Total order Client 1: “Deposit $100” $100 $200 Client 1: “Deposit $100” $100 $200 $100

State Machine Replication (SMR) Total order Client 1: “Deposit $100” Chase: “Charge 10%” $100 $200 $180 Client 1: “Deposit $100” Chase: “Charge 10%” $100 $200 $180 $100

State Machine Replication (SMR) Total order ✓ Client 1: “Deposit $100” Chase: “Charge 10%” $100 $200 $180 Client 1: “Deposit $100” Chase: “Charge 10%” $100 $200 $180 $100

State Machine Replication (SMR) Total order ✓ Chase: “Charge 10%” Client 1: “Deposit $100” $100 $90 $190 Chase: “Charge 10%” Client 1: “Deposit $100” $100 $90 $190 $100

State Machine Replication (SMR) Total order ✘ Chase: “Charge 10%” Client 1: “Deposit $100” $100 $90 $190 Client 1: “Deposit $100” Chase: “Charge 10%” $100 $200 $180 $100

Crash Fault-Tolerant SMR State Machine Replication Crash Fault-Tolerant SMR 2f+1 replicas to tolerate f failures Example: Paxos: SMR for crash failures The “most” important backbone architecture Each major service BigTable, Chubby, Spanner, Azure, Amazon Web Services, Ceph, IBM SAN, VMware NSX, … [Lamport, ACM TOCS 1998]; going back to 1989

State Machine Replication Paxos [Lamport, ACM TOCS 1998]; going back to 1989 [Lamport. Paxos made simple. ACM SIGACT News 2001] “For fundamental contributions to the theory and practice of distributed and concurrent systems, notably the invention of concepts such as causality and logical clocks, safety and liveness, replicated state machines, and sequential consistency.” Turing Award 2013

Byzantine Fault-Tolerant SMR (BFT Protocols) State Machine Replication Byzantine Fault-Tolerant SMR (BFT Protocols) Traditionally important Powerful: Byzantine/arbitrary failures & attacks Systems, distributed systems, theory, crypto, security, … Recently gain prominence Real threats to real systems Cryptocurrencies/Blockchains Mission-critical systems …

PBFT 3f+1 replicas to tolerate f Byzantine failures Turing Award 2008 State Machine Replication PBFT 3f+1 replicas to tolerate f Byzantine failures [Castro and Liskov, OSDI 1999] “For contributions to practical and theoretical foundations of programming language and system design, especially related to data abstraction, fault tolerance, and distributed computing.” Turing Award 2008