ex_dhcp v0.1.1 mix snoop View Source
A tool for snooping on DHCP transactions that are passing by this particular connected device.
Usage
Run this mix task on a device on the same layer-2 network as the network where you'd like to watch DHCP packets go by. It's probably a good idea to not have this be the same machine that you're using to serve DHCP.
mix snoop
Ctrl-c
will exit out of this mix task
You'll probably want to set the following iptables
settings before running:
iptables -t nat -I PREROUTING -p udp --dport 67 -j DNAT --to :6767
iptables -t nat -I PREROUTING -p udp --dport 68 -j DNAT --to :6767
This will cause DHCP packets streaming to be logged to the console.