appneta / tcpreplay

Pcap editing and replay tools for *NIX and Windows - Users please download source from
http://tcpreplay.appneta.com/wiki/installation.html#downloads
1.16k stars 268 forks source link

[Bug] Not able to read from STDIN #708

Closed jboullianne closed 2 years ago

jboullianne commented 2 years ago

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):

fklassen commented 2 years ago

Fixed in PR #709