Name: drool Version: 2.0.0.1689081249 Release: 1%{?dist} Summary: DNS Replay Tool Group: Productivity/Networking/DNS/Utilities License: BSD-3-Clause URL: https://github.com/DNS-OARC/drool # Source needs to be generated by dist-tools/create-source-packages, see # https://github.com/jelu/dist-tools Source0: https://www.dns-oarc.net/files/drool/%{name}-%{version}.tar.gz?/%{name}_%{version}.orig.tar.gz BuildArch: noarch BuildRequires: dnsjit >= 1.0.0 BuildRequires: autoconf BuildRequires: automake BuildRequires: make Requires: dnsjit >= 1.0.0 %description drool can replay DNS traffic from packet capture (PCAP) files and send it to a specified server, with options such as to manipulate the timing between packets, as well as loop packets infinitely or for a set number of iterations. This tool's goal is to be able to produce a high amount of UDP packets per second and TCP sessions per second on common hardware. %define debug_package %{nil} %prep %setup -q -n %{name}_%{version} %build sh autogen.sh %configure --with-shebang=/usr/bin/dnsjit make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* %{_datadir}/doc/* %{_datadir}/drool %{_mandir}/man1/* %changelog * Tue Jul 11 2023 Jerry Lundström 2.0.0.1689081249-1 - Auto build 2023-07-11T13:14:09+00:00 * Fri Jul 16 2021 Jerry Lundström 2.0.0-1 - Release 2.0.0 * This major release is a complete rewrite of drool to Lua using dnsjit! * This includes two commands: - `drool replay`: replay DNS traffic from packet capture (PCAP) files and send it to a specified server, with options such as to manipulate the timing between packets, as well as loop packets infinitely or for a set number of iterations. - `drool respdiff`: replay DNS queries found in the PCAP, but only if a correlating response is also found. The query, original response and the received response is then stored into a LMDB database which can then be used by respdiff by CZ.NIC (see https://gitlab.labs.nic.cz/knot/respdiff) for analysis. * See `man drool`, `man drool reply` and `man drool respdiff` for more information. * Commits: 9357c54 RPM dc27432 configure 5a60fd3 Bye Travis 21d950c Info, Travis eb44217 Badges 5623d60 COPR 1b5bd66 COPR, spec 2033d26 Package 61264d2 Funding c3eb323 (tag: v1.99.4) Copyright, v1.99.4 ff9dfd5 Timing Mode fc55d2d (tag: v1.99.3) Respdiff fix e432c91 (tag: v1.99.2) Respdiff, v1.99.2 8e99d0e Dependencies 46712c0 Packaging dcc5450 Configure options de63694 (tag: v1.99.1) Rewrite, v1.99.1 e96a9f9 (tag: v1.99.0) Backends 8c99925 pcapthread cf3f65a Split 99542e5 Rewrite into Lua using `dnsjit` * Fri Jan 25 2019 Jerry Lundström 1.99.4-1 - Alpha release 1.99.4 * Wed Aug 01 2018 Jerry Lundström 1.99.3-1 - Alpha release 1.99.3 * Thu Jul 19 2018 Jerry Lundström 1.99.2-1 - Alpha release 1.99.2 * Fri Jul 06 2018 Jerry Lundström 1.99.1-7 - Release 1.99.1 * Alpha version using dnsjit * Fri Feb 16 2018 Jerry Lundström 1.1.0-1 - Release 1.1.0 * Rework of the timing code to make it more effective, based on proof-of-concept from Petr Špaček @pspacek (CZ.NIC). * The `best_effort` timing mode is now deprecated, this is now the same mode as `keep` and the warnings `keep` made when unable to follow timings have been removed. * Commits: 6e81a31 Timing d30918c WIP: timing rework * Tue Jan 16 2018 Jerry Lundström 1.0.2-1 - Release 1.0.2 * Bugfixes: - TCP option parsing was fixed in pcap-thread 3.0.0 but the work-around code was still in drool - The month in the console output was incorrect * Commits: a47ed95 Update copyright year 4d44801 TCP options was fixed in pcap-thread 3.0.0 cb5cebf Fix #93: `tm_mon` is 0-11 * Tue Dec 19 2017 Jerry Lundström 1.0.1-1 - Release 1.0.1 (v1.0) * Thanks to a few people, especially Petr Špaček @pspacek (CZ.NIC), for testing and reporting issues and other oddities (documentation is hard), release v1.0 is now ready! 9c26a5a pcap-thread and tests * Increase of version because of how distributions compare package versions. * Commits: f9a55bc Update pcap-thread to v3.1.0 a069d84 Fix #87: Use `sockaddr_storage`, add more debug and error messages 047abe6 Fix #84: don't loop client list on timeout handling 5377698 Fix #82: Parse TCP payload, add Known Issues 05013f0 Fix #82: Send query length aea71ad Correct `timing multiply` in README also 6437fe7 Fix man page example for timing multiply * Mon Sep 18 2017 Jerry Lundström 1.0.0.rc.1-1 - Release 1.0.0-rc.1 * Mostly documentation updates and clarifications but also a new timing mode `best_effort` to send packets as fast as possible without warnings and a correct usage of `nanosleep()` on systems that does not support `clock_nanosleep()`. * Commits: 114f984 Fix #74: Best effort timing mode, fix usage of `nanosleep()` a32201c Rework development notes 3999214 Add examples and default values 1e70ab9 Design documentation 6e530ee Fix #64: More documentation around context and client_pool, and how configuration relates to each other. * Tue Aug 22 2017 Jerry Lundström 1.0.0.beta.4-1 - Release 1.0.0-beta.4 * Compatibility fixes and packaging. * Commits: f6b6251 Fix #66: Check for libev/ev.h also 8dff723 Code formatting a5af21d Update pcap-thread to v2.1.3 e622612 Prepare SPEC for OSB/COPR 3c8fbb0 Fix #57: Update README with build tools and environment setup 456d586 Add debian packaging files a0a74cb Add dependencies * Wed Mar 29 2017 Jerry Lundström 1.0.0.beta.3-1 - Release 1.0.0-beta.3 * Various compatibility fixes across GNU/Linux, FreeBSD, OpenBSD and OS X, along with a bugfix in pcap-thread. * Special thanks to Brian Carpenter (@geeknik) for fuzzing drool. * Commits: 82273cc Fix #50: Compat for OS X fc9d87c Issue #50: Update pcap-thread to v2.1.2 04817f0 const not needed on size_t 7ab1811 Update submodules: sllq v1.0.0, parseconf v1.0.0 and omg-dns v1.0.0 242c67a Fix CID 1421861 9f3914f Add Travis and Coverity badges ae33c90 Check for `clock_gettime()` in librt, needed for older glibc 594c877 Add Travis-CI b7e19a2 Fix compiler warnings and check errors from `sigwait()` 3b9f2dc Fix #43, fix #44, fix #45: Update pcap-thread to fix one off in IP layer * Sat Mar 25 2017 Jerry Lundström 1.0.0.beta.2-1 - Release 1.0.0-beta.2 * Some minor changes and documentation updates prior to making the repository public. * Commits: 79ce5cc Add description 3f63cff Update all submodules to latest develop 0bbe9dc Log format * Mon Mar 06 2017 Jerry Lundström 1.0.0.beta.1-1 - Initial package