BSD Ports

net/dnscap 141 NetBSD

Network capture utility designed specifically for DNS traffic

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
77e1b70d49
License
isc
Categories
net
Package size
28.2 KiB, 75.2 KiB installed

Description

dnscap is a network capture utility designed specifically for DNS traffic. It produces binary data in pcap(3) format. This utility is similar to tcpdump(1), but has a number of features tailored to DNS transactions and protocol options.

OARC likes to use dnscap for DITL data collections. Some of its features include:

  • Understands both IPv4 and IPv6
  • Captures UDP, TCP, and IP fragments.
  • Collect only queries, responses, or both (-s option)
  • Collect for only certain source/destination addresses (-a -z -A -Z options)
  • Periodically creates new pcap files (-t option)
  • Spawns an upload script after closing a pcap file (-k option)
  • Will start and stop collecting at specific times (-B -E options)

In the other systems

SystemPortVersion
NetBSDnet/dnscap141
FreeBSDdns/dnscap2.5.2,1
DragonFlydns/dnscap2.2.1,1

Install

Binary package:

pkgin install dnscap

From pkgsrc:

cd /usr/pkgsrc/net/dnscap && make install clean

Dependencies

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
77e1b70d49 agc net/dnscap: Update dnscap from version 1.4.1 (from 2015) to 2.5.1
Prompted by jperkin's MacOS 27 bulk build results 10+ years of changes are too many to summarise here, but TL;DR is that + there are a lot more dependencies (on a lot of archivers/compression libraries), openssl, and ldns, + the package name in pkgsrc is now dnscap2, + and dnscap now supports plugins (${PREFIX}/bin/dnscap-rssm-rssac002 is one such).