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>
This commit is contained in:
Sergei Kolobov 2004-11-09 16:43:18 +00:00
parent 7eb1d2d598
commit 794f6a8b8f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121201
4 changed files with 44 additions and 0 deletions

View file

@ -21,6 +21,7 @@
SUBDIR += dns_balance
SUBDIR += dnsdoctor
SUBDIR += dnsflood
SUBDIR += dnshijacker
SUBDIR += dnsmasq
SUBDIR += dnsproxy
SUBDIR += dnssecwalker

32
dns/dnshijacker/Makefile Normal file
View file

@ -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>

2
dns/dnshijacker/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (dnshijacker-1.3.tar.gz) = 6b99d105fc78d84e963661ae7bf4c06d
SIZE (dnshijacker-1.3.tar.gz) = 23561

View file

@ -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