Ask Your Question
0

How to build tshark as a shared library, like libtshark.so?

asked 2023-11-08 14:10:58 +0000

Omicron2000 gravatar image

I want to use the read pcap file functionality of tshark in my project. That's why I need libtshark.so. How can I get it?

edit retag flag offensive close merge delete

Comments

More precisely, what you want to use is the "read a pcap file, dissect the packets, and produce JSON objects for the dissections of the packets" functionality, according to your documentation.

Guy Harris gravatar imageGuy Harris ( 2023-11-08 20:28:44 +0000 )edit

Yeah, that's the exact thing what I wanted to get. Moreover, now I can call the new main function directly from another suitable programming language as the function is in the shared library (more precisely in the libtshark.so or libtshark.dll file)

Omicron2000 gravatar imageOmicron2000 ( 2023-11-10 07:22:34 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-11-08 14:20:02 +0000

Omicron2000 gravatar image

I have made it. Here is the documentation https://github.com/AkibHossainOmi/Tsh...

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: 2023-11-08 14:10:58 +0000

Seen: 119 times

Last updated: Nov 08 '23