SlideShare a Scribd company logo
#sf20v • Online • October 12-16
SharkFest’20 Virtual
#sf20v • Online • October 12-16
Ostinato
ostinato.org
Craft Packets, Generate Traffic
Srivats P
Creator, Ostinato
#sf20v • Online • October 12-16
Agenda
• About
• Story
• Overview
• Demo
• Topologies
• Performance
• Caveats
• Q&A
#sf20v • Online • October 12-16
whoami
• 21+ years as a network dev/engineer
• R2, ISDN, SS7, SIGTRAN
• L2/L3/MPLS forwarding plane
• ACLs, Firewall data plane
• CPEs, DSLAMs, TORs, SP edge/core routers
• Day Job
• Daewoo Telecom, Globespan Virata, Conexant,
Ikanos, Cisco, Juniper
• Side Project
• Ostinato
@pstavirs
/in/srivatsp
#sf20v • Online • October 12-16
Story
• The year was 2007
• I was working on a Linux datapath accelerator
• How to test?
• Slow/Fast path, various protocols, invalid packets,
controlled environment etc.
• Didn’t get access to Ixia/Spirent traffic generators
• Couldn’t find an equivalent FOSS tool
#sf20v • Online • October 12-16
Story (contd.)
“What do I do?”
#sf20v • Online • October 12-16
Story (contd.)
“I’ll write my own!”
#sf20v • Online • October 12-16
A brief history
April 11, 2010 [Wireshark-users]
Announcing “Ostinato” – packet generator and analyzer
#sf20v • Online • October 12-16
Sustainability
• Ostinato and me
• 13+ years since inception, 99% of code
• Side project – personal time, personal resources
• Full time day job – pay the bills
• Ostinato is open-source
• But open-source sustainability is a problem
• Money, Time, Resources, Bus-factor, …
• Experiments
• Past (didn’t work): donations, pay what you want
• Current: paid binaries, free source code
#sf20v • Online • October 12-16
What is Ostinato?
• Packet Crafter
• Traffic Generator
• Open-source
• Cross-platform
• Windows, Linux, MacOS
#sf20v • Online • October 12-16
What can you use it for?
• Testing devices and network
• Pcap Replay
• Troubleshooting
• Cert study and practice
• Teaching/Learning
• … and more
#sf20v • Online • October 12-16
Wireshark and Ostinato
● Packet
● Protocols
● Fields
● Packet
● Protocols
● Fields
● Packet
● Protocols
● Fields
Packets on Wire
Packets on Wire
Ostinato = Wireshark in Reverse!
#sf20v • Online • October 12-16
Features
• Multiple streams (stream = sequence of packets)
• Per stream: rates, bursts, no. of pkts, stats
• Real-time port stats
• Device Emulation (ARP, Ping)
• Common protocols (VLAN, IP, TCP, UDP, IGMP etc.)
• Set/Edit value for any field of any protocol
• Vary packet fields
• … and many more!
DEMO
Coming
Up!
#sf20v • Online • October 12-16
Not supported
• No stateful support
• No TCP connections (3-way handshake, seq/ack nos.)
• TCP stateless is supported
• Useful for ACLs, stateless firewalls etc.
• L4-L7 applications?
• It depends!
#sf20v • Online • October 12-16
SharkFest’20 Virtual
#sf20v • Online • October 12-16
Ostinato Demo time!
#sf20v • Online • October 12-16
Ostinato demos
• Basics
• Packets from scratch
• Pcap import/edit/replay
• Scenarios
• Routing test
• IMIX test
• IGMP/multicast test
#sf20v • Online • October 12-16
Ostinato demo – Basics
• Packets from scratch
• Pcap edit/replay
#sf20v • Online • October 12-16
Ostinato demos - Scenarios
• Routing test
• IMIX test
• IGMP/Multicast test
#sf20v • Online • October 12-16
Ostinato demo – Routing
• Routing test
• Device
Emulation
#sf20v • Online • October 12-16
Ostinato demo – Routing
• Routing test
• Device
Emulation
#sf20v • Online • October 12-16
Ostinato demo – IMIX
• IMIX test
• Simple IMIX (7:4:1)
• https://en.wikipedia.org/wiki/Internet_Mix
IP PktSize # Pkts Bytes Pkt Distrib Byte Distrib
40 7 280 58.33% 7%
576 4 2304 33.33% 56%
1500 1 1500 8.33% 37%
#sf20v • Online • October 12-16
Ostinato demo – IGMP
• 1 x Multicast sender
• Multicast data stream (UDP)
• 1 x Multicast receiver
• IGMPv2 join/leave
#sf20v • Online • October 12-16
Topology
DUTTester DUTTester
#sf20v • Online • October 12-16
Architecture
Agent
(Drone)
Controller
(Ostinato)
❖ Packet Generation
❖ Packet Capture
❖ Device Emulation
❖ Statistics
GUI/Python-Script
❖ Configuration
❖ Control
❖ Results
Protobuf based RPC
Protocols, Packet Length,
Rates etc.
#sf20v • Online • October 12-16
Topology Redux
#sf20v • Online • October 12-16
Topology Redux (contd.)
#sf20v • Online • October 12-16
Performance
Packet
Size
Max Rate
(Kpps)
Max Rate
(Mbps)
64 920 618
128 807 955
256 442 976
512 231 983
1024 118 986
1518 80 984
Packet
Size
Max Rate
(Kpps)
Max Rate
(Mbps)
64 755 507
128 753 892
256 738 1,630
512 732 3,115
1024 725 6,055
1518 725 8,920
4096 574 18,901
9018 225 16,268
Intel XL710 40Gbps (1 CPU core)Intel I218-V 1Gbps (1 CPU core)
Using Ostinato for Linux
Don’t use Windows for performance!
#sf20v • Online • October 12-16
Turbo Transmit
• 10/25/40 Gbps line rate support (64-byte packets)
• Work in progress
• Promising prototyping results
• Using AF_XDP
• 1xCpuCore, XL710 – 22Mpps (14.78Gbps)
• In comparison, libpcap based – 0.755Mpps
• Early access sign up - ostinato.org/turbo
#sf20v • Online • October 12-16
Caveats
• Professional tool
• Learning curve
• Ostinato is a tool – YOU are the brains!
• Feedback/suggestions are welcome
#sf20v • Online • October 12-16
SharkFest’20 Virtual
#sf20v • Online • October 12-16
That’s all folks!
Questions?
#sf20v • Online • October 12-16
SharkFest’20 Virtual
#sf20v • Online • October 12-16
Please fill out the speaker survey!

More Related Content

What's hot

Skydive, real-time network analyzer, container integration
Skydive, real-time network analyzer, container integrationSkydive, real-time network analyzer, container integration
Skydive, real-time network analyzer, container integration
Sylvain Afchain
 
Skydive 5/07/2016
Skydive 5/07/2016Skydive 5/07/2016
Skydive 5/07/2016
Sylvain Afchain
 
Mirko Damiani - An Embedded soft real time distributed system in Go
Mirko Damiani - An Embedded soft real time distributed system in GoMirko Damiani - An Embedded soft real time distributed system in Go
Mirko Damiani - An Embedded soft real time distributed system in Go
linuxlab_conf
 
Make Your Own Developement Board @ 2014.4.21 JuluOSDev
Make Your Own Developement Board @ 2014.4.21 JuluOSDevMake Your Own Developement Board @ 2014.4.21 JuluOSDev
Make Your Own Developement Board @ 2014.4.21 JuluOSDevJian-Hong Pan
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linaro
 
Performance Lessons learned in vRouter - Stephen Hemminger
Performance Lessons learned in vRouter - Stephen HemmingerPerformance Lessons learned in vRouter - Stephen Hemminger
Performance Lessons learned in vRouter - Stephen Hemminger
harryvanhaaren
 
Kernel Recipes 2015 - The Dronecode Project – A step in open source drones
Kernel Recipes 2015 - The Dronecode Project – A step in open source dronesKernel Recipes 2015 - The Dronecode Project – A step in open source drones
Kernel Recipes 2015 - The Dronecode Project – A step in open source drones
Anne Nicolas
 
Practical SystemTAP basics: Perl memory profiling
Practical SystemTAP basics: Perl memory profilingPractical SystemTAP basics: Perl memory profiling
Practical SystemTAP basics: Perl memory profiling
Lubomir Rintel
 
Tc basics
Tc basicsTc basics
Tc basics
jeromy fu
 
Quality of Service Ingress Rate Limiting and OVS Hardware Offloads
Quality of Service Ingress Rate Limiting and OVS Hardware OffloadsQuality of Service Ingress Rate Limiting and OVS Hardware Offloads
Quality of Service Ingress Rate Limiting and OVS Hardware Offloads
Netronome
 
MOVED: The challenge of SVE in QEMU - SFO17-103
MOVED: The challenge of SVE in QEMU - SFO17-103MOVED: The challenge of SVE in QEMU - SFO17-103
MOVED: The challenge of SVE in QEMU - SFO17-103
Linaro
 
BUD17-TR02: Upstreaming 101
BUD17-TR02: Upstreaming 101 BUD17-TR02: Upstreaming 101
BUD17-TR02: Upstreaming 101
Linaro
 
OAuth and STUN, TURN in WebRTC context RFC7635
OAuth and STUN, TURN  in WebRTC context RFC7635OAuth and STUN, TURN  in WebRTC context RFC7635
OAuth and STUN, TURN in WebRTC context RFC7635
Mihály Mészáros
 
The Simple Scheduler in Embedded System @ OSDC.TW 2014
The Simple Scheduler in Embedded System @ OSDC.TW 2014The Simple Scheduler in Embedded System @ OSDC.TW 2014
The Simple Scheduler in Embedded System @ OSDC.TW 2014
Jian-Hong Pan
 
Building Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCCBuilding Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCC
Kernel TLV
 
5th tf webrtc-welcome
5th tf webrtc-welcome5th tf webrtc-welcome
5th tf webrtc-welcome
Mihály Mészáros
 
BKK16-505 Kernel and Bootloader Consolidation and Upstreaming
BKK16-505 Kernel and Bootloader Consolidation and UpstreamingBKK16-505 Kernel and Bootloader Consolidation and Upstreaming
BKK16-505 Kernel and Bootloader Consolidation and Upstreaming
Linaro
 
Webrtc puzzle
Webrtc puzzleWebrtc puzzle
Webrtc puzzle
Mihály Mészáros
 
Get rid of TLS certificates - using IPSec for large scale cloud protection
Get rid of TLS certificates - using IPSec for large scale cloud protectionGet rid of TLS certificates - using IPSec for large scale cloud protection
Get rid of TLS certificates - using IPSec for large scale cloud protection
Pawel Krawczyk
 
grsecurity and PaX
grsecurity and PaXgrsecurity and PaX
grsecurity and PaX
Kernel TLV
 

What's hot (20)

Skydive, real-time network analyzer, container integration
Skydive, real-time network analyzer, container integrationSkydive, real-time network analyzer, container integration
Skydive, real-time network analyzer, container integration
 
Skydive 5/07/2016
Skydive 5/07/2016Skydive 5/07/2016
Skydive 5/07/2016
 
Mirko Damiani - An Embedded soft real time distributed system in Go
Mirko Damiani - An Embedded soft real time distributed system in GoMirko Damiani - An Embedded soft real time distributed system in Go
Mirko Damiani - An Embedded soft real time distributed system in Go
 
Make Your Own Developement Board @ 2014.4.21 JuluOSDev
Make Your Own Developement Board @ 2014.4.21 JuluOSDevMake Your Own Developement Board @ 2014.4.21 JuluOSDev
Make Your Own Developement Board @ 2014.4.21 JuluOSDev
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
 
Performance Lessons learned in vRouter - Stephen Hemminger
Performance Lessons learned in vRouter - Stephen HemmingerPerformance Lessons learned in vRouter - Stephen Hemminger
Performance Lessons learned in vRouter - Stephen Hemminger
 
Kernel Recipes 2015 - The Dronecode Project – A step in open source drones
Kernel Recipes 2015 - The Dronecode Project – A step in open source dronesKernel Recipes 2015 - The Dronecode Project – A step in open source drones
Kernel Recipes 2015 - The Dronecode Project – A step in open source drones
 
Practical SystemTAP basics: Perl memory profiling
Practical SystemTAP basics: Perl memory profilingPractical SystemTAP basics: Perl memory profiling
Practical SystemTAP basics: Perl memory profiling
 
Tc basics
Tc basicsTc basics
Tc basics
 
Quality of Service Ingress Rate Limiting and OVS Hardware Offloads
Quality of Service Ingress Rate Limiting and OVS Hardware OffloadsQuality of Service Ingress Rate Limiting and OVS Hardware Offloads
Quality of Service Ingress Rate Limiting and OVS Hardware Offloads
 
MOVED: The challenge of SVE in QEMU - SFO17-103
MOVED: The challenge of SVE in QEMU - SFO17-103MOVED: The challenge of SVE in QEMU - SFO17-103
MOVED: The challenge of SVE in QEMU - SFO17-103
 
BUD17-TR02: Upstreaming 101
BUD17-TR02: Upstreaming 101 BUD17-TR02: Upstreaming 101
BUD17-TR02: Upstreaming 101
 
OAuth and STUN, TURN in WebRTC context RFC7635
OAuth and STUN, TURN  in WebRTC context RFC7635OAuth and STUN, TURN  in WebRTC context RFC7635
OAuth and STUN, TURN in WebRTC context RFC7635
 
The Simple Scheduler in Embedded System @ OSDC.TW 2014
The Simple Scheduler in Embedded System @ OSDC.TW 2014The Simple Scheduler in Embedded System @ OSDC.TW 2014
The Simple Scheduler in Embedded System @ OSDC.TW 2014
 
Building Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCCBuilding Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCC
 
5th tf webrtc-welcome
5th tf webrtc-welcome5th tf webrtc-welcome
5th tf webrtc-welcome
 
BKK16-505 Kernel and Bootloader Consolidation and Upstreaming
BKK16-505 Kernel and Bootloader Consolidation and UpstreamingBKK16-505 Kernel and Bootloader Consolidation and Upstreaming
BKK16-505 Kernel and Bootloader Consolidation and Upstreaming
 
Webrtc puzzle
Webrtc puzzleWebrtc puzzle
Webrtc puzzle
 
Get rid of TLS certificates - using IPSec for large scale cloud protection
Get rid of TLS certificates - using IPSec for large scale cloud protectionGet rid of TLS certificates - using IPSec for large scale cloud protection
Get rid of TLS certificates - using IPSec for large scale cloud protection
 
grsecurity and PaX
grsecurity and PaXgrsecurity and PaX
grsecurity and PaX
 

Similar to Ostinato - Craft Packets, Generate Traffic [SharkFest '20]

From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
Junho Suh
 
Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)
gvillain
 
Telco junho cost-effective approach for telco network analysis in 5_g_final
Telco junho cost-effective approach for telco network analysis in 5_g_finalTelco junho cost-effective approach for telco network analysis in 5_g_final
Telco junho cost-effective approach for telco network analysis in 5_g_final
Junho Suh
 
Hadoop Networking at Datasift
Hadoop Networking at DatasiftHadoop Networking at Datasift
Hadoop Networking at Datasifthuguk
 
Applied Detection and Analysis with Flow Data - SO Con 2014
Applied Detection and Analysis with Flow Data - SO Con 2014Applied Detection and Analysis with Flow Data - SO Con 2014
Applied Detection and Analysis with Flow Data - SO Con 2014
chrissanders88
 
Network State Awareness & Troubleshooting
Network State Awareness & TroubleshootingNetwork State Awareness & Troubleshooting
Network State Awareness & Troubleshooting
APNIC
 
(130511) #fitalk network forensics and its role and scope
(130511) #fitalk   network forensics and its role and scope(130511) #fitalk   network forensics and its role and scope
(130511) #fitalk network forensics and its role and scope
INSIGHT FORENSIC
 
IAA Life in Lockdown series: Securing Internet Routing
IAA Life in Lockdown series: Securing Internet RoutingIAA Life in Lockdown series: Securing Internet Routing
IAA Life in Lockdown series: Securing Internet Routing
APNIC
 
Introduction to Computer Networking
Introduction to Computer NetworkingIntroduction to Computer Networking
Introduction to Computer Networking
Amit Saha
 
H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820
H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820
H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820
innov-acts-ltd
 
IPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-onIPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-on
APNIC
 
IOT and System Platform From Concepts to Code
IOT and System Platform From Concepts to CodeIOT and System Platform From Concepts to Code
IOT and System Platform From Concepts to Code
Andy Robinson
 
Three years of OFELIA - taking stock
Three years of OFELIA - taking stockThree years of OFELIA - taking stock
Three years of OFELIA - taking stock
FIBRE Testbed
 
ThaiNOG 2018: APNIC Member Gathering
ThaiNOG 2018: APNIC Member Gathering ThaiNOG 2018: APNIC Member Gathering
ThaiNOG 2018: APNIC Member Gathering
APNIC
 
Keeping the Internet Fast and Resilient for You and Your Customers
Keeping the Internet Fast and Resilient for You and Your CustomersKeeping the Internet Fast and Resilient for You and Your Customers
Keeping the Internet Fast and Resilient for You and Your Customers
Cloudflare
 
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
Altinity Ltd
 
The Ontario library research cloud
The Ontario library research cloudThe Ontario library research cloud
100 M pps on PC.
100 M pps on PC.100 M pps on PC.
100 M pps on PC.
Redge Technologies
 
Networks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI ModelNetworks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI Model
Brandon Checketts
 

Similar to Ostinato - Craft Packets, Generate Traffic [SharkFest '20] (20)

From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
 
Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)
 
Telco junho cost-effective approach for telco network analysis in 5_g_final
Telco junho cost-effective approach for telco network analysis in 5_g_finalTelco junho cost-effective approach for telco network analysis in 5_g_final
Telco junho cost-effective approach for telco network analysis in 5_g_final
 
Hadoop Networking at Datasift
Hadoop Networking at DatasiftHadoop Networking at Datasift
Hadoop Networking at Datasift
 
Applied Detection and Analysis with Flow Data - SO Con 2014
Applied Detection and Analysis with Flow Data - SO Con 2014Applied Detection and Analysis with Flow Data - SO Con 2014
Applied Detection and Analysis with Flow Data - SO Con 2014
 
Network State Awareness & Troubleshooting
Network State Awareness & TroubleshootingNetwork State Awareness & Troubleshooting
Network State Awareness & Troubleshooting
 
(130511) #fitalk network forensics and its role and scope
(130511) #fitalk   network forensics and its role and scope(130511) #fitalk   network forensics and its role and scope
(130511) #fitalk network forensics and its role and scope
 
IAA Life in Lockdown series: Securing Internet Routing
IAA Life in Lockdown series: Securing Internet RoutingIAA Life in Lockdown series: Securing Internet Routing
IAA Life in Lockdown series: Securing Internet Routing
 
Introduction to Computer Networking
Introduction to Computer NetworkingIntroduction to Computer Networking
Introduction to Computer Networking
 
H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820
H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820
H2020 finsec-ibm- aidan-shribman-finsec-skydive 260820
 
IPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-onIPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-on
 
IOT and System Platform From Concepts to Code
IOT and System Platform From Concepts to CodeIOT and System Platform From Concepts to Code
IOT and System Platform From Concepts to Code
 
Three years of OFELIA - taking stock
Three years of OFELIA - taking stockThree years of OFELIA - taking stock
Three years of OFELIA - taking stock
 
ThaiNOG 2018: APNIC Member Gathering
ThaiNOG 2018: APNIC Member Gathering ThaiNOG 2018: APNIC Member Gathering
ThaiNOG 2018: APNIC Member Gathering
 
Keeping the Internet Fast and Resilient for You and Your Customers
Keeping the Internet Fast and Resilient for You and Your CustomersKeeping the Internet Fast and Resilient for You and Your Customers
Keeping the Internet Fast and Resilient for You and Your Customers
 
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
 
The Ontario library research cloud
The Ontario library research cloudThe Ontario library research cloud
The Ontario library research cloud
 
100 M pps on PC.
100 M pps on PC.100 M pps on PC.
100 M pps on PC.
 
Networks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI ModelNetworks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI Model
 
Preso fcul
Preso fculPreso fcul
Preso fcul
 

Recently uploaded

2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
abdulrafaychaudhry
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Game Development with Unity3D (Game Development lecture 3)
Game Development  with Unity3D (Game Development lecture 3)Game Development  with Unity3D (Game Development lecture 3)
Game Development with Unity3D (Game Development lecture 3)
abdulrafaychaudhry
 

Recently uploaded (20)

2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Game Development with Unity3D (Game Development lecture 3)
Game Development  with Unity3D (Game Development lecture 3)Game Development  with Unity3D (Game Development lecture 3)
Game Development with Unity3D (Game Development lecture 3)
 

