SlideShare a Scribd company logo
VeriFlow: Verifying Network-Wide
Invariants in Real Time
Krystle Bates
Yenming Chen
Agenda
● Introduction
● VeriFlow
● Experiments
● Comparison: Header Space Analysis (HSA)
● Lessons Learned
● Conclusion & Discussion
Introduction
SDN’s Refresh
● Software Defined Network (SDN) allows the use of programming network
devices
Fig. 1: Software Defined Networking Architecture [1]
Challenges of SDNs
- A logically-centralized network applications allow bugs occur due to the
increases in software complexities.
- The use of multiple applications or user’s ability to program the same
physical network simultaneously, could result in conflicting rules.
Overview Approach
- Uses real-time data plane verification.
- Has a standardized and open interface to read and write the data plane of
network devices and a centralized device can run code and is responsible
for transmitting commands to network devices.
Challenges
- Obtaining real time view of network
- Verification speed
Photo by ✿ SUMAYAH ©™ - Creative Commons Attribution-NonCommercial-ShareAlike License
https://farm8.staticflickr.com/7042/7098318665_9cb251bcd2_b.jpg
VeriFlow
Structure of VeriFlow
- Real - Time analysis
- Function by
- Dynamic Monitor
- Model Behavior
- Custom Algorithms for Error
Detection
1. Limit the Search Space
Generate
Equivalence
Classes
Veriflow
Updates
Computing Equivalence Classes (EC)
2. Represent Forwarding Behavior
Generate
Equivalence
Classes
Generate
Forwarding
Graphs
Veriflow
Updates
Forwarding Graphs
3. Run Query to Check Invariants
Generate
Equivalence
Classes
Run Queries
Generate
Forwarding
Graphs
Veriflow
Updates
Experiment
Evaluation #1- Microbenchmarking VeriFlow run time
Goal - Observe Veriflow’s different phases contributions to the overall run
time
Simulated an IP network with 172 routers
Replayed BGP traces, with 5 million RIB entries and 90k BGP updates
Performance Results
97.8% of the updates
were verified within 1
millisecond
Evaluation #2 - Effect on TCP Connection Setup Latency
Goal - Understand the impact of Veriflow on TCP connection setup latency
Mininet OpenFlow network
10 switched arranged in chain-like topology
A host connect to every switch
Nox controller running “learning switch” app
TCP connections between random pairs of hosts
Evaluation Results
Time Consume
Comparison: HSA
Header Space Analysis
Operating overview
● Extract header from packets in binary {0,1}
● Construct forwarding transfer function T(h,p)
● Mathematical computation for verification
Achievements
● Reachability analysis
● Loop detection
● Slice isolation
P. Kazemian, G. Varghese and N.
McKeown, “Header space analysis:
static checking for networks”, NSDI'12
Proceedings of USENIX conference on
Networked Systems Design and
Implementation, 2012
Time Consume
~= second base
NetPlumber
Features
● Based on HSA
● Built dependency graph
Improvements of HSA
● Incremental update rules (achieve real-time)
● Without ad hoc code required by HSA (generalize to probe nodes)
● Cluster graph and reduce inner-edges (parallelization)
P. Kazemian, M.l Chang, H. Zeng, G.
Varghese , N. McKeown, S. Whyte,
“Real Time Network Policy Checking
using Header Space Analysis”, NSDI'12
Proceedings of USENIX conference on
Networked Systems Design and
Implementation, 2013
conti. NetPlumber
Time Consume
~= millisecond
Lessons Learned
VeriFlow vs NetPlumber (HSA)
VeriFlow NetPlumber(HSA)
History 2013 by UIUC 2013(2012) by Stanford
Apply Layer Data-Plane Data-Plane
Data Structure Tree Graph
Time Consume millisecond millisecond
Steps Class / Flow / Queries Space / Topology / Algebra
Verification Custom Query Procedure Algebra Operation
Both support forwarding actions and verification
Conclusion & Discussion
Conclusion
VeriFlow achieves real-time verification
- A layer between SDN controller and network elements
- Finds faulty flows issued by SDN applications
- Verifies network-wide invariants as each flow is inserted
Can prevent a flow from reaching the network
Thanks for your
attention!
Problems and Discussion
1) Is there any limitation on Data-Plane verification ?
2) How can we improve the speed of Veriflow ?
3) Within the experimental results, there is a long tail behavior in the CDF. Why
do you think that is?
4) Is it possible for VeriFlow to deal with the control logic error?
5) Is SDN pre-requisite for VeriFlow? Can we implement VeriFlow without the
SDN's implementation?
6) Can Veriflow replace firewall in a networked system?
References
- A. Khurshid, X. Zou, W. Zhou, M. Caesar, P. Godfrey, VeriFlow: Verifying Network-Wide Invariants in Real Time, (Paper) and
“VeriFlow: Verifying Network-Wide Invariants in Real Time”, PPT,
http://conferences.sigcomm.org/sigcomm/2012/slides/sdn/session2/03-Veriflow.pdf, 2012
- P. Kazemian, G. Varghese, N. McKeown, “Header Space Analysis: Static Checking For Networks”
- G. N. Nde and R. Khondoker, "SDN testing and debugging tools: A survey," 2016 5th International Conference on Informatics,
Electronics and Vision (ICIEV), Dhaka, 2016, pp. 631-635.
- D. Nicol, K. Jin, M. Caesar, B. Sanders, “A Hypothesis Testing Framework for Network Security”, PPT
- Peyman Kazemian, Network Debugging, http://yuba.stanford.edu/~peyman/research.html

More Related Content

PDF
Investigating the Impact of Network Topology on the Processing Times of SDN C...
PDF
ppbench - A Visualizing Network Benchmark for Microservices
PDF
SDN interfaces and performance analysis of SDN components
PPTX
Efficient Topology Discovery in Software Defined Networks
PPTX
Group Communication Techniques in Overlay Networks
PPTX
SDN: is it a solution for network security?
PDF
Capstone Poster Final Draft - 2
PPTX
Ravi Namboori Software Defined Network Presentation
Investigating the Impact of Network Topology on the Processing Times of SDN C...
ppbench - A Visualizing Network Benchmark for Microservices
SDN interfaces and performance analysis of SDN components
Efficient Topology Discovery in Software Defined Networks
Group Communication Techniques in Overlay Networks
SDN: is it a solution for network security?
Capstone Poster Final Draft - 2
Ravi Namboori Software Defined Network Presentation

What's hot (20)

PDF
An Overview of Distributed Debugging
PPTX
Link Capacity Estimation in Wireless Software Defined Networks
PDF
Insight DE project
PPTX
SC'18 BoF Presentation
PPT
Colloque IMT -04/04/2019- L'IA au cœur des mutations industrielles - L'IA pou...
PPTX
IEEE HPSR 2017 Keynote: Softwarized Dataplanes and the P^3 trade-offs: Progra...
PPTX
Radware DefenseFlow-The SDN Application That Programs Networks for DoS Security
PDF
PPTX
Smart Contract Security Testing
PDF
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
PPT
Krabbenhoft_TavernaARC_BOSC2009
PDF
SDN-ppt-new
PDF
OpenFlow Aware Network Processor
PPTX
In-kernel Analytics and Tracing with eBPF for OpenStack Clouds
PDF
Sdn&security
PPTX
DEVNET-1114 Automated Management Using SDN/NFV
PDF
The Impact of Software-based Virtual Network in the Public Cloud
PPTX
Software defined network
PDF
Making Runtime Data Useful for Incident Diagnosis: An Experience Report
PDF
Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...
An Overview of Distributed Debugging
Link Capacity Estimation in Wireless Software Defined Networks
Insight DE project
SC'18 BoF Presentation
Colloque IMT -04/04/2019- L'IA au cœur des mutations industrielles - L'IA pou...
IEEE HPSR 2017 Keynote: Softwarized Dataplanes and the P^3 trade-offs: Progra...
Radware DefenseFlow-The SDN Application That Programs Networks for DoS Security
Smart Contract Security Testing
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
Krabbenhoft_TavernaARC_BOSC2009
SDN-ppt-new
OpenFlow Aware Network Processor
In-kernel Analytics and Tracing with eBPF for OpenStack Clouds
Sdn&security
DEVNET-1114 Automated Management Using SDN/NFV
The Impact of Software-based Virtual Network in the Public Cloud
Software defined network
Making Runtime Data Useful for Incident Diagnosis: An Experience Report
Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...
Ad

Similar to VeriFlow Presentation (20)

PDF
BuildingSDNmanageableswitch.pdf
PDF
DesignofSDNmanageableswitch.pdf
PPTX
Software Defined Networks
PPTX
Distributed Clouds and Software Defined Networking
PPTX
Software-Defined Networking(SDN):A New Approach to Networking
PPTX
Software_Defined_Networking.pptx
PDF
SDN Security Talk - (ISC)2_3
PDF
Final_Report
PPTX
CloudComp 2015 - SDN-Cloud Testbed with Hyper-convergent SmartX Boxes
PPTX
SDN - a new security paradigm?
PDF
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
PDF
SDN: A New Approach to Networking Technology
PPTX
Introduction to SDN: Software Defined Networking
PPTX
Software Define Network, a new security paradigm ?
PPT
FlowN vs FlowVisor: Scalable Network Virtualization in SDN
PPTX
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
PDF
Understanding network and service virtualization
PPTX
Software Defined Networking
PDF
The Challenges of SDN/OpenFlow in an Operational and Large-scale Network
PPTX
SDN Multi-Controller Domain.pptx
BuildingSDNmanageableswitch.pdf
DesignofSDNmanageableswitch.pdf
Software Defined Networks
Distributed Clouds and Software Defined Networking
Software-Defined Networking(SDN):A New Approach to Networking
Software_Defined_Networking.pptx
SDN Security Talk - (ISC)2_3
Final_Report
CloudComp 2015 - SDN-Cloud Testbed with Hyper-convergent SmartX Boxes
SDN - a new security paradigm?
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
SDN: A New Approach to Networking Technology
Introduction to SDN: Software Defined Networking
Software Define Network, a new security paradigm ?
FlowN vs FlowVisor: Scalable Network Virtualization in SDN
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
Understanding network and service virtualization
Software Defined Networking
The Challenges of SDN/OpenFlow in an Operational and Large-scale Network
SDN Multi-Controller Domain.pptx
Ad

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Machine Learning_overview_presentation.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Machine learning based COVID-19 study performance prediction
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Programs and apps: productivity, graphics, security and other tools
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
Review of recent advances in non-invasive hemoglobin estimation
Machine Learning_overview_presentation.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Assigned Numbers - 2025 - Bluetooth® Document
MIND Revenue Release Quarter 2 2025 Press Release
Machine learning based COVID-19 study performance prediction
A comparative analysis of optical character recognition models for extracting...
Advanced methodologies resolving dimensionality complications for autism neur...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Programs and apps: productivity, graphics, security and other tools
The AUB Centre for AI in Media Proposal.docx
Building Integrated photovoltaic BIPV_UPV.pdf
A Presentation on Artificial Intelligence
Digital-Transformation-Roadmap-for-Companies.pptx
Spectroscopy.pptx food analysis technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity

VeriFlow Presentation

  • 1. VeriFlow: Verifying Network-Wide Invariants in Real Time Krystle Bates Yenming Chen
  • 2. Agenda ● Introduction ● VeriFlow ● Experiments ● Comparison: Header Space Analysis (HSA) ● Lessons Learned ● Conclusion & Discussion
  • 4. SDN’s Refresh ● Software Defined Network (SDN) allows the use of programming network devices Fig. 1: Software Defined Networking Architecture [1]
  • 5. Challenges of SDNs - A logically-centralized network applications allow bugs occur due to the increases in software complexities. - The use of multiple applications or user’s ability to program the same physical network simultaneously, could result in conflicting rules.
  • 6. Overview Approach - Uses real-time data plane verification. - Has a standardized and open interface to read and write the data plane of network devices and a centralized device can run code and is responsible for transmitting commands to network devices.
  • 7. Challenges - Obtaining real time view of network - Verification speed Photo by ✿ SUMAYAH ©™ - Creative Commons Attribution-NonCommercial-ShareAlike License https://farm8.staticflickr.com/7042/7098318665_9cb251bcd2_b.jpg
  • 9. Structure of VeriFlow - Real - Time analysis - Function by - Dynamic Monitor - Model Behavior - Custom Algorithms for Error Detection
  • 10. 1. Limit the Search Space Generate Equivalence Classes Veriflow Updates
  • 12. 2. Represent Forwarding Behavior Generate Equivalence Classes Generate Forwarding Graphs Veriflow Updates
  • 14. 3. Run Query to Check Invariants Generate Equivalence Classes Run Queries Generate Forwarding Graphs Veriflow Updates
  • 16. Evaluation #1- Microbenchmarking VeriFlow run time Goal - Observe Veriflow’s different phases contributions to the overall run time Simulated an IP network with 172 routers Replayed BGP traces, with 5 million RIB entries and 90k BGP updates
  • 17. Performance Results 97.8% of the updates were verified within 1 millisecond
  • 18. Evaluation #2 - Effect on TCP Connection Setup Latency Goal - Understand the impact of Veriflow on TCP connection setup latency Mininet OpenFlow network 10 switched arranged in chain-like topology A host connect to every switch Nox controller running “learning switch” app TCP connections between random pairs of hosts
  • 22. Header Space Analysis Operating overview ● Extract header from packets in binary {0,1} ● Construct forwarding transfer function T(h,p) ● Mathematical computation for verification Achievements ● Reachability analysis ● Loop detection ● Slice isolation P. Kazemian, G. Varghese and N. McKeown, “Header space analysis: static checking for networks”, NSDI'12 Proceedings of USENIX conference on Networked Systems Design and Implementation, 2012 Time Consume ~= second base
  • 23. NetPlumber Features ● Based on HSA ● Built dependency graph Improvements of HSA ● Incremental update rules (achieve real-time) ● Without ad hoc code required by HSA (generalize to probe nodes) ● Cluster graph and reduce inner-edges (parallelization) P. Kazemian, M.l Chang, H. Zeng, G. Varghese , N. McKeown, S. Whyte, “Real Time Network Policy Checking using Header Space Analysis”, NSDI'12 Proceedings of USENIX conference on Networked Systems Design and Implementation, 2013
  • 27. VeriFlow vs NetPlumber (HSA) VeriFlow NetPlumber(HSA) History 2013 by UIUC 2013(2012) by Stanford Apply Layer Data-Plane Data-Plane Data Structure Tree Graph Time Consume millisecond millisecond Steps Class / Flow / Queries Space / Topology / Algebra Verification Custom Query Procedure Algebra Operation Both support forwarding actions and verification
  • 29. Conclusion VeriFlow achieves real-time verification - A layer between SDN controller and network elements - Finds faulty flows issued by SDN applications - Verifies network-wide invariants as each flow is inserted Can prevent a flow from reaching the network
  • 31. Problems and Discussion 1) Is there any limitation on Data-Plane verification ? 2) How can we improve the speed of Veriflow ? 3) Within the experimental results, there is a long tail behavior in the CDF. Why do you think that is? 4) Is it possible for VeriFlow to deal with the control logic error? 5) Is SDN pre-requisite for VeriFlow? Can we implement VeriFlow without the SDN's implementation? 6) Can Veriflow replace firewall in a networked system?
  • 32. References - A. Khurshid, X. Zou, W. Zhou, M. Caesar, P. Godfrey, VeriFlow: Verifying Network-Wide Invariants in Real Time, (Paper) and “VeriFlow: Verifying Network-Wide Invariants in Real Time”, PPT, http://conferences.sigcomm.org/sigcomm/2012/slides/sdn/session2/03-Veriflow.pdf, 2012 - P. Kazemian, G. Varghese, N. McKeown, “Header Space Analysis: Static Checking For Networks” - G. N. Nde and R. Khondoker, "SDN testing and debugging tools: A survey," 2016 5th International Conference on Informatics, Electronics and Vision (ICIEV), Dhaka, 2016, pp. 631-635. - D. Nicol, K. Jin, M. Caesar, B. Sanders, “A Hypothesis Testing Framework for Network Security”, PPT - Peyman Kazemian, Network Debugging, http://yuba.stanford.edu/~peyman/research.html