PCAP Replay

Name Value Description

Code

pcap

Name

PCAP file replay

Maven Dependency

<dependency>
  <groupId>org.apache.plc4x</groupId>
  <artifactId>plc4j-transport-pcap-replay</artifactId>
  <version>0.12.0</version>
</dependency>

Transport Syntax:

{pcap-path}

Path to the PCAP or PCAPNG file containing the network recording.

Options:

replay-speed-factor (1)

Numeric value for changing the replay speed:

  • 1 = Normal speed (default)

  • 0 = Maximum speed

  • 0.5 = Half speed

  • 2 = Double speed

loop (false)

Should the replay start at the beginning of the file as soon as the end is reached?

  • true = Automatically start again

  • false = Stop at the end (default)