Dissector doesn't do anything
I've followed the instructions in this video from SharkFest Wireshark Developer and User Conference: https://www.youtube.com/watch?v=biNdE... about making a dissector for TCP traffic. However, once I've built the dissector (In C) and put the .c file into /usr/local/include/wireshark/epan/dissectors and run wireshark, all TCP traffic on the specified FOO_PORT still shows as TCP, and not FOO, and it isn't dissected. Has anybody else followed this video (the last 15 minutes is the C part) and come across this?
I realize that this is an old thread but I'm having a similar problem, the only difference is my "FOO_PORT still shows as" UDP.
Disclaimer, I'm relatively new to wireshark and my C/C++ is rusty.
I've compiled the demo dissector plugin proto_foo, verbatim from the documentation.
In debug mode I hit break points in proto_register_foo and proto_reg_handoff_foo.
When I send messages to FOO_PORT I don't break in dissect_foo. I do break in dissect_udp.
Any suggestions with where I might of gone wrong or a step that I'm missing?
Thx