dhcpstarv(1)
π dhcpstarv β the manual page, but make it make sense π
okay bestie, settle in, because we're talking about dhcpstarv(1) β yes that's the section 1 manual page, and yes she's a whole mood. this is the tool that does a DHCP starvation attack, and i'm gonna walk you through every single flag like we're on facetime and you're holding a router in your other hand. no cap. π«Ά
β¨ NAME β¨
dhcpstarv β DHCP starvation attack. that's it. that's the whole name. it's giving "i do one thing and i do it iconically" π
πΈ SYNOPSIS πΈ
dhcpstarv -h
dhcpstarv [-epv] [-d MAC] -i IFNAME
so like, either you're asking for help (relatable, honestly), or you're running the actual thing with flags. -i IFNAME is not optional in the second form, bestie. she needs to know where to do crimes. π¦
π OPTIONS π
every single one, no skipping, we do not gatekeep here:
-d,--dstmac=MACβ useMACas the destination hardware address for the DHCP requests. default? broadcast address, always and forever, periodt. change it if you have a reason, i guess. π-e,--exclude=ADDRESSβ ignore replies from the server with IP addressADDRESS. β οΈ this has to be a valid IP address that the DHCP server actually includes in its replies as the server ID. usually that's the primary IP address of the interface connected to the client's network segment. so like, don't just type in a random IP and get confused later, iykyk. π-h,--helpβ print help and exit. the "i'm just gonna ask for directions" option. iconic. β¨-i,--ifname=IFNAMEβ send requests and receive responses on network interfaceIFNAME. this one's the main character, honestly. π-p,--no-promiscβ do NOT set the network interface to promiscuous mode. β οΈ listen up because this one has a trap in it: some servers send replies to the hardware address stored in the DHCP options despite the broadcast option being present. in that case, this option makesdhcpstarvnot receive the server replies. so like... you might be silencing yourself. just know that. π-v,--verboseβ print verbose messages. she's chatty. we love her for it. π
π₯ DESCRIPTION π₯
okay so what even is DHCP starvation. let me explain.
DHCP starvation is attacking a DHCP server by sending a lot of requests at it. the way that this exhausts the server's address pool, and once that pool is done? the DHCP server literally cannot respond to clients and cannot give them new leases anymore. it's giving "i took all the seats at the lunch table." π
dhcpstarv is the tool that actually implements this attack. what she does is request DHCP leases on the specified interface, save them, and then renew them on a regular basis. so she's not just grabbing and ghosting β she's holding onto them. committed relationship energy. π«Ά
now here's the actual why, because this isn't just chaos for chaos's sake:
when a rogue DHCP server shows up in a network that already has DHCP infrastructure, some clients can end up with completely wrong network settings. π and honestly? those rogue servers can get switched on by users by accident. like, oops. the only real solution to that situation is to disconnect the rogue server from the network.
but here's the thing β if the network is complicated, i.e. there are many network devices in it, discovering that rogue server takes a lot of time. so as a temporary solution, you can attack the rogue DHCP server until you find it and disconnect it from the network. that's the vibe. that's the whole use case. π¦
π COPYRIGHT π
Copyright (C) 2007 Dmitry Davletbaev
This program is licenced under GNU General Public License version 3.
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/> for details.
like, say it louder for the people in the back β ABSOLUTELY NO WARRANTY, bestie. free software, certain conditions, go read the link. π
okay that's the whole page, you ate it, i'm so proud of you. π
this was dhcpstarv version 0.1.0, dated 2008-03-04, and she is still out here doing her little starvation thing. periodt. πβ¨π¦
π¦ where this page comes from
- debian bookworm: dhcpstarv 0.2.2-2+b1 Β· GPL-3.0-or-later
- debian trixie: dhcpstarv 0.2.2-2+b1 Β· GPL-3.0-or-later
- ubuntu jammy: dhcpstarv 0.2.2-2 Β· GPL-3.0-or-later
- ubuntu noble: dhcpstarv 0.2.2-2 Β· GPL-3.0-or-later
- ubuntu resolute: dhcpstarv 0.2.2-2build1 Β· GPL-3.0-or-later
- ubuntu stonking: dhcpstarv 0.2.2-2build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms