Commit graph

26 commits

Author SHA1 Message Date
adam
f5e35d538b revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
adam
b6d9bd86bc revbump for icu and libffi 2021-12-08 16:01:42 +00:00
nia
0ca22fffb3 benchmarks: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:02:50 +00:00
nia
6d2646fa6c benchmarks: Remove SHA1 hashes for distfiles 2021-10-07 13:18:28 +00:00
adam
9d0e79c401 revbump for textproc/icu 2021-04-21 11:40:12 +00:00
tron
4f466d435a dnsperf: Update to version 2.5.1
This also fixes build problems with bind-9.16.13. Detailed changes:

- Release 2.5.1

  This release re-adds support for TYPEnnn and ANY in the datafile, this
  was missed during the removal of the dependency on BINDs development
  libraries in v2.4.0.

  Also note that with v2.5.0, this software now depends on Concurrency
  Kit (ck) for atomic operations.

- Release 2.5.0

  This release adds re-connection support for TCP and DoT protocol,
  new options to `resperf` and fixes a few bugs.

  `dnsperf` and `resperf` will now try to re-connect when they lose a TCP
  or DoT connection, and with that comes a few new statistics metrics.
  For `dnsperf`, if a connection oriented protocol is used, it will now
  show the total number of re-connections made and the connection latency.
  For `resperf` it also shows the total number of re-connections made and
  the gnuplot data now contains the total number of connections made and
  the connection latency for each interval.
  Beside re-connection support, improvements have been made when it comes
  to tracking socket readiness while connections are established which
  should generate less warnings about "socket not ready".

  New `resperf` options:
  - `-R`: Reopen the datafile if it runs out of data before the testing
    is completed. This allows for long running tests on very small and
    simple query datafile.
  - `-F <fall_behind>`: Sets the maximum number of queries that can fall
    behind being sent. `resperf` will stop when this many queries should
    have been sent and it can be relative easy to hit if `-m <max_qps>`
    is set too high.
    The default is 1000 and setting it to zero (0) disables the check.

  Bugfixes:
  - Fixed port handling for host/network format when setting client side
    port with `-x`
  - Fix support for quoted characters, `\000` and `\.`, in domain names,
    this was lost when removing BIND's internal development libraries
  - Fix issue in `dnsperf`, it would loop forever if no connection could
    be established
  - Fix potential buffer overrun in `resperf` when using response id
    for `queries[]`
  - DoT: Fix bug when sending from buffer

  Other changes:
  - Always use `IPV6_V6ONLY` socket option for IPv6
  - Add man-page on `-W` option added in v2.4.0
  - Reformat man-pages
  - `resperf`:
    - Try and process more request each run to hopefully not hit max
    outstanding so easy when high QPS
    - Add default value to `-C` so it shows in help

- Release 2.4.2

  This release fixes a few issues with reading of the datafile which
  could lead to "ran out of data" errors.

  The problem was that reading from the datafile was done before finding
  a socket to send it on, or socket readyness, and that lead to progressing
  the queries without really doing anything.
  Another issues that's been fixed was that if the read lines perfectly
  aligned with the buffer, it would be treated like EOF and caused an exit.

- Release 2.4.1

  This release fixes an issue with the socket readiness function that
  could cause a buffer overflow (`-T 10 -c 2000`) due to `select()` being
  limited to check 1023 sockets. `poll()` is now used which has no limit.

  There has also been a few fixes to the contrib script `queryparse` that
  has to do with python v2 and v3 compatibility and better exception
  handling.

- Release 2.4.0

  This release removes the dependency on BIND's internal development
  libraries! This make building and packaging a lot easier and less
  troublesome in the future.

  This software now depends only on OpenSSL (for TSIG feature) with an
  optional depend on LDNS (for dynamic updates feature).

  New option:
  - Transport mode option `-m`/`-M` now recognizes `dot` alongside `tls`
    for encrypted DNS
  - Added `-W` for outputting warnings and errors to stdout

  Other changes / bugfixes:
  - Fix potential memory leak of query descriptions when using verbose
  - Only use TLS v1.2 and above for DoT/TLS
  - Add a lot of tests
  - Add coverage testing
2021-03-23 18:17:26 +00:00
ryoon
2831546220 *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:07:25 +00:00
taca
8503100581 benchmarks/dnsperf: update to 2.3.4
Update dnsperf to 2.3.4.

pkgsrc change: switch dependency from net/bind914 to net/bind916


2020-05-15 Jerry Lundström

    Release 2.3.4

    This release adds a workaround, thanks to patch from Petr Menšík, for
    building on systems with BIND 9.16. Also improves error handling by
    using thread-safe `strerror_r()` instead of `strerror()`.

    88c3ef4 strerror
    1917f67 openSUSE Tumbleweed
    fd39641 AS_VAR_APPEND
    aeeef74 bind 9.16
    07732cd BIND, libcrypto, clang format
    08146e3 Add crypto library to checks
    e4307c2 Add checks to pass with BIND 9.16
    3f9aed3 Prepare check for bind 9.11/9.16 return types

2020-05-06 Jerry Lundström

    Release 2.3.3

    This release changes the behavior of `dnsperf` and `resperf` when it
    comes to TCP and TLS connections, and updates package building using
    COPR (thanks to patch from Petr Menšík (Red Hat)).

    Connection reset or close are now treated as "try again" so that the
    run is finished and not aborted. As SIGPIPE might be received on usage
    of closed connections it's now blocked in `dnsperf` and handled as
    a fatal action in `resperf`.

    62885ad SIGPIPE
    106c50e connection
    3ef0899 README
    61a3b1c COPR
    35efa27 COPR
    46b37a1 COPR
    5c126ae COPR
    1c51b76 Provide full URL in spec
    2a4dd0e Allow recreation of source archive
    931d6cc Do not require root for archive creation
2020-09-01 14:03:22 +00:00
adam
6bd0c30da6 Revbump for icu 2020-06-02 08:22:31 +00:00
rillig
90876b1327 benchmarks/dnsperf: re-add resperf-report to REPLACE_SH
It had been removed accidentally since it didn't appear to exist.  It
still exists, it just has been moved to src/.
2020-05-22 15:53:05 +00:00
rillig
2c25cc114e benchmarks/dnsperf: remove nonexistent file from REPLACE_SH 2020-05-22 05:49:18 +00:00
nia
4bb58570a7 Recursive revbump for json-c-0.14 2020-05-19 12:09:07 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
maya
1cb0630ab1 dnsperf: update to 2.3.2. Changed upstream to DNS-OARC.
2019-08-23 Jerry Lundström

    Release 2.3.2

    This release fixes a buffer overflow when using TSIG and algorithms
    with digests larger then SHA256, reported by Mukund Sivaraman. Also
    fix build dependencies for `sqrt()`.

    e54aa58 Digest
    bca5d8d sqrt
    d9eaa5b Package

2019-07-24 Jerry Lundström

    Release 2.3.1

    After a report and additional confirming results the use of `poll()` in
    the network receive code for TCP and TLS has been removed. This `poll()`
    initially gave better results while testing in a docker container on
    it's loopback interface but when on physical networks it reduced
    performance to 1/12th, so it had to go.

    Thanks to Brian Wellington (Akamai/Nominum) for the initial report and
    testing, and to Jan Hák (CZ.NIC) for testing and confirming the results.

    Bugfix:
    - Fix check for having more DNS messages in the receive buffer for TCP
      and TLS

    670db9c TCP/TLS receive
    b8925b2 recvbuf have more

2019-07-17 Jerry Lundström

    Release 2.3.0

    This release adds support for DNS over TCP and TLS which can be selected
    by using the mode option for `dnsperf` and `resperf`. The default server
    port used is now determined by the transport mode, udp/tcp port 53 and
    tls port 853.

    Note that the mode option is different between the program because it was
    already taken for `resperf`.

    `dnsperf` changes:
    - Add `-m` for setting transport mode, `udp` (default), `tcp` or `tls`
    - Add verbose messages about network readiness and congestion

    `resperf` changes:
    - Add `-M` for setting transport mode, `udp` (default), `tcp` or `tls`
    - Add `-v` for verbose mode to report about network readiness and
      congestion

    ffa49cf LGTM, SonarCloud
    4cd5441 TLS
    35624d1 TCP send, socket ready loop
    fbf76aa TCP support
    5988b06 Funding

2019-01-28 Jerry Lundström

    Release 2.2.1

    The commit pulled from a fork that used `inttypes.h`, instead of ISC
    internal types, missed to remove the old conversion specifier.
    This was reported and fixed by Vladimír Čunát.

    9534ce1 remove visible "u" characters after numbers

2019-01-25 Jerry Lundström

    Release 2.2.0

    First release by DNS-OARC with a rework of the code to use autotools,
    semantic versioning 2.0 and bugfixes pulled from other's forks.

    Bugfixes:
    - Fix infinite loop in argument parsing
    - Fix min/max latency summing for multithreaded runs
    - Fix calculation of per_thread socket counts
    - Fixes to queryparse
      - Mark correctly end of file
      - Support python3
      - Stop looping on end of file undefinitely
    - Fix compilation issues and work around missing `dns_fixedname_initname()`
    - Clang `scan-build` fixes

    Other changes:
    - add "configure --with-bind" option
    - Handle bind library changes to HMAC (see #22) and other differences
      between versions
    - Workaround issue on FreeBSD (see #23)
    - Use `snprintf()` and OpenBSD's `strlcat()`
    - Add/update build dependencies for Debia, Ubuntu, CentOS, FreeBSD
      and OpenBSD

    ae9bc91 Clang format
    b9bb085 CI, buildbot
    b84e41b Autotools, README, changelog
    a2e1732 License
    9dcb661 Remove $Id markers, Principal Author and Reviewed tags from the
            full source tree
    0677bf0 Use dns_fixedname_initname() where possible
    d8d4696 [master] add "configure --with-bind" option to dnsperf
    b71a280 Add deb based distros dependencies
    439c614 Replace custom isc_boolean_t with C standard bool type
    407ae7c Replace custom isc_u?intNN_t types with C99 u?intNN_t types
    c27afd4 Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants
    6fdb2f7 Fix queryparse
    4909b78 README
    2782d50 README.md: Rectify link to software
    e31ddf4 fix calculation of per_thread socket counts
    3bd7fb4 Fix min/max latency summing for multithreaded runs
    2207e27 Fix infinite loop in argument parsing.
    3bfe97a Include the github URL; remove the bug reports section.
    0cee04a Add note about bug reports.
    62c4b32 add .gitignore
    c45f0be Initial import.
    149172b Initial commit
2019-10-16 10:05:28 +00:00
maya
4c1e09bdb9 *: bind912 -> bind914
Thanks taca for the heads up.
2019-10-16 09:37:27 +00:00
tron
cbdfa34729 dnsperf: Fix build with BIND 9.12.3 and newer 2018-10-27 12:04:33 +00:00
tnn
bee35e6a1a dnsperf: bind99 is gone 2018-09-25 18:12:09 +00:00
jperkin
4ef2dcb1c0 dnsperf: Add a bunch of required includes. 2018-07-26 14:34:07 +00:00
mef
2a828c7ef2 Updated benchmarks/dnsperl to 2.1.0.0
-------------------------------------
dnsperf 2.1.0.0
Release Notes
************************
December 15, 2015

In addition to various bug fixes, the following new capabilities
were added in this release:

 - The -C option was added to resperf. This option enables the local
   server to act as multiple clients.  By default, the local server
   acts as a single client.

 - the -T option was added to dnsperf. This option separates the
   number of clients from the number of threads and allows more
   clients to be simulated effectively.  Note that using this option
   impacts CPU and memory, so we recommend limiting the number of
   threads.
2017-05-03 06:59:13 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
agc
7c48947773 Add SHA512 digests for distfiles for benchmarks category
Problems found with existing distfile for superpi:
	distfiles/super_pi-20030927/super_pi.tar.gz
No changes were made to the superpi/distinfo file.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
distfiles/eagle-lin32-7.4.0.run
2015-11-03 00:25:49 +00:00
tron
23b1190a88 Reset maintainer 2015-10-11 10:56:43 +00:00
mef
b45c64cc07 Correction on PKGVERSION{,-> _NOREV} on MASTER_SITES 2014-12-15 00:49:21 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
jperkin
110f0e433e Needs openssl. 2014-01-09 11:37:31 +00:00
tron
f0aa431611 Add new "dnsperf" package:
DNSPerf, ResPerf, and DHCPerf are free tools developed by Nominum that
make it simple to gather accurate latency and throughput metrics for
Domain Name Service (DNS) and Dynamic Host Configuration Protocol
(DHCP). These tools are easy-to-use and simulate typical Internet so
network operators can benchmark their naming and addressing
infrastructure and plan for upgrades. The latest version of the DNS
test tools (DNSPerf and ResPerf) can be used with new test files that
include IPv6 queries.

DNSPerf "self-paces" the DNS query load to simulate network
conditions. New features in DNSPerf improve the precision of latency
measurements and allow for per packet per-query latency reporting is
possible. DNSPerf is now multithreaded, multiple DNSPerf clients can
be supported in multicore systems (each client requires two
cores). The output of DNSPerf has also been improved so it is more
concise and useful. Latency data can be used to make detailed graphs
so it is simple for network operators to take advantage of the data.
2013-11-30 20:31:18 +00:00