Skip to content
Protocol libraries

go-mms-trace

Read pcap and pcapng captures of IEC 61850 traffic offline: MMS associations, every confirmed service with its status and latency, reports, GOOSE and Sampled Values streams, and what the capture lost. Library and mmstracectl.

What it does

Install

go get github.com/otfabric/go-mms-trace

Command-line tool included

mmstracectl: Analyse MMS, GOOSE and Sampled Values traffic in pcap and pcapng captures, offline. Its version is the version of go-mms-trace.

# Linux and macOS
curl -fsSL https://get.otfabric.io/mmstracectl | sh

# Windows (PowerShell)
irm https://get.otfabric.io/mmstracectl.ps1 | iex

All install options, including pinned versions and installs for CI and containers.

Protocols

The README on GitHub has the full feature list, examples and changelog.

go-iec61850

IEC 61850 in one library: MMS client and SCL-driven server, GOOSE and Sampled Values publishers and subscribers, and SCL parsing, with logical nodes, reports, controls and control blocks as first-class Go types.

go get github.com/otfabric/go-iec61850

go-mms

MMS (ISO 9506) client and server with the full ISO upper-layer stack, the transport underneath IEC 61850: typed errors, metrics, retries and graceful shutdown, fuzzed and interop tested.

go get github.com/otfabric/go-mms

go-iec61850-model

The IEC 61850 information model without a transport: an edition-aware catalog of logical nodes, data objects, CDCs and data attributes from every official NSD release, with reference validation, type resolution and semantic mapping.

go get github.com/otfabric/go-iec61850-model
  • IEC 61850 model
GitHub

iec61850ctl

IEC 61850 from the terminal: browse IEDs, read and write, operate controls and subscribe to reports over MMS, and sniff, subscribe to and publish GOOSE and Sampled Values on the station bus.

go-cotp

COTP TP0 transport service over RFC 1006, plus a full X.224 TPDU codec.

go get github.com/otfabric/go-cotp

go-tpkt

TPKT framing for RFC 1006 and RFC 2126 transport profiles.

go get github.com/otfabric/go-tpkt

iec61850-interop

IEC 61850 reference stacks as containers: libiec61850, IEC61850bean, dscsystems/go-iec61850, iec61850-rust and cB-Sigma, for MMS, IED services, GOOSE and Sampled Values. Formerly mms-interop.

IEC 61850 Explorer

Connect to an IEC 61850 IED, open its SCL file or a packet capture of the station bus, and see the model, the values with quality and time, and what happened on the wire. Read-only by default; controls and writes only in a granted, audited Commission mode.