Hi,
Below are the steps I performed -
1.Created packet-foo.c - Dissector source. under /plugin/epan/foo
2.Created CMakeLists.txt under /plugin/epan/foo
3.Added CMakeListsCustom.txt set(CUSTOM_PLUGIN_SRC_DIR plugins/epan/foo)
4.Built the changes and could see foo.so getting generated in build folder
cmake -G Ninja ../wireshark
ninja
5. Ran wireshark with sudo command , as I was not able to capture any traffic using non-root user
sudo WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 ./run/wireshark
6.Generated traffic on port 1234 using python code
7. But don't see the protocol name as FOO in the packet list pane , it still shows UDP as the protocol .
Any suggestions on what I am missing?
Regards,
Abhisek