Accepting request 1158597 from network:utilities

- update to 20240229:
  * bugfix: correct SCAMPER_DL_IS_ICMP_TIME_REPLY macro so that scamper
    does not ignore ICMP replies quoting TCP/UDP packets for 1/256
    source port values.
  * bugfixes for -O icmp-rxerr: handle EPOLLERR on linux, try using
    IPV6_RECVHOPLIMIT before IPV6_HOPLIMIT for IPv6 udp probing.
  * bugfix: fix possible assertions in dealias, trace, and tracelb code.
  * ping: count UDP replies as from the target
  * trace: correct datalink timestamp adjustments
  * add more specific error messages when a scamper command is not
    accepted, return them over control socket or terminal, as appropriate.
  * scamper_fd_t: refactor fd_addr, fd_sport, fd_dl, fd_ifindex
  * scamper_fd_t: decouple udp4raw/udp4dg from each other.  use udp4dg
    and udp6 sockets in udpprobe primitive, rather than have each
    udpprobe task create its own socket.
  * scamper_fd_t: add methods that return an available open socket for
    probing a given destination without blocking if another task is
    probing the same destination.  use this with ping -F 0 and trace -s 0,
    instead of generating random port values, so that scamper opens
    the minimum number of file descriptors.
  * ping and trace: have -O dl mean to capture transmit and receive
    timestamps from a datalink interface.  add -O raw option so that
    IPv4 TCP probes can be transmitted over a raw socket, to allow transmitted
    TCP packets to be observed on the datalink interface.
  * add memory-mapped ring buffer support (PACKET_RX_RING) for receiving
    packets on datalink sockets on Linux.  enable at scamper runtime
    with -O ring.  contributed by Alistair King.
  ## python module:
  * generate module .c with Cython 0.29.37, to enable module to compile
    with Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1158597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scamper?expand=0&rev=28
This commit is contained in:
Ana Guerrero 2024-03-17 21:16:24 +00:00 committed by Git OBS Bridge
commit d84c1c95b2
4 changed files with 48 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f7bf66bde9dc8819e4ef929afdf32aa1968763835258b12fb19cca04b2f9818
size 2790285

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f010533ccc257fe6459581a07fb55e4ecf160142a0f8e4077f661adccd3b43be
size 2819683

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Sat Mar 16 19:34:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 20240229:
* bugfix: correct SCAMPER_DL_IS_ICMP_TIME_REPLY macro so that scamper
does not ignore ICMP replies quoting TCP/UDP packets for 1/256
source port values.
* bugfixes for -O icmp-rxerr: handle EPOLLERR on linux, try using
IPV6_RECVHOPLIMIT before IPV6_HOPLIMIT for IPv6 udp probing.
* bugfix: fix possible assertions in dealias, trace, and tracelb code.
* ping: count UDP replies as from the target
* trace: correct datalink timestamp adjustments
* add more specific error messages when a scamper command is not
accepted, return them over control socket or terminal, as appropriate.
* scamper_fd_t: refactor fd_addr, fd_sport, fd_dl, fd_ifindex
* scamper_fd_t: decouple udp4raw/udp4dg from each other. use udp4dg
and udp6 sockets in udpprobe primitive, rather than have each
udpprobe task create its own socket.
* scamper_fd_t: add methods that return an available open socket for
probing a given destination without blocking if another task is
probing the same destination. use this with ping -F 0 and trace -s 0,
instead of generating random port values, so that scamper opens
the minimum number of file descriptors.
* ping and trace: have -O dl mean to capture transmit and receive
timestamps from a datalink interface. add -O raw option so that
IPv4 TCP probes can be transmitted over a raw socket, to allow transmitted
TCP packets to be observed on the datalink interface.
* add memory-mapped ring buffer support (PACKET_RX_RING) for receiving
packets on datalink sockets on Linux. enable at scamper runtime
with -O ring. contributed by Alistair King.
## python module:
* generate module .c with Cython 0.29.37, to enable module to compile
with Python 3.11.
* link against libpython
* have all time parameters take either a timedelta or float/int. float/int
parameters are all seconds.
* add ScamperInstError exception which identifies the scamper instance
and includes the error string returned by the instance.
* reduce copying in methods that return bytes objects
* add str method for ScamperInst
- reenable python build
-------------------------------------------------------------------
Tue Feb 6 09:07:29 UTC 2024 - Sebastian Wagner <sebix@sebix.at>

View File

@ -18,7 +18,7 @@
Name: scamper
Version: 20240122
Version: 20240229
Release: 0
Summary: Parallel Internet measurement utility
License: GPL-2.0-only
@ -120,9 +120,7 @@ libscamperctrl library.
%build
export PYTHON=%{_bindir}/python3
# disable Python build in 20240122 because of incompatibility with Python 3.11. Reported upstream, will be fixed in next version
%configure --disable-static --without-debugfile --with-pcre2 --enable-sc_hoiho --enable-sc_uptime
#%%configure --disable-static --without-debugfile --with-pcre2 --enable-sc_hoiho --enable-sc_uptime --with-python
%configure --disable-static --without-debugfile --with-pcre2 --enable-sc_hoiho --enable-sc_uptime --with-python
make %{?_smp_mflags}
%install
@ -140,7 +138,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_bindir}/scamper
%{_mandir}/man1/*
%{_mandir}/man5/*
#%%{python3_sitelib}/scamper.so
%{python3_sitelib}/scamper.so
%files -n libscamperfile8
%{_libdir}/libscamperfile.so.*