diff options
Diffstat (limited to 'doc')
-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 |