-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin registered but no protocols or dissectors added Wireshark 4.2.x #15
Comments
Compare that to the same thing written in lua which works perfectly: --- requires https://github.com/Snaipe/wssdl/releases/download/v0.2.0/wssdl.lua
local wssdl = require 'wssdl'
ant_pkt = wssdl.packet {
sync:u8():hex(),
length:u8(),
class:u8():hex(),
payload:payload({ class, 'antplus.class' }, length * 8),
checksum:u8():hex()
}
proto = ant_pkt:proto('antplus', 'ANT+ Protocol')
wssdl.dissect {
usb.bulk:add { [0xFFFF] = proto }
} |
Hey @half2me , I think your problem might be that the generated plug in by wsdf is not looking for the right paths. While it maybe able to search for the plugin located in the correct folder, it may not be able to be found in the filter search or Analyze > Enable Protocol because of how the shared libraries are generated in macOS. I was having similar issues of the plugins showing up under About Wireshark > Plugins but not in teh fliter search. Firstly, my application & devel files were installed via homebrew When taking a look at what wireshark references.
But if we take a look at this the generated example
We notice that its using the absolute path. This maybe the root cause of your wireshark not being able to load it. By changing the paths to
that allowed wireshark (and tshark) to load the plugin correctly! I will try to research and find a more robust solution to this to increase portability with macOS |
I'm having issues getting this to do anything. It just doesn't show up anywhere. The dissector tables look the same, and the protocol is not added to the list of protocols.
Here is my code I'm trying out:
It builds fine, I copy the file to
~/.local/lib/wireshark/plugins/4-2/epan/ant.so
. And wireshark loads the plugin without issues.However nothing changes, the protocol is not added anywhere and the dissector table is unchanged:
What am I doing wrong?
I tried the
baby_udp
example to see if it was just something in this code, but that protocol doesn't show up for me either :¯_(ツ)_/¯:The text was updated successfully, but these errors were encountered: