Bug 1641273
| Summary: | trafgen --in - doesn't work | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jaroslav Škarvada <jskarvad> |
| Component: | netsniff-ng | Assignee: | Jaroslav Škarvada <jskarvad> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | jaskalnik, jskarvad, jtfas90, mail |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | netsniff-ng-0.6.4-5.fc29 netsniff-ng-0.6.4-5.fc27 netsniff-ng-0.6.4-5.fc28 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-30 17:30:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
netsniff-ng-0.6.4-5.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2b9be33832 netsniff-ng-0.6.4-5.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a2ce583494 netsniff-ng-0.6.4-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7d9de65075 netsniff-ng-0.6.4-5.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7d9de65075 netsniff-ng-0.6.4-5.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a2ce583494 netsniff-ng-0.6.4-5.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2b9be33832 netsniff-ng-0.6.4-5.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. netsniff-ng-0.6.4-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. netsniff-ng-0.6.4-5.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: trafgen --in - tries to read file named '-', not the stdin. Version-Release number of selected component (if applicable): netsniff-ng-0.6.4-1.fc27.x86_64 How reproducible: Always Steps to Reproduce: 1. trafgen -e | trafgen --in - --out wlan0 --num 1 --cpp 2. 3. Actual results: Cannot access -: No such file or directory! Expected results: Packet sent. Additional info: From the manual page: -i <cfg|pcap|->, -c <cfg|->, --in <cfg|pcap|->, --conf <cfg|-> Defines the input configuration file that can either be passed as a normal plain text file or via stdin (''-''). ... trafgen -e | trafgen -i - -o lo --cpp -n 1 This is an example where we send one packet of the built-in example through the loopback device. The example configuration is passed via stdin and also through the C preprocessor before trafgen's packet com‐ piler will see it. And it's the same: # trafgen -e | trafgen -i - -o wlan0 --cpp -n 1 Cannot access -: No such file or directory! Although the following works: # trafgen -e > tmp # trafgen -i tmp -o wlan0 --cpp -n 1