Searched refs:tsig (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/any_255/
H A Dtsig_250.c361 dns_rdata_any_tsig_t *tsig = source; local
367 REQUIRE(tsig->common.rdclass == rdclass);
368 REQUIRE(tsig->common.rdtype == type);
376 RETERR(name_tobuffer(&tsig->algorithm, target));
385 RETERR(uint16_tobuffer((isc_uint16_t)(tsig->timesigned >> 32),
387 RETERR(uint32_tobuffer((isc_uint32_t)(tsig->timesigned & 0xffffffffU),
393 RETERR(uint16_tobuffer(tsig->fudge, target));
398 RETERR(uint16_tobuffer(tsig->siglen, target));
403 RETERR(mem_tobuffer(target, tsig->signature, tsig
432 dns_rdata_any_tsig_t *tsig; local
529 dns_rdata_any_tsig_t *tsig = (dns_rdata_any_tsig_t *) source; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dtsig.c44 #include <dns/tsig.h>
82 static unsigned char gsstsig_ndata[] = "\010gss-tsig";
217 level, "tsig key '%s' (%s): %s",
222 level, "tsig key '%s': %s", namestr, message);
517 tsig_log(tkey, 2, "tsig expire: deleting");
881 dns_rdata_any_tsig_t tsig, querytsig; local
902 * If this is a response, there should be a query tsig.
912 tsig.mctx = mctx;
913 tsig.common.rdclass = dns_rdataclass_any;
914 tsig
1172 dns_rdata_any_tsig_t tsig, querytsig; local
1490 dns_rdata_any_tsig_t tsig, querytsig; local
[all...]
H A Dtsec.c24 #include <dns/tsig.h>
H A Dmessage.c46 #include <dns/tsig.h>
396 m->tsig = NULL;
498 if (msg->tsig != NULL) {
499 INSIST(dns_rdataset_isassociated(msg->tsig));
503 msg->querytsig = msg->tsig;
505 dns_rdataset_disassociate(msg->tsig);
506 isc_mempool_put(msg->rdspool, msg->tsig);
515 msg->tsig = NULL;
1284 * If it is a tsig, verify that it is in the
1552 * that msg->sig0 or msg->tsig wil
2977 dns_rdata_any_tsig_t tsig; local
[all...]
H A Drequest.c40 #include <dns/tsig.h>
86 isc_buffer_t *tsig; member in struct:dns_request
472 request->tsig = NULL;
983 result = dns_message_getquerytsig(message, mctx, &request->tsig);
1187 result = dns_message_setquerytsig(message, request->tsig);
1441 if (request->tsig != NULL)
1442 isc_buffer_free(&request->tsig);
H A Dresolver.c63 #include <dns/tsig.h>
173 isc_buffer_t *tsig; member in struct:query
955 if (query->tsig != NULL)
956 isc_buffer_free(&query->tsig);
1529 query->tsig = NULL;
1959 &query->tsig);
6954 if (query->tsig != NULL) {
6955 result = dns_message_setquerytsig(message, query->tsig);
H A Ddnssec.c48 #include <dns/tsig.h> /* for DNS_TSIG_FUDGE */
H A Dupdate.c52 #include <dns/tsig.h>
H A Dtkey.c43 #include <dns/tsig.h>
H A Dxfrin.c45 #include <dns/tsig.h>
1111 * Free the last tsig, if there is one.
1301 * Free the last tsig, if there is one.
1307 * Update the last tsig pointer.
H A Dview.c60 #include <dns/tsig.h>
H A Dclient.c51 #include <dns/tsig.h>
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dnotify.c28 #include <dns/tsig.h>
H A Dtsigconf.c31 #include <dns/tsig.h>
H A Dclient.c47 #include <dns/tsig.h>
1321 dns_name_t *tsig = NULL; local
1360 tsig = dns_tsigkey_identity(mykey);
1363 if (allowed(&netsrc, tsig, view->matchclients) &&
1364 allowed(&netdst, tsig, view->matchdestinations))
1742 dns_name_t *tsig = NULL; local
1747 tsig = dns_tsigkey_identity(client->message->tsigkey);
1749 if (allowed(&netaddr, tsig, view->matchclients) &&
1750 allowed(&client->destaddr, tsig,
H A Dconfig.c40 #include <dns/tsig.h>
H A Dxfrout.c45 #include <dns/tsig.h>
H A Dupdate.c49 #include <dns/tsig.h>
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dclient.h51 #include <dns/tsig.h>
H A Dmessage.h201 dns_rdataset_t *tsig; member in struct:dns_message
420 * TSIGs are detected and stored in the pseudo-section "tsig".
1089 * Set the tsig key for 'msg'. This is only necessary for when rendering a
1098 *\li 'key' is a valid tsig key or NULL.
1110 * Gets the tsig key for 'msg'.
1141 * Gets the tsig from the TSIG from the signed query 'msg'. This is also used
1157 *\li 'tsig' points to NULL or an allocated buffer which must be freed
/freebsd-9.3-release/contrib/bind9/bin/dig/
H A Dhost.c421 dns_rdataset_t *opt, *tsig = NULL; local
546 tsig = dns_message_gettsig(msg, &tsigname);
547 if (tsig != NULL)
583 if ((tsig != NULL) && !short_form) {
585 result = printrdata(msg, tsig, tsigname,
H A Ddig.c45 #include <dns/tsig.h>
176 " -k keyfile (specify tsig key file)\n"
177 " -y [hmac:]name:key (specify named base64 tsig key)\n"
H A Ddighost.c68 #include <dns/tsig.h>
/freebsd-9.3-release/lib/bind/dns/
H A DMakefile36 tsec.c tsig.c ttl.c update.c validator.c \
113 ${SRCDIR}/include/dns/tsig.h \
/freebsd-9.3-release/contrib/bind9/bin/nsupdate/
H A Dnsupdate.c75 #include <dns/tsig.h>
2077 dns_rdata_any_tsig_t tsig; local
2082 result = dns_rdata_tostruct(&rdata, &tsig, NULL);
2084 if (tsig.error != 0) {
2088 result = dns_tsigrcode_totext(tsig.error, b);
2133 ddebug("tsig verification successful");
2212 /* Windows doesn't like the tsig name to be compressed. */
2812 ddebug("tsig verification: %s", dns_result_totext(result));

Completed in 186 milliseconds

12