First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Is there a possibility to monitor the UDS messages sent over the CAN bus?

I saw that wireshark supports UDS filters so I thought if there is a possibility that you can also monitor UDS messages (Unified Diagnostic Service).

I found something on github but it seemed to be obsolete: https://github.com/tobras/wireshark_doip

If someone has a good solution for that problem I would be deeply thankful.

Cheers!

Andelas's avatar
1
Andelas
asked 2020-12-17 14:44:44 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Yes. There is a sample capture attached to this question - how to display column with doip user data using field name doip.data

This paper has examples with Wireshark: Analysis of Digital Forensics Capabilities on State-of-the-art Vehicles
Their testing was with Wireshark 2.6 and a custom Lua dissector.
UDS was added in Wireshark 2.4.0 and DOIP in Wireshark 3.0.0

Chuckc's avatar
3k
Chuckc
answered 2020-12-17 15:12:57 +0000, updated 2020-12-17 15:28:14 +0000
edit flag offensive 0 remove flag delete link

Comments

Thanks for your quick response. I am running wireshark version 2.6.10 and also have problems when I try to apply uds filters. Even though the data field in the can Frame represent a response code of an ECU.

https://www.wireshark.org/docs/dfref/...

For example I should be able to filter with "(uds.err.code == 0x7F)" but even though I have many data fields with 03 7F 00 11 FF FF FF FF, wireshark displays no frames anymore.

03 at the begin of the data sector indicates 3 Bytes useful data. After that, the 7F is a negitve response code of the ECU.

Is there another way to filter maybe just the second Byte (0x7F) of the data field in a can frame?

Andelas's avatar Andelas (2020-12-18 08:05:40 +0000) edit

Have you tried a current Wireshark version? Version 3.4 are the current stable release branch, quite a step up from 2.6

Jaap's avatar Jaap (2020-12-18 14:36:45 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer