Skip to content

Improving readability of user defined rules - #894

Open
hitman1711 wants to merge 2 commits into
objective-see:masterfrom
hitman1711:feature/user-friendly-ip-ranges
Open

Improving readability of user defined rules#894
hitman1711 wants to merge 2 commits into
objective-see:masterfrom
hitman1711:feature/user-friendly-ip-ranges

Conversation

@hitman1711

@hitman1711 hitman1711 commented Jul 5, 2026

Copy link
Copy Markdown

Motivation

User-entered IP range such as: 1.2.3.4 - 23.3.4.6 should remain recognizable as an IP range rule in the UI.
The goal is to make range, CIDR, and wildcard rules easier to understand and manage while preserving compatibility with existing rules and matcher semantics.

Changes

• Added optional endpoint display metadata to Rule.
• Added archive and JSON import/export support for the new optional metadata.
• Added friendly endpoint helper methods for display/type/matcher text.
• Updated Add/Edit Rule behavior to preserve the user-friendly endpoint input.
• Preserved generated wildcard regex as the technical matcher while showing the original wildcard value.
• Updated the rules list connection row to show matcher details in a dedicated detail line.
• Added tooltips for long endpoint and matcher text.
• Rejected reversed IP ranges instead of silently normalizing them.
• Rejected malformed IP range-like input instead of saving it as an exact-match rule.

Related issue

Closes #885

@hitman1711
hitman1711 marked this pull request as ready for review July 5, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

non-Regex (regular syntax) for IP ranges

1 participant