|-d||Turns on extra debugging messages.|
|-r||Writes packets back to the divert(4) socket.|
|-rr||Indicates that it is okay to quit if maxbytes or maxpkts are reached. Diverted packets will silently disappear if nothing is listening on the divert(4) socket.|
|Stop dumping after maxbytes bytes.|
|Stop dumping after maxpkt packets.|
|File to store PID number in. Default is /var/run/ipwfpcap.portnr.pid.|
The portnum argument specifies which divert(4) socket port to listen on. The dumpfile argument is the path to the file to write captured packets to. Specify '' to write to stdout.
ipfwpcap -r 8091 divt.log &
Starts ipfwpcap as a background job listening to port 8091 and reflecting the packets back to the socket.
ipfw add 2864 divert 8091 ip from 192.0.2.101
The ipfwpcap utility first appeared in
.Fx 7.0 .
.An -nosplit ipfwpcap was written by
.An P. Kern Aq firstname.lastname@example.org . This manual page was written by
.An Niclas Zeising Aq zeising@FreeBSD.org .