/bind-9.11.3/lib/dns/rdata/generic/ |
H A D | nsec3_50.c | 246 dns_rdata_nsec3_t *nsec3 = source; local 251 REQUIRE(nsec3->common.rdtype == type); 252 REQUIRE(nsec3->common.rdclass == rdclass); 253 REQUIRE(nsec3->typebits != NULL || nsec3->len == 0); 254 REQUIRE(nsec3->hash == dns_hash_sha1); 259 RETERR(uint8_tobuffer(nsec3->hash, target)); 260 RETERR(uint8_tobuffer(nsec3->flags, target)); 261 RETERR(uint16_tobuffer(nsec3->iterations, target)); 262 RETERR(uint8_tobuffer(nsec3 276 dns_rdata_nsec3_t *nsec3 = target; local 321 dns_rdata_nsec3_t *nsec3 = source; local [all...] |
/bind-9.11.3/bin/tests/system/redirect/ |
H A D | clean.sh | 15 rm -f ns1/dsset-nsec3. 17 rm -f ns1/nsec3.db* 21 rm -f ns3/dsset-nsec3. 23 rm -f ns3/nsec3.db*
|
/bind-9.11.3/bin/tests/system/redirect/ns1/ |
H A D | sign.sh | 25 zone=nsec3 27 zonefile=nsec3.db
|
/bind-9.11.3/bin/tests/system/redirect/ns3/ |
H A D | sign.sh | 25 zone=nsec3 27 zonefile=nsec3.db
|
/bind-9.11.3/bin/tests/system/autosign/ |
H A D | clean.sh | 37 rm -f ns3/nsec3-to-nsec.example.db 38 rm -f ns3/nsec3.example.db 39 rm -f ns3/nsec3.nsec3.example.db 40 rm -f ns3/nsec3.optout.example.db 43 rm -f ns3/optout.nsec3.example.db 52 rm -f ns3/secure.nsec3.example.db
|
H A D | tests.sh | 157 $DIG $DIGOPTS +noall +answer nsec3.example. nsec3param @10.53.0.3 > dig.out.ns3.1.test$n || ret=1 167 $DIG $DIGOPTS +noall +answer nsec3-to-nsec.example. nsec3param @10.53.0.3 > dig.out.ns3.test$n || ret=1 173 echo "I:converting zones from nsec to nsec3" 176 zone nsec3.nsec3.example. 177 update add nsec3.nsec3.example. 3600 NSEC3PARAM 1 0 10 BEEF 179 zone optout.nsec3.example. 180 update add optout.nsec3.example. 3600 NSEC3PARAM 1 1 10 BEEF 182 zone nsec3 [all...] |
/bind-9.11.3/bin/tests/system/dnssec/ |
H A D | clean.sh | 40 rm -f ns2/single-nsec3.db 41 rm -f ns3/auto-nsec.example.db ns3/auto-nsec3.example.db 43 rm -f ns3/dnskey-nsec3-unknown.example.db 44 rm -f ns3/dnskey-nsec3-unknown.example.db.tmp 48 rm -f ns3/expired.example.db ns3/update-nsec3.example.db 54 rm -f ns3/multiple.example.db ns3/nsec3-unknown.example.db ns3/nsec3.example.db 55 rm -f ns3/nsec3.nsec3.example.db 56 rm -f ns3/nsec3 [all...] |
H A D | tests.sh | 143 $DIG $DIGOPTS +noauth a.nsec3.example. \ 145 $DIG $DIGOPTS +noauth a.nsec3.example. \ 156 $DELV $DELVOPTS @10.53.0.4 a a.nsec3.example > delv.out$n || ret=1 157 grep "a.nsec3.example..*10.0.0.1" delv.out$n > /dev/null || ret=1 158 grep "a.nsec3.example..*RRSIG.A 7 3 300.*" delv.out$n > /dev/null || ret=1 215 $DIG $DIGOPTS a.wild.nsec3.example. @10.53.0.3 a > dig.out.ns3.test$n || ret=1 224 $DIG $DIGOPTS a.wild.nsec3.example. @10.53.0.4 a > dig.out.ns4.test$n || ret=1 233 $DIG $DIGOPTS a.wild.nsec3.example. @10.53.0.3 a > dig.out.ns3.test$n || ret=1 234 $DIG $DIGOPTS a.wild.nsec3.example. @10.53.0.4 a > dig.out.ns4.test$n || ret=1 247 $DELV $DELVOPTS @10.53.0.4 a a.wild.nsec3 [all...] |
/bind-9.11.3/bin/tests/system/wildcard/ns1/ |
H A D | sign.sh | 67 zone=nsec3. 68 infile=nsec3.db.in 69 zonefile=nsec3.db 70 outfile=nsec3.db.signed 81 zone=private.nsec3. 82 infile=private.nsec3.db.in 83 zonefile=private.nsec3.db 84 outfile=private.nsec3.db.signed 102 ' > private.nsec3.conf
|
H A D | named.conf | 34 * The contents of nsec3 and private.nsec3 are specially choosen to 38 zone "nsec3" { type master; file "nsec3.db.signed"; }; 39 zone "private.nsec3" { type master; file "private.nsec3.db.signed"; };
|
/bind-9.11.3/bin/tests/system/wildcard/ |
H A D | clean.sh | 17 rm -f ns1/private.nsec3.conf
|
H A D | tests.sh | 86 $DIG $DIGOPTS a b.wild.nsec3 +norec @10.53.0.1 > dig.out.ns1.test$n || ret=1 87 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\..*V5DLFB6UJNHR94LQ61FO607KGK12H88A' dig.out.ns1.test$n > /dev/null || ret=1 94 $DIG $DIGOPTS a b.wild.nsec3 @10.53.0.2 > dig.out.ns2.test$n || ret=1 95 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\..*V5DLFB6UJNHR94LQ61FO607KGK12H88A' dig.out.ns2.test$n > /dev/null || ret=1 103 $DIG $DIGOPTS a b.wild.nsec3 @10.53.0.3 > dig.out.ns3.test$n || ret=1 104 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\..*V5DLFB6UJNHR94LQ61FO607KGK12H88A' dig.out.ns3.test$n > /dev/null || ret=1 112 $DIG $DIGOPTS +cd a b.wild.nsec3 @10.53.0.5 > dig.out.ns5.test$n || ret=1 113 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\..*V5DLFB6UJNHR94LQ61FO607KGK12H88A' dig.out.ns5.test$n > /dev/null || ret=1 121 $DIG $DIGOPTS a b.wild.nsec3 @10.53.0.4 > dig.out.ns4.test$n || ret=1 122 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\ [all...] |
/bind-9.11.3/bin/tests/system/inline/ns7/ |
H A D | sign.sh | 15 zone=nsec3-loop
|
/bind-9.11.3/lib/dns/ |
H A D | nsec3.c | 31 #include <dns/nsec3.h> 182 dns_rdata_nsec3_t nsec3; local 191 result = dns_rdata_tostruct(rdata, &nsec3, NULL); 195 for (i = 0; i < nsec3.len; i += len) { 196 INSIST(i + 2 <= nsec3.len); 197 window = nsec3.typebits[i]; 198 len = nsec3.typebits[i + 1]; 201 INSIST(i + len <= nsec3.len); 207 present = ISC_TF(dns_nsec_isset(&nsec3.typebits[i], 211 dns_rdata_freestruct(&nsec3); 362 match_nsec3param(const dns_rdata_nsec3_t *nsec3, const dns_rdata_nsec3param_t *nsec3param) argument 383 dns_rdata_nsec3_t nsec3; local 479 find_nsec3(dns_rdata_nsec3_t *nsec3, dns_rdataset_t *rdataset, const dns_rdata_nsec3param_t *nsec3param) argument 514 dns_rdata_nsec3_t nsec3; local 1325 dns_rdata_nsec3_t nsec3; local 1850 dns_rdata_nsec3_t nsec3; local [all...] |
/bind-9.11.3/bin/dnssec/ |
H A D | dnssectool.c | 45 #include <dns/nsec3.h> 754 record_nsec3(const unsigned char *rawhash, const dns_rdata_nsec3_t *nsec3, argument 762 len = sizeof(*element) + nsec3->next_length * 2 + nsec3->salt_length; 768 element->hash = nsec3->hash; 769 element->salt_length = nsec3->salt_length; 770 element->next_length = nsec3->next_length; 771 element->iterations = nsec3->iterations; 773 memmove(cp, nsec3->salt, nsec3 795 dns_rdata_nsec3_t nsec3; local 871 innsec3params(dns_rdata_nsec3_t *nsec3, dns_rdataset_t *nsec3paramset) argument 900 dns_rdata_nsec3_t nsec3; local 956 dns_rdata_nsec3_t nsec3; local [all...] |
/bind-9.11.3/bin/tests/system/autosign/ns2/ |
H A D | keygen.sh | 15 for subdomain in secure nsec3 autonsec3 optout rsasha256 rsasha512 nsec3-to-nsec oldsigs sync
|
/bind-9.11.3/bin/tests/system/dnssec/ns3/ |
H A D | sign.sh | 65 zone=secure.nsec3.example. 66 infile=secure.nsec3.example.db.in 67 zonefile=secure.nsec3.example.db 78 zone=nsec3.nsec3.example. 79 infile=nsec3.nsec3.example.db.in 80 zonefile=nsec3.nsec3.example.db 91 zone=optout.nsec3 [all...] |
H A D | named.conf | 80 zone "insecure.nsec3.example" { 82 file "insecure.nsec3.example.db"; 97 zone "nsec3.example" { 99 file "nsec3.example.db.signed"; 102 zone "optout.nsec3.example" { 104 file "optout.nsec3.example.db.signed"; 107 zone "nsec3.nsec3.example" { 109 file "nsec3.nsec3 [all...] |
/bind-9.11.3/bin/tests/system/inline/ |
H A D | clean.sh | 59 rm -f ns3/nsec3.db 60 rm -f ns3/nsec3.db.jnl 61 rm -f ns3/nsec3.db.signed 62 rm -f ns3/nsec3.db.signed.jnl 84 rm -f ns7/nsec3-loop.db 85 rm -f ns7/nsec3-loop.db.signed 86 rm -f ns7/nsec3-loop.db.signed.jnl
|
H A D | setup.sh | 29 cp ns3/master.db.in ns3/nsec3.db
|
/bind-9.11.3/bin/tests/system/dnssec/ns2/ |
H A D | sign.sh | 20 for subdomain in secure badds bogus dynamic keyless nsec3 optout \ 21 nsec3-unknown optout-unknown multiple rsasha256 rsasha512 \ 22 kskonly update-nsec3 auto-nsec auto-nsec3 secure.below-cname \ 24 dnskey-unknown dnskey-nsec3-unknown managed-future revkey 136 # Sign the single-nsec3 secure zone with optout 138 zone=single-nsec3. 139 infile=single-nsec3.db.in 140 zonefile=single-nsec3.db 169 # nsec3 chai [all...] |
/bind-9.11.3/bin/tests/system/verify/zones/ |
H A D | genzones.sh | 42 # A set of nsec3 zones. 43 setup zsk-only.nsec3 good 47 setup ksk-only.nsec3 good 51 setup ksk+zsk.nsec3 good 90 setup zsk-only.nsec3.expired bad 94 setup ksk-only.nsec3.expired bad 98 setup ksk+zsk.nsec3.expired bad 114 setup ksk+zsk.nsec3.ksk-expired bad 165 setup ksk+zsk.nsec3.missing-empty bad 179 setup ksk+zsk.nsec3 [all...] |
/bind-9.11.3/bin/tests/system/autosign/ns3/ |
H A D | keygen.sh | 37 setup secure.nsec3.example 46 setup nsec3.nsec3.example 55 setup optout.nsec3.example 62 # A nsec3 zone (non-optout). 64 setup nsec3.example 93 setup nsec3.optout.example 109 # A optout nsec3 zone. 157 setup nsec3-to-nsec.example
|
/bind-9.11.3/bin/tests/system/verify/ |
H A D | tests.sh | 75 *.extra-nsec3)
|
/bind-9.11.3/bin/tools/ |
H A D | nsec3hash.c | 27 #include <dns/nsec3.h>
|