Searched refs:nsec3 (Results 1 - 25 of 28) sorted by relevance

12

/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dnsec3_50.c330 dns_rdata_nsec3_t *nsec3 = source; local
336 REQUIRE(nsec3->common.rdtype == type);
337 REQUIRE(nsec3->common.rdclass == rdclass);
338 REQUIRE(nsec3->typebits != NULL || nsec3->len == 0);
339 REQUIRE(nsec3->hash == dns_hash_sha1);
344 RETERR(uint8_tobuffer(nsec3->hash, target));
345 RETERR(uint8_tobuffer(nsec3->flags, target));
346 RETERR(uint16_tobuffer(nsec3->iterations, target));
347 RETERR(uint8_tobuffer(nsec3
373 dns_rdata_nsec3_t *nsec3 = target; local
418 dns_rdata_nsec3_t *nsec3 = source; local
[all...]
/bind-9.6-ESV-R11/bin/tests/system/dnssec/
H A Dclean.sh27 rm -f ns2/single-nsec3.db
32 rm -f ns3/multiple.example.db ns3/nsec3-unknown.example.db ns3/nsec3.example.db
34 rm -f ns3/expired.example.db ns3/update-nsec3.example.db
35 rm -f ns7/multiple.example.bk ns7/nsec3.example.bk ns7/optout.example.bk
38 rm -f ns3/nsec3.nsec3.example.db
39 rm -f ns3/nsec3.optout.example.db
40 rm -f ns3/optout.nsec3.example.db
42 rm -f ns3/secure.nsec3
[all...]
H A Dtests.sh59 $DIG $DIGOPTS +noauth a.nsec3.example. \
61 $DIG $DIGOPTS +noauth a.nsec3.example. \
94 $DIG $DIGOPTS a.wild.nsec3.example. @10.53.0.3 a > dig.out.ns3.test$n || ret=1
103 $DIG $DIGOPTS a.wild.nsec3.example. @10.53.0.3 a > dig.out.ns3.test$n || ret=1
112 $DIG $DIGOPTS a.wild.nsec3.example. @10.53.0.3 a > dig.out.ns3.test$n || ret=1
113 $DIG $DIGOPTS a.wild.nsec3.example. @10.53.0.4 a > dig.out.ns4.test$n || ret=1
147 $DIG $DIGOPTS +noauth q.nsec3.example. \
149 $DIG $DIGOPTS +noauth q.nsec3.example. \
186 $DIG $DIGOPTS +noauth a.nsec3.example. \
188 $DIG $DIGOPTS +noauth a.nsec3
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Dnsec3.c35 #include <dns/nsec3.h>
225 dns_rdata_nsec3_t nsec3; local
234 result = dns_rdata_tostruct(rdata, &nsec3, NULL);
238 for (i = 0; i < nsec3.len; i += len) {
239 INSIST(i + 2 <= nsec3.len);
240 window = nsec3.typebits[i];
241 len = nsec3.typebits[i + 1];
244 INSIST(i + len <= nsec3.len);
250 present = ISC_TF(bit_isset(&nsec3.typebits[i],
254 dns_rdata_freestruct(&nsec3);
402 match_nsec3param(const dns_rdata_nsec3_t *nsec3, const dns_rdata_nsec3param_t *nsec3param) argument
423 dns_rdata_nsec3_t nsec3; local
511 find_nsec3(dns_rdata_nsec3_t *nsec3, dns_rdataset_t *rdataset, const dns_rdata_nsec3param_t *nsec3param) argument
546 dns_rdata_nsec3_t nsec3; local
1011 dns_rdata_nsec3_t nsec3; local
1445 dns_rdata_nsec3_t nsec3; local
[all...]
H A Drbtdb.c54 #include <dns/nsec3.h>
453 dns_rbt_t * nsec3; member in struct:dns_rbtdb
902 if (rbtdb->nsec3 != NULL) {
904 result = dns_rbt_destroy2(&rbtdb->nsec3, rbtdb->quantum);
922 INSIST(result == ISC_R_SUCCESS && rbtdb->nsec3 == NULL);
1528 if (node->nsec3)
1529 result = dns_rbt_deletenode(rbtdb->nsec3, node,
1795 if (node->nsec3)
1796 result = dns_rbt_deletenode(rbtdb->nsec3, node,
2012 * Cache the nsec3 parameter
3225 dns_rdata_nsec3_t nsec3; local
[all...]
H A Dvalidator.c39 #include <dns/nsec3.h>
279 dns_rdata_nsec3_t nsec3; local
349 (void)dns_rdata_tostruct(&rdata, &nsec3, NULL);
350 if (nsec3.hash != 1)
352 length = isc_iterated_hash(hash, nsec3.hash,
353 nsec3.iterations, nsec3.salt,
354 nsec3.salt_length,
365 if ((nsec3.flags & DNS_NSEC3FLAG_OPTOUT) == 0)
370 scope = memcmp(owner, nsec3
[all...]
H A Drdatalist.c29 #include <dns/nsec3.h>
H A Drbt.c540 new_current->nsec3 = current->nsec3;
1456 node->nsec3 = 0;
/bind-9.6-ESV-R11/bin/tests/system/wildcard/ns1/
H A Dsign.sh76 zone=nsec3.
77 infile=nsec3.db.in
78 zonefile=nsec3.db
79 outfile=nsec3.db.signed
90 zone=private.nsec3.
91 infile=private.nsec3.db.in
92 zonefile=private.nsec3.db
93 outfile=private.nsec3.db.signed
111 ' > private.nsec3.conf
H A Dnamed.conf42 * The contents of nsec3 and private.nsec3 are specially choosen to
46 zone "nsec3" { type master; file "nsec3.db.signed"; };
47 zone "private.nsec3" { type master; file "private.nsec3.db.signed"; };
/bind-9.6-ESV-R11/bin/tests/system/dnssec/ns3/
H A Dsign.sh78 zone=secure.nsec3.example.
79 infile=secure.nsec3.example.db.in
80 zonefile=secure.nsec3.example.db
91 zone=nsec3.nsec3.example.
92 infile=nsec3.nsec3.example.db.in
93 zonefile=nsec3.nsec3.example.db
104 zone=optout.nsec3
[all...]
H A Dnamed.conf82 zone "insecure.nsec3.example" {
84 file "insecure.nsec3.example.db";
99 zone "nsec3.example" {
101 file "nsec3.example.db.signed";
104 zone "optout.nsec3.example" {
106 file "optout.nsec3.example.db.signed";
109 zone "nsec3.nsec3.example" {
111 file "nsec3.nsec3
[all...]
/bind-9.6-ESV-R11/bin/tests/system/wildcard/
H A Dclean.sh28 rm -f ns1/private.nsec3.conf
H A Dtests.sh94 $DIG $DIGOPTS a b.wild.nsec3 +norec @10.53.0.1 > dig.out.ns1.test$n || ret=1
95 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\..*V5DLFB6UJNHR94LQ61FO607KGK12H88A' dig.out.ns1.test$n > /dev/null || ret=1
102 $DIG $DIGOPTS a b.wild.nsec3 @10.53.0.2 > dig.out.ns2.test$n || ret=1
103 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\..*V5DLFB6UJNHR94LQ61FO607KGK12H88A' dig.out.ns2.test$n > /dev/null || ret=1
111 $DIG $DIGOPTS a b.wild.nsec3 @10.53.0.3 > dig.out.ns3.test$n || ret=1
112 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\..*V5DLFB6UJNHR94LQ61FO607KGK12H88A' dig.out.ns3.test$n > /dev/null || ret=1
120 $DIG $DIGOPTS +cd a b.wild.nsec3 @10.53.0.5 > dig.out.ns5.test$n || ret=1
121 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\..*V5DLFB6UJNHR94LQ61FO607KGK12H88A' dig.out.ns5.test$n > /dev/null || ret=1
129 $DIG $DIGOPTS a b.wild.nsec3 @10.53.0.4 > dig.out.ns4.test$n || ret=1
130 grep -i 'O3TJ8D9AJ54CBTFCQCJ3QK49CH7SF6H9\.nsec3\
[all...]
/bind-9.6-ESV-R11/bin/tests/system/dnssec/ns2/
H A Dsign.sh33 for subdomain in secure bogus dynamic keyless nsec3 optout nsec3-unknown \
34 optout-unknown multiple rsasha256 rsasha512 update-nsec3 \
134 # Sign the single-nsec3 secure zone with optout
136 zone=single-nsec3.
137 infile=single-nsec3.db.in
138 zonefile=single-nsec3.db
/bind-9.6-ESV-R11/lib/dns/tests/
H A Dnsec3_test.c28 #include <dns/nsec3.h>
71 iteration_test("testdata/nsec3/1024.db", 150);
72 iteration_test("testdata/nsec3/2048.db", 500);
73 iteration_test("testdata/nsec3/4096.db", 2500);
74 iteration_test("testdata/nsec3/min-1024.db", 150);
75 iteration_test("testdata/nsec3/min-2048.db", 500);
H A Ddbversion_test.c37 #include <dns/nsec3.h>
/bind-9.6-ESV-R11/bin/tests/
H A Dnsec3hash.c35 #include <dns/nsec3.h>
/bind-9.6-ESV-R11/contrib/zkt/
H A Dzconf.h82 # define NSEC3 0 /* by default nsec3 is off */
166 nsec3_t nsec3; /* 0 == off; 1 == on; 2 == on with optout */ member in struct:zconf
H A Dzconf.c181 { "NSEC3", 100, last, CONF_NSEC3, &def.nsec3 },
271 set_varptr ("nsec3", &cp->nsec3, cp2 ? &cp2->nsec3: NULL);
H A Dzkt-signer.c886 conf->nsec3 != NSEC3_OFF )
898 if ( conf->nsec3 == NSEC3_OPTOUT )
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Drbt.h109 unsigned int nsec3 : 1; /*%< range is 0..1 */ member in struct:dns_rbtnode
/bind-9.6-ESV-R11/lib/dns/win32/
H A Dlibdns.mak161 -@erase "$(INTDIR)\nsec3.obj"
283 "$(INTDIR)\nsec3.obj" \
438 -@erase "$(INTDIR)\nsec3.obj"
439 -@erase "$(INTDIR)\nsec3.sbr"
598 "$(INTDIR)\nsec3.sbr" \
686 "$(INTDIR)\nsec3.obj" \
1279 SOURCE=..\nsec3.c
1284 "$(INTDIR)\nsec3.obj" : $(SOURCE) "$(INTDIR)"
1291 "$(INTDIR)\nsec3.obj" "$(INTDIR)\nsec3
[all...]
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssec-signzone.c74 #include <dns/nsec3.h>
2277 dns_rdata_nsec3_t nsec3; local
2330 result = dns_rdata_tostruct(&rdata, &nsec3, NULL);
2332 if (exists && nsec3.hash == hashalg &&
2333 nsec3.iterations == iterations &&
2334 nsec3.salt_length == salt_length &&
2335 !memcmp(nsec3.salt, salt, salt_length))
2507 * Generate the nsec3 records.
/bind-9.6-ESV-R11/bin/named/
H A Dquery.c41 #include <dns/nsec3.h>
3683 dns_rdata_nsec3_t nsec3; local
3723 dns_rdata_tostruct(&rdata, &nsec3, NULL);
3725 optout = ISC_TF((nsec3.flags & DNS_NSEC3FLAG_OPTOUT) != 0);

Completed in 5784 milliseconds

12