osi-replay

Capture, replay, transform, and rewrite network packets at OSI layers 2-4 with ease.

Empower your network analysis, security testing, and debugging workflows with powerful packet manipulation capabilities.

Key Features

Live Capture

Grab packets from any network interface in promiscuous mode, enabling real-time analysis and data collection.

Precise Replay

Inject captured traffic onto a local interface with exact timing, preserving the integrity of your network scenarios.

Secure Transform

Customize or sanitize .pcap files to remove sensitive data, ensuring privacy and compliance in your analysis.

Flexible Rewrite

Dynamically update MAC and IP addresses to adapt traffic captures for different network environments.

Advanced Filtering

Apply complex filters to focus on specific traffic patterns or protocols, streamlining your analysis process.

Extensible Architecture

Built on gopacket, allowing for deep packet inspection and custom transformations to suit your unique needs.

Use Cases

Security Testing

Simulate attacks and test network defenses by replaying captured malicious traffic in controlled environments.

Debugging

Reproduce and analyze network issues by capturing traffic from production and replaying it in development.

Performance Testing

Stress test your applications by replaying high-volume traffic captures to simulate peak loads.

Network Simulation

Create realistic network conditions for testing and training by replaying diverse traffic patterns.

Documentation

osi-replay Architecture

osi-replay is a modular Go project designed for capturing, replaying, transforming, and rewriting network packets at OSI layers 2-4. This document provides an overview of the project's architecture and key components.

Project Structure

The project is organized into the following main directories:

  • cmd/
    : Contains the entry points for each subcommand (capture, replay, transform, rewriter)

...

Ready to supercharge your network analysis?

Get started with osi-replay today and unlock powerful packet manipulation capabilities.