Skip to content

Commit

Permalink
docs: mention random padding
Browse files Browse the repository at this point in the history
  • Loading branch information
hack3ric committed Oct 2, 2024
1 parent f2017d8 commit 4548fda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/mimic.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
: Controls keepalive mechanism (see [**CONFIGURATION/Handshake and Keepalive Parameters**](#handshake-and-keepalive-parameters))

`-p, --padding`
: Padding size appended to each packet
: Padding size appended to each packet. Pass 'random' to use random padding.

`-F, --file=PATH`
: Load configuration from file
Expand Down
3 changes: 2 additions & 1 deletion src/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ static const struct argp_option options[] = {
N_("Specify what packets to process. This may be specified for multiple times."), 1},
{"handshake", 'h', N_("i:r"), 0, N_("Controls retry behaviour of initiating connection"), 2},
{"keepalive", 'k', N_("t:i:r:s"), 0, N_("Controls keepalive mechanism"), 2},
{"padding", 'p', N_("bytes"), 0, N_("Padding size appended to each packet"), 2},
{"padding", 'p', N_("bytes"), 0,
N_("Padding size appended to each packet. Pass 'random' to use random padding."), 2},
{"file", 'F', N_("PATH"), 0, N_("Load configuration from file"), 3},
{},
};
Expand Down

0 comments on commit 4548fda

Please sign in to comment.