-
Notifications
You must be signed in to change notification settings - Fork 273
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
Fatal Error: poll() timeout... tcpdump seems to be having a problem keeping up #398
Comments
This is a long-standing bug from before I took over the project. If I understand the history, changes in |
Hi @fklassen! Any updates on this? I've just started playing with tcpreplay and I'm stumbling across this error. |
I had a quick look, and am concerned about comments from the previous maintainer. It appears that a fix has been attempted, but failed. I have a backlog of bugs that need lots of testing and am deferring to Sept. We have a code freeze going on right now as we are attempting to get a higher level of stability for current and upcoming Debian/Ubuntu releases. Once stability is achieved, we plan to dig into these tougher issues. |
Thank you for the quick reply and concise, clear answer! I won't chase any further but do please update as and when you have something to share. |
Reworked how `tcpdump` picks up STDIN/STDOUT pipes. Converted from old-style socket pairs to modern `pipe` structures. Found that on 64-bit machines, `struct pcap_pkthdr` is not the same size as the similar array in the actual PCAP file. Added a new structure to compensate. Reworked `poll`, `write` and `read` to make them more robust. Works on Linux. Still haveing some issues on macOS.
* Bug #398 Rewrite of tcpdump.c Reworked how `tcpdump` picks up STDIN/STDOUT pipes. Converted from old-style socket pairs to modern `pipe` structures. Found that on 64-bit machines, `struct pcap_pkthdr` is not the same size as the similar array in the actual PCAP file. Added a new structure to compensate. Reworked `poll`, `write` and `read` to make them more robust.
fixed in PR #457 |
@fklassen thank you :) |
* Enhancement_#493_codacy_fixes: (26 commits) Enhancement #493 - fixes for Codacy identified issues Bug #486 Enforce max snaplen rather than doing realloc Bug #486 CVE-2018-17974 realloc memory if packet size increases Bug #484 CVE-2018-17582 Check for corrupt PCAP files 4.3 - revert travis updates from merge Remove dead code resolve possible null pointer dereference travis-ci: add autogen package Bug #461 build warnings (#462) #412 fix gcc 6.3 compiler warning #421 fix ms to ns conversion Bug #423 remove commented code Bug #423 Remove limit for tcpprep -S Bug #398 Rewrite of tcpdump.c (#457) Bug #402 memset dlt radiotap get 80211 (#454) #404 fix check_list return values (#453) #406 fix zero-length IP headers #416 apply STDIN restore to all programs #416 fix compile issue introduced by downstream PR #416 update CHANGELOG [ci skip] ...
this is my pcap file: https://www.dropbox.com/s/gcqdgn4rbwcax62/3.pcap?dl=0
The text was updated successfully, but these errors were encountered: