summaryrefslogtreecommitdiff
path: root/security/dsniff/patches/patch-bc
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2009-05-09 16:33:04 +0000
committeradrianp <adrianp@pkgsrc.org>2009-05-09 16:33:04 +0000
commit43792f58f110f6fa3968ff99d4d8a2f000dc896a (patch)
treeead6b41d5ed6674341101094f7bcab4546be1099 /security/dsniff/patches/patch-bc
parent99a44db21a4723b60a04e2028ad23b49b4a56a2a (diff)
downloadpkgsrc-43792f58f110f6fa3968ff99d4d8a2f000dc896a.tar.gz
Add a patch from Debian that allows the dsniff tools to read from a pcap
file in addition to sniffing the wire directly.
Diffstat (limited to 'security/dsniff/patches/patch-bc')
-rw-r--r--security/dsniff/patches/patch-bc23
1 files changed, 23 insertions, 0 deletions
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.