mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Derive results of DNS lookups from from input when in BRO_DNS_FAKE mode.
Addresses BIT-1134.
This commit is contained in:
parent
8b241947d6
commit
dbe5dfb3c3
3 changed files with 27 additions and 21 deletions
|
@ -102,9 +102,6 @@ protected:
|
|||
|
||||
Val* BuildMappingVal(DNS_Mapping* dm);
|
||||
|
||||
TableVal* BuildFakeAddrResult();
|
||||
const char* BuildFakeNameResult();
|
||||
|
||||
void AddResult(DNS_Mgr_Request* dr, struct nb_dns_result* r);
|
||||
void CompareMappings(DNS_Mapping* prev_dm, DNS_Mapping* new_dm);
|
||||
ListVal* AddrListDelta(ListVal* al1, ListVal* al2);
|
||||
|
@ -166,8 +163,6 @@ protected:
|
|||
|
||||
RecordType* dm_rec;
|
||||
|
||||
uint32 dns_fake_count; // used to generate unique fake replies
|
||||
|
||||
typedef list<LookupCallback*> CallbackList;
|
||||
|
||||
struct AsyncRequest {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue