Warda-DNSDocs Warda: from ward — to protect, guardian
v0.9.3

What lets devices go around Warda without anyone knowing, checked every 5 minutes (task network.checks, the first 2 minutes after start) and shown in Network → Network analysis (card Network check, Check again), in the assistant (step of the box, after Check), and on the dashboard of the administrators (a warning with a link: the IPv6 bypass — a server announced; from 0.7.11 never a server only given by DHCPv6 — and the silent machines placed in no group — the computers and phones; a TV or a printer with a DNS of its own is only listed on the page). GET /api/v1/network/checks (administrators) gives:

  • ipv6: state — bypass (a router announces, in its router advertisements, another DNS server than Warda, or this machine got one while the watch cannot run: the devices ask it first, or as well; in 0.7.10 a server only given by a DHCPv6 server was a bypass too), from 0.7.11 possible (no router announces one, a DHCPv6 server gives one: only the devices that ask DHCPv6 can use it, see The states of the check), dhcpv6 (a default router sets the flag M or O without announcing a DNS server: its DHCPv6 may give one; from 0.7.10 only while no DHCPv6 server answered Warda), ok (IPv6 without another server), none (no IPv6 router heard) or unknown (the watch cannot run: IPv6 off on this machine, a container without the network of the host) —; watch (running, interface, since, last_asked, error); routers (each router heard: addr link-local, mac from the source link-layer option, else the neighbour table, lifetime as default router in seconds, managed, other, dns announced (RDNSS), search (DNSSL), prefixes, first, last, and from Warda foreign (the DNS servers that are not Warda), from 0.7.10 foreign_dhcp (those its DHCPv6 server gives) and former (among both, the addresses Warda had before: the setting of the box points to the old one), from 0.8.4 warda (the servers announced or given that are another Warda box — the other box of a pair, or a box an administrator confirmed that still answers as Warda from the hardware address confirmed —, left out of foreign and foreign_dhcp; a server that only answers as Warda stays in them: see The IPv6 DNS of the box), vendor (IEEE registry), label and device_id (the machine of the network with this hardware address, the model of the box for the gateway), gateway); resolvers (the IPv6 DNS servers of this machine, from resolv.conf, a bypass only when the watch cannot run: with it, a server written by hand on this machine is not one); announced (Warda announces itself, section above); own (the IPv6 addresses of Warda to give as DNS server, local ones — ULA — first, never the link-local one) and, from 0.7.10, link_local (its link-local address, which exists even when the network has no IPv6); from 0.8.4 warda_probable (the servers announced or given that answer as Warda without a confirmation that applies, still a bypass: addr, mac and vendor when the neighbour table knows them) and warda_confirmed (the confirmations: addr, mac confirmed, vendor, by, at, applies, and when it does not apply reason — mac: another hardware address answers at that address now, given in seen_mac; answer: the server does not answer as Warda; unseen: no answer kept, the server is not announced now or not asked yet).
  • silent: the machines present on the network (seen in the last 45 minutes) for an hour at least without a break (no gap of more than 45 minutes between two sightings: a laptop just woken or a phone just back home asks soon enough) that asked Warda nothing for 24 hours — never the box itself, the gateway, the routers, nor the machines of the group Network equipment (switches and access points ask nothing, rightly), nor the machines ignored (below) —, computers and phones first: mac, addr, label, vendor, random_mac, device_id, first_seen, seen_at, last_query (zero: never), group; silent_known (the machines of the network can be seen), machines and using (those present, those that ask Warda; the ignored machines are not counted), at. The start of the current presence of each machine is kept (present_since of the machines of GET /api/v1/network: the time it was seen again after a gap of more than 45 minutes).
  • ignored: the machines an administrator ignores (mac, label, at), and acknowledged: the hardware addresses of the silent machines whose notice the dashboard hides.

A machine that uses a DNS of its own on purpose (a printer, a camera) is ignored with Ignore this device on its line (Network → Network analysis): it is listed apart under Devices ignored, with the date, and Stop ignoring counts it again (PUT /api/v1/network/checks/ignored/{mac} with an optional {"label": "…"}, DELETE /api/v1/network/checks/ignored/{mac}; audit network.silent.ignore and network.silent.count; 1024 machines at most). Hide until a new one appears, on the notice of the dashboard, hides it until a machine not in the list becomes silent (POST /api/v1/network/checks/acknowledge {"macs": [...]}, the silent machines of now; audit network.silent.hide). Both are kept in the database, for every administrator and across restarts.

The watch of the announcements (internal/ra, task network.ipv6) opens a raw ICMPv6 socket (CAP_NET_RAW) on the interface of the IPv4 default gateway, sends a router solicitation at start and every 10 minutes, and keeps what each router announces (only from a link-local address, hop limit 255; the announcements of Warda itself are left out) for its lifetime, 30 minutes at least and 24 hours at most, 32 routers at most (the one heard the longest ago gives way). An announcement without the DNS servers keeps those announced before for their lifetime (RFC 8106); a lifetime of 0 withdraws them. A router that announces another DNS server is told once a week for the same router and servers: notice network.ipv6dns (router|dns,dns|mac|label, Alerts, group of the bypasses, severity 5 in the SIEM export) and a warning in the log; from 0.7.10 a router that still announces an address Warda no longer has is told apart, notice network.ipv6moved (below); from 0.7.11 a server a DHCPv6 server gives without any router announcing it has a notice of its own, network.ipv6dhcp (below). The watch and the reading of the DHCP requests need the network of the host (the Debian package, the image, Docker with network_mode: host): in a bridged container the state is unknown and no request arrives.

The IPv6 DNS of the box#

From 0.7.10 (internal/admin/netcheck.go, internal/ra/watch.go, dhcp6.Ask). The case behind it: a box that announces its own IPv6 DNS server, a household that turned IPv6 off on its router to stop the bypass, and, days later, a mail server of the house published in IPv6 that nobody could reach in IPv6 any more. Turning IPv6 off is no longer what Warda says first.

  • The advice, in this order, on the check of the network, the warning of the DHCP page and of the assistant, and the note of the IPv6 announcements (7 languages): "In the box, put the IPv6 address of Warda as IPv6 DNS server: the box then announces Warda instead of itself." then "Otherwise, turn off only the IPv6 DNS announcement of the box, if it allows it. As a last resort, turn IPv6 off: the whole network then loses IPv6, and a server of your network published in IPv6 (AAAA records) can no longer be reached in IPv6."
  • The addresses of Warda to put in the box, on the card Network check, each with Copy and one line on which to choose: Link-local (link_local: does not depend on the provider and exists even when IPv6 is off on the network, but only works for the devices on the same local network as Warda, and some boxes may refuse it), Local (ULA) (does not depend on the provider, but only exists while the router gives this prefix to the network) and Global (accepted everywhere, but only exists when IPv6 is on and changes when the provider changes the prefix). On the network page they are shown at any time, so that the address can be put in the box before IPv6 is turned on there; in the assistant, only when there is something to change.
  • A DNS server given by DHCPv6 is found, no longer only suspected. When a router tells the devices to ask DHCPv6 (flags M or O), Warda asks the DHCPv6 servers of the network which DNS servers they give, as a device that only wants the settings does (an information-request from port 546, shared for the time of the question with the DHCPv6 client of the machine; 3 seconds after each solicitation of the routers, every 10 minutes; the DHCPv6 server of Warda itself is not asked). The equipment that answers is named with what it gives ("gives by DHCPv6", foreign_dhcp); a DHCPv6 server that is not a router heard is listed with them. The state dhcpv6 ("To check") stays only while no server answered. In 0.7.10 a server found this way made the state bypass; from 0.7.11 it makes the state possible when no router announces one (see The states of the check).
  • The check follows the change made in the box, by itself. The servers a router no longer announces are forgotten at the second solicitation after the change, whatever the lifetime the router gave them: 20 minutes at most (up to 0.7.9 they stayed for their lifetime, up to a day), and so is a DHCPv6 server that no longer answers. Check again asks at once.
  • The dashboard names the equipment and the servers it announces ("… announces its own IPv6 DNS server (…): devices go around Warda."); from 0.7.11 only the servers a router announces, never those a DHCPv6 server alone gives.
  • The address of Warda that changed. The addresses Warda gave to put in the box are kept (ipv6_own of the table meta, the latest first, 16 at most; in the backups; own to each box of a pair). After a reinstallation, another network card or a new prefix of the provider, a router that still announces one of them points to nothing: the check says so ("… was the IPv6 address of Warda, which changed: the setting of your box points to the old one. Put the new address there.", former) and an alert of its own is raised, network.ipv6moved (the same detail as network.ipv6dns, once a week for the same router and servers).
  • Another Warda box, confirmed by an administrator (from 0.8.4, internal/admin/wardaprobe.go, internal/admin/wardaconfirm.go). A second Warda box of the network, or the other box of a pair, that uses Announce Warda as IPv6 DNS is told as "… announces its own IPv6 DNS server: devices go around Warda". The box recognises a server that answers as Warda: it asks each IPv6 DNS server announced (or given by DHCPv6) the name of the health check of the high availability, healthcheck.warda.invalid (type A, a reserved name, over UDP port 53). Every Warda since 0.6.8 answers it itself with 127.0.0.1; any other resolver says the name does not exist. Any device of the network can give that answer, and would then hide a bypass; so that answer alone only makes the server "probably another Warda box": it stays in foreign (or foreign_dhcp), a bypass, an alert (network.ipv6dns), a point of the security center and of the device policies, and the network page adds "Probably another Warda box (…): confirm it if it is yours." with its hardware address and maker (warda_probable).
    • The confirmation. If the address is one of the household's Warda boxes, an administrator clicks This is my Warda box (« C’est mon boîtier Warda ») next to it, on the network page only (POST /api/v1/network/checks/warda {"addr": "…"}, the permission to change the network, the session and its CSRF token as every change; audit network.warda.confirm, <address> mac=<hardware address> or mac=unknown). Only a server that answers as Warda now can be confirmed (else 409), never an address of this box nor a loopback, multicast or unspecified address (400); 16 confirmations at most (400: remove one first). The box keeps the address and the hardware address the server answers from, read in the neighbour table of the machine (the address alone when the box cannot read that table, e.g. Docker without the network of the host).
    • While it applies, the server is listed in warda, not in foreign nor foreign_dhcp: never a bypass, an alert, a point of the security center nor of the device policies. The page shows it for information: "Another Warda box (…), confirmed by … on …: this is not a way around Warda. The devices that ask it are filtered by that box, with its own settings." (7 languages).
    • It applies only while the server answers as Warda from the hardware address confirmed (the neighbour table now, else the one of its last answer). Another device that takes the address, or a server that no longer answers as Warda, is a bypass again — alert included — until an administrator confirms it again; the page says why (reason mac, answer or unseen). Remove withdraws a confirmation (DELETE /api/v1/network/checks/warda/{addr}, 404 when there is none; audit network.warda.forget).
    • The other box of a pair (its address and the shared address) is recognised without a question nor a confirmation: "The other box of the pair announces itself as IPv6 DNS server (…): …".
    • Kept in the table meta (ipv6_warda, JSON): in the backups, and given to the secondary of a pair (the same network, the same servers).
    • Bounds: one server at a time, 1.5 seconds to answer, at most 16 servers a round, one round at a time; an answer kept 10 minutes (Warda or not, or no answer: a confirmed box that goes away is seen within minutes), 64 answers kept at most. The checks of every 5 minutes ask before telling anything; a page loaded before a server was asked asks it in the background, and the next load shows it.
    • New traffic, inside the network only: that one question, UDP to port 53 of the IPv6 DNS servers of the local network (announced or given by DHCPv6), at most every 10 minutes for each. It carries nothing of the household; nothing new goes to the Internet.

What to do box by box, and how to check from a computer: the guide, chapter 10.

The states of the check#

From 0.7.11 (decision of the owner of 2026-10-03). The case behind it: a router in relay mode (a Synology RT6600ax) that offers its own DNS server by DHCPv6 only, announcing none; the Windows computer of the house had not taken it, the Android phones never ask DHCPv6 — and the check said Goes around Warda, which was wrong. An announcement reaches every device; what a DHCPv6 server gives only reaches the devices that ask it. So the two are no longer told the same way:

State (state) Badge When What the card says
bypass Goes around Warda (the colour of a block) a router advertisement announces another DNS server than Warda (foreign of a router is not empty); or, when the watch cannot run, this machine got another IPv6 DNS server "The network announces another DNS server than Warda over IPv6. Windows, Android, iOS and macOS ask it first, or as well: part of the names, sometimes all, go around Warda without any error."
possible Possible bypass (the colour of a warning) no router announces one, and at least one DHCPv6 answer gives one (foreign_dhcp) "… offers its own DNS server by DHCPv6 (…). Only devices that ask DHCPv6 for their settings can use it: Android never does; Windows, macOS, iOS and Linux may, depending on what the router announces. Check one device (its list of DNS servers): if only Warda's addresses are there, nothing goes around Warda.", with the name of the equipment and the servers it gives
dhcpv6 To check (the colour of a warning) a default router sets the flag M or O, announces no DNS server, and no DHCPv6 server answered Warda "A router tells the devices to ask its DHCPv6 server, which may give them another DNS server; it did not tell Warda which."
ok Fine IPv6 without another DNS server than Warda
none No IPv6 no IPv6 router heard
unknown Cannot check the watch cannot run

The first that applies wins, in this order: a network where one router announces a server and another gives one by DHCPv6 is a bypass.

In the state possible, the card names the equipment and the servers it gives, and keeps the advice and the addresses of Warda to put in the box (above): putting the IPv6 address of Warda in the box or the router removes the possibility, and turning IPv6 off is still never what Warda says first. What it adds is the way to know: on one device, the list of its DNS servers (the commands are in the guide, chapter 10); when only addresses of Warda are there, nothing goes around Warda.

What follows the state, so that nothing says "devices go around Warda" for a server only given by DHCPv6:

Where bypass possible
The dashboard of the administrators a warning with the equipment and the servers it announces nothing
Device policies, ipv6_bypass and the warning of the compliance true, the warning false, no warning
Security center, action ipv6 serious, 15 points no action, no point lost; its notice counts with the minor alerts not seen (0 point)
Notice (Alerts, the SIEM export) network.ipv6dns, severity 5 network.ipv6dhcp, severity 3
The log of the service a warning an information

The notices of the IPv6 check, each told once a week for the same router and servers, with the detail router|dns,dns|mac|label (the link-local address of the router, the servers, its hardware address, its name), in the group of the bypasses of Alerts, with a link to the network check:

Kind Severity (CEF) When Text
network.ipv6dns 5 a router announces another DNS server; from 0.7.11 it lists the announced servers only "… announces its own IPv6 DNS server (…): the devices of the network go around Warda. Remove it from the router."
network.ipv6moved 5 from 0.7.10: the server announced is an address Warda had before "The IPv6 address of Warda changed: the setting of your box points to the old one (… announces …). Put the new address in the box."
network.ipv6dhcp 3 (low) from 0.7.11: a DHCPv6 server gives a server that no router announces "… offers its own DNS server by DHCPv6 (…): the devices that ask DHCPv6 for their settings may use it instead of Warda. Check one device, or put the IPv6 address of Warda in the router." Its badge on Alerts has the colour of a warning, not the one of a block as the other bypasses
network.ipv6dhcp with |former at the end of its detail 3 (low) from 0.7.11: the server given by DHCPv6 alone is an address Warda had before "The IPv6 address of Warda changed: the setting of your box points to the old one (… gives … by DHCPv6). Put the new address in the box." (alerts.kind.network.ipv6dhcpMoved)

A server both announced and given by DHCPv6 is told as announced only. The texts exist in the seven languages (checks.ipv6.possible, checks.ipv6.possibleText, alerts.kind.network.ipv6dhcp, alerts.kind.network.ipv6dhcpMoved).

The names of the phones. A phone or a tablet with a private address (random hardware address) gives no maker. When Warda is not the DHCP server of the network, it reads the requests the devices broadcast to the DHCP server of the box when they join (port 67, nothing answered; tried again every 10 minutes when the port is taken, and given back while Warda looks for another DHCP server before turning its own on): the name (option 12, the network name of a device that has none yet — a request can carry the hardware address of another device, so it never replaces one) and the class of the client (option 60: android-dhcp-… → Android, MSFT… → Windows); a name heard before the device asked Warda is kept 24 hours and given to it once it does. Else the system shows in the names it asks by itself, and no other system asks (internal/classify, devices.Systems, from the journal). Up to 0.7.9 the first such name decided, for good: an iPhone with a private address was shown as an Android phone, because the applications of Google ask the check of the connection of Android (connectivitycheck.gstatic.com) on an iPhone too.

The system of a device, by evidence (from 0.7.10, internal/classify/system.go). Each thing a device does that tells its system is a kind of evidence, added to those already kept for it (devices.system_marks: the kinds of evidence as bits, never the names asked), and the system is told again from all of them at each new one, by precedence:

Evidence Where it comes from
The DHCP class of Android option 60 android-dhcp-…, sent by the system itself
A name only Apple asks, or the DHCP request of Apple captive.apple.com, time-ios.apple.com, time-macos.apple.com, swscan.apple.com, swdist.apple.com; or, without a class, the list of options Apple asks for (option 55: 1, 121, 3, 6, 15… with 119 and 252)
macOS time-macos.apple.com, swscan.apple.com, swdist.apple.com; or the options 95, or 44 and 46, in the DHCP request, which no iPhone asks
Windows www.msftconnecttest.com, ipv6.msftconnecttest.com, www.msftncsi.com, *.wns.windows.com, settings-win.data.microsoft.com; or the DHCP class MSFT…
Linux (a desktop) connectivity-check.ubuntu.com, nmcheck.gnome.org, networkcheck.kde.org
The updates of Apple mesu.apple.com, gdmf.apple.com, gs.apple.com (iTunes asks them on a computer too)
The services of Apple *.push.apple.com, gateway.icloud.com (iCloud for Windows asks them too)
The check of the connection of Android connectivitycheck.gstatic.com, connectivitycheck.android.com (the applications of Google ask it on other systems too)
A service of Android android.clients.google.com, mtalk.google.com, play.googleapis.com, android.googleapis.com (Chrome asks some on a computer too)
  1. the DHCP class of Android: Android;
  2. a name only one system asks, or its DHCP request: Apple, then Windows, then Linux;
  3. with nothing of another system: the updates of Apple, its services on a private address, or a name of a device of Apple (iPhone…, iPad…, MacBook…, iMac…, Mac-mini…, Mac-Pro…, Mac-Studio…): Apple;
  4. with nothing of another system: Android, once both its check of the connection and one of its services were asked (one name alone is asked by the applications of Google on other systems);
  5. the maker Apple, for a hardware address that is not a private one: Apple.

A system of Apple is a Mac when macOS showed (or its name says so), an iPhone or iPad when its name says so or its hardware address is a private one, else an Apple device. A private (random) hardware address tells no maker: it is never used as one. While the evidence is thin, nothing is told (the device stays Private address (…), never a guess of Android). The requests made to the DHCP server of Warda are heard like those made to another server (class, options asked). The maker of an Android phone is learnt after it from its services (OnePlus, Samsung, Xiaomi, Huawei, Motorola, realme, OPPO: a strong mark replaces the cloud of OPPO, shared by OnePlus and realme). system of the device is ios, macos, apple, android, android/oneplus, windows or linux; the Devices page shows the system and the maker of an Android phone with their space ("Android OnePlus"); the label of a device with no name, no network name and no maker is then iPhone or iPad (10.0.4.186), Mac (…), Apple device (…), Android phone, OnePlus (10.0.4.197), Windows computer (…) or Linux computer (…) — the interface translates these labels and Private address (…) (shown Private or virtual address (…) from 0.8.5). At the first start of 0.7.10 the systems kept keep their evidence (Apple, Windows, Linux); an Android kept from before is forgotten and told again from what the device asks from then on.

The makers (0.7.0). The maker of a device comes from the three registries of the IEEE (MA-L, MA-M and MA-S, about 53,400 entries in internal/devices/oui.tsv), the longest prefix first: a block of 28 or 36 bits sold to a small maker wins over the block of 24 bits it is cut from. The blocks the IEEE lists as subdivided ("IEEE Registration Authority") and the "Private" listings are never shown as a maker. The maintainers regenerate the file with scripts/update-oui.sh (the three CSV files of the IEEE), which writes its date (# Generated:).

The makers kept fresh (from 0.8.5, function mac-vendors-fresh of the catalogue; internal/devices/ouifeed.go). The copy embedded in a version ages: warda-lists now publishes the three registries of the IEEE every day beside the lists, oui.tsv of its branch dist, in the same format with its date and its count (# Generated:, # Entries:; see warda-lists). The box downloads it once a day (task Device makers, devices.oui, 10 minutes after the start, then every 24 hours) from the same address as the lists, the same way: over HTTPS, with its ETag (304: nothing downloaded), never signed (the lists are not either); nothing of the box is sent. A file is refused, the table in use kept, when it is larger than 8 MiB, has no date, is dated more than two days ahead of the clock of the box (a table dated years ahead would stay in use for good, every later one being older), or holds fewer than 20,000 makers. The names of the makers must be UTF-8 without control characters (a new line could forge a line of a log or of a SIEM), cut at 160 bytes. The copy downloaded is kept in the data directory (oui/oui.tsv with its ETag) for the next start, and used while it is newer than the copy of the version (the fallback: a box that never downloaded, or whose download is refused, keeps the embedded one). Network → Network analysis says which table names the makers: "Makers of the hardware addresses: IEEE registries of 13 October 2026 (53,512 prefixes), updated every day." or "…: the copy of this version (53,429 prefixes), until a fresher one is downloaded with the lists." (makers of GET /api/v1/network: source embedded or downloaded, entries, generated).

Each new table names again the maker saved on the devices and on the machines of the network (a maker the new table no longer knows keeps the name saved).

Virtual machines and containers. A locally administered hardware address was always a phone's private address. Now the prefixes of the software that chooses addresses come first: 52:54:00 is a KVM/QEMU virtual machine (libvirt, Proxmox), 02:42 a Docker container, and 08:00:27 (registered at the IEEE to the maker of VirtualBox before Oracle) shows as VirtualBox; the labels read "KVM/QEMU virtual machine (10.0.4.20)" and "Docker container (…)". Any other locally administered address is a Private or virtual address (before: "Private address (phone)"): "Phones change their hardware address for privacy (the same phone may appear twice); virtual machines and containers use such addresses too."