pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/60151: net/scamper: update to 20260331



>Number:         60151
>Category:       pkg
>Synopsis:       [patch] update net/scamper to 20260331
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 31 18:55:00 +0000 2026
>Originator:     mjl%luckie.org.nz@localhost
>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@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC evbarm
Architecture: earmv7hf
Machine: evbarm
>Description:
Update net/scamper to 20260331.  Changelogs:

https://mailman.caida.org/pipermail/scamper-announce/2026-January/000059.html
https://mailman.caida.org/pipermail/scamper-announce/2026-February/000060.html
https://mailman.caida.org/pipermail/scamper-announce/2026-March/000061.html

scamper:
* add initial implementation of RFC 4656 OWAMP.  the implementation is
  functional but incomplete, and all owamp interfaces (e.g., warts,
  json, command line interface, python interface, and the
  implementation itself) are subject to change.
* document current owamp command line interface in scamper man page.
* remove unused scamper_privsep_open_udp and scamper_privsep_open_tcp.
* print out monitor field -- the name of the system that did the
  measurement -- in all json objects.  previously, only "trace" and
  "tracelb" measurements printed that field.
* do not leak IP4 raw sockets, triggered with use of -O raw in ping
  and trace.
* trace: add -O back to conduct traceroutes with decreasing TTL values.
  this requires use of -m ttl option.
* trace: when -N > 1 is used on a path with a loop, update json to
  show path until loop condition was met, rather than on the first
  occurrence of an address involved in a loop.
* trace: emit traceroute flags in json output.
* host: add ability to query for HTTPS records
* http: add initial TLS Encrypted ClientHello (ECH) support.  this
  requires OpenSSL version 4.
* http: keep stop reason when cert validation fails, rather than
  overwrite with generic error stop reason.
* update man page for trace (-O back), host (-t https), http (ECH
  options)

sc_remoted:
* use unveil(2) and pledge(2) where present (OpenBSD) to restrict
  the files sc_remoted has access to after initialization, and restrict
  system calls available to sc_remoted.
* add optional-at-runtime chroot support to sc_remoted, to restrict
  the files sc_remoted has access to after initalization on operating
  systems without unveil(2), and add "security considerations" section
  to sc_remoted man page on chroot support.
* refactor debug messages: most were errors that should have been
  emitted to stderr even without using -O debug.
* add -O notimes option to remove timestamps, useful when the system
  independently prefaces debug output with a timestamp.
* emit names and magic values associated with remote scamper instances in
  debug messages.
* if the metadata file can't be loaded on startup, say so.
* do not start if provided a positional argument, as sc_remoted does
  not accept positional arguments and use of positional arguments
  suggests user error.
* set unix domain sockets non-blocking to prevent slow readers from
  stopping event loop

libscamperctrl:
* fix possible crash in scamper_mux_add().
* add scamper_mux_add_inet().
* ensure scamper_ctrl_strerror() will report something if
  scamper_mux_add() or scamper_mux_add_inet() fails.
* bump version.
* handle data after GO when reading from mux
* document currently available libscamperctrl functions in man page.

libscamperfile:
* add owamp interfaces, scamper/scamper_owamp.h
* bump version to account for owamp interfaces.
* do not loop infinitely when reading some truncated compressed files.

Python module:
* bindings for ScamperOwamp.
* drop GIL when calling clibscamperctrl.scamper_mux_add which can be
  IO bound.
* add hash / cmp to ScamperVp, allowing ScamperVp objects to be stored
  in sets.
* allow do_ inst variables to be a set as well as a list, use set
  internally.
* EncryptedClientHello support for HTTP test
* support https record type in DNS test
* change internal uses of list/dict to sets/deque

sc_bdrmap:
* convert sc_bdrmap to libscamperctrl
* add mux support to sc_bdrmap, so that bdrmap can be run on a single
  VP attached to a mux socket.  update manual page with details.
* gracefully handle measurements rejected by scamper policy -- skip
  over them.

sc_pinger:
* catch SIGINT and SIGTERM to exit gracefully, rework error handling

sc_minrtt:
* if a file can't be opened, skip over it, rather than stopping
  processing entirely.

sc_wartsdump:
* consistently preface any hex output with 0x.
* dump owamp structures.

configure.ac
* use quoted form for all test statements.

throughout:
* establish convention to #ifdef for O_NONBLOCK throughout, rather
  than HAVE_FCNTL.

tests:
* add additional tests for radargun data structures.
* add unit_cmd_owamp tests to check owamp command parsing.
* add glue to check warts and json code paths for owamp.
* add base64 tests
* expand http warts tests

>How-To-Repeat:
	
>Fix:
	
diff -uNr scamper/Makefile scamper-new/Makefile
--- scamper/Makefile	2026-01-11 03:05:53.021894298 +0000
+++ scamper-new/Makefile	2026-03-31 18:28:52.494943247 +0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.27 2026/01/07 08:48:27 wiz Exp $
 #
 
-DISTNAME=	scamper-cvs-20251113
+DISTNAME=	scamper-cvs-20260331
 PKGNAME=	${DISTNAME:S/-cvs//}
 PKGREVISION=	1
 CATEGORIES=	net
diff -uNr scamper/PLIST scamper-new/PLIST
--- scamper/PLIST	2025-04-03 07:25:42.996995551 +0000
+++ scamper-new/PLIST	2026-03-31 18:31:32.363739577 +0000
@@ -37,6 +37,7 @@
 include/scamper_icmpext.h
 include/scamper_list.h
 include/scamper_neighbourdisc.h
+include/scamper_owamp.h
 include/scamper_ping.h
 include/scamper_sniff.h
 include/scamper_sting.h
diff -uNr scamper/distinfo scamper-new/distinfo
--- scamper/distinfo	2026-01-11 03:05:53.105832335 +0000
+++ scamper-new/distinfo	2026-03-31 18:32:07.421582678 +0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.22 2025/11/16 21:01:54 hauke Exp $
 
-BLAKE2s (scamper-cvs-20251113.tar.gz) = 43545f547eba1395efb195dec617c012de30102291b03b0fd1516aaebe3789d3
-SHA512 (scamper-cvs-20251113.tar.gz) = b99e6046cf121395beb163537dec9d379448841d84f2f067ebf1f62bf91a5a685b6c8c7c9983c575db1f215e3498eab4c5fb198b77111c44550cd53732d0e16f
-Size (scamper-cvs-20251113.tar.gz) = 3295874 bytes
+BLAKE2s (scamper-cvs-20260331.tar.gz) = b52b98c0f36d5c213ee45f3a3870b91f79273227eafc774a7d37a07e920a2288
+SHA512 (scamper-cvs-20260331.tar.gz) = 78df8d8dd554f934b7dc470b799545dc731d58755798585ad75ca3397abb141b24187945c5857277c3e6e696daef4f10f1263593b2ed0d443e3a06c62be4e07c
+Size (scamper-cvs-20260331.tar.gz) = 3396971 bytes




Home | Main Index | Thread Index | Old Index