Hi all,
In what situations can you compile the hello.c example plugin
https://gitlab.com/wireshark/wireshark/-/tree/release-4.4/doc/plugins.example
such that it will get detected under About Wireshark > Plugins, But unable to be found under the filter search.
The relevant filtername should be "hello_ws" however it doesn't seem to found be anywhere.
Trying to find it on tshark doesn't work either.
❯ tshark -i en0 -Y "hello_ws" -V
tshark: "hello_ws" is not a valid protocol or protocol field.
hello_ws
^~~~~~~~
This is all for release 4.4.1, built via brew.
And I compiled it using
clang -shared hello.c -o hello.so \
-I/opt/homebrew/opt/wireshark/include/wireshark \
-I/opt/homebrew/opt/glib/include/glib-2.0 \
-I/opt/homebrew/opt/glib/lib/glib-2.0/include \
-L/opt/homebrew/opt/wireshark/lib \
-L/opt/homebrew/opt/glib/lib \
-lwireshark -lwiretap -lwsutil -lglib-2.0
I am trying to understand this because I'm currently working on building some custome plugins but i can't seem to get this example working.