aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-04-10 23:12:48 +0000
committerGerald Combs <gerald@wireshark.org>2005-04-10 23:12:48 +0000
commitc8ff864b00731c12e524e56e5ecdc142753d8b87 (patch)
tree0d798f437d0ee7bb39175f0afe16335428ab6bd5 /doc
parent5625c461d069f539ac1710efc1c18def0514d4d5 (diff)
Add an option to Editcap that adds various types of errors to the capture
file. svn path=/trunk/; revision=14046
Diffstat (limited to 'doc')
-rw-r--r--doc/editcap.pod13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/editcap.pod b/doc/editcap.pod
index 9c89b6dc19..ae81b02081 100644
--- a/doc/editcap.pod
+++ b/doc/editcap.pod
@@ -6,13 +6,14 @@ editcap - Edit and/or translate the format of capture files
=head1 SYNOPSYS
B<editcap>
+S<[ B<-E> error probability]>
S<[ B<-F> file format ]>
-S<[ B<-T> encapsulation type ]>
+S<[ B<-h> ]>
S<[ B<-r> ]>
-S<[ B<-v> ]>
S<[ B<-s> snaplen ]>
S<[ B<-t> time adjustment ]>
-S<[ B<-h> ]>
+S<[ B<-T> encapsulation type ]>
+S<[ B<-v> ]>
I<infile>
I<outfile>
S<[ I<record#> ... ]>
@@ -164,6 +165,12 @@ encapsulation type (for example, it will not translate an Ethernet
capture to an FDDI capture if an Ethernet capture is read and 'B<-T
fddi>' is specified).
+If the B<-E> flag is used to specify a probability (between 0.0 and
+1.0 inclusive), Editcap uses that probability to apply errors to each
+data byte in the file. For instance, a probability of 0.02 means that
+each byte has a 2% chance of having an error. This option is meant to
+be used for fuzz-testing protocol dissectors.
+
=head1 OPTIONS
=over 4