Raw Socket Wrapper is a Go library designed to simplify the interface for creating and manipulating raw network packets. It supports various protocols and provides utilities for packet serialization and randomization.
The library is currently in active development, and more detailed documentation will be provided soon.
- Protocol Support: Facilitates the creation and manipulation of TCP, UDP, and ICMP packets.
- Packet Serialization: Provides utilities to serialize packets for transmission.
- Randomization Utilities: Includes functions to generate random ports, timestamps, and byte slices for networking.
To start using RawSocketWrapper in your Go projects, you'll need to install it and its dependencies.
github.com/google/gopacket
: A Go library for packet processing.golang.org/x/sys
: Provides low-level operating system primitives.
Install RawSocketWrapper by running:
go get github.com/XenonCommunity/RawSocketWrapper
import "github.com/XenonCommunity/RawSocketWrapper"
After installation, import the package in your Go files: You can now use the library's functions to work with raw sockets and packets.
- Detailed documentation and examples
Contributions are welcome! If you're interested in improving RawSocketWrapper, please feel free to make a pull request or open an issue.