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

12

/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/tests/system/
H A Dans.pl150 my $tsig;
156 $tsig = Net::DNS::RR->new(
159 $tsig = Net::DNS::RR->new(
182 $tsig->{"request_mac"} =
185 $tsig->request_mac(
190 $packet->sign_tsig($tsig);
364 my $tsig;
370 $tsig = Net::DNS::RR->new(
376 $tsig = $prev_tsig;
378 $tsig
[all...]
H A Dconf.sh.in29 TSIGKEYGEN=$TOP/bin/confgen/tsig-keygen
87 statschannel stub tcp tkey tsig tsiggss unknown upforwd
H A Dconf.sh.win3235 TSIGKEYGEN=$TOP/Build/$VSCONF/tsig-keygen@EXEEXT@
98 tkey tsig tsiggss unknown upforwd verify views wildcard xfer
/bind-9.11.3/lib/dns/
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 Dtsec.c17 #include <dns/tsig.h>
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 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 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 Dtkey.c34 #include <dns/tsig.h>
H A Dupdate.c48 #include <dns/tsig.h>
/bind-9.11.3/bin/tests/system/upforwd/ans4/
H A Dans.pl133 my $tsig = Net::DNS::RR->
150 $tsig->{"request_mac"} =
154 $packet->sign_tsig($tsig);
291 my $tsig = Net::DNS::RR->
308 $tsig->{"request_mac"} =
312 $tsig->sign_func($signer) if defined($signer);
313 $packet->sign_tsig($tsig);
/bind-9.11.3/bin/tests/system/tkey/
H A Dtests.sh84 echo "I:checking the key with 'rndc tsig-list'"
86 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 tsig-list > rndc.out.1
102 echo "I:deleting the key with 'rndc tsig-delete'"
104 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 tsig-delete bar.example.server > /dev/null || ret=1
105 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 tsig-list > rndc.out.2
125 echo "I:checking the new key with 'rndc tsig-list'"
127 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 tsig-list > rndc.out.3
H A Dkeydelete.c39 #include <dns/tsig.h>
H A Dkeycreate.c39 #include <dns/tsig.h>
/bind-9.11.3/lib/dns/include/dns/
H A Dclient.h43 #include <dns/tsig.h>
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/bin/named/
H A Dnotify.c19 #include <dns/tsig.h>
H A Dtsigconf.c23 #include <dns/tsig.h>
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,
H A Dconfig.c33 #include <dns/tsig.h>
/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/bin/tests/dst/
H A Dgsstest.c38 #include <dns/tsig.h>
/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 5628 milliseconds

12