gorawsocket

module
v0.0.0-...-01bb83a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2023 License: BSD-3-Clause

README

gorawsocket

A cross-platform library for writing packets at the IP layer/layer 3.

Why?

I wanted to use Go to send packets with forged source IP addresses and historically to do this I used the google/gopacket library which necessiated using CGO due to the dependency on the libpcap library.

Also, I wanted the ability to send packets to the local system without relying on the loopback interface- something that is not possible with injecting frames at Layer 2 via libpcap.

Overview

gorawsocket is designed to work well with the google/gopacket/layers library.

Resources

Directories

Path Synopsis
cmd
rawsocktest command
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL