Dashboard User interface ideas:
Migrated from adguard home and what a great software
I wanted to suggest some Dashboard UI improvements ideas if you have time:
-
dashboard graph to default to user choice instead of last hour
-
Aliases for client ip so dashboard is easier to read; 192.168.0.123 would show Pi for example
-
clicking a dot on the graph would give options to show the logs around that time range in the clicked category
-
re arranging section order
Regarding your second point, client IPs will be checked against PTR records. Add those for clients & you'll see the names on the dashboard.
Thanks for the feedback.
dashboard graph to default to user choice instead of last hour
The view defaults to Last Hour so as to show the latest data that is coming in. The other views are not something expected to remain there by everyone.
Aliases for client ip so dashboard is easier to read; 192.168.0.123 would show Pi for example
You will need to either manually add PTR records for this or create a conditional forwarder reverse zone for your network range and forward it to your router so that the local names are resolved from the router.
clicking a dot on the graph would give options to show the logs around that time range in the clicked category
This is something that is not feasible currently since the chart library being used is quite old and does not support such options.
re arranging section order
This is something that can be done when dashboard is revamped. This is something that is currently not planned due time issues.
thanks I got the PTR records working
shame for the chart library; that would be game changer for quick inspection.
I still think the default to last hour is not great; I get devices with lots of request in a short amount of time and it makes the graph almost unreadable (screen below)
great software thow; thank you for your work.
thanks I got the PTR records working
Good to know that its working now.
shame for the chart library; that would be game changer for quick inspection.
The chart library needs to be upgraded but the newer version are totally incompatible and thus requires major work to do so. Tasks like these will be taken up later once other core features are in place.
I still think the default to last hour is not great; I get devices with lots of request in a short amount of time and it makes the graph almost unreadable (screen below)
Yes, but the other views you have do not show you latest data. If you make it show Last Day, it will not show you current hour data.
great software thow; thank you for your work.
Thanks for the kind words. You're welcome.
Instead of creating my own issue I piggyback on this one.
It would also be handy on the graph page to have in lets say upper right or such an icon to manually reload the graph along with a setting of autoupdate and how often it should autoupdate.
Like having a default of every 5 seconds or so.
Today it seems that I need to refresh the whole page from the browser (pressing F5 or such).
It refreshes every 1min currently
Oh, I didnt wait long enough then :-)
I would still want to remain with the piggybacked feature request.
Just comparing with others where this is common to have an icon to click on to manully refresh the graphs along with a setting displayed for what the current autorefresh timer is set to.
@Apachez- Thanks for the comment. The "Last Hour" view refreshes automatically every 60 sec. Refreshing it frequently before that does not make any difference since the data being displayed is in minutes resolution.
You can click on the "Dashboard" tab header and the view will refresh manually so no need to press F5. All tab sections refresh when you click on them except for ones where there is explicit refresh option to avoid changing view state.
if its possible for mee to make a suggestion, could average dns query latency be a possible option if i am not mistaken adguard home as this in the gui plus it lists each dns sever used plus the average latency of that server
if its possible for mee to make a suggestion, could average dns query latency be a possible option if i am not mistaken adguard home as this in the gui plus it lists each dns sever used plus the average latency of that server
@redpoisonv3 If you mean to show average latency for upstream/forawrders then that is planned but due to some issues is still pending.
if its possible for mee to make a suggestion, could average dns query latency be a possible option if i am not mistaken adguard home as this in the gui plus it lists each dns sever used plus the average latency of that server
@redpoisonv3 If you mean to show average latency for upstream/forawrders then that is planned but due to some issues is still pending.
Yes that is exactly what I meant, I was going to open a ticket suggestion or feature request to ask for the refused code blocking method like adguard home has & a Drop Requests blocking method like the app in the store.
But to keep it relevant to the topic at hand, I would be curious to see in a future update the display of the recursive servers that are being used like the ones that are constantly being contacted, it would be generally useful to see how much the prefer ipv6 toggle is working.
But to keep it relevant to the topic at hand, I would be curious to see in a future update the display of the recursive servers that are being used like the ones that are constantly being contacted, it would be generally useful to see how much the prefer ipv6 toggle is working.
The planned feature will work with forwarders and recursive resolution as a whole. It is not practical to show data for each name server for recursive resolution as there would be thousands of name servers even for a small deployment.
I guess the stats can be done for both ipv4 and ipv6 separately. Will need to do some analysis on how that can be done.
But to keep it relevant to the topic at hand, I would be curious to see in a future update the display of the recursive servers that are being used like the ones that are constantly being contacted, it would be generally useful to see how much the prefer ipv6 toggle is working.
The planned feature will work with forwarders and recursive resolution as a whole. It is not practical to show data for each name server for recursive resolution as there would be thousands of name servers even for a small deployment.
I guess the stats can be done for both ipv4 and ipv6 separately. Will need to do some analysis on how that can be done.
I don't mean all severs I mean like the 4 or 6 most popular ones that keep getting contacted similar to how the most commonly blocked domain, it's just a curiosity of mine
I don't mean all severs I mean like the 4 or 6 most popular ones that keep getting contacted similar to how the most commonly blocked domain, it's just a curiosity of mine
With recursive resolution, resolving each domain name could cause querying more than 4-6 name servers by itself. Each domain name has its own set of name servers. Sure there are some popular DNS hosting services but the number of domain name in question wont give you any meaningful info with just top 4-6 or even top 10 name servers. Thus putting in efforts to build a stats module for this wont be really useful.
I don't mean all severs I mean like the 4 or 6 most popular ones that keep getting contacted similar to how the most commonly blocked domain, it's just a curiosity of mine
With recursive resolution, resolving each domain name could cause querying more than 4-6 name servers by itself. Each domain name has its own set of name servers. Sure there are some popular DNS hosting services but the number of domain name in question wont give you any meaningful info with just top 4-6 or even top 10 name servers. Thus putting in efforts to build a stats module for this wont be really useful.
Thank you for the clarification now I understand what you mean, but as ans aside I'll open a separate topic about the blocking modes
If a different take on the web console is of interest while these ideas are open: I've packaged an alternative console for Technitium that installs over the stock one and can be removed with one command — same API, same behaviour, rebuilt interface (dark theme, real URLs per section, usable on a phone). It doesn't implement the ideas above; it stays exactly as capable as the stock console, just laid out differently.
https://github.com/byGarcia/technitium-console
@byGarcia interesting alternative but very confused how you install it when technitium is docker based ? your install doc is not very clear to me sorry. As for the phone Im using the Techion app
Fair question, the README buries this. If your Technitium is 15.5 or later (the first version that can serve its web console from a folder of its own), there is a small companion Docker image that does it with a volume, no host folder or curl | sh needed:
services:
dns-server:
image: technitium/dns-server:latest
# your existing ports, hostname, restart, config volume, etc. unchanged
environment:
- DNS_SERVER_WEB_SERVICE_WWW_FOLDER_PATH=/opt/technitium-console
volumes:
- technitium-console:/opt/technitium-console:ro
technitium-console: # copies the console into the volume, then exits
image: ghcr.io/bygarcia/technitium-console:latest
volumes:
- technitium-console:/target
restart: "no"
volumes:
technitium-console:
docker compose up -d
That restarts the DNS server once (its environment changed). The console appears a couple of seconds later once the copy finishes; if the copy fails for any reason, the server starts fine anyway with its stock console. To update later without restarting the server:
docker compose pull technitium-console && docker compose up -d technitium-console
To remove it, drop the technitium-console service/volume and the environment variable, then docker compose up -d --remove-orphans to go back to the stock console.
Full details, pinning a version, editing custom block lists by hand, and the non-Compose docker run form are all under the Docker section of the README.
@byGarcia:
I dont have high hopes for AI/LLM (since its mostly hallucinating in my experience) but it can be used as a 2nd opinion for code review (just like some random dude/dudette you can find on the street) because every now and then it do identify things correctly.
In your case have you tried running lets say install.sh through some 2nd opinion hallucinating AI/LLM?
ChatGPT gave the following hints as severe:
local privilege-escalation vulnerability
1. High: Time-of-check/time-of-use (TOCTOU) symlink attack during root-owned publishing
The biggest issue is the combination of:
* the installer running as root;
* the web root potentially being writable by the Technitium service account;
* refuse_links() checking the directory tree only once;
* copy_one() subsequently writing through paths without re-validating them.
How I'd fix it
The safest approach is to avoid pathname-based root writes into attacker-writable directories.
For example:
* stage the complete console in a root-owned directory;
* make the final directory root-owned/non-writable during publication, or
* use directory/file-descriptor-based operations with openat()/renameat() and O_NOFOLLOW;
* alternatively, atomically replace the entire web root with a root-owned directory rather than copying individual files into a potentially writable tree.
At minimum, the destination should not be writable by an untrusted UID while the root installer is publishing.
I have not verified above claims so I leave it for the maintainer to verify if they ar true and if so if something should be done or not.
@Apachez- Thanks for flagging this. I checked the installer source and the concern about root writes into a service-writable tree was valid: a one-time symlink scan was not enough.
This is fixed in technitium-console v1.2.3. The root installer now refuses console paths that a non-root account can change, including their parent directories. Publication, backup/restore and custom-list migration reject links, unsafe file types and ambiguous pathnames; installer state and temporary files use protected root-owned storage. It refuses unsafe existing trees instead of changing their ownership in place.
For an existing service-owned installation, use a fresh root-owned console directory, or a dedicated Docker console volume mounted read-only in the DNS server. The installation instructions and release notes explain this boundary.
I added offline GNU and BusyBox regression checks for the installer and reviewed the related code. The release passed all 1,647 tests in CI. The same release also fixes session-token handling during logout/expiry and sends DNSSEC private-key fields in POST bodies. These are source-reviewed fixes with regression coverage; I have not reproduced a compromise on a deployed server.
Thanks again for bringing a concrete issue to my attention.