Skip to content

Bump github.com/gopacket/gopacket from 1.7.7 to 1.8.0 - #625

Merged
jotak merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gopacket/gopacket-1.8.0
Nov 25, 2026
Merged

jotak merged 1 commit into
mainfrom
dependabot/go_modules/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
@openshift-merge-bot

Copy link
Copy Markdown

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@openshift-ci

openshift-ci Bot commented Nov 23, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign stleerh for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci

openshift-ci Bot commented Nov 23, 2026

Copy link
Copy Markdown

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a netobserv member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jotak
jotak merged commit dffd770 into main Nov 25, 2026
6 of 9 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/gopacket/gopacket-1.8.0 branch November 25, 2026 07:38
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 needs-ok-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant