From 1ebb6b62284bfb154ebf0349705bccc346e74040 Mon Sep 17 00:00:00 2001 From: bartvanbos Date: Tue, 1 Dec 2026 01:09:02 +0100 Subject: [PATCH] deps: go-profinet v0.28.1 (v0.23.1) go-profinet v0.28.1 fixes its DCP responder: under RejectDCPsetRequests a refused Control/Start no longer opens a Set transaction and a refused Control/Stop no longer closes one. profinetctl does not run a responder and sends the same requests; no change to commands, flags, exit codes or JSON output. Co-Authored-By: Claude Opus 5.5 --- RELEASE.md | 27 +++++++++++++++++++++++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index ff0cb0a..6a2e0c7 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -23,6 +23,33 @@ ending with a `---` line and no `---` line inside a section --- +## v0.23.1 + +**Date:** 2026-12-01 +**Previous release:** v0.23.0 + +Built on go-profinet v0.28.1 (was v0.28.0). No change to the commands, +flags, exit codes or JSON output of profinetctl. + +What go-profinet v0.28.1 means for profinetctl: + +- **Fixed in go-profinet's DCP responder, which profinetctl does not + run**: a device built on go-profinet v0.28.0 that refused a DCP + Control/Start while RejectDCPsetRequests was in force still opened a + Set transaction for the requester for 3 s, and a refused Control/Stop + closed the requester's transaction. Against such a device under an AR + that set the bit, a refused `name set`, `ip set` or `reset` of + profinetctl (exit 6, `dcp_block_error`) could make the device answer + another tool's `signal` and, for up to 3 s after the AR ended, its + Sets with "resource error". A device on v0.28.1 opens or closes a + transaction only for a bracket it answered without error. profinetctl + sends the same requests as before. +- go-profinet v0.28.1 states that v0.28.0 implements two Security Class + 1 capabilities (RejectDCPsetRequests and the CIM SNMP records), not + Security Class 1. + +--- + ## v0.23.0 **Date:** 2026-12-01 diff --git a/go.mod b/go.mod index f78d7ff..d31418d 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/otfabric/profinetctl go 1.26 require ( - github.com/otfabric/go-profinet v0.28.0 + github.com/otfabric/go-profinet v0.28.1 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 ) diff --git a/go.sum b/go.sum index 353bfe1..4ed1f35 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/otfabric/go-profinet v0.28.0 h1:d+bO5L7If/hwlSIe4r//wXgvy9Gn1pBnNQxtq5Aq1t0= -github.com/otfabric/go-profinet v0.28.0/go.mod h1:eLxHQxabRs/OloPKSXKo/0OOgMjwjJUwnkQstdfE2wI= +github.com/otfabric/go-profinet v0.28.1 h1:fal9xgjdj+1UWTLQTk/FRg07G0UY4TTzSV9CKRajcqg= +github.com/otfabric/go-profinet v0.28.1/go.mod h1:eLxHQxabRs/OloPKSXKo/0OOgMjwjJUwnkQstdfE2wI= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4=