NetBSD Problem Report #59399
From mjl@pi2.localdomain Tue May 6 07:24:12 2025
Return-Path: <mjl@pi2.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0BCE01A9239
for <gnats-bugs@gnats.NetBSD.org>; Tue, 6 May 2025 07:24:12 +0000 (UTC)
Message-Id: <20250506072405.0A59127159@pi2.localdomain>
Date: Tue, 6 May 2025 07:24:04 +0000 (UTC)
From: mjl@luckie.org.nz
Reply-To: mjl@luckie.org.nz
To: gnats-bugs@NetBSD.org
Subject: [patch] update net/scamper to 20250505
X-Send-Pr-Version: 3.95
>Number: 59399
>Category: pkg
>Synopsis: [patch] update net/scamper to 20250505
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 06 07:25:00 +0000 2025
>Closed-Date: Tue May 06 07:28:31 +0000 2025
>Last-Modified: Tue May 06 07:30:02 +0000 2025
>Originator: mjl@luckie.org.nz
>Release: NetBSD 10.1
>Organization:
>Environment:
System: NetBSD pi2 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC evbarm
Architecture: earmv7hf
Machine: evbarm
>Description:
Update net/scamper from 20250227 to 20250505. There have been two
releases since scamper pkg was last updated (20240401, and 20250505).
https://mailman.caida.org/pipermail/scamper-announce/2025-April/000050.html
https://mailman.caida.org/pipermail/scamper-announce/2025-May/000051.html
20250505 specifically addresses scamper building on SmartOS platform,
listed as a current issue at.
https://releng.netbsd.org/bulktracker/net/scamper
>How-To-Repeat:
>Fix:
diff -uNr scamper/Makefile scamper-new/Makefile
--- scamper/Makefile 2025-05-06 06:25:45.741184194 +0000
+++ scamper-new/Makefile 2025-05-06 06:59:30.381726589 +0000
@@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.21 2025/04/17 21:52:03 wiz Exp $
#
-DISTNAME= scamper-cvs-20250227
+DISTNAME= scamper-cvs-20250505
PKGNAME= ${DISTNAME:S/-cvs//}
-PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.caida.org/catalog/software/scamper/code/
diff -uNr scamper/distinfo scamper-new/distinfo
--- scamper/distinfo 2025-04-03 07:25:43.077881661 +0000
+++ scamper-new/distinfo 2025-05-06 07:00:24.515186458 +0000
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.18 2025/03/31 13:59:11 wiz Exp $
-BLAKE2s (scamper-cvs-20250227.tar.gz) = a33761dab04c2270f5a6f635996af1890ef8c5853d957ee39f3662fac6bc33c3
-SHA512 (scamper-cvs-20250227.tar.gz) = 019b6be511fae874747e899a65f7cd520002b2b6ad48074d76229229601b96c4dc6c46a3f16dabdbe3eaa49e808bee7eb18c338c3f01936fb7ec65319c0af6c0
-Size (scamper-cvs-20250227.tar.gz) = 3216225 bytes
+BLAKE2s (scamper-cvs-20250505.tar.gz) = 73b2a3c58c026bb51fdc9f1ba817c4e5e4454c9ddc9479f42054cf2d38ac91e5
+SHA512 (scamper-cvs-20250505.tar.gz) = 9e8b7e2556506d2f7db815f9d4850449612fdc48aa932f8b43dedbb767fdc551be33dafe78b2cb1fecc966bd2b7782a448fa1581a21eda9143e8196b34633df4
+Size (scamper-cvs-20250505.tar.gz) = 3237527 bytes
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 06 May 2025 07:28:31 +0000
State-Changed-Why:
Committed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/59399 CVS commit: pkgsrc/net/scamper
Date: Tue, 6 May 2025 07:28:05 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Tue May 6 07:28:05 UTC 2025
Modified Files:
pkgsrc/net/scamper: Makefile distinfo
Log Message:
scamper: update to 20250505.
Provided by mjl in PR 59399.
20250505:
scamper:
* trace: separate probes from replies
* trace: support -P tcp-ack Path MTU probing
* trace: support -N squeries with Path MTU probing
* trace: embed path MTU probing data in JSON output
* ping: add -O dltx option to force datalink tx, capture nhmtu in
ICMP PTB messages
* add basic sysctl-like configuration file support, which currently
only allows for disabling measurement primitives, e.g.:
# disable udpprobe measurement primitive
udpprobe.enable=0
* hopefully fix build on solaris
libscamperfile:
* chase separation of traceroute probes from replies, add
scamper_trace_hopiter_* to simplify required user code
modifications.
* fix 20250227 regression that did not read ipid32 in ping replies
correctly, which lead to speedtrap not working.
* fix udpprobe warts storage when no packets are sent.
* be defensive allocating memory in warts read path.
* be defensive with possible null pointers when generating json from
malformed warts.
* bump libscamperfile version.
Python module:
* include setup.py in source code distribution.
* transparently handle separation of traceroute probes from replies.
* extend do_ping to support MTU probing, and capture embedded nhmtu.
tests:
* replace unit_host_warts, unit_http_warts, unit_ping_warts,
unit_trace_warts, unit_udpprobe_warts, with unit_warts.
* expand ping warts unit tests to check ipid values.
* expand trace warts unit tests to include last ditch probing, and
path mtu discovery.
* add udpprobe and dealias warts unit tests.
* add fuzz_warts2json.
* add simple unit tests for parsing scamper configuration file.
throughout:
* chase libscamperfile modifications throughout bundled utilities.
* use string_concatc in all obvious places, reduce use of
string_concaf further, speeding up string rendering.
20250401:
scamper:
* move items that require privilege (opening files, unlinking files,
opening raw sockets, datalink interfaces) into scamper_priv.c and
have each follow a consistent pattern. previously these were
distributed throughout many source code files.
* add build option that allows scamper to decide if it will do
privilege separation at run time.
the --enable-scamper-privsep=rootonly configure option enables this
behavior. if run with root privileges, scamper will do privilege
separation. if not run with root privileges, scamper will not.
--enable-scamper-privsep=yes (the default) does privilege separation
regardless of root privilege status.
note: the previous --disable-privsep configure option has become
--disable-scamper-privsep
* restructure the way that blocked tasks (tasks that share a probe
signature) are handled
* add -O mss=foo option to ping, which will include mss option to
TCP syn probe methods.
* ignore packets on the datalink interface associated with a probe
that has a timestamp after the datalink packet's timestamp.
* increase scamper -H holdtime limit from 10s to 60s.
python module:
* add ScamperCtrl.outfile setter
* fix ScamperFile filter_types
libscamperfile:
* handle termination HTTP chunk correctly (noticed running unit tests
on MacOS, which has a stricter strtol)
* be more accepting when processing HTTP headers
libscamperctrl:
* fix bug when reading partial control messages from mux
tests:
* add unit test for prefixtree implementation
* add tests for parsing HTTP headers
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/net/scamper/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/net/scamper/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.