forked from pool/scamper
Accepting request 1100776 from network:utilities
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1100776 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scamper?expand=0&rev=21
This commit is contained in:
commit
a97df218c9
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:84e8b6f34417559e9330ebd269c8cebf68bdbd2307ef1738ff07c5e87776cd4f
|
|
||||||
size 2112008
|
|
3
scamper-cvs-20230605.tar.gz
Normal file
3
scamper-cvs-20230605.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:63bb36e33cc22649c88cdfab1041b461ee8b3f29ab48714943ee4a17c1d0766b
|
||||||
|
size 2208130
|
120
scamper.changes
120
scamper.changes
@ -1,3 +1,123 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 13 06:20:24 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- update to version 20230605:
|
||||||
|
* HEADSUP: if you previously used -e pidfile to record the pid of a
|
||||||
|
running scamper process, there is a good chance that the pidfile is
|
||||||
|
owned by root. scamper now attempts to write this file using the uid
|
||||||
|
that started scamper, and will not be able to write it if scamper is
|
||||||
|
not started by root (it should not be, rather the scamper binary
|
||||||
|
should be setuid root). Please delete the existing pidfile, or change
|
||||||
|
its ownership, prior to restarting scamper, or scamper will not start.
|
||||||
|
* scamper:
|
||||||
|
* write a process ID that the user that started scamper can kill
|
||||||
|
in the pidfile when using privsep.
|
||||||
|
* when using privsep, exit the unprivileged process if the privileged
|
||||||
|
process exits (is killed)
|
||||||
|
* run as real uid from the start of scamper, for both privsep and
|
||||||
|
not-privsep.
|
||||||
|
* fix bug where attempting to open an unsupported datalink would
|
||||||
|
leave a freed scamper_fd_t in the fd_tree and fd_list, leading to
|
||||||
|
a crash.
|
||||||
|
* fix double free triggered when a user provides an invalid dealias
|
||||||
|
command.
|
||||||
|
* fix memory leak if the payload was specified twice to ping or trace
|
||||||
|
* rework pollfunc selection logic, use kqueue/epoll by default.
|
||||||
|
* remove _malloc_options = "AJ" as this only works on unsupported
|
||||||
|
versions of FreeBSD.
|
||||||
|
* add additional paramaters to attach command to allow the user
|
||||||
|
to override list and cycle parameters, documented in manual page.
|
||||||
|
* catch EAGAIN/EINTR from select/kqueue/epoll to allow gdb to attach
|
||||||
|
and detach without flagging errors.
|
||||||
|
* for DNS replies for host command, record reply flags and rcode.
|
||||||
|
* add support for SOA and NS queries in host.
|
||||||
|
* add a JSON output for host measurements.
|
||||||
|
* do not let scamper emit warts to a tty. check for isatty in
|
||||||
|
configure.
|
||||||
|
* only allow -O and -z to be specified multiple times in a trace command
|
||||||
|
* only allow -O to be specified multiple times in a ping command
|
||||||
|
* split command parsing logic out from task probing logic. add
|
||||||
|
fuzzing cradle for parsing logic for all measurement types, and
|
||||||
|
basic unit tests for dealias, ping, and trace parsing logic.
|
||||||
|
* autodetect output type by file extension if output type is not
|
||||||
|
explicitly specified on the command line.
|
||||||
|
* libscamperfile:
|
||||||
|
* remove all struct definitions from libscamperfile (e.g.
|
||||||
|
scamper_trace, scamper_ping, scamper_addr, etc). provide typedefs
|
||||||
|
for each (scamper_trace_t) and _get() functions that return the
|
||||||
|
field requested. This change will allow hopefully allow
|
||||||
|
libscamperfile's version to stabilize. all scamper utilities now
|
||||||
|
use these get functions.
|
||||||
|
* shift some functions that were previously implemented in
|
||||||
|
libscamperfile into the one place they were used, if they were only
|
||||||
|
used in (for example scamper / sc_analysis_dump / other scamper
|
||||||
|
utility). delete other functions that were not used anywhere in
|
||||||
|
the public scamper release.
|
||||||
|
* libscamperctrl:
|
||||||
|
* fix bug by ensuring line_off is always valid after the read.
|
||||||
|
* catch EAGAIN from select.
|
||||||
|
* add kqueue support.
|
||||||
|
* add scamper_attp_* routines to allow applications to specify
|
||||||
|
list and cycle parameters.
|
||||||
|
* for scamper_inst_do, take a parameter to keep with each task.
|
||||||
|
* add scamper_task_getparam function to get the parameter.
|
||||||
|
* add scamper_task_getcmd function to get the command associated with a task.
|
||||||
|
* use TYPE_FATAL instead of TYPE_ERR in application callback when
|
||||||
|
scamper_inst_read encounters a fatal error, only use TYPE_ERR when
|
||||||
|
scamper does not accept a command.
|
||||||
|
* sc_prefixprober:
|
||||||
|
* new driver to conduct measurements (ping, trace, tracelb) to an
|
||||||
|
address in each prefix.
|
||||||
|
* sc_ally:
|
||||||
|
* use scamper_file_t outfiles, add ability to write gz/bz2/xz files.
|
||||||
|
* ask for cycle-start and cycle-stop records, write them out.
|
||||||
|
* improve use of libscamperctrl.
|
||||||
|
* sc_hoiho:
|
||||||
|
* add support for VP geohints, document.
|
||||||
|
* silence -Wshadow.
|
||||||
|
* silence warnings related to assignments that are not used.
|
||||||
|
* sc_ipiddump:
|
||||||
|
* fix memory leak when user specifies invalid command line options.
|
||||||
|
* sc_filterpolicy:
|
||||||
|
* ask for cycle-start and cycle-stop records, write them out.
|
||||||
|
* improve use of libscamperctrl.
|
||||||
|
* sc_pinger:
|
||||||
|
* signal done to get cycle stop record.
|
||||||
|
* improve use of libscamperctrl.
|
||||||
|
* document remote socket option.
|
||||||
|
* sc_prefixscan:
|
||||||
|
* use scamper_file_t outfiles, add ability to write gz/bz2/xz files.
|
||||||
|
* ask for cycle-start and cycle-stop records, write them out.
|
||||||
|
* improve use of libscamperctrl.
|
||||||
|
* sc_remoted:
|
||||||
|
* catch EAGAIN from select.
|
||||||
|
* sc_speedtrap:
|
||||||
|
* ask for cycle-start and cycle-stop records, write them out.
|
||||||
|
* improve use of libscamperctrl.
|
||||||
|
* sc_uptime:
|
||||||
|
* silence -Wshadow.
|
||||||
|
* silence warnings related to assignments that are not used.
|
||||||
|
* fix memory leak in up_reboots_doone.
|
||||||
|
* sc_warts2json:
|
||||||
|
* fix memory leak with cycle start/stop records.
|
||||||
|
* emit json for host records.
|
||||||
|
* sc_wartscat:
|
||||||
|
* fix ability to write compressed warts files.
|
||||||
|
- update to version 20230323:
|
||||||
|
* libscamperfile:
|
||||||
|
* add ability for scamper and all utilities to read warts and arts
|
||||||
|
files compressed with bzip2 and xz, if libbz2 and liblzma are found
|
||||||
|
by configure.
|
||||||
|
* add ability for scamper and all utilities to write warts files
|
||||||
|
compressed with gzip, bzip2, and xz, if zlib, libbz2, and liblzma
|
||||||
|
are found by configure.
|
||||||
|
* tidy up libscamperfile code.
|
||||||
|
* misc:
|
||||||
|
* silence -Wsign-compare and -Wtype-limits
|
||||||
|
* tidy usage statements for sc_uptime and sc_tbitpmtud
|
||||||
|
* document use of '-' to read from stdin and write to stdout
|
||||||
|
in sc_wartsfilter.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 7 09:28:35 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
|
Tue Mar 7 09:28:35 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
28
scamper.spec
28
scamper.spec
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: scamper
|
Name: scamper
|
||||||
Version: 20230302
|
Version: 20230605
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Parallel Internet measurement utility
|
Summary: Parallel Internet measurement utility
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
@ -42,15 +42,16 @@ fragmentation required message is not returned to establish the PMTU
|
|||||||
to the next point in the network, followed by a TTL limited search to
|
to the next point in the network, followed by a TTL limited search to
|
||||||
infer where the failure appears to occur.
|
infer where the failure appears to occur.
|
||||||
|
|
||||||
%package -n libscamperfile5
|
%package -n libscamperfile6
|
||||||
Summary: File access library for scamper's binary dump format
|
Summary: File access library for scamper's binary dump format
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Obsoletes: libscamperfile1 < %{version}
|
Obsoletes: libscamperfile1 < %{version}
|
||||||
Obsoletes: libscamperfile2 < %{version}
|
Obsoletes: libscamperfile2 < %{version}
|
||||||
Obsoletes: libscamperfile3 < %{version}
|
Obsoletes: libscamperfile3 < %{version}
|
||||||
Obsoletes: libscamperfile4 < %{version}
|
Obsoletes: libscamperfile4 < %{version}
|
||||||
|
Obsoletes: libscamperfile5 < %{version}
|
||||||
|
|
||||||
%description -n libscamperfile5
|
%description -n libscamperfile6
|
||||||
Scamper is a program that is able to conduct Internet measurement
|
Scamper is a program that is able to conduct Internet measurement
|
||||||
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
|
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
|
||||||
fill a specified packets-per-second rate. Currently, it supports the
|
fill a specified packets-per-second rate. Currently, it supports the
|
||||||
@ -63,7 +64,7 @@ files that scamper can produce in certain modes.
|
|||||||
%package -n libscamperfile-devel
|
%package -n libscamperfile-devel
|
||||||
Summary: Development headers for scamper's binary dump file access library
|
Summary: Development headers for scamper's binary dump file access library
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: libscamperfile5 = %{version}-%{release}
|
Requires: libscamperfile6 = %{version}-%{release}
|
||||||
|
|
||||||
%description -n libscamperfile-devel
|
%description -n libscamperfile-devel
|
||||||
Scamper is a program that is able to conduct Internet measurement
|
Scamper is a program that is able to conduct Internet measurement
|
||||||
@ -75,11 +76,12 @@ alias resolution, some parts of tbit, sting, and neighbour discovery.
|
|||||||
This package contains development headers and other ancillary files for the
|
This package contains development headers and other ancillary files for the
|
||||||
libscamperfile library.
|
libscamperfile library.
|
||||||
|
|
||||||
%package -n libscamperctrl1
|
%package -n libscamperctrl2
|
||||||
Summary: Control library for scamper
|
Summary: Control library for scamper
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Obsoletes: libscamperctl1 < %{version}
|
||||||
|
|
||||||
%description -n libscamperctrl1
|
%description -n libscamperctrl2
|
||||||
Scamper is a program that is able to conduct Internet measurement
|
Scamper is a program that is able to conduct Internet measurement
|
||||||
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
|
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
|
||||||
fill a specified packets-per-second rate. Currently, it supports the
|
fill a specified packets-per-second rate. Currently, it supports the
|
||||||
@ -92,7 +94,7 @@ with a collection of scamper instances.
|
|||||||
%package -n libscamperctrl-devel
|
%package -n libscamperctrl-devel
|
||||||
Summary: Development headers for scamper's control library
|
Summary: Development headers for scamper's control library
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: libscamperctrl1 = %{version}-%{release}
|
Requires: libscamperctrl2 = %{version}-%{release}
|
||||||
|
|
||||||
%description -n libscamperctrl-devel
|
%description -n libscamperctrl-devel
|
||||||
Scamper is a program that is able to conduct Internet measurement
|
Scamper is a program that is able to conduct Internet measurement
|
||||||
@ -115,10 +117,10 @@ make %{?_smp_mflags}
|
|||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libscamperfile5 -p /sbin/ldconfig
|
%post -n libscamperfile6 -p /sbin/ldconfig
|
||||||
%post -n libscamperctrl1 -p /sbin/ldconfig
|
%post -n libscamperctrl2 -p /sbin/ldconfig
|
||||||
%postun -n libscamperfile5 -p /sbin/ldconfig
|
%postun -n libscamperfile6 -p /sbin/ldconfig
|
||||||
%postun -n libscamperctrl1 -p /sbin/ldconfig
|
%postun -n libscamperctrl2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -127,7 +129,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%files -n libscamperfile5
|
%files -n libscamperfile6
|
||||||
%{_libdir}/libscamperfile.so.*
|
%{_libdir}/libscamperfile.so.*
|
||||||
|
|
||||||
%files -n libscamperfile-devel
|
%files -n libscamperfile-devel
|
||||||
@ -135,7 +137,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/libscamperfile.so
|
%{_libdir}/libscamperfile.so
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files -n libscamperctrl1
|
%files -n libscamperctrl2
|
||||||
%{_libdir}/libscamperctrl.so.*
|
%{_libdir}/libscamperctrl.so.*
|
||||||
|
|
||||||
%files -n libscamperctrl-devel
|
%files -n libscamperctrl-devel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user