FreeBSD Bugzilla – Attachment 178790 Details for
Bug 215995
[NEW PORT] dns/nsec3walker: Walk NSEC3 secured DNSSEC zones
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar
nsec3walker.shar (text/plain), 3.91 KB, created by
Piotr Kubaj
on 2017-01-12 13:18:09 UTC
(
hide
)
Description:
shar
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2017-01-12 13:18:09 UTC
Size:
3.91 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># nsec3walker ># nsec3walker/Makefile ># nsec3walker/distinfo ># nsec3walker/pkg-descr ># nsec3walker/pkg-plist ># nsec3walker/files ># nsec3walker/files/patch-collect ># nsec3walker/files/patch-Makefile ># >echo c - nsec3walker >mkdir -p nsec3walker > /dev/null 2>&1 >echo x - nsec3walker/Makefile >sed 's/^X//' >nsec3walker/Makefile << '98e3c561569f7e45e006c471c58c2d7d' >X# Created by: Piotr Kubaj <pkubaj@anongoth.pl> >X# $FreeBSD$ >X >XPORTNAME= nsec3walker >XPORTVERSION= 20101223 >XCATEGORIES= dns >XMASTER_SITES= https://dnscurve.org/ >X >XMAINTAINER= pkubaj@anongoth.pl >XCOMMENT= Walk NSEC3 secured DNSSEC zones >X >XUSES= python >XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:databases/py-bsddb \ >X dig:dns/bind-tools >X >Xdo-install: >X ${INSTALL_SCRIPT} ${WRKSRC}/collect ${STAGEDIR}${PREFIX}/bin >X ${INSTALL_PROGRAM} ${WRKSRC}/dicthashes ${STAGEDIR}${PREFIX}/bin >X ${INSTALL_SCRIPT} ${WRKSRC}/query ${STAGEDIR}${PREFIX}/bin >X ${INSTALL_PROGRAM} ${WRKSRC}/randomhashes ${STAGEDIR}${PREFIX}/bin >X ${INSTALL_SCRIPT} ${WRKSRC}/unhash ${STAGEDIR}${PREFIX}/bin >X >X.include <bsd.port.mk> >98e3c561569f7e45e006c471c58c2d7d >echo x - nsec3walker/distinfo >sed 's/^X//' >nsec3walker/distinfo << '066ccb9bfc09342297be195a1e931780' >XTIMESTAMP = 1484146216 >XSHA256 (nsec3walker-20101223.tar.gz) = 74d873b93d67634d9c1c16c938818ecb90dc6ad391ca6dc57b421c627eeb2e30 >XSIZE (nsec3walker-20101223.tar.gz) = 3658 >066ccb9bfc09342297be195a1e931780 >echo x - nsec3walker/pkg-descr >sed 's/^X//' >nsec3walker/pkg-descr << '5e2a097b7211e397029bc87f4f06eaf0' >XInstalling current DNSSEC (NSEC3) exposes private DNS data to low-cost >XDNS database espionage. The nsec3walker tool allows administrators and users >Xto see how much private information is being given away by DNSSEC. >X >XWWW: https://dnscurve.org/nsec3walker.html >5e2a097b7211e397029bc87f4f06eaf0 >echo x - nsec3walker/pkg-plist >sed 's/^X//' >nsec3walker/pkg-plist << 'f0c93363186c1acd8635fae526ccbad7' >Xbin/collect >Xbin/dicthashes >Xbin/query >Xbin/randomhashes >Xbin/unhash >f0c93363186c1acd8635fae526ccbad7 >echo c - nsec3walker/files >mkdir -p nsec3walker/files > /dev/null 2>&1 >echo x - nsec3walker/files/patch-collect >sed 's/^X//' >nsec3walker/files/patch-collect << '266dd525a62246bd34373a3228c534e6' >X--- collect.orig 2017-01-12 14:14:12 UTC >X+++ collect >X@@ -71,7 +71,7 @@ while len(todo) > 0 or len(nexthash) == >X print "querying",guess,h >X numqueries += 1 >X server = servers[r.randrange(len(servers))] >X- query = subprocess.Popen(["./query",guess,server],stdout=subprocess.PIPE).stdout >X+ query = subprocess.Popen(["query",guess,server],stdout=subprocess.PIPE).stdout >X for x in query: >X y = x.strip().split(' ') >X if y[0] == "ns": >X@@ -84,7 +84,7 @@ while len(todo) > 0 or len(nexthash) == >X print "iterations",y[4] >X salt = binascii.a2b_hex(y[3]) >X iterations = int(y[4]) >X- hashprocess = subprocess.Popen(["./randomhashes",domain,y[4],y[3]],stdout=subprocess.PIPE) >X+ hashprocess = subprocess.Popen(["randomhashes",domain,y[4],y[3]],stdout=subprocess.PIPE) >X hashes = hashprocess.stdout >X if salt != binascii.a2b_hex(y[3]): >X print "newsalt",binascii.a2b_hex(y[3]) >266dd525a62246bd34373a3228c534e6 >echo x - nsec3walker/files/patch-Makefile >sed 's/^X//' >nsec3walker/files/patch-Makefile << '5105c8529874ced8f2b07e0a7b472194' >X--- Makefile.orig 2017-01-12 14:05:34 UTC >X+++ Makefile >X@@ -1,7 +1,7 @@ >X all: dicthashes randomhashes >X >X dicthashes: dicthashes.c >X- gcc -O3 -o dicthashes dicthashes.c -lcrypto -lm >X+ cc -O3 -o dicthashes dicthashes.c -lcrypto -lm >X >X randomhashes: randomhashes.c >X- gcc -O3 -o randomhashes randomhashes.c -lcrypto -lm >X+ cc -O3 -o randomhashes randomhashes.c -lcrypto -lm >5105c8529874ced8f2b07e0a7b472194 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 215995
:
178790
|
178848