diff options
author | sergei <sergei@FreeBSD.org> | 2004-11-10 00:43:18 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2004-11-10 00:43:18 +0800 |
commit | 40c54f48b017362d4f3c9b99af853fa91f678e2f (patch) | |
tree | f5b870ea56aab2f024970ef9578d023241171d7d /dns/dnshijacker | |
parent | 57ae3c74983907cfe4461810832923fc60edee78 (diff) | |
download | freebsd-ports-gnome-40c54f48b017362d4f3c9b99af853fa91f678e2f.tar.gz freebsd-ports-gnome-40c54f48b017362d4f3c9b99af853fa91f678e2f.tar.zst freebsd-ports-gnome-40c54f48b017362d4f3c9b99af853fa91f678e2f.zip |
Add dns/dnshijacker:
dnshijacker is a libnet/libpcap based packet sniffer & spoofer. a
versatile tool, dnshijacker supports tcpdump style filters that allow
you to specifically target victims. dns answers are forged based on
entries in a "fabrication table" or by simply forging one answer to all
requests. a print only mode is also supported, allowing one to simply
monitor dns traffic. dns hijacker is an excellent tool for network level
ad blocking / removal.
WWW: http://pedram.redhive.com/projects.php
PR: ports/72898
Submitted by: David Thiel <lx@redundancy.redundancy.org>
Diffstat (limited to 'dns/dnshijacker')
-rw-r--r-- | dns/dnshijacker/Makefile | 32 | ||||
-rw-r--r-- | dns/dnshijacker/distinfo | 2 | ||||
-rw-r--r-- | dns/dnshijacker/pkg-descr | 9 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dns/dnshijacker/Makefile b/dns/dnshijacker/Makefile new file mode 100644 index 000000000000..d77c6a8af574 --- /dev/null +++ b/dns/dnshijacker/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: dnshijacker +# Date created: 2004-10-19 +# Whom: lx@redundancy.redundancy.org +# +# $FreeBSD$ +# + +PORTNAME= dnshijacker +PORTVERSION= 1.3 +CATEGORIES= dns security +MASTER_SITES= http://pedram.redhive.com/downloads/ + +MAINTAINER= lx@redundancy.redundancy.org +COMMENT= A tool to hijack DNS requests + +BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet + +LDFLAGS+= -lpcap -lnet + +PLIST_FILES= bin/dnshijacker +PORTDOCS= README + +do-build: + cd ${WRKSRC} && \ + ${CC} ${PORTNAME}.c ${CFLAGS} -I${LOCALBASE}/include \ + -L${LOCALBASE}/lib ${LDFLAGS} `libnet-config --defines` \ + `libnet-config --cflags` -o ${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dnshijacker ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/dns/dnshijacker/distinfo b/dns/dnshijacker/distinfo new file mode 100644 index 000000000000..76d2cad5bae7 --- /dev/null +++ b/dns/dnshijacker/distinfo @@ -0,0 +1,2 @@ +MD5 (dnshijacker-1.3.tar.gz) = 6b99d105fc78d84e963661ae7bf4c06d +SIZE (dnshijacker-1.3.tar.gz) = 23561 diff --git a/dns/dnshijacker/pkg-descr b/dns/dnshijacker/pkg-descr new file mode 100644 index 000000000000..3527159ea98c --- /dev/null +++ b/dns/dnshijacker/pkg-descr @@ -0,0 +1,9 @@ +dnshijacker is a libnet/libpcap based packet sniffer & spoofer. a +versatile tool, dnshijacker supports tcpdump style filters that allow +you to specifically target victims. dns answers are forged based on +entries in a "fabrication table" or by simply forging one answer to all +requests. a print only mode is also supported, allowing one to simply +monitor dns traffic. dns hijacker is an excellent tool for network level +ad blocking / removal. + +WWW: http://pedram.redhive.com/projects.php |