2016-08-19 21:59:42 +00:00
|
|
|
#
|
|
|
|
# spec file for package scamper
|
|
|
|
#
|
2023-02-24 08:19:52 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2016-08-19 21:59:42 +00:00
|
|
|
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-22 22:08:14 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-08-19 21:59:42 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: scamper
|
- 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.
OBS-URL: https://build.opensuse.org/package/show/network:utilities/scamper?expand=0&rev=47
2023-06-13 07:04:10 +00:00
|
|
|
Version: 20230605
|
2016-08-19 21:59:42 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Parallel Internet measurement utility
|
2018-03-08 19:45:06 +00:00
|
|
|
License: GPL-2.0-only
|
2016-08-19 21:59:42 +00:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
2020-01-07 09:29:43 +00:00
|
|
|
URL: https://www.caida.org/tools/measurement/scamper/
|
2016-08-19 21:59:42 +00:00
|
|
|
Source: https://www.caida.org/tools/measurement/%{name}/code/%{name}-cvs-%{version}.tar.gz
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
%description
|
|
|
|
Scamper is a program that is able to conduct Internet measurement
|
|
|
|
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
|
|
|
|
fill a specified packets-per-second rate. Currently, it supports the
|
|
|
|
well-known ping and traceroute techniques, as well as MDA traceroute,
|
|
|
|
alias resolution, some parts of tbit, sting, and neighbour discovery.
|
|
|
|
|
|
|
|
Scamper can do ICMP-based Path MTU discovery. scamper starts with the
|
|
|
|
outgoing interface's MTU and discovers the location of Path MTU
|
|
|
|
bottlenecks. scamper performs a PMTUD search when an ICMP
|
|
|
|
fragmentation required message is not returned to establish the PMTU
|
|
|
|
to the next point in the network, followed by a TTL limited search to
|
|
|
|
infer where the failure appears to occur.
|
|
|
|
|
2023-03-07 09:48:03 +00:00
|
|
|
%package -n libscamperfile5
|
2016-08-19 21:59:42 +00:00
|
|
|
Summary: File access library for scamper's binary dump format
|
2023-02-24 08:19:52 +00:00
|
|
|
Group: System/Libraries
|
2022-02-25 20:31:15 +00:00
|
|
|
Obsoletes: libscamperfile1 < %{version}
|
2022-08-18 09:30:49 +00:00
|
|
|
Obsoletes: libscamperfile2 < %{version}
|
2023-02-24 08:19:52 +00:00
|
|
|
Obsoletes: libscamperfile3 < %{version}
|
2023-03-07 09:48:03 +00:00
|
|
|
Obsoletes: libscamperfile4 < %{version}
|
2016-08-19 21:59:42 +00:00
|
|
|
|
2023-03-07 09:48:03 +00:00
|
|
|
%description -n libscamperfile5
|
2016-08-19 21:59:42 +00:00
|
|
|
Scamper is a program that is able to conduct Internet measurement
|
|
|
|
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
|
|
|
|
fill a specified packets-per-second rate. Currently, it supports the
|
|
|
|
well-known ping and traceroute techniques, as well as MDA traceroute,
|
|
|
|
alias resolution, some parts of tbit, sting, and neighbour discovery.
|
|
|
|
|
|
|
|
This package contains the library that provides access to the binary output
|
|
|
|
files that scamper can produce in certain modes.
|
|
|
|
|
|
|
|
%package -n libscamperfile-devel
|
|
|
|
Summary: Development headers for scamper's binary dump file access library
|
|
|
|
Group: Development/Libraries/Other
|
2023-03-07 09:48:03 +00:00
|
|
|
Requires: libscamperfile5 = %{version}-%{release}
|
2016-08-19 21:59:42 +00:00
|
|
|
|
|
|
|
%description -n libscamperfile-devel
|
|
|
|
Scamper is a program that is able to conduct Internet measurement
|
|
|
|
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
|
|
|
|
fill a specified packets-per-second rate. Currently, it supports the
|
|
|
|
well-known ping and traceroute techniques, as well as MDA traceroute,
|
|
|
|
alias resolution, some parts of tbit, sting, and neighbour discovery.
|
|
|
|
|
|
|
|
This package contains development headers and other ancillary files for the
|
|
|
|
libscamperfile library.
|
|
|
|
|
2023-02-24 08:19:52 +00:00
|
|
|
%package -n libscamperctrl1
|
|
|
|
Summary: Control library for scamper
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libscamperctrl1
|
|
|
|
Scamper is a program that is able to conduct Internet measurement
|
|
|
|
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
|
|
|
|
fill a specified packets-per-second rate. Currently, it supports the
|
|
|
|
well-known ping and traceroute techniques, as well as MDA traceroute,
|
|
|
|
alias resolution, some parts of tbit, sting, and neighbour discovery.
|
|
|
|
|
|
|
|
This package contains thee library that provides functions to interact
|
|
|
|
with a collection of scamper instances.
|
|
|
|
|
|
|
|
%package -n libscamperctrl-devel
|
|
|
|
Summary: Development headers for scamper's control library
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Requires: libscamperctrl1 = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libscamperctrl-devel
|
|
|
|
Scamper is a program that is able to conduct Internet measurement
|
|
|
|
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
|
|
|
|
fill a specified packets-per-second rate. Currently, it supports the
|
|
|
|
well-known ping and traceroute techniques, as well as MDA traceroute,
|
|
|
|
alias resolution, some parts of tbit, sting, and neighbour discovery.
|
|
|
|
|
|
|
|
This package contains development headers and other ancillary files for the
|
|
|
|
libscamperctrl library.
|
|
|
|
|
2016-08-19 21:59:42 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-cvs-%{version}
|
|
|
|
|
|
|
|
%build
|
2023-02-24 08:19:52 +00:00
|
|
|
%configure --disable-static --without-debugfile
|
2016-08-19 21:59:42 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2017-08-24 07:06:46 +00:00
|
|
|
%make_install
|
2016-08-19 21:59:42 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
2023-03-07 09:48:03 +00:00
|
|
|
%post -n libscamperfile5 -p /sbin/ldconfig
|
2023-02-24 08:19:52 +00:00
|
|
|
%post -n libscamperctrl1 -p /sbin/ldconfig
|
2023-03-07 09:48:03 +00:00
|
|
|
%postun -n libscamperfile5 -p /sbin/ldconfig
|
2023-02-24 08:19:52 +00:00
|
|
|
%postun -n libscamperctrl1 -p /sbin/ldconfig
|
2016-08-19 21:59:42 +00:00
|
|
|
|
|
|
|
%files
|
2018-12-22 22:08:14 +00:00
|
|
|
%license COPYING
|
2016-08-19 21:59:42 +00:00
|
|
|
%{_bindir}/sc_*
|
|
|
|
%{_bindir}/scamper
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man5/*
|
|
|
|
|
2023-03-07 09:48:03 +00:00
|
|
|
%files -n libscamperfile5
|
2016-08-19 21:59:42 +00:00
|
|
|
%{_libdir}/libscamperfile.so.*
|
|
|
|
|
|
|
|
%files -n libscamperfile-devel
|
|
|
|
%{_includedir}/scamper_*
|
|
|
|
%{_libdir}/libscamperfile.so
|
2016-08-21 18:30:56 +00:00
|
|
|
%{_mandir}/man3/*
|
2016-08-19 21:59:42 +00:00
|
|
|
|
2023-02-24 08:19:52 +00:00
|
|
|
%files -n libscamperctrl1
|
|
|
|
%{_libdir}/libscamperctrl.so.*
|
|
|
|
|
|
|
|
%files -n libscamperctrl-devel
|
|
|
|
%{_includedir}/libscamperctrl.h
|
|
|
|
%{_libdir}/libscamperctrl.so
|
|
|
|
|
2016-08-19 21:59:42 +00:00
|
|
|
%changelog
|