DOKK / manpages / debian 11 / dsniff / macof.8.en
MACOF(8) System Manager's Manual MACOF(8)

macof - flood a switched LAN with random MAC addresses


macof [-i interface] [-s src] [-d dst] [-e tha] [-x sport] [-y dport] [-n times]


macof floods the local network with random MAC addresses (causing some switches to fail open in repeating mode, facilitating sniffing). A straight C port of the original Perl Net::RawIP macof program by Ian Vitek <ian.vitek@infosec.se>.

Specify the interface to send on.
Specify source IP address.
Specify destination IP address.
Specify target hardware address.
Specify TCP source port.
Specify TCP destination port.
Specify the number of packets to send.

Values for any options left unspecified will be generated randomly.

dsniff(8)

Dug Song <dugsong@monkey.org>