diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-04-10 23:12:48 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-04-10 23:12:48 +0000 |
commit | 70391b7b563bd6207e6d8565fff7217cec4eb50e (patch) | |
tree | 0d798f437d0ee7bb39175f0afe16335428ab6bd5 /doc/editcap.pod | |
parent | 105a180df11576df82c4177dac771e4d99f03f49 (diff) |
Add an option to Editcap that adds various types of errors to the capture
file.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14046 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'doc/editcap.pod')
-rw-r--r-- | doc/editcap.pod | 13 |
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 |