Skip to content

gordcurrie/dhcp-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Tools for working with DHCP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages