diff options
Diffstat (limited to 'contrib/unbound/testdata/ede.tdir/bogus')
6 files changed, 0 insertions, 113 deletions
diff --git a/contrib/unbound/testdata/ede.tdir/bogus/clean.sh b/contrib/unbound/testdata/ede.tdir/bogus/clean.sh deleted file mode 100755 index 54128f807217..000000000000 --- a/contrib/unbound/testdata/ede.tdir/bogus/clean.sh +++ /dev/null @@ -1 +0,0 @@ -rm -f K* piece1 base expired notyetincepted trust-anchors dnssec-failures.test.signed dnskey-failures.test.signed nsec-failures.test.signed rrsig-failures.test.signed diff --git a/contrib/unbound/testdata/ede.tdir/bogus/dnskey-failures.test b/contrib/unbound/testdata/ede.tdir/bogus/dnskey-failures.test deleted file mode 100644 index 49d6ad5a384d..000000000000 --- a/contrib/unbound/testdata/ede.tdir/bogus/dnskey-failures.test +++ /dev/null @@ -1,10 +0,0 @@ -$ORIGIN dnskey-failures.test. - -@ SOA ns hostmaster ( - 1 ; serial - 14400 ; refresh (4 hours) - 1800 ; retry (30 minutes) - 2419200 ; expire (4 weeks) - 300 ; minimum (5 minutes) -) - A 192.0.2.1 diff --git a/contrib/unbound/testdata/ede.tdir/bogus/dnssec-failures.test b/contrib/unbound/testdata/ede.tdir/bogus/dnssec-failures.test deleted file mode 100644 index 5af5941c0959..000000000000 --- a/contrib/unbound/testdata/ede.tdir/bogus/dnssec-failures.test +++ /dev/null @@ -1,15 +0,0 @@ -$ORIGIN dnssec-failures.test. - -@ SOA ns hostmaster ( - 1 ; serial - 14400 ; refresh (4 hours) - 1800 ; retry (30 minutes) - 2419200 ; expire (4 weeks) - 300 ; minimum (5 minutes) -) - NS ns -ns A 192.0.2.1 -notyetincepted TXT "Not yet incepted" -expired TXT "Expired" -sigsinvalid TXT "Signatures invalid" -missingrrsigs TXT "Signatures missing"
\ No newline at end of file diff --git a/contrib/unbound/testdata/ede.tdir/bogus/make-broken-zone.sh b/contrib/unbound/testdata/ede.tdir/bogus/make-broken-zone.sh deleted file mode 100755 index 67b4fcfb2d84..000000000000 --- a/contrib/unbound/testdata/ede.tdir/bogus/make-broken-zone.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/usr/bin/env bash - -# create oudated zones -CSK=`ldns-keygen -a ECDSAP256SHA256 -k -r /dev/urandom dnssec-failures.test` -echo $CSK - -echo ". IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d" | \ - cat $CSK.ds - > bogus/trust-anchors - -# differentiate for MacOS with "gdate" -DATE=date -which gdate > /dev/null 2>&1 && DATE=gdate - -ONEMONTHAGO=`$DATE -d 'now - 1 month' +%Y%m%d` -YESTERDAY=`$DATE -d 'now - 2 days' +%Y%m%d` -TOMORROW=`$DATE -d 'now + 2 days' +%Y%m%d` - -ldns-signzone -i $YESTERDAY -f - bogus/dnssec-failures.test $CSK | \ - grep -v '^missingrrsigs\.dnssec-failures\.test\..*IN.*RRSIG.*TXT' | \ - sed 's/Signatures invalid/Signatures INVALID/g' | \ - grep -v '^notyetincepted\.dnssec-failures\.test\..*IN.*TXT' | \ - grep -v '^notyetincepted\.dnssec-failures\.test\..*IN.*RRSIG.*TXT' | \ - grep -v '^expired\.dnssec-failures\.test\..*IN.*TXT' | \ - grep -v '^expired\.dnssec-failures\.test\..*IN.*RRSIG.*TXT' > base -ldns-signzone -i $ONEMONTHAGO -e $YESTERDAY -f - bogus/dnssec-failures.test $CSK | \ - grep -v '[ ]NSEC[ ]' | \ - grep '^expired\.dnssec-failures\.test\..*IN.*TXT' > expired -ldns-signzone -i $TOMORROW -f - bogus/dnssec-failures.test $CSK | \ - grep -v '[ ]NSEC[ ]' | \ - grep '^notyetincepted\.dnssec-failures\.test\..*IN.*TXT' > notyetincepted - -cat base expired notyetincepted > bogus/dnssec-failures.test.signed - -# cleanup old zone keys -rm -f $CSK.* -# create zone with DNSKEY missing -CSK=`ldns-keygen -a ECDSAP256SHA256 -k -r /dev/urandom dnskey-failures.test` -echo $CSK -cat $CSK.ds >> bogus/trust-anchors - -ldns-signzone -f tmp.signed bogus/dnskey-failures.test $CSK -grep -v ' DNSKEY ' tmp.signed > bogus/dnskey-failures.test.signed - - -# cleanup old zone keys -rm -f $CSK.* -# create zone with NSEC missing -CSK=`ldns-keygen -a ECDSAP256SHA256 -k -r /dev/urandom nsec-failures.test` -echo $CSK -cat $CSK.ds >> bogus/trust-anchors - -ldns-signzone -f tmp.signed bogus/nsec-failures.test $CSK -grep -v ' NSEC ' tmp.signed > bogus/nsec-failures.test.signed - - -# cleanup old zone keys -rm -f $CSK.* -# create zone with RRSIGs missing -CSK=`ldns-keygen -a ECDSAP256SHA256 -k -r /dev/urandom rrsig-failures.test` -echo $CSK -cat $CSK.ds >> bogus/trust-anchors - -ldns-signzone -f tmp.signed bogus/rrsig-failures.test $CSK -grep -v ' RRSIG ' tmp.signed > bogus/rrsig-failures.test.signed - -# cleanup -rm -f base expired notyetincepted tmp.signed $CSK.* diff --git a/contrib/unbound/testdata/ede.tdir/bogus/nsec-failures.test b/contrib/unbound/testdata/ede.tdir/bogus/nsec-failures.test deleted file mode 100644 index 529298df686b..000000000000 --- a/contrib/unbound/testdata/ede.tdir/bogus/nsec-failures.test +++ /dev/null @@ -1,10 +0,0 @@ -$ORIGIN nsec-failures.test. - -@ SOA ns hostmaster ( - 1 ; serial - 14400 ; refresh (4 hours) - 1800 ; retry (30 minutes) - 2419200 ; expire (4 weeks) - 300 ; minimum (5 minutes) -) - A 192.0.2.1 diff --git a/contrib/unbound/testdata/ede.tdir/bogus/rrsig-failures.test b/contrib/unbound/testdata/ede.tdir/bogus/rrsig-failures.test deleted file mode 100644 index cab0b7f48d04..000000000000 --- a/contrib/unbound/testdata/ede.tdir/bogus/rrsig-failures.test +++ /dev/null @@ -1,10 +0,0 @@ -$ORIGIN rrsig-failures.test. - -@ SOA ns hostmaster ( - 1 ; serial - 14400 ; refresh (4 hours) - 1800 ; retry (30 minutes) - 2419200 ; expire (4 weeks) - 300 ; minimum (5 minutes) -) - A 192.0.2.1 |