Ask Your Question
0

How to restart during the standard input capture

asked 2018-12-03 17:45:34 +0000

Chasen gravatar image

updated 2018-12-03 17:52:23 +0000

Im a car engineer. I try to capture car CAN protocol msg and use Wireshark to analysis. There is no way to capture directly from car. So I write a demo to test whether it can be imported by stdin. And Its works. But I click restart button, pop up error “Unrecognized libpcap format”. I don't want restart whole program every time. What shall I do, or how could I get signal of restart.

edit retag flag offensive close merge delete

Comments

More details provided over at https://stackoverflow.com/questions/5...

cmaynard gravatar imagecmaynard ( 2018-12-03 21:35:47 +0000 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2018-12-03 18:11:49 +0000

Jaap gravatar image

Restart from stdin requires the source to send a new libpcap header, which the source cannot do. Therefore the error.

What you could look into is to develop an extcap utility.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-12-03 17:45:34 +0000

Seen: 215 times

Last updated: Dec 03 '18