SlideShare a Scribd company logo
4
Most read
6
Most read
7
Most read
Usage Note of
PlayCap
(a packet replay tool)
William.L
wiliwe@gmail.com
2015-02-03
Index
What’s Packet Replay?................................................................................................................................... 3
PlayCap............................................................................................................................................................ 4
Download Source Code........................................................................................................................... 4
Build PlayCap.......................................................................................................................................... 4
Use ............................................................................................................................................................ 5
Other Packet Replay Tools............................................................................................................................. 8
Sites Collecting Packet Trace Files................................................................................................................ 9
What’s Packet Replay?
To replay the content (packet data) of a given PCAP(packet capture) file(or called (Packet)Trace file) as it
was captured. Also named Packet Playback or Traffic Generation.
PCAP file is created using PCAP library:
* libpcap for Unix / Linux - http://www.tcpdump.org/
* WinPcap for MS Windows - http://www.winpcap.org/
Packet monitoring/capturing tool could save captured packet data as PCAP file.
CLI-based tcpdump
http://www.tcpdump.org/
WireShark (Ethereal)
https://www.wireshark.org/
GUI-based
Microsoft Network Monitor
http://www.microsoft.com/en-us/download/details.aspx?id=4865
PlayCap
PlayCap is a GUI packet replay tool created by Signal11 - http://www.signal11.us/oss/playcap/
GUI is based on Fox Toolkit (http://www.fox-toolkit.org/) which is a cross-platform, C++-based widget toolkit.
Download Source Code
To download PlayCap source code from the site https://github.com/signal11/PlayCap/downloads :
or through Git:
git clone git://github.com/signal11/PlayCap.git
Build PlayCap
PlayCap uses CMake (http://www.cmake.org/) as its build system on Linux and Windows. Build instructions
are located in the README.txt under source folder.
Under terminal, change to PlayCap source folder and run the following commands to build the software:
$ cmake . (the period could be skip, cause to that cmake will find CMakeList.txt in current folder defaultly)
$ make
If you meet error messag as below,
please include the header <unistd.h> for Unix/Linux system in the source file "PlaybackWindow.cpp".
$ sudo make install (run as Root role)
Use
1) Run PlayCap executable as Root role(cause to that it needs Root privilege for opening a network interface) to
show PlayCap window(here using generated playcap tool in source folder).
2) Click menu item ”File > Open” to invoke file choosing dialogue window, navigate to the location of PCAP
file want to be played and press OK.
3) Click and it will show a dialogue to select which network interface the packets will be sent to.
4) Press the “Playback” button of the network interface you want, PlayCap will start to read PCAP and send
captured packet to the selected network interface.
Total time
Total number of packets
Other Packet Replay Tools
http://wiki.wireshark.org/Tools#Traffic_generators
Sites Collecting Packet Trace Files
Bro IDS official site:
https://www.bro.org/community/traces.html

More Related Content

PDF
Intro to Asynchronous Javascript
PDF
Exception handling
PDF
Java Design Patterns Tutorial | Edureka
PDF
Deadlock
PDF
Object Oriented Analysis Design using UML
PDF
Ruby on Rails Presentation
PPTX
04 activities and activity life cycle
Intro to Asynchronous Javascript
Exception handling
Java Design Patterns Tutorial | Edureka
Deadlock
Object Oriented Analysis Design using UML
Ruby on Rails Presentation
04 activities and activity life cycle

What's hot (20)

PPTX
Dead Lock in operating system
PPT
Software Testing Strategies
PPTX
JavaScript Promises
PPTX
Lect2 conventional software management
PDF
Requirement engineering process
PPT
Rational Unified Process
PDF
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
PDF
2- THE CHANGING NATURE OF SOFTWARE.pdf
PPTX
Control structures in java
PPTX
ASP.NET Page Life Cycle
PPT
Ppt of socket
PPTX
RMMM Plan
PPT
5.state diagrams
 
PDF
Asynchronous JavaScript Programming
PPT
Black box & white-box testing technique
PPT
Use Case Modeling
PPT
The Evolution of Java
PPTX
Unified process Model
PDF
Exception handling
Dead Lock in operating system
Software Testing Strategies
JavaScript Promises
Lect2 conventional software management
Requirement engineering process
Rational Unified Process
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
2- THE CHANGING NATURE OF SOFTWARE.pdf
Control structures in java
ASP.NET Page Life Cycle
Ppt of socket
RMMM Plan
5.state diagrams
 
