Skip to content

chore(deps): bump github.com/gopacket/gopacket from 1.7.7 to 1.8.0 in /plc4go - #795

Merged
sruehl merged 1 commit into
developfrom
dependabot/go_modules/plc4go/github.com/gopacket/gopacket-1.8.0
Nov 23, 2026
Merged

sruehl merged 1 commit into
developfrom
dependabot/go_modules/plc4go/github.com/gopacket/gopacket-1.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/gopacket/gopacket from 1.7.7 to 1.8.0.

Release notes

Sourced from github.com/gopacket/gopacket's releases.

v1.8.0

Feature release. Adds decoders for the common industrial (OT) protocols. Before this release the library covered Modbus/TCP framing, EtherNet/IP and CIP only.

New decoders

Protocol Scope
Modbus Request and response data of the public function codes, transaction pairing, device identification
DNP3 Link, transport and application layers, object values, fragment assembly
TPKT, COTP Framing, connection TPDUs, segment assembly
S7comm Job, ack-data and userdata functions, SZL records, userdata reassembly
S7comm-plus Framing, object and value tree, multi-frame assembly
IEC 60870-5-104 APCI, ASDU types, qualifiers, file transfer
IEC 61850 GOOSE, Sampled Values, ISO session and presentation, ACSE, MMS
BACnet BACnet/IP, BACnet/IPv6, BACnet/SC, MS/TP, NPDU, APDU services, property values, segment assembly
OPC UA Binary transport, secure channel, services, chunk assembly, PubSub (UADP)
PROFINET RT, DCP, PTCP, alarms, IO connection management over RPC, record blocks
EtherCAT Datagrams, mailbox protocols (CoE, EoE, FoE, SoE, AoE), mailbox reassembly, AMS over TCP
PTPv2 Messages, TLVs, management data

Enabling them

The new decoders are opt-in. Call this once at start-up:

layers.RegisterOTDecoders()

Without the call no port or EtherType maps to a new decoder, so packets that decoded to a payload layer before still do.

Stream protocols

Several of these protocols run over TCP and split messages across segments.

  • bufio.SplitFunc framers for TPKT, DNP3, IEC 104, OPC UA, Modbus/TCP and AMS over TCP.
  • Assemblers that join segmented or fragmented messages: COTP, S7comm userdata, S7comm-plus, DNP3, OPC UA chunks, BACnet segments, PROFINET fragments and EtherCAT mailbox data.
  • A new example program, otdump, combines TCP reassembly with the framers and prints one line per OT message.

Compatibility

Nothing changes for existing callers. No existing function signature, interface or constant changed.

Limits

  • Decode only. The new layers do not serialise.
  • Encrypted payloads are exposed as opaque bytes.
  • S7comm-plus has no reference dissector in Wireshark to compare against. It is checked for structural consistency on real captures.
  • Some services have no public capture. Those are tested on frames built by hand from the standards.
  • Vendor-specific and profile-specific data stays raw.

... (truncated)

Commits
  • 8907f0b layers: add OT protocol decoders (#181)
  • d631bbc layers: keep BACnet segments across sequence wrap
  • 5a15c22 layers: decode PROFINET TSN, security and stream blocks
  • fc10098 layers: decode BACnet security, SC payloads and MS/TP
  • 89ea84e layers: fix BACnet decode gaps found by cross-check
  • b7039a1 examples: summarise OPC UA PubSub in otdump
  • 24036aa layers: decode remaining PROFINET blocks
  • 42ce1ea layers: decode remaining OPC UA structures
  • 9793a32 layers: add EtherCAT mailbox reassembly
  • 63c794a layers: decode MMS real values and tolerate long AC SPDU
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/gopacket/gopacket](https://github.com/gopacket/gopacket) from 1.7.7 to 1.8.0.
- [Release notes](https://github.com/gopacket/gopacket/releases)
- [Commits](gopacket/gopacket@v1.7.7...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/gopacket/gopacket
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 23, 2026
@sruehl
sruehl merged commit 16490f9 into develop Nov 23, 2026
5 checks passed
@sruehl
sruehl deleted the dependabot/go_modules/plc4go/github.com/gopacket/gopacket-1.8.0 branch November 23, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant