SlideShare a Scribd company logo
Automatic Test Packet
Generation
Tushar Jadhav
Contents
Introduction
Problem Statement
Concept
Conclusion
References
Introduction
Outages in world
Network Troubleshooting
Downtime:
25%take over an hour to resolve.
(estimated $60K-110K/hour ).
Current tools:
Ping, Traceroute, SNMP.
70%asked for better tools, automatic
tests
Automatic Test Packet Generation
(ATPG) generates packets :
- To test the liveness of the underlying
topology .
- To test the compatibility between
data plane state and configuration
specifications.
- To test performance assertions such
as packet latency.
Problem Definition
Most common causes of network
failure
1) Hardware failures
2) Software bugs
Others failure’s include reachability
failures and throughput/latency
degradation.
Our goal is to automatically detect
these types of failures.
Goals
Automatically generate test packets to
test the network state, faults before
being
noticed by application.
Augment human wisdom and intuition.
Reduce the downtime.
Save money.
Concept
ATPG System :
Roadmap
Reachability Analysis
Test Packet Generation & Selection
Fault Localization
Implementation & Evaluation
Reachability Analysis
Header Space Analysis
All-pairs reachability : Compute all
classes of packets that can flow
between every pair of ports.
All-pairs reachability
Test Packet Generation &
Selection
All-pairs reachability
Test Packet Selection
Packets in all-pairs reachability table
are more than necessary.
Goal :
Select a minimum subset of packets
whose histories cover the whole rule
set.
Min Set Cover
Test Packet Selection
Min Set Cover
-Exercise all rules
-Sent out
Periodically
- “Redundant”
- Will be used in
Fault Localization
Fault Localization
Fault Localization
In ATPG: we can choose packets!
Step 1:
Use results from regular test packets
– F (potentially broken rules) = Union from all failing packets
– P (known good rules) = Union from all passing packets
– Suspect Set = F –P
Step 2 :
Use reserved test packets
- Pick packets that test only one rule in the
suspect set, and send them out for testing
- Passed: eliminate
- Failed: label it as “broken”
Step 3:
Brute force
- Continue with test packets that test two or
more rules in the suspect set, until the set is
small enough
Implementation
Putting Them all together :
Cisco/Juniper Parsers
-Translate router configuration files and
forwarding tables (FIB) into Header space
representation.
Test Packet Generation/Selection
- Hassel: A python header space library
- Min-Set-Cover
- Python’s multiprocess module to parallelize
SDN can simplify the design
ATPG for Performance
Testing
ATPG can also be used for detecting
and localizing performance problems.
Intuition: generalize results of a test
from success/failure to performance
(e.g. latency)
Users can inject performance errors
Limitations
Dynamic/Non-deterministic boxes
- e.g. NAT
“Invisible” rules
- e.g. backup rules
Transient network states
Ambiguous states (work in progress)
- e.g. ECMP
Conclusion
Test’s the forwarding state by
generating minimal link, queue, rule
cover automatically.
Efficient liveness testing,reachability
testing.
Better tool than ping & traceroute.
Brings more testing and coverage of
networks
References
P. Kazemian, G. Varghese, and N. McKeown,
“Header space analysis : Static checking for
networks,” in Proc. NSDI, 2012, pp. 9–9.
Y. Bejerano and R. Rastogi, “Robust
monitoring of link delays and faults in IP
networks,” IEEE/ACM Trans. Netw., vol. 14,
no. 5, pp.1092–1103, Oct. 2006
A. Dhamdhere, R. Teixeira, C. Dovrolis, and
C. Diot, “Netdiagnoser:Troubleshooting
network unreachabilities using end-to-end
probes and routing data,” in Proc. ACM
CoNEXT, 2007, pp. 18:1–18:12.

More Related Content

PPTX
ATPG flow chart
PPT
3 problem-solving-
PDF
Real-Time Anomaly Detection and Root Cause Analysis
PDF
Design-for-Test (Testing of VLSI Design)
PPTX
DRCs.pptx
PDF
Media penyimpanan memori_eksternal
PPTX
01 - Fundamentals of the Analysis of Algorithm Efficiency.pptx
PDF
ATPG Methods and Algorithms
ATPG flow chart
3 problem-solving-
Real-Time Anomaly Detection and Root Cause Analysis
Design-for-Test (Testing of VLSI Design)
DRCs.pptx
Media penyimpanan memori_eksternal
01 - Fundamentals of the Analysis of Algorithm Efficiency.pptx
ATPG Methods and Algorithms

What's hot (20)

PPTX
PPTX
Lecture 19 sma star algorithm
PPTX
Informed and Uninformed search Strategies
PPTX
AI_Session 25 classical planning.pptx
PDF
Cultural Algorithm - Genetic Algorithms - Related Techniques
PDF
Les applications du Deep Learning
PPTX
Hindi Ent Quiz
PPTX
Diwali Bollywood Quiz Night for fun time
PPTX
Router yönlendi̇rme protokolleri̇ ve algori̇tmalari(9.grup)
PPT
Applications of ATPG
PDF
AI simple search strategies
PDF
Fault Simulation (Testing of VLSI Design)
PDF
Pemrograman Game Tetris Dengan C#
PPTX
Uninformed search /Blind search in AI
PPTX
Fuzzy Logic Controller.pptx
PPT
Text classification
PDF
Unit3:Informed and Uninformed search
PPT
AI Lecture 2 (intelligent agents)
PPTX
Internet of Things - Lecture 1 - Introduction
Lecture 19 sma star algorithm
Informed and Uninformed search Strategies
AI_Session 25 classical planning.pptx
Cultural Algorithm - Genetic Algorithms - Related Techniques
Les applications du Deep Learning
Hindi Ent Quiz
Diwali Bollywood Quiz Night for fun time
Router yönlendi̇rme protokolleri̇ ve algori̇tmalari(9.grup)
Applications of ATPG
AI simple search strategies
Fault Simulation (Testing of VLSI Design)
Pemrograman Game Tetris Dengan C#
Uninformed search /Blind search in AI
Fuzzy Logic Controller.pptx
Text classification
Unit3:Informed and Uninformed search
AI Lecture 2 (intelligent agents)
Internet of Things - Lecture 1 - Introduction
Ad

Viewers also liked (16)

PDF
Automatic test packet generation in network
DOCX
automatic test packet generation
PDF
Fault simulation – application and methods
DOCX
JPJ1432 Automatic Test Packet Generation
PPTX
Routing simulator
DOCX
Privacy enhanced web service composition
PPT
Routing simulator ppt
DOCX
Fr app e detecting malicious facebook applications
PDF
Identification and Analysis of Malicious Content on Facebook: A Survey
PDF
Final PPT
DOCX
DETECTING MALICIOUS FACEBOOK APPLICATIONS - IEEE PROJECTS IN PONDICHERRY,BUL...
PDF
Use of NS-2 to Simulate MANET Routing Algorithms
PPT
PPTX
Protocol implementation on NS2
PPT
Crm in airlines
DOCX
Fr app e detecting malicious facebook applications
Automatic test packet generation in network
automatic test packet generation
Fault simulation – application and methods
JPJ1432 Automatic Test Packet Generation
Routing simulator
Privacy enhanced web service composition
Routing simulator ppt
Fr app e detecting malicious facebook applications
Identification and Analysis of Malicious Content on Facebook: A Survey
Final PPT
DETECTING MALICIOUS FACEBOOK APPLICATIONS - IEEE PROJECTS IN PONDICHERRY,BUL...
Use of NS-2 to Simulate MANET Routing Algorithms
Protocol implementation on NS2
Crm in airlines
Fr app e detecting malicious facebook applications
Ad

Similar to Automatic test packet generation (20)

DOCX
2014 IEEE JAVA NETWORKING PROJECT Automatic test packet generation
DOCX
IEEE 2014 JAVA NETWORKING PROJECTS Automatic test packet generation
PDF
Automatic Analyzing System for Packet Testing and Fault Mapping
PPTX
Analytical Modeling of End-to-End Delay in OpenFlow Based Networks
PPTX
IMC Summit 2016 Breakout - Noah Arliss - The Truth: How to Test Your Distribu...
PPT
Network Bottleneck Avoidance Using Edge Routers
DOC
Cloud data management
DOCX
2014 IEEE JAVA NETWORKING PROJECT Receiver based flow control for networks in...
DOCX
IEEE 2014 JAVA NETWORKING PROJECTS Receiver based flow control for networks i...
PDF
Automating linux network performance testing
PPT
How Many Slaves (Ukoug)
PDF
Simulating the behavior of satellite Internet links to small islands
PDF
18068 system software suppor t for router fault tolerancelatex ieee journal s...
PPTX
Iptables the Linux Firewall
PPT
HPPS 2008 - Maesani Moro
PPTX
"Introduction to JMeter" @ CPTM 3rd Session
PDF
Packet sniffing
PDF
Distributed Systems: scalability and high availability
PPT
Scalable Apache for Beginners
PDF
Quantstamp Report - LINKSWAP
2014 IEEE JAVA NETWORKING PROJECT Automatic test packet generation
IEEE 2014 JAVA NETWORKING PROJECTS Automatic test packet generation
Automatic Analyzing System for Packet Testing and Fault Mapping
Analytical Modeling of End-to-End Delay in OpenFlow Based Networks
IMC Summit 2016 Breakout - Noah Arliss - The Truth: How to Test Your Distribu...
Network Bottleneck Avoidance Using Edge Routers
Cloud data management
2014 IEEE JAVA NETWORKING PROJECT Receiver based flow control for networks in...
IEEE 2014 JAVA NETWORKING PROJECTS Receiver based flow control for networks i...
Automating linux network performance testing
How Many Slaves (Ukoug)
Simulating the behavior of satellite Internet links to small islands
18068 system software suppor t for router fault tolerancelatex ieee journal s...
Iptables the Linux Firewall
HPPS 2008 - Maesani Moro
"Introduction to JMeter" @ CPTM 3rd Session
Packet sniffing
Distributed Systems: scalability and high availability
Scalable Apache for Beginners
Quantstamp Report - LINKSWAP

Recently uploaded (20)

PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPT
Project quality management in manufacturing
PDF
composite construction of structures.pdf
PPTX
web development for engineering and engineering
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
PPT on Performance Review to get promotions
PPTX
Foundation to blockchain - A guide to Blockchain Tech
DOCX
573137875-Attendance-Management-System-original
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
OOP with Java - Java Introduction (Basics)
PDF
737-MAX_SRG.pdf student reference guides
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Geodesy 1.pptx...............................................
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
additive manufacturing of ss316l using mig welding
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Project quality management in manufacturing
composite construction of structures.pdf
web development for engineering and engineering
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT on Performance Review to get promotions
Foundation to blockchain - A guide to Blockchain Tech
573137875-Attendance-Management-System-original
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
OOP with Java - Java Introduction (Basics)
737-MAX_SRG.pdf student reference guides
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Fundamentals of safety and accident prevention -final (1).pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
bas. eng. economics group 4 presentation 1.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Geodesy 1.pptx...............................................
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
additive manufacturing of ss316l using mig welding

Automatic test packet generation