Asynchronous JavaScript Programming
Black box & white-box testing technique
Use Case Modeling
The Evolution of Java
Unified process Model
Exception handling
Ad

Similar to Usage Note of PlayCap (20)

PPTX
Wireshark Packet Analyzer.pptx
PDF
Ferramenta de análise de rede para windows e linux
PDF
Debugging applications with network security tools
PDF
Wireshark lecture
PDF
Wireshark lecture
PPTX
USE_OF_PACKET_CAPTURE.pptx
PPT
Wireshark working and basics
PPTX
Wireshark network analysing software
PPTX
Wireshark, Tcpdump and Network Performance tools
PDF
Wireshark Tutorial, Wireshark Tutorial, Wireshark Tutorial
PDF
Uccn1003 may10 - lab 08 - wireshark analysis of trace files - answer-update...
PDF
Uccn1003 may10 - lab 08 - wireshark analysis of trace files - answer-update...
PPT
Wireshark
PPTX
Convert Wireshark PCAP Files to Sequence Diagrams
PDF
3.7.10 Lab Use Wireshark to View Network Traffic
PPTX
Sanitizing PCAPs
PDF
Pcapy and dpkt - tcpdump on steroids - Ran Leibman - DevOpsDays Tel Aviv 2018
PPT
Wireshark Basics
PPTX
Network Traffic Analysis With Wireshark.pptx
PPTX
Wireshark
Wireshark Packet Analyzer.pptx
Ferramenta de análise de rede para windows e linux
Debugging applications with network security tools
Wireshark lecture
Wireshark lecture
USE_OF_PACKET_CAPTURE.pptx
Wireshark working and basics
Wireshark network analysing software
Wireshark, Tcpdump and Network Performance tools
Wireshark Tutorial, Wireshark Tutorial, Wireshark Tutorial
Uccn1003 may10 - lab 08 - wireshark analysis of trace files - answer-update...
Uccn1003 may10 - lab 08 - wireshark analysis of trace files - answer-update...
Wireshark
Convert Wireshark PCAP Files to Sequence Diagrams
3.7.10 Lab Use Wireshark to View Network Traffic
Sanitizing PCAPs
Pcapy and dpkt - tcpdump on steroids - Ran Leibman - DevOpsDays Tel Aviv 2018
Wireshark Basics
Network Traffic Analysis With Wireshark.pptx
Wireshark
Ad

More from William Lee (20)

PDF
Usage Note of Apache Thrift for C++ Java PHP Languages
PDF
Usage Note of Qt ODBC Database Access on Linux
PDF
Usage Note of SWIG for PHP
PDF
Upgrade GCC & Install Qt 5.4 on CentOS 6.5
PDF
Usage Notes of The Bro 2.2 / 2.3
PDF
Viewing Android Source Files in Eclipse (Chinese)
PDF
Usage Note of Microsoft Dependency Walker
PDF
Qt4 App - Sliding Window
PDF
GTK+ 2.0 App - Desktop App Chooser
PDF
GTK+ 2.0 App - Icon Chooser
PDF
Note of CGI and ASP
PDF
Moblin2 - Window Manager(Mutter) Plugin
PDF
MGCP Overview
PDF
Asterisk (IP-PBX) CDR Log Rotation
PDF
L.A.M.P Installation Note --- CentOS 6.5
PDF
C Program Runs on Wrong Target Platform(CPU Architecture)
PDF
Internationalization(i18n) of Web Page
PDF
Notes for SQLite3 Usage
PDF
Cygwin Install How-To (Chinese)
PDF
Android Storage - StorageManager & OBB
Usage Note of Apache Thrift for C++ Java PHP Languages
Usage Note of Qt ODBC Database Access on Linux
Usage Note of SWIG for PHP
Upgrade GCC & Install Qt 5.4 on CentOS 6.5
Usage Notes of The Bro 2.2 / 2.3
Viewing Android Source Files in Eclipse (Chinese)
Usage Note of Microsoft Dependency Walker
Qt4 App - Sliding Window
GTK+ 2.0 App - Desktop App Chooser
GTK+ 2.0 App - Icon Chooser
Note of CGI and ASP
Moblin2 - Window Manager(Mutter) Plugin
MGCP Overview
Asterisk (IP-PBX) CDR Log Rotation
L.A.M.P Installation Note --- CentOS 6.5
C Program Runs on Wrong Target Platform(CPU Architecture)
Internationalization(i18n) of Web Page
Notes for SQLite3 Usage
Cygwin Install How-To (Chinese)
Android Storage - StorageManager & OBB

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Modernizing your data center with Dell and AMD
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Cloud computing and distributed systems.
PDF
Approach and Philosophy of On baking technology
PDF
Empathic Computing: Creating Shared Understanding
PPT
Teaching material agriculture food technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
The AUB Centre for AI in Media Proposal.docx
Understanding_Digital_Forensics_Presentation.pptx
Electronic commerce courselecture one. Pdf
Modernizing your data center with Dell and AMD
“AI and Expert System Decision Support & Business Intelligence Systems”
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
Cloud computing and distributed systems.
Approach and Philosophy of On baking technology
Empathic Computing: Creating Shared Understanding
Teaching material agriculture food technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
GamePlan Trading System Review: Professional Trader's Honest Take
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx

Usage Note of PlayCap

  • 1. Usage Note of PlayCap (a packet replay tool) William.L wiliwe@gmail.com 2015-02-03
  • 2. Index What’s Packet Replay?................................................................................................................................... 3 PlayCap............................................................................................................................................................ 4 Download Source Code........................................................................................................................... 4 Build PlayCap.......................................................................................................................................... 4 Use ............................................................................................................................................................ 5 Other Packet Replay Tools............................................................................................................................. 8 Sites Collecting Packet Trace Files................................................................................................................ 9
  • 3. What’s Packet Replay? To replay the content (packet data) of a given PCAP(packet capture) file(or called (Packet)Trace file) as it was captured. Also named Packet Playback or Traffic Generation. PCAP file is created using PCAP library: * libpcap for Unix / Linux - http://www.tcpdump.org/ * WinPcap for MS Windows - http://www.winpcap.org/ Packet monitoring/capturing tool could save captured packet data as PCAP file. CLI-based tcpdump http://www.tcpdump.org/ WireShark (Ethereal) https://www.wireshark.org/ GUI-based Microsoft Network Monitor http://www.microsoft.com/en-us/download/details.aspx?id=4865
  • 4. PlayCap PlayCap is a GUI packet replay tool created by Signal11 - http://www.signal11.us/oss/playcap/ GUI is based on Fox Toolkit (http://www.fox-toolkit.org/) which is a cross-platform, C++-based widget toolkit. Download Source Code To download PlayCap source code from the site https://github.com/signal11/PlayCap/downloads : or through Git: git clone git://github.com/signal11/PlayCap.git Build PlayCap PlayCap uses CMake (http://www.cmake.org/) as its build system on Linux and Windows. Build instructions are located in the README.txt under source folder. Under terminal, change to PlayCap source folder and run the following commands to build the software: $ cmake . (the period could be skip, cause to that cmake will find CMakeList.txt in current folder defaultly)
  • 5. $ make If you meet error messag as below, please include the header <unistd.h> for Unix/Linux system in the source file "PlaybackWindow.cpp". $ sudo make install (run as Root role) Use 1) Run PlayCap executable as Root role(cause to that it needs Root privilege for opening a network interface) to show PlayCap window(here using generated playcap tool in source folder).
  • 6. 2) Click menu item ”File > Open” to invoke file choosing dialogue window, navigate to the location of PCAP file want to be played and press OK. 3) Click and it will show a dialogue to select which network interface the packets will be sent to.
  • 7. 4) Press the “Playback” button of the network interface you want, PlayCap will start to read PCAP and send captured packet to the selected network interface. Total time Total number of packets
  • 8. Other Packet Replay Tools http://wiki.wireshark.org/Tools#Traffic_generators
  • 9. Sites Collecting Packet Trace Files Bro IDS official site: https://www.bro.org/community/traces.html