-
Notifications
You must be signed in to change notification settings - Fork 54
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
Wireshark Dissector issue #4
Comments
Can you check whether the plugin is properly loaded? In Wireshark, go to Help -> About Wireshark -> Plugins. |
This is on Raspian GNU/Linux 9 (stretch). All 30 tests pass when I run execTests (I did make a change to the path to the "test_not_found.json" path in database_test.cpp as I run execTests from the Tests dir). |
Normally, it should work by right clicking over one can frame in the .pcap file, then choosing Decode as... and then select J1939 as protocol. I don´t know if you followed these steps. |
Oops. Didn't mean to close the issue. :-( |
Try opening the following pcap file. It contains a Vehicle Identification Number frame. If you are able to see either "Transport Data" or "Transport Connection Management", the problem is that the database (frames.json) is not correctly loaded. In this case, check the path for the database. |
Could you tell me which version of the J1939-Framework you installed? Thanks. |
Sorry for the delay, I was away from the office and couldn't check. In the CMakeLists.txt file in the top level I found "set(J1939Framework_VERSION 1.0.0)". Was that where you wanted me to look, or are there other version numbers that would be helpful? Thanks. |
More info: |
OK, let me know when you post the changes and I'll test them out. Thanks for all your help on this. |
As a quick fix you can test with the following modification: Original code:
Modified code:
For me it worked. |
I'm going on a trip for a few days but I'll give it a go when I get back. Thanks much! |
I got back from my trip and my office was closed due to the hurricane coming. Hopefully later this week after it passes I will be able to try your fix. :-( |
Ok, no problem. |
Please, pull the latest commit to test the dissector. |
At long last, I was able to rebuild wireshark with your latest commit (hint to those doing this on RPI3+ machines - use "cmake -G Ninja ../wireshark_source_dir" and then "ninja -j1" in your wireshark build directory) and it worked as expected. Thanks much for your help in tracking this down. We can close this issue. |
I am glad that it worked. Closing... |
Has anyone had luck getting the Wireshark dissector to work? I am able to build it, but I noticed that it appears to conflict with the existing standard Wireshark J1939 dissector which takes precedence when you analyze a packet. Thanks in advance for any help or pointers to information you can give me on this.
The text was updated successfully, but these errors were encountered: