Skip to content

[Bug] Not able to read from STDIN #708

@jboullianne

Description

@jboullianne

Describe the bug
Not able to read from STDIN in tcpreplay 4.4.0. When trying to pass the - as the file descriptor for reading from STDIN, the program outputs:
Fatal Error: Unable to retrieve informations from file -: No such file or directory

This previously worked when running version 4.3.4.

To Reproduce
Steps to reproduce the behavior:

  1. sudo yum instal tcpreplay
  2. sudo tcpreplay -i <interface_name> -

Expected behavior
Expected tcpreplay to read in packet data from STDIN

System (please complete the following information):

  • OS: Centos Stream 8
  • Tcpreplay Version 4.4.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions