From 43792f58f110f6fa3968ff99d4d8a2f000dc896a Mon Sep 17 00:00:00 2001 From: adrianp Date: Sat, 9 May 2009 16:33:04 +0000 Subject: Add a patch from Debian that allows the dsniff tools to read from a pcap file in addition to sniffing the wire directly. --- security/dsniff/patches/patch-bc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 security/dsniff/patches/patch-bc (limited to 'security/dsniff/patches/patch-bc') diff --git a/security/dsniff/patches/patch-bc b/security/dsniff/patches/patch-bc new file mode 100644 index 00000000000..989224b188b --- /dev/null +++ b/security/dsniff/patches/patch-bc @@ -0,0 +1,23 @@ +$NetBSD: patch-bc,v 1.1 2009/05/09 16:33:04 adrianp Exp $ + +diff -ur dsniff-2.3.orig/filesnarf.8 dsniff-2.3/filesnarf.8 +--- filesnarf.8.orig 2000-11-19 06:23:33.000000000 +0000 ++++ filesnarf.8 2009-05-06 23:23:49.000000000 +0100 +@@ -9,7 +9,7 @@ + .na + .nf + .fi +-\fBfilesnarf\fR [\fB-i \fIinterface\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] ++\fBfilesnarf\fR [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] + .SH DESCRIPTION + .ad + .fi +@@ -18,6 +18,8 @@ + .SH OPTIONS + .IP "\fB-i \fIinterface\fR" + Specify the interface to listen on. ++.IP "\fB-p \fIpcapfile\fR" ++Process packets from the specified PCAP capture file instead of the network. + .IP \fB-v\fR + "Versus" mode. Invert the sense of matching, to select non-matching + files. -- cgit v1.2.3