-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the possibility to synthetisize packets in packetblaster by usi…
…ng apps.test.synth.
- Loading branch information
Showing
2 changed files
with
51 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
Usage: packetblaster replay [OPTIONS] <PCAP-FILE> <PCI>... | ||
Usage: packetblaster replay [OPTIONS] <PCI>... | ||
|
||
-p PCAPFILE, --pcap PCAPFILE | ||
PCAPFILE to replay. | ||
-s SOURCE, --src SOURCE | ||
Source MAC-Address. | ||
Default: 00:00:00:00:00:00 | ||
-d DESTINATION, --dst DESTINATION | ||
Destination MAC-Address. | ||
Default: 00:00:00:00:00:00 | ||
-S SIZE, --size SIZE | ||
Set packetsize to SIZE bytes. | ||
Default: 64 | ||
-D DURATION, --duration DURATION | ||
Run for DURATION seconds. | ||
Default: unlimited | ||
-h, --help | ||
Print usage information. | ||
|
||
Transmit packets from PCAP-FILE continuously to one or more network | ||
adapters. The PCI arguments are Lua pattern strings that are used to | ||
match the network adapters to use. | ||
packetblaster transmits packets continuously to one or more network adapters. | ||
The PCI arguments are Lua pattern strings that are used to match the network | ||
adapters to use. If a PCAPFILE is supplied then the packets from that file are | ||
transmitted, otherwise the packets are synthetisized according to SOURCE, | ||
DESTINATION, SIZE. | ||
|
||
|
||
Examples: | ||
packetblaster replay myfile.cap 0000:01:00.0 | ||
packetblaster replay myfile.cap 01:00 | ||
packetblaster replay -p myfile.cap 0000:01:00.0 | ||
packetblaster replay -s 11:11:11:11:11:11 -d 22:22:22:22:22:22 -S 256 0000:01:00.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters