network/dnstop: Updated for version 20080502

This commit is contained in:
Menno Duursma 2010-05-13 00:36:13 +02:00 committed by David Somero
parent 99d411267f
commit ee4727e4f6
3 changed files with 13 additions and 5 deletions

View File

@ -1,4 +1,5 @@
dnstop is a libpcap application (ala tcpdump) that displays various tables of DNS traffic on your network. Currently dnstop displays tables of:
dnstop is a libpcap application (ala tcpdump) that displays various tables
of DNS traffic on your network. Currently dnstop displays tables of:
* Source IP addresses
* Destination IP addresses
@ -12,15 +13,16 @@ dnstop is a libpcap application (ala tcpdump) that displays various tables of D
dnstop supports both IPv4 and IPv6 addresses.
To help find especially undesirable DNS queries, dnstop provides a number of filters. The filters tell dnstop to display only the following types of queries:
To help find especially undesirable DNS queries, dnstop provides a number of
filters. The filters tell dnstop to display only the following types of queries:
* For unknown/invalid TLDs
* A queries where the query name is already an IP address
* PTR queries for RFC1918 address space
dnstop can either read packets from the live capture device, or from a tcpdump savefile.
dnstop can either read packets from the live capture device, or from a tcpdump
savefile.
--
Unless modified, this script compiles with PPP frame support.
Homepage: http://dns.measurement-factory.com/tools/dnstop/

View File

@ -13,6 +13,7 @@ VERSION=20090128
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -20,10 +21,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e # Exit on most errors
@ -67,4 +71,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -2,7 +2,9 @@ PRGNAM="dnstop"
VERSION="20080502"
HOMEPAGE="http://dns.measurement-factory.com/tools/dnstop/"
DOWNLOAD="http://dns.measurement-factory.com/tools/dnstop/src/dnstop-20090128.tar.gz"
DOWNLOAD_x86_64=""
MD5SUM="827a0d2020b157b925411dd30b6feff3"
MD5SUM_x86_64=""
MAINTAINER="Menno Duursma"
EMAIL="druiloor@zonnet.nl"
APPROVED="dsomero"