iec104 io overview
how can I count how many times every IEC104 digital point was sent from an RTU to its master? I mean, is there a tool that sumarize general io points inside an iec104 pcap?
how can I count how many times every IEC104 digital point was sent from an RTU to its master? I mean, is there a tool that sumarize general io points inside an iec104 pcap?
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2024-11-08 04:18:01 +0000
Seen: 194 times
Last updated: Nov 08
There are a couple IEC 60870-5-104 sample captures on the wiki.
Are these the protocol you are working with and if so, which fields (Wireshark dfref: iec60870_104)are you interested in?
(Edit: the rest of the fields - iec60870_asdu)
I mean every single digital point. For example iec60870_asdu.ioa == 2348. Or iec60870_asdu.ioa in {1..550}. Please Keep in mind that I may have hundreds of IO points and would like to count how many of each actually appear on the pcap. How many of each happen in an invalid state? And so on... Thanks for your answer.
epan/dissectors/packet-iec104.c:
Which
iec60870_asdu.typeid
types?This could be done with a combination of MATE to extract the ioa values for only pdus of a certain typeid:
And a lua plugin to count the occurrences:
It can be cleaned up (results sorted) and perhaps (maybe) be done in just a lua script without MATE.
I think I would revert to some scripting automation using tshark.
Wireshark doesn't work that well with telemetry protocols that have repeated data in the same packet. Display filters select entire packets that contain at least one item that matches the filter so a report of multiple events for an IOA will just show 1 packet.