Add first-seen and last-seen DNS history metadata#23
Open
LAieh12 wants to merge 5 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1.
Implements first-seen / last-seen tracking for DNS records in JSON history output, including preservation of historical records that disappear from later scans.
Changes:
first-seen,last-seen,seen, andcurrently-seenmetadata todns_probeentries.currently-seen: falsewhile current records are written ascurrently-seen: true.--fs/--first-seento print records first observed in the current run.--ls/--last-seen Nto print missing records last seen at least N days ago.--lsd/--last-seen-dateto print missing records last seen before a US date/datetime.Verification:
git diff --checkpasses.-DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DDOOKED_BUILD_HISTORY_TESTS=ON.dooked_dns_history_testwith MSVC.ctest --output-on-failurepasses for the DNS history regression test.Paypal: https://www.paypal.me/VeraLeonardo16