Package Details: dhcpdump 1.8-2

Git Clone URL: (read-only, click to copy)
Package Base: dhcpdump
Description: Parse DHCP packets
Upstream URL:
Keywords: dhcp networking
Licenses: BSD
Submitter: das_j
Maintainer: Flubbadub
Last Packager: das_j
Votes: 12
Popularity: 0.065901
First Submitted: 2016-07-04 18:33
Last Updated: 2017-09-30 20:13

Latest Comments

deemon commented on 2020-06-19 01:40

Great program! Sadly doesn't generate itself DHCP requests for test, but ... does capture everything that's happening in your LAN regarding DHCP I assume. Used dhcptest-git for sending requests (although the dhcptest-git itself (in current state) for some reason fails to get the offers itself) and this one, dhcpdump captured both request sent by dhcptest-git and offer from router.

alexei commented on 2017-06-09 23:28

I got a segfault, here's the patch command that fixes it (already reported upstream, maybe include into the package until fixed).
UPDATE: clone of the AUR repo with the patch:

$ cd src/dhcpdump-1.8 && patch -p1 <<EOL
diff -u dhcpdump-1.8/dhcpdump.c dhcpdump-1.8f/dhcpdump.c
--- dhcpdump-1.8/dhcpdump.c 2008-06-23 23:26:52.000000000 -0400
+++ dhcpdump-1.8f/dhcpdump.c 2017-06-09 18:56:33.946931778 -0400
@@ -16,6 +16,7 @@
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
+#include <netinet/ether.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
@@ -24,6 +25,7 @@
#include <pcap.h>
#include <err.h>
#include <regex.h>
+#include <time.h>
#include "dhcp_options.h"