SHA256
1
0
forked from pool/tcpreplay
tcpreplay/tcpreplay.spec
Michal Kubeček c6fdd2d1bf Accepting request 814683 from home:pluskalm:branches:network:utilities
- Update to version 4.3.3:
  * Increase cache buffers size to accomodate VLAN edits (#594)
  * Correct L2 header length to correct IP header offset (#583)
  * Fix warnings from gcc version 10 (#580)
  * Heap Buffer Overflow in randomize_iparp (#579)
  * Use after free in get_ipv6_next (#578)
  * Heap Buffer Overflow in git_ipv6_next (#576)
  * Call pcap_freecode() on pcap_compile() (#572)
  * Increase max snaplen to 262144 (#571)
  * Fix divide by zero in fuzzing (#570)
  * Unique IP repeats at very high iteration counts (#566)
  * Fails to compile on FreeBSD amd64 13.0 (#558)
  * Heap Buffer Overflow in do_checksum (#556) (#577)
  * Attempt to correct corrupt pcap files, if possible (#557)
  * Fix GCC v10 warnings (#555)
  * Remove some duplicated SOURCES entries (#551)
  * Expand /dev/bpfX hard limit to fix macOS Mojave (#550)
  * Implement –loopdelay-ms when using –loop=0 (#546)
  * Heap overflow packet2tree and get_l2len (#530)

OBS-URL: https://build.opensuse.org/request/show/814683
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=24
2020-06-16 17:24:35 +00:00

66 lines
2.0 KiB
RPMSpec

#
# spec file for package tcpreplay
#
# Copyright (c) 2020 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: tcpreplay
Version: 4.3.3
Release: 0
Summary: Network analysis and testing tools
License: GPL-3.0-only
Group: Productivity/Networking/Diagnostic
URL: http://tcpreplay.appneta.com/
Source0: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
BuildRequires: dbus-1-devel
BuildRequires: libdnet-devel
BuildRequires: libpcap-devel
BuildRequires: tcpdump
Requires: tcpdump
%if 0%{?suse_version} > 1110
BuildRequires: libnl3-devel
%endif
# only needed for suse_version < 1130 (i.e. SLE11)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Tcpreplay is a suite of utilities for editing and replaying
previously captured network traffic. It was originally designed to
replay malicious traffic patterns to Intrusion Detection/Prevention
Systems, and is meanwhile capable of replaying to web servers. It
supports switches, routers and IP Flow/NetFlow appliances.
%prep
%setup -q
%build
%configure \
--enable-dynamic-link
make %{?_smp_mflags} V=1
%install
%make_install
%files
%defattr(-,root,root)
%doc docs/LICENSE
%doc docs/CHANGELOG
%{_bindir}/*
%{_mandir}/man1/*
%changelog