Repository navigation
feat(monitoring): add live trace page - #854
Draft
gsanchietti wants to merge 4 commits into
Draft
gsanchietti wants to merge 4 commits into
gsanchietti wants to merge 4 commits into
Conversation
gsanchietti
force-pushed
the
firewall_debug
branch
2 times, most recently
from
November 10, 2026 13:53
4abbc6b to
89b4b63
Compare
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
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. 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