Skip to content
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

-r doesn't work, reverting to -i #529

Merged
merged 1 commit into from
Apr 10, 2022
Merged

Conversation

squigdawg
Copy link

Tested on ubuntu 20.04, anaconda python 3.7.1, TShark (Wireshark) 3.2.3 (Git v3.2.3 packaged as 3.2.3-1).
#477
#299
with LiveRingCapture and -r it just crashed, as in these issues. With LiveCapture it would drop packets. With LiveRingCapture and -i it works without dropping packets. I did not run for a long period of time yet to see how long it runs without drops. My packet rate is relatively low.

UPDATE from SquigDawg 2/28/2022: Found this in poleguy's fork and it fixed the issue I was having. But his pull request wasn't up to the KimiNewt/pyshark parent repo.

Tested on ubuntu 20.04, anaconda python 3.7.1, TShark (Wireshark) 3.2.3 (Git v3.2.3 packaged as 3.2.3-1).
KimiNewt#477
KimiNewt#299
with LiveRingCapture and -r it just crashed, as in these issues. With LiveCapture it would drop packets. With LiveRingCapture and -i it works without dropping packets. I did not run for a long period of time yet to see how long it runs without drops. My packet rate is relatively low.
@poleguy
Copy link
Contributor

poleguy commented Apr 8, 2022

Thanks @squigdawg for finding my misdirected pull request. I'm new to this PR thing.

@KimiNewt KimiNewt merged commit 1b01dcb into KimiNewt:master Apr 10, 2022
@chribro88
Copy link
Contributor

I wonder if this is still necessary for LiveCapture? Using -r - seems to work well if you adjust the buffer size, plus doesn't create a temporary file.

LiveRingCapture would still need to use -i - as -b flags wont work with -r -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants