dhcp-tools

command module
v0.0.0-...-4cc787e Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

README

dhcp-tools

codecov Build Go Report Card

dhcp-tools

Clone

git clone git@github.com:gordcurrie/dhcp-tools.git

Setup

  1. Install libpcap-dev on linux sudo apt-get install libpcap-dev

Build

go build

Useage

Sudo

Needs to be run as root to be able to capture packets.

Sniff

Sniffs available packets for DHCP traffic.

sudo ./dhcp-tools sniff

Pass optional -c --capture flag will capture files in $HOME/.dhcp-tools/captures

sudo ./dhcp-tools sniff -c

Send

Sends a selected previously captured packet on the selected interface.

sudo ./dhcp-tools send

Clear

Deletes all files in the captures directory.

sudo ./dhcp-tools clear

NOTE

This guide assumes you are building from source. If you wish to go install you will have to ensure that the path to the binary is included in sudo's $PATH.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
env
gui

Jump to

Keyboard shortcuts

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