Repository navigation
feat(monitoring): add live trace page - #854
Draft
gsanchietti wants to merge 16 commits into
Draft
gsanchietti wants to merge 16 commits into
gsanchietti wants to merge 16 commits into
Conversation
Co-authored-by: Tommaso Bailetti <[email protected]>
gsanchietti
force-pushed
the
firewall_debug
branch
2 times, most recently
from
November 10, 2026 13:53
4abbc6b to
89b4b63
Compare
The outbound direction of blocklists, shown in the Direction column and in the custom blocklist drawer, read "Outcoming", which is not an English word. Assisted-by: Claude Code:Opus 5.5
Add custom blocklists and allowlists (custom feeds) downloaded from URLs. Blocklist feeds list custom lists first with a star icon, and a new Allowlist feeds tab shows the Nethesis global allowlist, enabled with a subscription and not editable. The status badge moves to the Banned IPs tab, which becomes the first tab. Assisted-by: Claude Code:Opus 5.5
Threat Shield IP looked idle: Banned IPs listed only fail2ban bans, which are rare on most units. A new first tab, Blocklist bans, lists the addresses banned by blocklists in the last hour, one row per address, most hits first. The fail2ban tab becomes Brute force bans and its statuses say banned instead of blocked. Assisted-by: Claude Code:Opus 5.5
The Threat Shield DNS tab said "Blocklist sources" while Threat Shield IP says "Blocklist feeds" for the same kind of lists. Assisted-by: Claude Code:Opus 5.5
Administrators cannot tell which firewall layer blocks a client. The Monitoring > Live trace page traces one client IP for a limited time and shows the blocked connections with layer and rule, the DNS queries and the live connections with rates. Uses the new ns.livetrace API. Assisted-by: Claude Code:claude-fable-5-2
gsanchietti
force-pushed
the
firewall_debug
branch
from
November 12, 2026 15:35
89b4b63 to
d08c1dc
Compare
Allowed connections now always list one row per connection with its source port, so the "Show details" switch and the count column are gone. DNS queries move below the connections table. Assisted-by: Claude Code:Sonnet 5.5
Make the Go to Firewall rules link reachable from the keyboard, and reword the page description and empty states by the Nebula writing guidelines. Validate the IP address and port with valibot and the shared validators, clear a stale start error when stopping, type the ubus calls, and use hierarchical query keys and full i18n keys. Assisted-by: Claude Code:Opus 5.5
The rule tooltip listened for focus on its wrapper, so focusing the rule name never opened it and the Go to Firewall rules link was out of reach. A button that opens it on hover or click works with Enter. Assisted-by: Claude Code:claude-opus-5-5
Align the live trace page with the Nebula design system: show firewall rule details in a side drawer instead of a tooltip, use listboxes for short option lists, translate connection states, make the blocked banner a warning that counts connections, and fix empty states, button labels, titles and validation messages. Assisted-by: Claude Code:Sonnet 5.5
Show the live trace form and the results in two cards, as asked by the designer. The form stays visible while a session runs, with the traced values, a spinner and the time remaining, and the Start and Stop buttons match the height of the fields. The rule details drawer no longer links to Firewall rules. Assisted-by: Claude Code:Opus 5.5
Tbaile
force-pushed
the
release-8.9.0
branch
from
November 20, 2026 11:02
1c40d1a to
bc8d8b8
Compare
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.
When a client cannot reach something, administrators have to guess which part of the firewall is blocking it. The new Monitoring > Live trace page traces one client IP address for a limited time and shows which layer blocked each new connection: a firewall rule or zone policy, Threat Shield IP block lists, DPI (deep packet inspection) rules, the DNS filter or MAC binding.
The page starts a session with an IP address, a duration and an optional port and protocol filter, then refreshes every 2 seconds. The form stays visible during the session, with a spinner and the time remaining, and the results are shown in a separate card. While the session runs it lists the blocked connections, the routing warnings, the DNS queries and the live connections. After the session ends the results stay visible, together with the allowed connections of the session.
Screenshots
A session for a client in a zone that drops traffic to the firewall: the banner, the blocked connections with their layer and rule, and a private address sent to the WAN.
DNS queries with their result, and the live connections with application, interfaces and accepting rule.
After the session ends: the results stay visible, with the allowed connections of the session.
How to test
ns.livetraceAPI and builds this branchnft delete table inet ns_livetraceon the firewall: the page shows "Live trace session stopped unexpectedly", with the reason under "Show details"See also
Generated by Claude Code:claude-haiku-5-5 with nethserver-pr