ARPSPOOF(8)
π ARPSPOOF(8) π
okay bestie, welcome to the arpspoof page β it's section 8 of the System Manager's Manual, so it's a big-girl admin tool, not some cute little userland toy. let's get into it π
β¨ NAME β¨
arpspoof β intercept packets on a switched LAN
like. that's the whole vibe. it snatches packets. on a switch. iconic π
π¦ SYNOPSIS π¦
arpspoof [-i interface] [-c own|host|both] [-t target] [-r] host
πΈ DESCRIPTION πΈ
so here's the tea, bestie. arpspoof redirects packets from a target host (or, like, all the hosts) on the LAN β packets that were meant for another host on the LAN β by forging ARP replies. that's it. that's the trick. it lies to the network about who owns which hardware address and everyone justβ¦ believes it. π
and the way that this is an extremely effective way of sniffing traffic on a switch?? not me being obsessed with how well this works. switches think they're soooo secure. no. π
β οΈ okay but listen β Kernel IP forwarding (or a userland program that does the same thing, like fragrouter(8)) has to be turned on ahead of time. like, before you run this. do not skip this step. it's giving "i forgot the pre-req" and that's a whole tragedy.
π OPTIONS π
-iinterface β pick the interface you wanna use. that's the one it rides on. π£οΈ-cown|host|bothβ this one specifies which hardware address to use when it's restoring the arp configuration. while it's cleaning up, packets can be sent with theownaddress and also with the address of thehost. and here's the caveat bestie, listen close: sending packets with a fake hw address can disrupt connectivity with certain switch/ap/bridge configurations. however β it works more reliably than using theownaddress, which is the default wayarpspoofcleans up afterwards. so like, tradeoffs. pick your poison. π-ttarget β specify a particular host to ARP poison. if you don't specify one, it goes for all hosts on the LAN. and you can repeat this option to specify multiple hosts β stack 'em up, bestie. π«Ά-rβ poison both hosts (thehostand thetarget) so you capture traffic going in both directions. π¦ and important: this is only valid in conjunction with-t. no-t, no-r. periodt.- host β specify the host you wish to intercept packets for. usually this is your local gateway. π
π SEE ALSO π
dsniff(8), fragrouter(8)
go read those too, they're the friend group π«Ά
π AUTHOR π
Dug Song <dugsong@monkey.org>
king behavior, honestly. π
and that's the whole page bestie!! this was ARPSPOOF(8) from the System Manager's Manual β section 8, admin hours only β and it lives on the last line of the original page right there with its name. go forth, forward those packets, and don't forget to turn on IP forwarding first or i will literally cry. β¨ππ
π¦ where this page comes from
- arch rolling: dsniff 2.4b1-34 Β· BSD
- debian bookworm: dsniff 2.4b1+debian-31 Β· BSD-3-Clause
- debian trixie: dsniff 2.4b1+debian-34 Β· BSD-3-Clause
- nixos 26.05: dsniff 2.4b1
- nixpkgs unstable: dsniff 2.4b1
- ubuntu jammy: dsniff 2.4b1+debian-30build1 Β· BSD-3-Clause
- ubuntu noble: dsniff 2.4b1+debian-32build2 Β· BSD-3-Clause
- ubuntu questing: dsniff 2.4b1+debian-35
- ubuntu resolute: dsniff 2.5a2-1 Β· BSD-3-Clause
- ubuntu stonking: dsniff 2.5a2-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms