Repository navigation
Add destination lookups and click-to-copy - #6
Merged
Merged
Conversation
Expanded rows now show which clients reached a destination and offer an on-demand Look up: the domain's RDAP registration (longest name first, so a registry's own co.uk record never wins), DNS with the canonical name that reveals the CDN, and the certificate the server presents, plus research links. IP destinations get the network's RDAP owner and reverse DNS. Private and other non-public addresses are never contacted, results are cached for a day, and DOMAIN_LOOKUP=false turns it off. Any value in the details and events table can be clicked (or focused and Enter) to copy it; a destination copies just the IP. The Clipboard API is tried first, with the execCommand fallback when it's blocked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CodeQL flagged ssl.create_default_context() as allowing TLS 1.0/1.1. Python 3.12+ with OpenSSL 3 refuses them anyway, but say so explicitly, in the new certificate lookup and in the existing firewall XML API client. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
What does this change?
About this destination, in each expanded row:
POST /api/lookup, same-origin protected):co.ukrecord from matching.DOMAIN_LOOKUP=falseturns it off.Click to copy: any value in the details and the events table copies when clicked, or when focused and Enter is pressed, and shows "Copied". A destination copies just the IP, without the port. The page tries the Clipboard API first and falls back to
execCommandwhen that's blocked (plain HTTP, permissions policy, embedded browsers). Values are labelled "Copy …" for screen readers.How was it tested?
uv run python -m unittest discover tests: 81 tests, 11 of them new for lookups (fake network). They also pass inside the image on Python 3.14.terraform test(not affected).combehind a CDN, a.co.uk, a deep subdomain, a public IP, and a private IP (not contacted).Checklist
CHANGELOG.md(Unreleased) updated where users would notice🤖 Generated with Claude Code