-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] tcprewrite SEGV plugins/dlt_jnpr_ether/jnpr_ether.c:167 in dlt_jnpr_ether_cleanup #812
Comments
./install/bin/tcprewrite --dlt=enet --enet-dmac=00:12:13:14:15:16,00:22:33:44:55:66 --enet-smac=00:12:13:14:15:16,00:22:33:44:55:66 -i ./poc2 -o /dev/null Fatal Error: Unable to open input pcap file: unknown file format |
The URL is directed to poc1 (https://github.com/GGb0ndQAQ/POC/blob/main/tcpreplay/tcprewrite/poc1), not poc2 (https://github.com/GGb0ndQAQ/POC/blob/main/tcpreplay/tcprewrite/poc2). A possible fix is to check |
I update the correct poc:https://github.com/GGb0ndQAQ/POC/blob/main/tcpreplay/tcprewrite/poc_dlt_jnpr_ether_cleanup Sorry, I made a mistake with the poc. I apologize for wasting your time. |
Thanks for fixing this for me. Fixed in PR #851 |
Describe the bug
tcprewrite
SEGV plugins/dlt_jnpr_ether/jnpr_ether.c:167 in functiondlt_jnpr_ether_cleanup
.To Reproduce
Steps to reproduce the behavior:
1.Get the Tcpreplay source code and compile it.
2.Run Command:
POC:https://github.com/GGb0ndQAQ/POC/blob/main/tcpreplay/tcprewrite/poc2
gdbinfo
Environment
OS: Ubuntu
20.04.5 LTS
Compiler:
gcc version 9.4.0
Tcpreplay Version: master commit
43693c4a92dda227a5134ae5e71a7247ae345323
IMPACT
Potentially causing DoS or Arbitrary Read
The text was updated successfully, but these errors were encountered: