diff options
author | phk <phk@FreeBSD.org> | 2005-10-17 20:27:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-10-17 20:27:15 +0000 |
commit | 84406cb935270b5b267978e765af67b0b1f86e1b (patch) | |
tree | e9e4175818627de42b335bd1b0c4dcab1aa4bc2d /usr.sbin/ipfwpcap/Makefile | |
parent | 238e8516431affd38a99039385908931ec2f759f (diff) | |
download | FreeBSD-src-84406cb935270b5b267978e765af67b0b1f86e1b.zip FreeBSD-src-84406cb935270b5b267978e765af67b0b1f86e1b.tar.gz |
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>
Diffstat (limited to 'usr.sbin/ipfwpcap/Makefile')
-rw-r--r-- | usr.sbin/ipfwpcap/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/usr.sbin/ipfwpcap/Makefile b/usr.sbin/ipfwpcap/Makefile new file mode 100644 index 0000000..1d8f016 --- /dev/null +++ b/usr.sbin/ipfwpcap/Makefile @@ -0,0 +1,19 @@ +# +# 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 + |