PR/60151 CVS commit: pkgsrc/net/scamper
"Maya Rashish" <[email protected]> Sun, 5 Apr 2026 21:00:02 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR pkg/60151; it has been noted by GNATS. From: "Maya Rashish" <[email protected]> To: [email protected] Cc: Subject: PR/60151 CVS commit: pkgsrc/net/scamper Date: Sun, 5 Apr 2026 20:55:33 +0000 Module Name: pkgsrc Committed By: maya Date: Sun Apr 5 20:55:33 UTC 2026 Modified Files: pkgsrc/net/scamper: Makefile PLIST distinfo Log Message: scamper: Update net/scamper to 20260331 * 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 From mjl in PR pkg/60151 To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 pkgsrc/net/scamper/Makefile cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/scamper/PLIST cvs rdiff -u -r1.22 -r1.23 pkgsrc/net/scamper/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.