-
Notifications
You must be signed in to change notification settings - Fork 11
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
Should support stopping and restarting live capture #1
Comments
I've got below error while running your script
Do you know the reason? |
As already mentioned by mail, the script is written for python3 (and apparently does not support python2). Will you close this issue if using python3 fixes things? |
Yes, it looks to be fixed.:-) I couldn't find it in the Local interfaces and Pipes. |
Hi Matthijs,
Now it looks working.
I could see 'waiting for fifo to be opened...' in the terminal.
Is this working? right?
[image: image.png]
But couldn't find fifo in the wireshark.(capture->options->Manage
Interfaces..)
[image: image.png]
[image: image.png]
Can you please let me know where I can find fifo?
Br,
YunSoo
2019년 5월 29일 (수) 오후 6:46, Matthijs Kooijman <[email protected]>님이 작성:
… As already mentioned by mail, the script is written for python3 (and
apparently does not support python2). Will you close this issue if using
python3 fixes things?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AMCYE2FC44PRTQ6W6WQHLPTPXZGILA5CNFSM4AVKDWOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWOZGYI#issuecomment-496866145>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMCYE2FT7QVFCRSTKROVIWDPXZGILANCNFSM4AVKDWOA>
.
|
Hi Matthijs,
Do I add wireshark pipe in the Pipes tab?
But I can't find it in the browse even though wireshark pipe is in the tmp
dir.
[image: image.png]
[image: image.png]
Br,
YunSoo
2019년 5월 30일 (목) 오전 9:56, 정윤수 <[email protected]>님이 작성:
… Hi Matthijs,
Now it looks working.
I could see 'waiting for fifo to be opened...' in the terminal.
Is this working? right?
[image: image.png]
But couldn't find fifo in the wireshark.(capture->options->Manage
Interfaces..)
[image: image.png]
[image: image.png]
Can you please let me know where I can find fifo?
Br,
YunSoo
2019년 5월 29일 (수) 오후 6:46, Matthijs Kooijman ***@***.***>님이
작성:
> As already mentioned by mail, the script is written for python3 (and
> apparently does not support python2). Will you close this issue if using
> python3 fixes things?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#1?email_source=notifications&email_token=AMCYE2FC44PRTQ6W6WQHLPTPXZGILA5CNFSM4AVKDWOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWOZGYI#issuecomment-496866145>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AMCYE2FT7QVFCRSTKROVIWDPXZGILANCNFSM4AVKDWOA>
> .
>
|
When writing to a FIFO and the FIFO is closed at the other end (e.g., Wireshark capture stopped), the serial port should be closed and capturing should stop. Then, when the FIFO is opened again, capturing should start again.
Currently, when the FIFO is closed, this is not detected by serial-pcap until it tries to write another packet to the FIFO, then it gets SIGPIPE. To detect the closing beforehand, we probably need to select on the FIFO (and serial) fd (though I'm not entirely sure that select allows detecting a FIFO close, needs to be investigated).
This approach assumes that simply re-opening the serial port will restart the capturing hardware (as happens with a Pinoccio Scout), but that might not apply to other boards (so an option might be useful to let serial-pcap just quit instead of restarting capture).
The text was updated successfully, but these errors were encountered: