#include <validator.h>
Public Types | |
enum | dlv_status { dlv_error, dlv_success, dlv_ask_higher, dlv_there_is_no_dlv } |
status of DLV lookup. More... | |
Data Fields | |
enum val_state | state |
State of the validator module. | |
struct dns_msg * | orig_msg |
The original message we have been given to validate. | |
struct query_info | qchase |
The query name we have chased to; qname after following CNAMEs. | |
struct reply_info * | chase_reply |
The chased reply, extract from original message. | |
size_t | rrset_skip |
The cname skip value; the number of rrsets that have been skipped due to chasing cnames. | |
struct trust_anchor * | trust_anchor |
the trust anchor rrset | |
struct ub_packed_rrset_key * | ds_rrset |
the DS rrset | |
uint8_t * | empty_DS_name |
domain name for empty nonterminal detection | |
size_t | empty_DS_len |
length of empty_DS_name | |
struct key_entry_key * | key_entry |
the current key entry | |
enum val_classification | subtype |
subtype | |
uint8_t * | signer_name |
signer name | |
size_t | signer_len |
length of signer_name | |
int | wait_prime_ta |
true if this state is waiting to prime a trust anchor | |
int | dlv_checked |
have we already checked the DLV? | |
uint8_t * | dlv_lookup_name |
The name for which the DLV is looked up. | |
size_t | dlv_lookup_name_len |
length of dlv lookup name | |
uint8_t * | dlv_insecure_at |
Name at which chain of trust stopped with insecure, starting DLV DLV must result in chain going further down. | |
size_t | dlv_insecure_at_len |
length of dlv insecure point name | |
enum val_qstate::dlv_status | dlv_status |
status of DLV lookup. |
status of DLV lookup.
Indication to VAL_DLV_STATE what to do
struct reply_info* val_qstate::chase_reply [read] |
The chased reply, extract from original message.
Can be: o CNAME o DNAME + CNAME o answer plus authority, additional (nsecs) that have same signature.
Referenced by processFindKey(), processFinished(), processInit(), processValidate(), and val_new().
size_t val_qstate::rrset_skip |
The cname skip value; the number of rrsets that have been skipped due to chasing cnames.
This is the offset into the orig_msg->rep->rrsets array, into the answer section. starts at 0 - for the full original message. if it is >0 - qchase followed the cname, chase_reply setup to be that message and relevant authority rrsets.
The skip is also used for referral messages, where it will range from 0, over the answer, authority and additional sections.
Referenced by processFinished(), processInit(), processValidate(), and val_new().
uint8_t* val_qstate::dlv_lookup_name |
The name for which the DLV is looked up.
For the current message or for the current RRset (for CNAME, REFERRAL types). If there is signer name, that may be it, else a domain name
Referenced by process_dlv_response(), processDLVLookup(), and val_dlv_init().
status of DLV lookup.
Indication to VAL_DLV_STATE what to do