| /src/external/bsd/nsd/dist/ |
| tsig.c | 2 * tsig.c -- TSIG implementation (RFC 2845). 15 #include "tsig.h" 16 #include "tsig-openssl.h" 97 tsig_digest_variables(tsig_record_type *tsig, int tsig_timers_only) 101 uint16_t signed_time_high = htons(tsig->signed_time_high); 102 uint32_t signed_time_low = htonl(tsig->signed_time_low); 103 uint16_t signed_time_fudge = htons(tsig->signed_time_fudge); 104 uint16_t error_code = htons(tsig->error_code); 105 uint16_t other_size = htons(tsig->other_size) 291 tsig_record_type *tsig = (tsig_record_type *) data; local [all...] |
| tsig.h | 2 * tsig.h -- TSIG definitions (RFC 2845). 45 * A TSIG HMAC algorithm, such as hmac-md5. 96 * A TSIG key used to sign and verify packets. 117 /* TSIG RR data is allocated in the rr_region. */ 134 * Initialize the TSIG module (including TSIG implementation modules 135 * such as tsig-openssl). 140 * Add the specified key to the TSIG key table. 146 * Add the specified algorithm to the TSIG algorithm table [all...] |
| query.c | 38 #include "tsig.h" 200 tsig_create_record(&query->tsig, region); 222 tsig_create_record(&query->tsig, region); 257 tsig_init_record(&q->tsig, NULL, NULL); 412 * Processes TSIG. 413 * Sets error when tsig does not verify on the query. 418 if(q->tsig.status == TSIG_ERROR) 420 if(q->tsig.status == TSIG_OK) { 421 if(!tsig_from_query(&q->tsig)) { 424 log_msg(LOG_ERR, "query: bad tsig (%s) for key %s from %s" [all...] |
| Makefile.in | 98 COMMON_OBJ=answer.o axfr.o ixfr.o ixfrcreate.o buffer.o configlexer.o configparser.o dname.o dns.o edns.o iterated_hash.o lookup3.o namedb.o nsec3.o options.o packet.o query.o rbtree.o radtree.o rdata.o region-allocator.o rrl.o siphash.o tsig.o tsig-openssl.o udb.o util.o bitset.o popen3.o proxy_protocol.o 504 $(srcdir)/packet.h $(srcdir)/query.h $(srcdir)/nsd.h $(srcdir)/edns.h $(srcdir)/tsig.h 507 $(srcdir)/radtree.h $(srcdir)/rbtree.h $(srcdir)/packet.h $(srcdir)/tsig.h $(srcdir)/options.h $(srcdir)/ixfr.h 515 $(srcdir)/tsig.h $(srcdir)/rrl.h $(srcdir)/query.h $(srcdir)/namedb.h $(srcdir)/radtree.h $(srcdir)/nsd.h $(srcdir)/edns.h $(srcdir)/packet.h \ 520 $(srcdir)/packet.h $(srcdir)/tsig.h $(srcdir)/ixfrcreate.h 523 $(srcdir)/options.h $(srcdir)/nsd.h $(srcdir)/edns.h $(srcdir)/ixfr.h $(srcdir)/query.h $(srcdir)/packet.h $(srcdir)/tsig.h 527 $(srcdir)/edns.h $(srcdir)/rrl.h $(srcdir)/query.h $(srcdir)/tsig.h $(srcdir)/ixfr.h $(srcdir)/zonec.h $(srcdir)/xfrd-catalog-zones.h $(srcdir)/xfrd.h 530 $(srcdir)/nsd.h $(srcdir)/edns.h $(srcdir)/packet.h $(srcdir)/tsig.h 535 $(srcdir)/radtree.h $(srcdir)/rbtree.h $(srcdir)/packet.h $(srcdir)/tsig. [all...] |
| axfr.c | 19 #define AXFR_TSIG_SIGN_EVERY_NTH 0 /* tsig sign every N packets. */ 76 if(query->tsig.status == TSIG_OK) { 171 /* check if it needs tsig signatures */ 172 if(query->tsig.status == TSIG_OK) { 174 if(query->tsig.updates_since_last_prepare >= AXFR_TSIG_SIGN_EVERY_NTH) {
|
| query.h | 19 #include "tsig.h" 72 /* TSIG record information and running hash for query-response */ 73 tsig_record_type tsig; member in struct:query 74 /* tsig actions can be overridden, for axfr transfer. */
|
| /src/external/mpl/bind/bin/confgen/tsig-keygen/ |
| Makefile | 5 LINKS= ${BINDIR}/tsig-keygen ${BINDIR}/ddns-confgen 6 MLINKS= tsig-keygen.8 ddns-confgen.8
|
| /src/external/mpl/bind/bin/confgen/ |
| Makefile | 3 SUBDIR= rndc-confgen tsig-keygen
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/rdata/any_255/ |
| tsig_250.c | 377 dns_rdata_any_tsig_t *tsig = source; local 382 REQUIRE(tsig != NULL); 383 REQUIRE(tsig->common.rdclass == rdclass); 384 REQUIRE(tsig->common.rdtype == type); 392 RETERR(name_tobuffer(&tsig->algorithm, target)); 402 RETERR(uint16_tobuffer((uint16_t)(tsig->timesigned >> 32), target)); 403 RETERR(uint32_tobuffer((uint32_t)(tsig->timesigned & 0xffffffffU), 409 RETERR(uint16_tobuffer(tsig->fudge, target)); 414 RETERR(uint16_tobuffer(tsig->siglen, target)); 419 RETERR(mem_tobuffer(target, tsig->signature, tsig->siglen)) 449 dns_rdata_any_tsig_t *tsig; local 549 dns_rdata_any_tsig_t *tsig = (dns_rdata_any_tsig_t *)source; local [all...] |
| /src/external/mpl/bind/dist/lib/dns/rdata/any_255/ |
| tsig_250.c | 378 dns_rdata_any_tsig_t *tsig = source; local 383 REQUIRE(tsig != NULL); 384 REQUIRE(tsig->common.rdclass == rdclass); 385 REQUIRE(tsig->common.rdtype == type); 393 RETERR(name_tobuffer(&tsig->algorithm, target)); 403 RETERR(uint16_tobuffer((uint16_t)(tsig->timesigned >> 32), target)); 404 RETERR(uint32_tobuffer((uint32_t)(tsig->timesigned & 0xffffffffU), 410 RETERR(uint16_tobuffer(tsig->fudge, target)); 415 RETERR(uint16_tobuffer(tsig->siglen, target)); 420 RETERR(mem_tobuffer(target, tsig->signature, tsig->siglen)) 450 dns_rdata_any_tsig_t *tsig; local 533 dns_rdata_any_tsig_t *tsig = (dns_rdata_any_tsig_t *)source; local [all...] |
| /src/external/mpl/bind/dist/tests/dns/ |
| tsig_test.c | 35 #include <dns/tsig.h> 69 dns_rdata_any_tsig_t tsig; local 80 CHECK(dns_rdata_tostruct(&rdata, &tsig, NULL)); 81 isc_buffer_putuint16(&databuf, tsig.siglen); 82 isc_buffer_putmem(&databuf, tsig.signature, tsig.siglen); 85 dns_rdata_freestruct(&tsig); 94 dns_rdata_any_tsig_t tsig; local 107 memset(&tsig, 0, sizeof(tsig)); [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| tsig.c | 1 /* $NetBSD: tsig.c,v 1.1 2024/02/18 20:57:34 christos Exp $ */ 43 #include <dns/tsig.h> 67 static unsigned char gsstsig_ndata[] = "\010gss-tsig"; 172 "tsig key '%s' (%s): %s", namestr, creatorstr, 176 DNS_LOGMODULE_TSIG, level, "tsig key '%s': %s", 422 tsig_log(tkey, 2, "tsig expire: deleting"); 764 dns_rdata_any_tsig_t tsig, querytsig; local 786 * If this is a response, there should be a TSIG in the query with the 798 tsig.mctx = mctx; 799 tsig.common.rdclass = dns_rdataclass_any 1076 dns_rdata_any_tsig_t tsig, querytsig; local 1428 dns_rdata_any_tsig_t tsig, querytsig; local [all...] |
| tsec.c | 23 #include <dns/tsig.h>
|
| /src/external/mpl/bind/dist/lib/dns/ |
| tsig.c | 1 /* $NetBSD: tsig.c,v 1.15 2025/05/21 14:48:03 christos Exp $ */ 40 #include <dns/tsig.h> 61 static unsigned char gsstsig_ndata[] = "\010gss-tsig"; 150 "tsig key '%s' (%s): %s", namestr, creatorstr, 154 DNS_LOGMODULE_TSIG, level, "tsig key '%s': %s", 558 dns_rdata_any_tsig_t tsig, querytsig; local 580 * If this is a response, there should be a TSIG in the query with the 593 tsig = (dns_rdata_any_tsig_t){ 604 dns_name_init(&tsig.algorithm, NULL); 605 dns_name_clone(dns_tsigkey_algorithm(key), &tsig.algorithm) 844 dns_rdata_any_tsig_t tsig, querytsig; local 1205 dns_rdata_any_tsig_t tsig, querytsig; local [all...] |
| /src/external/bsd/nsd/lib/libnsd/ |
| Makefile | 40 tsig-openssl.c \ 41 tsig.c \ 55 COPTS.tsig-openssl.c+= -Wno-error=deprecated-declarations
|
| /src/external/mpl/bind/dist/bin/tests/system/tsig/ |
| tests_tsig_hypothesis.py | 18 pytest.importorskip("dns", minversion="2.7.0") # TSIG parsing without validation 25 import dns.rdtypes.ANY.TSIG 27 import dns.tsig 46 candidates = tuple(dns.tsig.mac_sizes.items()) 54 candidates = tuple(dns.tsig.mac_sizes.items()) 109 msg.keyring = False # don't validate received TSIG 115 tsig = dns.rdtypes.ANY.TSIG.TSIG( 117 dns.rdatatype.TSIG, [all...] |
| tests_badtime.py | 71 with pytest.raises(dns.tsig.PeerBadTime):
|
| /src/external/mpl/bind/dist/bin/tests/system/ |
| ans.pl | 58 # Now you can add TSIG, just specify key/key data with: 169 $prev_tsig = $rr if ($rr->type eq "TSIG"); 183 my $tsig; 189 $tsig = Net::DNS::RR->new( 190 "$key_name TSIG $key_data"); 192 $tsig = Net::DNS::RR->new( 195 type => 'TSIG', 201 # clear compnames so that the TSIG key and 216 $tsig->{"request_mac"} = 219 $tsig->request_mac [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/migrate2kasp/ |
| tests_migrate2kasp.py | 283 "tsig": "external:YPfMoAk6h+3iN8MDRQC004iSNHY=", 300 "tsig": "internal:4xILSZQnuO1UKubXHkYUsvBRPu8=", 313 tsig = None 314 if "tsig" in params: 315 secret = params["tsig"] 316 tsig = f"{os.environ['DEFAULT_HMAC']}:{secret}" 329 isctest.kasp.check_dnssec_verify(server, zone, tsig=tsig) 350 isctest.kasp.check_apex(server, zone, ksks, zsks, tsig=tsig) [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/isctest/ |
| kasp.py | 26 import dns.tsig 43 def _query(server, qname, qtype, tsig=None): 46 if tsig is not None: 47 tsigkey = tsig.split(":") 48 keyring = dns.tsig.Key(tsigkey[1], tsigkey[2], tsigkey[0]) 806 def check_dnssec_verify(server, zone, tsig=None): 812 transfer = _query(server, fqdn, dns.rdatatype.AXFR, tsig=tsig) 1094 def _query_rrset(server, fqdn, qtype, tsig=None): 1095 response = _query(server, fqdn, qtype, tsig=tsig [all...] |
| /src/external/mpl/bind/dist/lib/dns/include/dns/ |
| client.h | 48 #include <dns/tsig.h>
|
| /src/bin/sh/ |
| trap.c | 503 char *t, tsig; local 551 tsig = *t; 552 if (tsig == 0) { 584 tsig = S_IGN; 586 tsig = S_HARD_IGN; 588 tsig = S_RESET; /* force to be set */ 591 VTRACE(DBG_TRAP, (" tsig=%d\n", tsig)); 593 if (tsig == S_HARD_IGN || tsig == action [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/kasp/ |
| tests_kasp.py | 163 server, zone, policy, ksks, zsks, manual_mode=False, zsk_missing=False, tsig=None 173 tsig=tsig, 175 isctest.kasp.check_subdomain(server, zone, ksks, zsks, tsig=tsig) 732 tsig = ( 741 isctest.kasp.check_apex(server, zone, [], [], tsig=tsig) 742 isctest.kasp.check_subdomain(server, zone, [], [], tsig=tsig) [all...] |
| /src/external/apache2/mDNSResponder/dist/mDNSCore/ |
| DNSDigest.c | 1315 // TSIG HMAC names from <https://datatracker.ietf.org/doc/html/rfc8945#section-6> 1527 AuthRecord tsig; local 1564 // Construct TSIG RR, digesting variables as apporpriate 1565 mDNS_SetupResourceRecord(&tsig, mDNSNULL, 0, kDNSType_TSIG, 0, kDNSRecordTypeKnownUnique, AuthRecordAny, mDNSNULL, mDNSNULL); 1568 AssignDomainName(&tsig.namestorage, &info->keyname); 1576 tsig.resrec.rrclass = kDNSQClass_ANY; 1585 tsig.resrec.rroriginalttl = 0; 1587 CCHmacUpdate(&hmacContext, (mDNSu8 *)&tsig.resrec.rroriginalttl, sizeof(tsig.resrec.rroriginalttl)); 1589 MD5_Update(&c, (mDNSu8 *)&tsig.resrec.rroriginalttl, sizeof(tsig.resrec.rroriginalttl)) [all...] |
| /src/external/mpl/bind/dist/bin/dig/ |
| host.c | 386 dns_rdataset_t *opt, *tsig = NULL; local 522 tsig = dns_message_gettsig(msg, &tsigname); 523 if (tsig != NULL) { 524 printf(";; PSEUDOSECTIONS: TSIG\n"); 567 if ((tsig != NULL) && !short_form) { 569 result = printrdata(msg, tsig, tsigname, "PSEUDOSECTION TSIG",
|