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

12

/macosx-10.10/bind9-45.101/bind9/lib/dns/rdata/any_255/
H A Dtsig_250.c360 dns_rdata_any_tsig_t *tsig = source; local
366 REQUIRE(tsig->common.rdclass == rdclass);
367 REQUIRE(tsig->common.rdtype == type);
375 RETERR(name_tobuffer(&tsig->algorithm, target));
384 RETERR(uint16_tobuffer((isc_uint16_t)(tsig->timesigned >> 32),
386 RETERR(uint32_tobuffer((isc_uint32_t)(tsig->timesigned & 0xffffffffU),
392 RETERR(uint16_tobuffer(tsig->fudge, target));
397 RETERR(uint16_tobuffer(tsig->siglen, target));
402 RETERR(mem_tobuffer(target, tsig->signature, tsig
431 dns_rdata_any_tsig_t *tsig; local
528 dns_rdata_any_tsig_t *tsig = (dns_rdata_any_tsig_t *) source; local
[all...]
/macosx-10.10/bind9-45.101/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);
515 tsig_log(tkey, 2, "tsig expire: deleting");
877 dns_rdata_any_tsig_t tsig, querytsig; local
898 * If this is a response, there should be a query tsig.
908 tsig.mctx = mctx;
909 tsig.common.rdclass = dns_rdataclass_any;
910 tsig
1160 dns_rdata_any_tsig_t tsig, querytsig; local
1470 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;
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
1521 * that msg->sig0 or msg->tsig wil
2925 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;
981 result = dns_message_getquerytsig(message, mctx, &request->tsig);
1185 result = dns_message_setquerytsig(message, request->tsig);
1439 if (request->tsig != NULL)
1440 isc_buffer_free(&request->tsig);
H A Dresolver.c59 #include <dns/tsig.h>
144 isc_buffer_t *tsig; member in struct:query
918 if (query->tsig != NULL)
919 isc_buffer_free(&query->tsig);
1525 query->tsig = NULL;
1944 &query->tsig);
6665 if (query->tsig != NULL) {
6666 result = dns_message_setquerytsig(message, query->tsig);
/macosx-10.10/bind9-45.101/bind9/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.c263 dns_rdata_any_tsig_t tsig; local
264 result = dns_rdata_tostruct(rdata, sp = &tsig, NULL);
525 dns_rdata_any_tsig_t tsig; local
526 result = dns_rdata_tostruct(rdata, sp = &tsig, mctx);
817 dns_rdata_any_tsig_t tsig;
818 result = dns_rdata_fromstruct(rdata2, rdc, rdt, &tsig, b);
/macosx-10.10/bind9-45.101/bind9/bin/tests/system/
H A Dans.pl147 my $tsig = Net::DNS::RR->
164 $tsig->{"request_mac"} =
168 $packet->sign_tsig($tsig);
334 my $tsig = Net::DNS::RR->
351 $tsig->{"request_mac"} =
355 $tsig->sign_func($signer) if defined($signer);
356 $packet->sign_tsig($tsig);
/macosx-10.10/bind9-45.101/bind9/bin/tests/system/upforwd/ans4/
H A Dans.pl134 my $tsig = Net::DNS::RR->
151 $tsig->{"request_mac"} =
155 $packet->sign_tsig($tsig);
285 my $tsig = Net::DNS::RR->
302 $tsig->{"request_mac"} =
306 $tsig->sign_func($signer) if defined($signer);
307 $packet->sign_tsig($tsig);
/macosx-10.10/bind9-45.101/bind9/bin/tests/system/tkey/
H A Dtests.sh92 echo "I:checking the key with 'rndc tsig-list'"
94 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 tsig-list > rndc.out
101 echo "I:deleting the key with 'rndc tsig-delete'"
103 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 tsig-delete bar.example.server > /dev/null || ret=1
104 $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>
/macosx-10.10/bind9-45.101/bind9/bin/dig/
H A Dhost.c421 dns_rdataset_t *opt, *tsig = NULL; local
538 tsig = dns_message_gettsig(msg, &tsigname);
539 if (tsig != NULL)
575 if ((tsig != NULL) && !short_form) {
577 result = printrdata(msg, tsig, tsigname,
/macosx-10.10/mDNSResponder-561.1.1/mDNSCore/
H A DDNSDigest.c1324 AuthRecord tsig; local
1341 mDNS_SetupResourceRecord(&tsig, mDNSNULL, 0, kDNSType_TSIG, 0, kDNSRecordTypeKnownUnique, AuthRecordAny, mDNSNULL, mDNSNULL);
1344 AssignDomainName(&tsig.namestorage, &info->keyname);
1348 tsig.resrec.rrclass = kDNSQClass_ANY;
1353 tsig.resrec.rroriginalttl = 0;
1354 MD5_Update(&c, (mDNSu8 *)&tsig.resrec.rroriginalttl, sizeof(tsig.resrec.rroriginalttl));
1357 AssignDomainName(&tsig.resrec.rdata->u.name, &HMAC_MD5_AlgName);
1359 rdata = tsig.resrec.rdata->u.data + len;
1390 // finish the message & tsig va
[all...]
/macosx-10.10/bind9-45.101/bind9/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>
1319 dns_name_t *tsig = NULL; local
1358 tsig = dns_tsigkey_identity(mykey);
1361 if (allowed(&netsrc, tsig, view->matchclients) &&
1362 allowed(&netdst, tsig, view->matchdestinations))
1725 dns_name_t *tsig = NULL; local
1730 tsig = dns_tsigkey_identity(client->message->tsigkey);
1732 if (allowed(&netaddr, tsig, view->matchclients) &&
1733 allowed(&client->destaddr, tsig,
H A Dconfig.c42 #include <dns/tsig.h>
/macosx-10.10/bind9-45.101/bind9/lib/dns/include/dns/
H A Dclient.h51 #include <dns/tsig.h>
H A Dmessage.h202 dns_rdataset_t *tsig; member in struct:dns_message
413 * TSIGs are detected and stored in the pseudo-section "tsig".
1082 * Set the tsig key for 'msg'. This is only necessary for when rendering a
1091 *\li 'key' is a valid tsig key or NULL.
1103 * Gets the tsig key for 'msg'.
1134 * Gets the tsig from the TSIG from the signed query 'msg'. This is also used
1150 *\li 'tsig' points to NULL or an allocated buffer which must be freed
/macosx-10.10/swig-12/Source/Swig/
H A Dtypemap.c536 String *tsig; local
543 tsig = NewStringEmpty();
550 Printf(tsig, "-%s+%s:", Getattr(p, "type"), Getattr(p, "name"));
557 Delete(tsig);
567 char *ctsig = Char(tsig);
581 Delete(tsig);
/macosx-10.10/bind9-45.101/bind9/lib/dns/win32/
H A Dlibdns.mak196 -@erase "$(INTDIR)\tsig.obj"
320 "$(INTDIR)\tsig.obj" \
524 -@erase "$(INTDIR)\tsig.obj"
525 -@erase "$(INTDIR)\tsig.sbr"
656 "$(INTDIR)\tsig.sbr" \
751 "$(INTDIR)\tsig.obj" \
1897 SOURCE=..\tsig.c
1902 "$(INTDIR)\tsig.obj" : $(SOURCE) "$(INTDIR)"
1909 "$(INTDIR)\tsig.obj" "$(INTDIR)\tsig
[all...]
/macosx-10.10/bind9-45.101/bind9/bin/nsupdate/
H A Dnsupdate.c75 #include <dns/tsig.h>
2017 dns_rdata_any_tsig_t tsig; local
2022 result = dns_rdata_tostruct(&rdata, &tsig, NULL);
2024 if (tsig.error != 0) {
2028 result = dns_tsigrcode_totext(tsig.error, b);
2073 ddebug("tsig verification successful");
2152 /* Windows doesn't like the tsig name to be compressed. */
2752 ddebug("tsig verification: %s", dns_result_totext(result));
/macosx-10.10/bind9-45.101/bind9/bin/tests/dst/
H A Dgsstest.c45 #include <dns/tsig.h>

Completed in 217 milliseconds

12