mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
DNS Multiple Race Exploiter is a tool that exploits an inherent flaw in the
DNS Server Cache. By sending many queries to a DNS server along with fake replies, an attacker can successfuly writes a fake new entry in the DNS cache. WWW: http://www.securebits.org/dnsmre.html PR: ports/126189 Submitted by: Tomoyuki Sakurai <cherry at trombik.org>
This commit is contained in:
parent
a77a5fd167
commit
d3bddc5648
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218211
@ -22,6 +22,7 @@
|
||||
SUBDIR += dlint
|
||||
SUBDIR += dnrd
|
||||
SUBDIR += dns_balance
|
||||
SUBDIR += dns_mre
|
||||
SUBDIR += dnscheck
|
||||
SUBDIR += dnsdoctor
|
||||
SUBDIR += dnsflood
|
||||
|
27
dns/dns_mre/Makefile
Normal file
27
dns/dns_mre/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# New ports collection makefile for: dns_mre
|
||||
# Date created: 2008-08-02
|
||||
# Whom: Tomoyuki Sakurai <cherry@trombik.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dns_mre
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= dns security
|
||||
MASTER_SITES= http://www.securebits.org/tools/
|
||||
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
||||
|
||||
MAINTAINER= cherry@trombik.org
|
||||
COMMENT= DNS Cache Poisoner/Overwriter
|
||||
|
||||
NO_WRKSUBDIR= Yes
|
||||
|
||||
PLIST_FILES= bin/dns_mre
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${CC} ${CFLAGS} -Wall main.c dns_mre.c -o dns_mre
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dns_mre ${PREFIX}/bin/
|
||||
|
||||
.include <bsd.port.mk>
|
3
dns/dns_mre/distinfo
Normal file
3
dns/dns_mre/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (dns_mre-v1.0.tar.gz) = a080cf0d3d5faa5bc1351c55d9f43415
|
||||
SHA256 (dns_mre-v1.0.tar.gz) = 7a3c264805686bedf06f10fa7536403d679cf69f269b95cb8a11d4f3e1d026e6
|
||||
SIZE (dns_mre-v1.0.tar.gz) = 21958
|
27
dns/dns_mre/files/patch-dns_mre.c
Normal file
27
dns/dns_mre/files/patch-dns_mre.c
Normal file
@ -0,0 +1,27 @@
|
||||
--- dns_mre.c.orig 2008-08-02 01:23:19.000000000 +0900
|
||||
+++ dns_mre.c 2008-08-02 20:37:50.000000000 +0900
|
||||
@@ -160,7 +160,6 @@
|
||||
u_int8_t * udp_pointer = NULL;
|
||||
u_int8_t * dns_pointer = NULL;
|
||||
int dns_size;
|
||||
- int i;
|
||||
|
||||
if( !answer_flag )
|
||||
printf("# Preparing query raw packet...");
|
||||
@@ -195,7 +194,7 @@
|
||||
u_int8_t * ip4_pointer = NULL;
|
||||
u_int8_t * udp_pointer = NULL;
|
||||
u_int8_t * dns_pointer = NULL;
|
||||
- int dns_size;
|
||||
+ int dns_size = 0;
|
||||
int i;
|
||||
|
||||
if( !answer_flag )
|
||||
@@ -797,6 +796,7 @@
|
||||
" -x <no_txids> Number of static Transaction IDs to use (optional; default 15)\n"
|
||||
" -v Verbosity\n"
|
||||
, cmd);
|
||||
+ return 1;
|
||||
}
|
||||
|
||||
|
10
dns/dns_mre/files/patch-dns_mre.h
Normal file
10
dns/dns_mre/files/patch-dns_mre.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- dns_mre.h.orig 2008-08-02 04:02:47.000000000 +0900
|
||||
+++ dns_mre.h 2008-08-02 04:02:51.000000000 +0900
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <netdb.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <string.h>
|
||||
+#include <time.h>
|
||||
|
||||
/* Definitions */
|
||||
#define Q_S_PORT 2345 /* Query Source Port */
|
6
dns/dns_mre/pkg-descr
Normal file
6
dns/dns_mre/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
DNS Multiple Race Exploiter is a tool that exploits an inherent flaw in the
|
||||
DNS Server Cache. By sending many queries to a DNS server along with fake
|
||||
replies, an attacker can successfuly writes a fake new entry in the DNS
|
||||
cache.
|
||||
|
||||
WWW: http://www.securebits.org/dnsmre.html
|
Loading…
Reference in New Issue
Block a user