Searched refs:nsec3param (Results 1 - 19 of 19) sorted by relevance

/bind-9.11.3/lib/dns/rdata/generic/
H A Dnsec3param_51.c196 dns_rdata_nsec3param_t *nsec3param = source; local
200 REQUIRE(nsec3param->common.rdtype == type);
201 REQUIRE(nsec3param->common.rdclass == rdclass);
206 RETERR(uint8_tobuffer(nsec3param->hash, target));
207 RETERR(uint8_tobuffer(nsec3param->flags, target));
208 RETERR(uint16_tobuffer(nsec3param->iterations, target));
209 RETERR(uint8_tobuffer(nsec3param->salt_length, target));
210 RETERR(mem_tobuffer(target, nsec3param->salt,
211 nsec3param->salt_length));
218 dns_rdata_nsec3param_t *nsec3param local
247 dns_rdata_nsec3param_t *nsec3param = source; local
[all...]
/bind-9.11.3/lib/dns/tests/
H A Dnsec3_test.c65 dns_rdata_nsec3param_t nsec3param; local
79 result = dns_rdata_tostruct(&rdata, &nsec3param, NULL);
85 result = dns_nsec3param_salttotext(&nsec3param, salt, sizeof(salt));
102 result = dns_nsec3param_salttotext(&nsec3param, salt, length - 1);
108 result = dns_nsec3param_salttotext(&nsec3param, salt, length);
114 result = dns_nsec3param_salttotext(&nsec3param, salt, length + 1);
H A Dprivate_test.c74 dns_rdata_t nsec3param = DNS_RDATA_INIT; local
108 dns_rdata_fromstruct(&nsec3param, dns_rdataclass_in,
113 dns_nsec3param_toprivate(&nsec3param, private, privatetype,
/bind-9.11.3/bin/tests/system/nsupdate/ns3/
H A Dsign.sh12 zone=nsec3param.test.
13 infile=nsec3param.test.db.in
14 zonefile=nsec3param.test.db
/bind-9.11.3/lib/dns/
H A Dnsec3.c363 const dns_rdata_nsec3param_t *nsec3param)
365 if (nsec3->hash == nsec3param->hash &&
366 nsec3->iterations == nsec3param->iterations &&
367 nsec3->salt_length == nsec3param->salt_length &&
368 !memcmp(nsec3->salt, nsec3param->salt, nsec3->salt_length))
379 const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff)
412 if (!match_nsec3param(&nsec3, nsec3param))
480 const dns_rdata_nsec3param_t *nsec3param)
491 if (match_nsec3param(nsec3, nsec3param))
500 dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param,
362 match_nsec3param(const dns_rdata_nsec3_t *nsec3, const dns_rdata_nsec3param_t *nsec3param) argument
378 delnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) argument
479 find_nsec3(dns_rdata_nsec3_t *nsec3, dns_rdataset_t *rdataset, const dns_rdata_nsec3param_t *nsec3param) argument
499 dns_nsec3_addnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param, dns_ttl_t nsecttl, isc_boolean_t unsecure, dns_diff_t *diff) argument
866 dns_rdata_nsec3param_t nsec3param; local
1011 dns_nsec3param_salttotext(dns_rdata_nsec3param_t *nsec3param, char *dst, size_t dstlen) argument
1178 dns_rdata_nsec3param_t nsec3param; local
1312 dns_nsec3_delnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) argument
1584 dns_rdata_nsec3param_t nsec3param; local
1688 dns_rdata_nsec3param_t nsec3param; local
[all...]
H A Dprivate.c300 dns_rdata_nsec3param_t nsec3param; local
308 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
310 del = ISC_TF((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0);
311 init = ISC_TF((nsec3param.flags & DNS_NSEC3FLAG_INITIAL) != 0);
312 nonsec = ISC_TF((nsec3param.flags & DNS_NSEC3FLAG_NONSEC) != 0);
314 nsec3param.flags &= ~(DNS_NSEC3FLAG_CREATE|
330 &nsec3param, &b));
H A Dzone.c660 dns_rdata_nsec3param_t nsec3param; member in struct:dns_nsec3chain
674 * 'nsec3param' contains the parameters of the NSEC3 chain being created
677 * 'salt' is buffer space and is referenced via 'nsec3param.salt'.
857 typedef struct nsec3param nsec3param_t;
858 struct nsec3param { struct
3319 zone_addnsec3chain(dns_zone_t *zone, dns_rdata_nsec3param_t *nsec3param) { argument
3349 if (!nsec3ok && (nsec3param->flags & DNS_NSEC3FLAG_REMOVE) == 0) {
3369 nsec3chain->nsec3param.common.rdclass = nsec3param->common.rdclass;
3370 nsec3chain->nsec3param
3500 dns_rdata_nsec3param_t nsec3param; local
3639 dns_rdata_nsec3param_t nsec3param; local
7042 dns_rdata_nsec3param_t nsec3param; local
14393 nsec3param_t *nsec3param = NULL; local
17249 dns_zone_addnsec3chain(dns_zone_t *zone, dns_rdata_nsec3param_t *nsec3param) argument
18017 dns_rdata_nsec3param_t nsec3param; local
[all...]
H A Drbtdb.c2558 dns_rdata_nsec3param_t nsec3param; local
2613 &nsec3param,
2618 if (nsec3param.hash != DNS_NSEC3_UNKNOWNALG &&
2619 !dns_nsec3_supportedhash(nsec3param.hash))
2622 if (nsec3param.flags != 0)
2625 memmove(version->salt, nsec3param.salt,
2626 nsec3param.salt_length);
2627 version->hash = nsec3param.hash;
2628 version->salt_length = nsec3param.salt_length;
2629 version->iterations = nsec3param
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dnsec3.h98 dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param,
117 * 'nsec3param'.
133 * the nsec3param rdataset at the zone apex.
139 * 'nsec3param' to be valid.
145 const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff);
159 * 'nsec3param'.
167 * the nsec3param rdataset at the zone apex.
173 * 'nsec3param' to be valid.
191 * the nsec3param rdataset at the zone apex.
217 * Convert a private rdata to a nsec3param rdat
[all...]
H A Dzone.h2152 dns_zone_addnsec3chain(dns_zone_t *zone, dns_rdata_nsec3param_t *nsec3param);
2154 * Incrementally add a NSEC3 chain that corresponds to 'nsec3param'.
/bind-9.11.3/bin/dnssec/
H A Ddnssectool.c789 dns_rdata_nsec3param_t *nsec3param, dns_rdataset_t *rdataset,
809 if (nsec3.hash == nsec3param->hash &&
811 nsec3.iterations == nsec3param->iterations &&
812 nsec3.salt_length == nsec3param->salt_length &&
813 memcmp(nsec3.salt, nsec3param->salt,
814 nsec3param->salt_length) == 0)
851 if (nsec3.hash == nsec3param->hash &&
852 nsec3.iterations == nsec3param->iterations &&
853 nsec3.salt_length == nsec3param->salt_length &&
854 memcmp(nsec3.salt, nsec3param
788 match_nsec3(dns_name_t *name, isc_mem_t *mctx, dns_rdata_nsec3param_t *nsec3param, dns_rdataset_t *rdataset, unsigned char types[8192], unsigned int maxtype, unsigned char *rawhash, size_t rhsize) argument
872 dns_rdata_nsec3param_t nsec3param; local
957 dns_rdata_nsec3param_t nsec3param; local
1012 dns_rdata_nsec3param_t nsec3param; local
[all...]
H A Ddnssec-signzone.c1765 "dns_db_deleterdataset(nsec3param/rrsig)");
1857 dns_rdata_nsec3param_t nsec3param; local
1867 nsec3param.common.rdclass = gclass;
1868 nsec3param.common.rdtype = dns_rdatatype_nsec3param;
1869 ISC_LINK_INIT(&nsec3param.common, link);
1870 nsec3param.mctx = NULL;
1871 nsec3param.flags = 0;
1872 nsec3param.hash = unknownalg ? DNS_NSEC3_UNKNOWNALG : dns_hash_sha1;
1873 nsec3param.iterations = iterations;
1874 nsec3param
[all...]
/bind-9.11.3/bin/tests/system/nsupdate/
H A Dclean.sh33 rm -f ns3/nsec3param.test.db
H A Dtests.sh363 update add example 3600 nsec3param 1 0 0 -
369 # the zone is not signed. The nsec3param records should be removed.
372 @10.53.0.3 nsec3param -p 5300 > dig.out.ns3.$n || ret=1
382 update add nsec3param.test 3600 NSEC3PARAM 1 0 1 -
388 $DIG +tcp +noadd +nosea +nostat +noquest +nocmd +norec nsec3param.test.\
389 @10.53.0.3 nsec3param -p 5300 > dig.out.ns3.$n || ret=1
400 update add nsec3param.test 3600 NSEC3PARAM 1 0 4 -
406 $DIG +tcp +noadd +nosea +nostat +noquest +nocmd +norec nsec3param.test.\
407 @10.53.0.3 nsec3param -p 5300 > dig.out.ns3.$n || ret=1
418 update delete nsec3param
[all...]
/bind-9.11.3/bin/tests/system/inline/
H A Dtests.sh17 $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 signing -nsec3param 1 0 0 - nsec3 > /dev/null 2>&1
21 nsec3param=`$DIG +short @10.53.0.3 -p 5300 nsec3param nsec3.`
22 test "$nsec3param" = "1 0 0 -" && break
30 $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 signing -nsec3param 1 0 0 - retransfer3 > /dev/null 2>&1 || ans=1
36 nsec3param=`$DIG +short @10.53.0.3 -p 5300 nsec3param retransfer3.`
37 test "$nsec3param" = "1 0 0 -" && break
815 $RNDC -c ../common/rndc.conf -s 10.53.0.7 -p 9953 signing -nsec3param 1 0 2 12345678 $zone > /dev/null 2>&1
820 nsec3param
[all...]
/bind-9.11.3/bin/tests/system/autosign/
H A Dtests.sh157 $DIG $DIGOPTS +noall +answer nsec3.example. nsec3param @10.53.0.3 > dig.out.ns3.1.test$n || ret=1
159 $DIG $DIGOPTS +noall +answer autonsec3.example. nsec3param @10.53.0.3 > dig.out.ns3.2.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
200 echo "I:preset nsec3param in unsigned zone via nsupdate ($n)"
208 echo "I:checking for nsec3param in unsigned zone ($n)"
210 $DIG $DIGOPTS +noall +answer autonsec3.example. nsec3param @10.53.0.3 > dig.out.ns3.test$n || ret=1
216 echo "I:checking for nsec3param signing record ($n)"
224 echo "I:resetting nsec3param via rndc signing ($n)"
227 $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 signing -nsec3param 1 1 10 beef autonsec3.example. > /dev/null 2>&1
321 $DIG $DIGOPTS nsec3.example. nsec3param
[all...]
/bind-9.11.3/bin/named/
H A Dupdate.c1842 dns_rdata_nsec3param_t nsec3param; local
1864 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
1865 if ((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0)
1867 if (nsec3param.iterations > iterations)
1868 iterations = nsec3param.iterations;
1897 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
1898 if ((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0)
1900 if (nsec3param.iterations > iterations)
1901 iterations = nsec3param.iterations;
3289 dns_rdata_nsec3param_t nsec3param; local
[all...]
/bind-9.11.3/bin/tests/system/dnssec/
H A Dclean.sh86 rm -f signer/nsec3param.out
H A Dtests.sh1302 }' example.db | sed 's/[ ][ ]*/ /g' > nsec3param.out
1304 grep "IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG.example. 0 IN NSEC3 1 0 10 - ( IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG A NS SOA RRSIG DNSKEY NSEC3PARAM )" nsec3param.out > /dev/null
1328 }' example.db | sed 's/[ ][ ]*/ /g' > nsec3param.out
1330 grep "IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG.example. 0 IN NSEC3 1 0 10 - ( IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG A NS SOA RRSIG DNSKEY NSEC3PARAM )" nsec3param.out > /dev/null
2295 echo "I:check that 'rndc signing -nsec3param' without additional arguments is handled ($n)"
2297 $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 signing -nsec3param > /dev/null 2>&1 && ret=1
2303 echo "I:check that 'rndc signing -nsec3param none' without zone is handled ($n)"
2305 $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 signing -nsec3param none > /dev/null 2>&1 && ret=1
2311 echo "I:check that 'rndc signing -nsec3param 1' without additional arguments is handled ($n)"
2313 $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 signing -nsec3param
[all...]

Completed in 95 milliseconds