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

12

/bind-9.6-ESV-R11/lib/dns/rdata/any_255/
H A Dtsig_250.c355 dns_rdata_any_tsig_t *tsig = source; local
361 REQUIRE(tsig->common.rdclass == rdclass);
362 REQUIRE(tsig->common.rdtype == type);
370 RETERR(name_tobuffer(&tsig->algorithm, target));
379 RETERR(uint16_tobuffer((isc_uint16_t)(tsig->timesigned >> 32),
381 RETERR(uint32_tobuffer((isc_uint32_t)(tsig->timesigned & 0xffffffffU),
387 RETERR(uint16_tobuffer(tsig->fudge, target));
392 RETERR(uint16_tobuffer(tsig->siglen, target));
397 RETERR(mem_tobuffer(target, tsig->signature, tsig
426 dns_rdata_any_tsig_t *tsig; local
523 dns_rdata_any_tsig_t *tsig = (dns_rdata_any_tsig_t *) source; local
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Dtsig.c44 #include <dns/tsig.h>
82 static unsigned char gsstsig_ndata[] = "\010gss-tsig";
240 level, "tsig key '%s' (%s): %s",
245 level, "tsig key '%s': %s", namestr, message);
499 tsig_log(tkey, 2, "tsig expire: deleting");
683 dns_rdata_any_tsig_t tsig, querytsig; local
704 * If this is a response, there should be a query tsig.
714 tsig.mctx = mctx;
715 tsig.common.rdclass = dns_rdataclass_any;
716 tsig
974 dns_rdata_any_tsig_t tsig, querytsig; local
1292 dns_rdata_any_tsig_t tsig, querytsig; local
[all...]
H A Dmessage.c46 #include <dns/tsig.h>
396 m->tsig = NULL;
496 if (msg->tsig != NULL) {
497 INSIST(dns_rdataset_isassociated(msg->tsig));
501 msg->querytsig = msg->tsig;
503 dns_rdataset_disassociate(msg->tsig);
504 isc_mempool_put(msg->rdspool, msg->tsig);
513 msg->tsig = NULL;
1264 * If it is a tsig, verify that it is in the
1528 * that msg->sig0 or msg->tsig wil
2885 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
471 request->tsig = NULL;
982 result = dns_message_getquerytsig(message, mctx, &request->tsig);
1183 result = dns_message_setquerytsig(message, request->tsig);
1437 if (request->tsig != NULL)
1438 isc_buffer_free(&request->tsig);
H A Dresolver.c62 #include <dns/tsig.h>
141 isc_buffer_t *tsig; member in struct:query
917 if (query->tsig != NULL)
918 isc_buffer_free(&query->tsig);
1475 query->tsig = NULL;
1904 &query->tsig);
6549 if (query->tsig != NULL) {
6550 result = dns_message_setquerytsig(message, query->tsig);
H A Ddnssec.c46 #include <dns/tsig.h> /* for DNS_TSIG_FUDGE */
H A Dtkey.c43 #include <dns/tsig.h>
/bind-9.6-ESV-R11/bin/tests/
H A Dprintmsg.c167 dns_rdataset_t *opt, *tsig; local
202 tsig = dns_message_gettsig(msg, &tsigname);
203 if (tsig != NULL)
230 if (tsig != NULL) {
232 result = printrdata(msg, tsig, tsigname,
H A Drdata_test.c261 static dns_rdata_any_tsig_t tsig; local
262 result = dns_rdata_tostruct(rdata, sp = &tsig, NULL);
528 static dns_rdata_any_tsig_t tsig; local
529 result = dns_rdata_tostruct(rdata, sp = &tsig, mctx);
825 dns_rdata_any_tsig_t tsig;
826 result = dns_rdata_fromstruct(rdata2, rdc, rdt, &tsig, b);
/bind-9.6-ESV-R11/bin/tests/system/upforwd/ans4/
H A Dans.pl141 my $tsig = Net::DNS::RR->
158 $tsig->{"request_mac"} =
162 $packet->sign_tsig($tsig);
299 my $tsig = Net::DNS::RR->
316 $tsig->{"request_mac"} =
320 $tsig->sign_func($signer) if defined($signer);
321 $packet->sign_tsig($tsig);
/bind-9.6-ESV-R11/bin/tests/system/
H A Dans.pl154 my $tsig = Net::DNS::RR->
173 $tsig->{"request_mac"} =
177 $packet->sign_tsig($tsig);
351 my $tsig = Net::DNS::RR->
370 $tsig->{"request_mac"} =
374 $tsig->sign_func($signer) if defined($signer);
375 $tsig->continuation($continuation)
377 $packet->sign_tsig($tsig);
/bind-9.6-ESV-R11/bin/tests/system/tkey/
H A Dtests.sh94 echo "I:checking the key with 'rndc tsig-list'"
96 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 tsig-list > rndc.out
103 echo "I:deleting the key with 'rndc tsig-delete'"
105 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 tsig-delete bar.example.server > /dev/null || ret=1
106 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 tsig-list > rndc.out
H A Dkeydelete.c45 #include <dns/tsig.h>
H A Dkeycreate.c45 #include <dns/tsig.h>
/bind-9.6-ESV-R11/bin/named/
H A Dnotify.c28 #include <dns/tsig.h>
H A Dtsigconf.c31 #include <dns/tsig.h>
H A Dclient.c46 #include <dns/tsig.h>
1248 dns_name_t *tsig = NULL; local
1287 tsig = dns_tsigkey_identity(mykey);
1290 if (allowed(&netsrc, tsig, view->matchclients) &&
1291 allowed(&netdst, tsig, view->matchdestinations))
1675 dns_name_t *tsig = NULL; local
1680 tsig = dns_tsigkey_identity(client->message->tsigkey);
1682 if (allowed(&netaddr, tsig, view->matchclients) &&
1683 allowed(&destaddr, tsig, view->matchdestinations) &&
H A Dconfig.c42 #include <dns/tsig.h>
H A Dxfrout.c46 #include <dns/tsig.h>
/bind-9.6-ESV-R11/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>
174 " -k keyfile (specify tsig key file)\n"
175 " -y [hmac:]name:key (specify named base64 tsig key)\n"
/bind-9.6-ESV-R11/lib/dns/win32/
H A Dlibdns.mak191 -@erase "$(INTDIR)\tsig.obj"
309 "$(INTDIR)\tsig.obj" \
498 -@erase "$(INTDIR)\tsig.obj"
499 -@erase "$(INTDIR)\tsig.sbr"
624 "$(INTDIR)\tsig.sbr" \
712 "$(INTDIR)\tsig.obj" \
1748 SOURCE=..\tsig.c
1753 "$(INTDIR)\tsig.obj" : $(SOURCE) "$(INTDIR)"
1760 "$(INTDIR)\tsig.obj" "$(INTDIR)\tsig
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dmessage.h199 dns_rdataset_t *tsig; member in struct:dns_message
408 * TSIGs are detected and stored in the pseudo-section "tsig".
1077 * Set the tsig key for 'msg'. This is only necessary for when rendering a
1086 *\li 'key' is a valid tsig key or NULL.
1098 * Gets the tsig key for 'msg'.
1129 * Gets the tsig from the TSIG from the signed query 'msg'. This is also used
1145 *\li 'tsig' points to NULL or an allocated buffer which must be freed
/bind-9.6-ESV-R11/bin/nsupdate/
H A Dnsupdate.c72 #include <dns/tsig.h>
1924 dns_rdata_any_tsig_t tsig; local
1929 result = dns_rdata_tostruct(&rdata, &tsig, NULL);
1931 if (tsig.error != 0) {
1935 result = dns_tsigrcode_totext(tsig.error, b);
1980 ddebug("tsig verification successful");
2059 /* Windows doesn't like the tsig name to be compressed. */
2603 ddebug("tsig verification: %s", dns_result_totext(result));
/bind-9.6-ESV-R11/bin/tests/dst/
H A Dgsstest.c45 #include <dns/tsig.h>

Completed in 122 milliseconds

12