[Bug 285843] net/scamper: update to 20250401

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Apr 2025 08:55:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285843

            Bug ID: 285843
           Summary: net/scamper: update to 20250401
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mjl@luckie.org.nz

Created attachment 259268
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259268&action=edit
[patch] update net/scamper to 20250401

Update net/scamper to 20250401.

One important change to the port is to install the scamper binary setuid root.

Changelog:

https://mailman.caida.org/pipermail/scamper-announce/2025-April/000050.html

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

-- 
You are receiving this mail because:
You are the assignee for the bug.