First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

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

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?

Omicron2000's avatar
1
Omicron2000
asked 2023-11-08 14:10:58 +0000
edit flag offensive 0 remove flag 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's avatar Guy 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's avatar Omicron2000 (2023-11-10 07:22:34 +0000) edit
add a comment see more comments

1 Answer

0

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

Omicron2000's avatar
1
Omicron2000
answered 2023-11-08 14:20:02 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer