diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2004-11-09 16:43:18 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2004-11-09 16:43:18 +0000 |
commit | 794f6a8b8fe3b1015e36eae17154690be4718b18 (patch) | |
tree | b10c241366744f17471e754171b2cd7b547e9fff /dns | |
parent | 7eb1d2d598cac4895882eaf9032370e5816f75b7 (diff) | |
download | ports-794f6a8b8fe3b1015e36eae17154690be4718b18.tar.gz ports-794f6a8b8fe3b1015e36eae17154690be4718b18.zip |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/Makefile | 1 | ||||
-rw-r--r-- | dns/dnshijacker/Makefile | 32 | ||||
-rw-r--r-- | dns/dnshijacker/distinfo | 2 | ||||
-rw-r--r-- | dns/dnshijacker/pkg-descr | 9 |
4 files changed, 44 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile index 2e9c0e21fa94..14ae543e0046 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -21,6 +21,7 @@ SUBDIR += dns_balance SUBDIR += dnsdoctor SUBDIR += dnsflood + SUBDIR += dnshijacker SUBDIR += dnsmasq SUBDIR += dnsproxy SUBDIR += dnssecwalker 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 |