Searched defs:tsig (Results 1 - 11 of 11) sorted by relevance

/bind-9.11.3/lib/dns/rdata/any_255/
H A Dtsig_250.c353 dns_rdata_any_tsig_t *tsig = source; local
359 REQUIRE(tsig->common.rdclass == rdclass);
360 REQUIRE(tsig->common.rdtype == type);
368 RETERR(name_tobuffer(&tsig->algorithm, target));
377 RETERR(uint16_tobuffer((isc_uint16_t)(tsig->timesigned >> 32),
379 RETERR(uint32_tobuffer((isc_uint32_t)(tsig->timesigned & 0xffffffffU),
385 RETERR(uint16_tobuffer(tsig->fudge, target));
390 RETERR(uint16_tobuffer(tsig->siglen, target));
395 RETERR(mem_tobuffer(target, tsig->signature, tsig
424 dns_rdata_any_tsig_t *tsig; local
521 dns_rdata_any_tsig_t *tsig = (dns_rdata_any_tsig_t *) source; local
[all...]
/bind-9.11.3/lib/dns/tests/
H A Dtsig_test.c19 #include <dns/tsig.h>
31 dns_rdata_any_tsig_t tsig; local
42 CHECK(dns_rdata_tostruct(&rdata, &tsig, NULL));
43 isc_buffer_putuint16(&databuf, tsig.siglen);
44 isc_buffer_putmem(&databuf, tsig.signature, tsig.siglen);
47 dns_rdata_freestruct(&tsig);
55 dns_rdata_any_tsig_t tsig; local
70 memset(&tsig, 0, sizeof(tsig));
[all...]
/bind-9.11.3/bin/dig/
H A Dhost.c412 dns_rdataset_t *opt, *tsig = NULL; local
535 tsig = dns_message_gettsig(msg, &tsigname);
536 if (tsig != NULL)
572 if ((tsig != NULL) && !short_form) {
574 result = printrdata(msg, tsig, tsigname,
/bind-9.11.3/lib/dns/include/dns/
H A Dmessage.h201 dns_rdataset_t *tsig; member in struct:dns_message
421 * TSIGs are detected and stored in the pseudo-section "tsig".
1090 * Set the tsig key for 'msg'. This is only necessary for when rendering a
1099 *\li 'key' is a valid tsig key or NULL.
1111 * Gets the tsig key for 'msg'.
1142 * Gets the tsig from the TSIG from the signed query 'msg'. This is also used
1158 *\li 'tsig' points to NULL or an allocated buffer which must be freed
/bind-9.11.3/lib/dns/
H A Drequest.c31 #include <dns/tsig.h>
77 isc_buffer_t *tsig; member in struct:dns_request
479 request->tsig = NULL;
1083 result = dns_message_getquerytsig(message, mctx, &request->tsig);
1287 result = dns_message_setquerytsig(message, request->tsig);
1541 if (request->tsig != NULL)
1542 isc_buffer_free(&request->tsig);
H A Dtsig.c37 #include <dns/tsig.h>
81 static unsigned char gsstsig_ndata[] = "\010gss-tsig";
166 level, "tsig key '%s' (%s): %s",
171 level, "tsig key '%s': %s", namestr, message);
471 tsig_log(tkey, 2, "tsig expire: deleting");
841 dns_rdata_any_tsig_t tsig, querytsig; local
863 * If this is a response, there should be a query tsig.
873 tsig.mctx = mctx;
874 tsig.common.rdclass = dns_rdataclass_any;
875 tsig
1151 dns_rdata_any_tsig_t tsig, querytsig; local
1512 dns_rdata_any_tsig_t tsig, querytsig; local
[all...]
H A Dmessage.c36 #include <dns/tsig.h>
377 m->tsig = NULL;
483 if (msg->tsig != NULL) {
484 INSIST(dns_rdataset_isassociated(msg->tsig));
488 msg->querytsig = msg->tsig;
490 dns_rdataset_disassociate(msg->tsig);
491 isc_mempool_put(msg->rdspool, msg->tsig);
500 msg->tsig = NULL;
1322 * If it is a tsig, verify that it is in the
1584 * Note msg->opt, msg->sig0 and msg->tsig wil
3059 dns_rdata_any_tsig_t tsig; local
[all...]
H A Dresolver.c63 #include <dns/tsig.h>
212 isc_buffer_t *tsig; member in struct:query
1077 if (query->tsig != NULL)
1078 isc_buffer_free(&query->tsig);
1819 query->tsig = NULL;
2495 &query->tsig);
7786 if (query->tsig != NULL) {
7787 result = dns_message_setquerytsig(message, query->tsig);
7789 FCTXTRACE3("unable to set query tsig", result);
7797 FCTXTRACE3("unable to set tsig ke
[all...]
H A Dzone.c72 #include <dns/tsig.h>
10910 /* XXX: should we log the tsig key too? */
12252 * First, look for a tsig key in the master statement, then
12519 * First, look for a tsig key in the master statement, then
13093 dns_name_t *tsig; local
13180 tsig = dns_tsigkey_identity(tsigkey);
13182 dns_acl_match(&netaddr, tsig, zone->notify_acl,
15547 * First, look for a tsig key in the master statement, then
/bind-9.11.3/bin/named/
H A Dclient.c46 #include <dns/tsig.h>
1723 dns_name_t *tsig = NULL; local
1762 tsig = dns_tsigkey_identity(mykey);
1765 if (allowed(&netsrc, tsig, NULL, 0, NULL,
1767 allowed(&netdst, tsig, NULL, 0, NULL,
2611 dns_name_t *tsig = NULL; local
2621 tsig = dns_tsigkey_identity(tsigkey);
2629 if (allowed(&netaddr, tsig, addr, client->ecs_addrlen,
2631 allowed(&client->destaddr, tsig, NULL,
/bind-9.11.3/bin/nsupdate/
H A Dnsupdate.c66 #include <dns/tsig.h>
2276 dns_rdata_any_tsig_t tsig; local
2281 result = dns_rdata_tostruct(&rdata, &tsig, NULL);
2283 if (tsig.error != 0) {
2287 result = dns_tsigrcode_totext(tsig.error, b);
2356 ddebug("tsig verification successful");
2439 /* Windows doesn't like the tsig name to be compressed. */
3098 ddebug("tsig verification: %s", dns_result_totext(result));

Completed in 1769 milliseconds