Ostinato - Craft Packets, Generate Traffic [SharkFest '20]

  • 1. #sf20v • Online • October 12-16 SharkFest’20 Virtual #sf20v • Online • October 12-16 Ostinato ostinato.org Craft Packets, Generate Traffic Srivats P Creator, Ostinato
  • 2. #sf20v • Online • October 12-16 Agenda • About • Story • Overview • Demo • Topologies • Performance • Caveats • Q&A
  • 3. #sf20v • Online • October 12-16 whoami • 21+ years as a network dev/engineer • R2, ISDN, SS7, SIGTRAN • L2/L3/MPLS forwarding plane • ACLs, Firewall data plane • CPEs, DSLAMs, TORs, SP edge/core routers • Day Job • Daewoo Telecom, Globespan Virata, Conexant, Ikanos, Cisco, Juniper • Side Project • Ostinato @pstavirs /in/srivatsp
  • 4. #sf20v • Online • October 12-16 Story • The year was 2007 • I was working on a Linux datapath accelerator • How to test? • Slow/Fast path, various protocols, invalid packets, controlled environment etc. • Didn’t get access to Ixia/Spirent traffic generators • Couldn’t find an equivalent FOSS tool
  • 5. #sf20v • Online • October 12-16 Story (contd.) “What do I do?”
  • 6. #sf20v • Online • October 12-16 Story (contd.) “I’ll write my own!”
  • 7. #sf20v • Online • October 12-16 A brief history April 11, 2010 [Wireshark-users] Announcing “Ostinato” – packet generator and analyzer
  • 8. #sf20v • Online • October 12-16 Sustainability • Ostinato and me • 13+ years since inception, 99% of code • Side project – personal time, personal resources • Full time day job – pay the bills • Ostinato is open-source • But open-source sustainability is a problem • Money, Time, Resources, Bus-factor, … • Experiments • Past (didn’t work): donations, pay what you want • Current: paid binaries, free source code
  • 9. #sf20v • Online • October 12-16 What is Ostinato? • Packet Crafter • Traffic Generator • Open-source • Cross-platform • Windows, Linux, MacOS
  • 10. #sf20v • Online • October 12-16 What can you use it for? • Testing devices and network • Pcap Replay • Troubleshooting • Cert study and practice • Teaching/Learning • … and more
  • 11. #sf20v • Online • October 12-16 Wireshark and Ostinato ● Packet ● Protocols ● Fields ● Packet ● Protocols ● Fields ● Packet ● Protocols ● Fields Packets on Wire Packets on Wire Ostinato = Wireshark in Reverse!
  • 12. #sf20v • Online • October 12-16 Features • Multiple streams (stream = sequence of packets) • Per stream: rates, bursts, no. of pkts, stats • Real-time port stats • Device Emulation (ARP, Ping) • Common protocols (VLAN, IP, TCP, UDP, IGMP etc.) • Set/Edit value for any field of any protocol • Vary packet fields • … and many more! DEMO Coming Up!
  • 13. #sf20v • Online • October 12-16 Not supported • No stateful support • No TCP connections (3-way handshake, seq/ack nos.) • TCP stateless is supported • Useful for ACLs, stateless firewalls etc. • L4-L7 applications? • It depends!
  • 14. #sf20v • Online • October 12-16 SharkFest’20 Virtual #sf20v • Online • October 12-16 Ostinato Demo time!
  • 15. #sf20v • Online • October 12-16 Ostinato demos • Basics • Packets from scratch • Pcap import/edit/replay • Scenarios • Routing test • IMIX test • IGMP/multicast test
  • 16. #sf20v • Online • October 12-16 Ostinato demo – Basics • Packets from scratch • Pcap edit/replay
  • 17. #sf20v • Online • October 12-16 Ostinato demos - Scenarios • Routing test • IMIX test • IGMP/Multicast test
  • 18. #sf20v • Online • October 12-16 Ostinato demo – Routing • Routing test • Device Emulation
  • 19. #sf20v • Online • October 12-16 Ostinato demo – Routing • Routing test • Device Emulation
  • 20. #sf20v • Online • October 12-16 Ostinato demo – IMIX • IMIX test • Simple IMIX (7:4:1) • https://en.wikipedia.org/wiki/Internet_Mix IP PktSize # Pkts Bytes Pkt Distrib Byte Distrib 40 7 280 58.33% 7% 576 4 2304 33.33% 56% 1500 1 1500 8.33% 37%
  • 21. #sf20v • Online • October 12-16 Ostinato demo – IGMP • 1 x Multicast sender • Multicast data stream (UDP) • 1 x Multicast receiver • IGMPv2 join/leave
  • 22. #sf20v • Online • October 12-16 Topology DUTTester DUTTester
  • 23. #sf20v • Online • October 12-16 Architecture Agent (Drone) Controller (Ostinato) ❖ Packet Generation ❖ Packet Capture ❖ Device Emulation ❖ Statistics GUI/Python-Script ❖ Configuration ❖ Control ❖ Results Protobuf based RPC Protocols, Packet Length, Rates etc.
  • 24. #sf20v • Online • October 12-16 Topology Redux
  • 25. #sf20v • Online • October 12-16 Topology Redux (contd.)
  • 26. #sf20v • Online • October 12-16 Performance Packet Size Max Rate (Kpps) Max Rate (Mbps) 64 920 618 128 807 955 256 442 976 512 231 983 1024 118 986 1518 80 984 Packet Size Max Rate (Kpps) Max Rate (Mbps) 64 755 507 128 753 892 256 738 1,630 512 732 3,115 1024 725 6,055 1518 725 8,920 4096 574 18,901 9018 225 16,268 Intel XL710 40Gbps (1 CPU core)Intel I218-V 1Gbps (1 CPU core) Using Ostinato for Linux Don’t use Windows for performance!
  • 27. #sf20v • Online • October 12-16 Turbo Transmit • 10/25/40 Gbps line rate support (64-byte packets) • Work in progress • Promising prototyping results • Using AF_XDP • 1xCpuCore, XL710 – 22Mpps (14.78Gbps) • In comparison, libpcap based – 0.755Mpps • Early access sign up - ostinato.org/turbo
  • 28. #sf20v • Online • October 12-16 Caveats • Professional tool • Learning curve • Ostinato is a tool – YOU are the brains! • Feedback/suggestions are welcome
  • 29. #sf20v • Online • October 12-16 SharkFest’20 Virtual #sf20v • Online • October 12-16 That’s all folks! Questions?
  • 30. #sf20v • Online • October 12-16 SharkFest’20 Virtual #sf20v • Online • October 12-16 Please fill out the speaker survey!