Skip to content

Conversation

@jeremystretch
Copy link
Member

Closes: #18811

  • Introduce an equivalent NetHost lookup specifically for cached IP address values
  • Extend the search backend to employ this filter under certain conditions
  • Add a normalized ipv6_full property on the Aggregate, Prefix, and IPAddress models (for general use)

@jeremystretch jeremystretch requested review from a team and jnovinger and removed request for a team July 14, 2025 13:00
Copy link
Member

@jnovinger jnovinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is in scope, but when I do search for the IPv6 address in expanded form, it does not highlight the matched object, like it does when I search for and find it using the compressed format.

Addresses used for testing:

  • Expanded: 2001:0db8:0000:0000:0000:8a2e:0370:7334/64
  • Abbreviated: 2001:db8::8a2e:370:7334/64

Other than that (and one tiny grammar quibble in a comment), this all looks great.

jnovinger
jnovinger previously approved these changes Jul 14, 2025
Copy link
Member

@jnovinger jnovinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Derp, meant to approve this.

@jeremystretch
Copy link
Member Author

it does not highlight the matched object

Yeah, unfortunately I don't think this is feasible. The highlighting works on simple text matching; we would need to somehow expose the IPv6 addressing logic to support it. IMO it's fine to leave this as-is.

@jeremystretch jeremystretch requested a review from jnovinger July 14, 2025 14:16
@jnovinger jnovinger merged commit f05897d into main Jul 14, 2025
10 checks passed
@jnovinger jnovinger deleted the 18811-global-search-ipv6-full branch July 14, 2025 14:28
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Searching for IPv6 addresses in the global search should search for the compressed format

3 participants