freebsd-skq/usr.sbin/ipfwpcap/Makefile
Poul-Henning Kamp 983e5de60b Add a small tool which captures packets on a DIVERT socket and writes
them as pcap (tcpdump) format data to a file or pipe.

Volunters wanted for:	manpage
Contributed by:	P Kern <pkern@cns.utoronto.ca>
2005-10-17 20:27:15 +00:00

20 lines
263 B
Makefile

#
# From: Id: Makefile,v 1.2 2004/01/15 16:20:56 pkern Exp
#
# $FreeBSD$
#
PROG= ipfwpcap
LDADD= -lpcap
DPADD= ${LIBPCAP}
NO_MAN= not_yet
.include <bsd.prog.mk>
test: $(CMD)
-rm /var/run/ipfwpcap.2000.pid
./ipfwpcap -d 2000 - | tcpdump -r - -n -s 2000 -X