Todos los cambios notables de NetPulse se documentan en este fichero.
El formato se basa en Keep a Changelog, y este proyecto se adhiere a Versionado Semántico.
automatic clears it, and a manually written name still wins over any source. The detail keeps showing the source in use and the full candidate list (#2163).server-go/go.mod requires. The Dockerfile pinned 1.26 and the image workflow never passed a version, so after the module moved to 1.27 every tag failed at the first go build and 2.56.0 shipped without an image. The workflow reads the toolchain from the module now (#2282).switch can now say where the switch hangs: pick switch and either the unit and port (routerId:port) or the device it sits behind. Before, the switch was placed only where its MAC had been learned, so a switch with no FDB entry yet, or one behind another switch, could not be put anywhere. routerId:port sets its place and the managed node appears on that port with the rest of the port nested under it; a device or a unit hangs the switch without inventing a node. The parent stays optional and attach and facet still require it (#2179).tag= of a Proxmox guest), and the detail keeps the difference between "no VLAN known" and "not in any VLAN". The identity was already MAC-based, so a device that moves between VLANs keeps its row and the badge follows; what was missing was the number on screen. The topology already coloured chips by VLAN, this closes the same gap in the list (#2178).ipv6-address comes in the same ubus dump as the IPv4, and the parser now publishes the first global address (link-local and ULA skipped, a deprecated address only when nothing else is left) in data.wan.ipv6. A modem uplink gets it from the child netifd creates for it, and an uplink with no IPv4 still reports its v6. The SSH poller shares the parser, so both paths gain it at once, and a router without v6 keeps the field absent (#2275).ipv6 field, so an external pusher that reads the uplink's global IPv6 (the gfiber pusher does) can push it instead of journalling it. The server passes it through to the WAN panel and to the WAN port tile, and a unit that reports only IPv6 keeps its address instead of being treated as having no WAN data (#2226). Thanks to @brainnoms for the contract.node, for pushers that must run on the monitored host itself: a Kubernetes node that reads its own kubelet and /proc, a Docker host, a storage box. The Integrations page registers the row, issues the token and shows the environment to set, and the server never downloads, installs, starts or stops anything there. Start and stop answer not_managed, update only refreshes the published version so the page can point at the download, edit keeps to the label and the interval, and the row stays pending until the pusher's first push makes it live (#2272).workloads section in the push: stable id, name, kind and state per guest. The server keeps the census as reported and shows it on the unit's detail page, a count and a list with each workload's state. It is detail data, not graph data: a node with a hundred pods does not draw a hundred clients (#2227). Thanks to @brainnoms for the contract.br-* bridges excepted, where an AP's uplink is its own LAN). Only devices attributed from ARP alone are filtered: a wireless association or an FDB entry still wins (#2235).facet of an existing device (target = agent slug, parent = the host's MAC): the agent stops being a second box on the map and becomes a face of the host it describes. The fold drops the row from routers[] and the canvas, hangs a facet pointer on the parent device ({routerId, label, online}) and renders the agent's panels - system vitals plus its workload census - inside the device's detail view. A stopped agent badges the device ("RKE2 agent down") instead of resurrecting the box, and health keeps scoring the full fleet (#2227).lldp section in the datagram, so the topology gets the chassis name, the local port and the management address from the unit that really sees those frames. The section is bounded (64 neighbours, 128 characters per text field), an old build keeps working unchanged, and an absent section keeps the last known neighbours (#2184).unauthorized, invalid_signature or stale_payload and kept only a timestamp, so the panel showed the same "token rejected" badge for a stale token, an agent older than the server and a unit whose clock is minutes off. The reason is stored next to the timestamp, returned by /api/agents as rejectedReason, shown in the badge tooltip with what to check, and quoted in the auto-rearm alert, which no longer says "restarted but did not come back" when the pushes never got in (#2211).+N, and the hover lists the whole set with each management address and remote port. A port with zero or one neighbour answers exactly as before (#2182).invalid_mac when the value is not one (#2244).workloads census has a ceiling and an expiry. The server keeps at most 256 items and 128 runes per text field, drops the excess and logs it once per unit, and hides the cached census when the unit has not pushed for 15 minutes. A dead pusher no longer leaves yesterday's pod list on the detail page (#2236).stale_payload. That reason means the unit clock is outside the freshness window, and neither a restart nor a rotation can move a clock: the loop just restarted the panel once per cooldown and dropped its buffered pushes. It now leaves an alert naming the clock and stays hands off (#2238).POST /api/alerts/silence requires duration or until. A body with neither fell through to forever, so a client that forgot the field silenced the alert with no expiry and no signal. forever still exists, but only when it is asked for by name (#2223).br-lan to run the unit as an access point stops being painted as the WAN port. The label already said LAN N, but the port kept the wan id and the panel draws every port with that id as the internet link, so a FRITZ!Box 4040 in AP mode showed its fifth bridged jack as "WAN" while the real uplink was another LAN port. The port now takes the id that matches its label, moves to the end of the chassis and keeps its traffic counters (#2181, reported by @fsolak47)./etc/netgrip/netpulse.env, the file the embedded agent reads, and the panel is restarted after it (#2208)..ssh that the service cannot read, such as a backup left by a session running as root, no longer aborts the whole backup: the archive is written without it and the journal names what stayed out. A persistent backup failure is also logged once and then once an hour instead of every retry, so the one minute scheduler no longer fills the journal with the same line (#2205).ADGUARD_INSECURE_SKIP_VERIFY=1 provides the same opt-in for environment-based setups (#2167, reported by @tam481).UbusCall sent an HTTP request to dropbear first, which is the three Exit before auth connections per cycle in the report (#1893, diagnosed with @crowedavid and @fsolak47).iwinfo, so a MediaTek mt_wifi unit no longer fills its log with RT_PRIV_IOCTL interface is down on every cycle. The classic iwinfo pass also stops running again when the combined pass already answered (#2176, reported by @danielz1z).owut download keeps the HTTP response open during remote ASU builds and returns the full command output on failure, shown in the unit card (#1978).boot.js instead of an inline script blocked by the production Content Security Policy (#2173).ping. It runs only when IPv4 forwarding is on and the unit has more than one subnet of its own. NETPULSE_PRESENCE_SCAN=on|off forces it or turns it off. One /24 per subnet at most, 32 addresses at a time.-I when the address is link-local, and re-reads ip -6 neigh to confirm the address and the MAC together.docs/whatsnew.md.[netpulse:<subsystem>], including mqtt, firmware, speedtest, rack, pve and agent (#2058, reported by @crowedavid).encoding/json/v2: 7,848,096 to 7,393,440 bytes on amd64, 5.8% smaller, with no trace of the package in the binary (#2096).agent/macaddr, with one parser and three new primitives, so the boundaries cannot drift apart again (#2135).?mac= filters on events, known MACs and beacons (#2121).model field (#2122).-r is repeated when the exclusion list is already in UCI (#2102).BA:BE:xx:xx:xx:xx) stop showing up as clients and stop holding topology nodes. They are mesh probes, not hosts, and every unit's FDB learns them (#1818, reported by @tam481 and @crowedavid).wg0 cuando el listado se ejecutó en el propio router (#2017, #2041).The WAN traffic chart alternates Curve and Bars, with Curve as the default (#1975). Curve is the smooth monotone line the chart had before #1790; the stepped variant is gone and the choice is remembered per browser.
The fleet traffic sparkline is a smooth curve too, matching the WAN chart (#1975). The stepped shape made every hourly bucket look like a stair without adding information.
A Send test button next to the push switch (#1973). Turning notifications on could not be checked: a push only leaves when a real urgent alert fires, so a broken setup stayed silent until an alert was missed. The button sends one notification to this device through the same path as real alerts and reports what the push service answered, including the reason on a rejection. An expired subscription is removed and the switch turns off. One test per user every ten seconds.
The WAN traffic chart can draw bars instead of the line (#1975). A switch next to the range selector picks Linear or Bars and remembers the choice in the browser. Nothing changes on the server.
The UI uses unit for an enrolled box and client for a network client (#1980). The Fleet summary, the comparison caption, the fleet filter, the Reports labels and the manual tagging panel said router or device depending on the screen. Both locales follow the Fleet/Unit convention from #1896 now.
Speakers count as entertainment and servers as computers in the client type filter (#1981). The entertainment group also replaced the TV label, and the Infra row left the filter because no live path assigns that group.
Web Push works on iPhones again (#1974). The VAPID subject was mailto:netpulse@localhost and Apple rejected every push with 403 BadJwtToken. The subject now comes from NETPULSE_VAPID_SUBJECT or an https NETPULSE_PUBLIC_URL, with the project page as fallback, and the push service reason is logged on 4xx.
Removing an agent no longer leaves the unit alerting that the agent is down (#1979). Uninstall and token delete forgot the in-memory registry but left the persisted state, so the next server start restored it and the unit emitted "Agent down - falling back to SSH" with no agent installed.
owut check evaluates the target picked in the UI (#1978). Without -V it compared against the installed release and answered that no upgrade was needed. Each check also writes a journal line with the target, the duration and the result, and a run without output says so in the card instead of showing nothing (#1977).
A unit without a temperature sensor no longer draws a flat 0 C (#1947). The SSH poll never marked which readings it really got, so a zero was persisted as a measurement. An unconfirmed zero is now dropped from the fleet card and from the metrics series.
The manual tagging form has a Save and a Cancel button (#1982). It showed an Add toggle and an Add submit at the same time, and closing the panel silently discarded the draft.
The agent card refreshes after an install finishes (#1894). It kept the state from before the operation, so a finished install looked stuck until the page was reloaded.
A deleted client comes back when it returns with an IP (#1984). The tombstone also blocked a client that reattached and got a DHCP lease or an ARP entry. A cached station without an IP stays buried.
Access points and NAS units stop wearing the switch badge (#1892, partial). The badge read the same flag that lets a unit claim clients with its forwarding table, so every external pusher with no routing duty looked like a switch. It now follows the payload: wireless clients and no WAN is an access point, a managed switch or SNMP is a switch, a pusher with several ports and no radios is a switch, and the rest stays external. The claim pass keeps its own rule.
A node drag in the topology no longer turns into a pan or opens the tagging panel on touch screens (#1983). A second pointer could arm a pan or a pinch during a drag, and the click that ends a chip drag opened the tagging sheet.
SSH to the whole fleet survives a corrupt known_hosts entry (#2014). Three writers touched the file without a shared lock, and the re-onboard path rewrote it in place after truncating, so an append landing inside that window left a half-written line. One malformed line makes the host key parser reject the entire file, which took out install, rearm, config backup and polling for every unit while agent pushes kept working. Writes are now serialized and the file is replaced with an atomic rename, so a reader never sees a partial file, and unreadable lines are dropped before loading with a log entry instead of being fatal. A test reproduces the corrupt file and checks that the connection path recovers.
The networks panel shows who is on each network (#1942). The clients column only filled when the client carried a VLAN tag, so a plain br-lan with no VLAN filtering, which is the normal home setup, showed an empty column even though the panel is the natural place to see who sits where. The server now attributes each client to exactly one network: by the wireless network its AP interface declares in UCI, by the switch port its MAC was learned on, or by the observed VLAN tag, which also disambiguates a trunk port present in several networks. A client whose network cannot be determined shows under none instead of being guessed. The count expands into a list with each client's name, IP and MAC.
Tagging a client now tells you who the MAC belongs to (#1945). The tag list and the MAC field worked with bare addresses, so tagging a handful of clients meant keeping a second window open to look each one up. The list shows the known device name next to the MAC, and the MAC field offers the inventoried clients as suggestions, so an existing client can be picked instead of typed.
The first automatic topology layout no longer overlaps inferred switches with other nodes (#1957). The collision resolver treats routers and distribution nodes as fixed and only pushes chips, so an inferred switch whose fan landed on a neighbour stayed overlapped until it was dragged by hand, and a chain fan could even place a node outside the canvas. A relaxation pass now moves only the distribution nodes before the chips are derived: away from routers, the Internet node, hypervisor hosts and each other, with a soft pull towards the position the fan chose and a clamp that keeps every node inside the viewport. It runs before the pinned positions are applied, so a manually placed node still wins.
A Proxmox guest without a VLAN tag no longer inherits one from the switch (#1757). The device builder fills an empty VLAN from what the router's forwarding table learned for that MAC, which is fine for a plain client but wrong on a trunk port: the hypervisor's own MAC and every untagged guest were filed under whatever VLAN the switch happened to see, and the Proxmox pass only corrected guests that carried an explicit tag. The guest's configured tag is now applied even when it is empty, and the host itself is left without a VLAN, because neither of them lives behind a single tag.
The only ethernet port of an access point is no longer presented as a WAN link (#1949). Units like the WAX220 still declare a WAN device in board.json even though that port is a member of the LAN bridge and the box has no WAN interface. The port builder relabelled it as LAN but kept the internal id wan, which is what the UI uses to paint the Internet link, and a unit that also listed the port as LAN emitted the same jack twice. A layout WAN port that sits in the bridge now keeps its own device name as the id, and the duplicate is skipped. A router whose WAN is a real, separate port is untouched.
A config backup made by an agent now leaves a line in the server journal (#1899). The SSH path already logged the archive name and size, but agent backups arrive through their own upload endpoint and were stored silently, so a scheduled run only showed the SSH-only units. The upload handler logs the unit, the archive name and its size, which covers both the manual button and the weekly schedule.
The roam event collector no longer dials units that cannot run logread (#1944). It received every unit with a host, SNMP-only switches included, so each pass opened an SSH session that was reset before authenticating and the pool kept redialling with its backoff, which is what the "handshake failed" bursts in the journal were. The callback now carries the unit type and its disabled flag, and only units that can actually answer over SSH are polled.
A temperature of zero is no longer shown as a reading (#1947). The probe parsed whatever the unit printed and a 0 came back as a valid value, so a unit without a readable sensor displayed a flat 0 C next to real CPU and memory figures. Zero now means "no sensor" and the field is left empty, while negative readings, which do exist, are kept.
The iOS home-screen app keeps its header and tab bar inside the safe areas (#1943). Both bars had a fixed height with the safe-area inset padded inside it, so the standalone mode pushed the header under the status bar and the tab labels under the home indicator. Their heights now include the inset, the page padding accounts for the taller tab bar, and in standalone mode the header drops its backdrop blur for an opaque background, which is what makes the top strip readable again.
The agent install script defines its output helpers before it uses them (#1894). say() and warn() were declared in the environment block near the end of the script but called from the architecture detection near the top, so with set -e a reinstall died with sh: say: not found before doing anything, and the operator only saw the failure the previous fix had just made visible. Both helpers now live in the script preamble and a test checks that no call appears before its definition.
An external unit created by an integration keeps a bare host instead of the URL (#1968). The integration form asks for https://host because the pusher needs it, and that value went straight into the router record. The unit form only accepts an IP or a hostname, so the unit could not be edited and could not be set as the gateway until the host was retyped by hand. AddRouter now takes the scheme, userinfo, port and path out of whatever it receives, and the units already stored with a URL are normalized on startup. The integration row keeps the URL.
A Proxmox host and its untagged guests no longer show another client's VLAN (#1757). The server already left their VLAN empty, but the topology chip could not tell "no VLAN" from "no data" and fell back to the PVID of the port, which on a trunk is whichever VLAN the switch lists first. The server now marks when a source resolved the VLAN, including the answer "none", and the chip only falls back to the port when no source spoke. A tagged guest keeps its own VLAN.
One unit is one SSH connection again (#1893). The pool used the host string as its key, and the same unit arrives both as the configured host and as host:22 from SSHAddr, so it held two entries, two connections and two handshakes. The default port no longer takes part in the key, and a dropbear on another port still gets its own entry. Fewer handshakes per unit, and one line per unit in the journal.
An unknown uptime is no longer shown as "0d 0h" (#55). A payload without system.sysinfo, which is the case of a pusher that does not collect it yet, left the counter at zero and the card rendered a real-looking zero. The server now tracks whether a source declared the uptime and shows "—" when none did, while a genuine zero still reads "0d 0h".
Each unit now reports where its inventory came from and how old it is (#1917). The server already knew the difference internally: a unit without an agent is inventoried over SSH on every tick, and an SNMP switch comes from its own collector, but that detail never left the process, so a client list pushed by an agent a minute ago looked exactly like one read over SSH four hours ago. The router page now shows the source (agent, SSH, SNMP or an integration) next to the age of the last poll. It also matters for units that will never run an agent: a readable inventory is still useful, as long as the operator can see it is not live.
An inventory mode per unit decides what NetPulse expects from it (#1917). auto behaves as before: the agent when it pushes, SSH when it does not. agent is the old "agent only, no SSH" flag. ssh is new: the unit is inventoried over SSH and a missing agent is not treated as an outage, which is what a unit that cannot run the agent needs. The setting replaces the boolean in the router form, and the server keeps the old column in sync so every existing check keeps working untouched.
The networks view reads the unit configuration again (#1936). The UCI probe filtered out the section type lines (network.lan=interface) and the parser only accepts sections that declare one, so every named interface was skipped and the card added in #1889 stayed empty on every unit, agent or SSH. The filter keeps them now, and a new test takes the pattern from the command itself and applies it to a capture of a real unit, so editing it breaks the suite instead of passing against a fixture that hand-writes the line the command could never produce.
The SSH config backup works on stock images (#1935). The archive was piped through base64, an applet the factory OpenWrt image does not ship, so the feature answered ash: base64: not found and stored nothing on units that never install extra packages. The tarball now travels raw behind a marker line, which is safe because the pool reads stdout as bytes, and the server checks the gzip header before storing it. Verified on an OpenWrt 25.12.6 unit with no agent: manual backup of 2.9 MB and the weekly pass copying the same unit over SSH.
A partial router update keeps what it was not sent (#1937). gateway and agent_only were plain booleans while every other field was a pointer, so a request that changed one setting read the missing flags as false and cleared them, quietly demoting the gateway or dropping the agent-only mode. Both are optional now, which is what the store already expected.
The scheduled config backup now covers units that only answer over SSH (#1924). The weekly tick walked the connected agents and sent them the command, so a unit that cannot run the agent could be backed up by hand but never on schedule, which is the case the schedule exists for. The same pass runs the SSH path afterwards for every OpenWrt unit that is not agent-only and that its own agent did not already serve, and the archive lands where the firmware page already lists it. One unreachable unit logs a line and the pass continues with the rest, the week is only marked as done when at least one unit was copied, and the SSH pass is spaced ten minutes apart so a unit that is down is not dialled twice a minute.
An agent install keeps its output even when the script fails (#1894). The install script narrates everything it does on stderr, error messages included, and the SSH pool returned stdout only and an empty string whenever the command exited non-zero, so a successful install left no line in the journal and a failed one still arrived as "exit status 1" with the reason thrown away one layer below the handler that had just been fixed to keep it. Script runs now merge both streams and return what was captured whether they succeed or fail, uninstall writes to the journal as well, and the script says what it is doing on stdout, so a normal install leaves a trace in the journal and in the box on the page.
A slow install is no longer reported as a network failure (#1894). The browser gave the reinstall request ninety seconds while the handler waits for the script, which can take five minutes when the router has to download the binary, and then forty seconds more for the first push, so the page gave up on an operation that was still running and painted the bare word "network" in red, keeping it until a manual reload even after the agent was up and reporting. The limit now sits above the server's worst case, a timeout is told apart from an unreachable server, and both are translated instead of shown as a code.
A release reuses the agent binaries again when the agent did not change (#1916). The step that downloads the previous release runs inside a temporary directory, and gh resolves the repository through git, so every attempt died with "not a git repository", printed a warning and fell back to compiling five architectures that were already built. The download now names the repository explicitly, so the previous assets are really reused and the embedded agent stays bit for bit the published one. Reusing also writes the version stamp of #1914, which the compile path produces but this one did not, otherwise the guard that reads the stamp would disable agent self-upgrade on every release that reused the binaries.
The networks card added in #1889 never rendered on a live server (#1918). The API was sending the field all along, but getRouterDetail rebuilt the response from an inline type that had no networks member and dropped the key, so the guard in the router page never saw any data. TypeScript does not flag a field that is simply never copied, and this repo has no frontend test runner, so nothing caught it.
The OpenWrt package now ships a compressed agent as well (#1891). #1902 packed the binaries published in a release, but the ipk built from deploy/openwrt/netpulse-agent/Makefile still compiled a plain binary, and that is the path that matters on a router with little flash. The build removes any previous output first, packs the result with upx --best --lzma and runs upx -t to prove it still decompresses. Building the package now needs UPX on the build host, which the comment states.
The configuration backup is offered in the fleet agent list too, not only on the firmware page and the router header (#1899). Both of those have passed the SSH permission since #1911, but the agent table rendered the button without it and keyed it on the agent's own router id, so a unit managed over plain SSH, which has no agent row to hang the action on, never showed it. The row now falls back to the router id and applies the same OpenWrt-only rule as the header.
Every SSH probe that does not go through the connection pool now leaves a line in the server log (#1893). A unit reported dropbear pairs of "Child connection" and "Exit before auth: Exited normally" every half minute and there was nothing on the server side to match them against, because the pool is the only path that logged. Host key pinning with ssh-keyscan opens one connection per algorithm, the LAN scan opens a bare TCP connection to port 22 per host and the gateway probe opens another, and all three close before authenticating, which is exactly what dropbear reports. Each one logs now, and the LAN sweep writes a single summary line so a /24 port scan cannot be mistaken for a unit being polled.
The router page can now be read as the networks the unit declares, not only as a chassis with jacks (#1889). A networks card lists each OpenWrt network with its device, its subnet, its VLAN, its member ports, how many clients sit on it and the traffic of its device. Both ways of segmenting a box go through the same code: a bridge with VLAN filtering, where the network device is br_switch.999 and the members come from its bridge-vlan section, and one bridge per network fed by a tagged subinterface, where br-iot learns its VLAN from eth0.999. Traffic is the counter of the network device rather than a sum of its ports, a unit without per-interface counters shows no figure instead of an invented one, and clients are counted only when their VLAN is known. Reading the configuration also fixed a quiet parsing bug: a UCI list written as 'eth1 lan1 lan2' was being treated as one single port name.
A configuration backup no longer needs an agent on the unit (#1899). The button only rendered for a unit with an agent, so a router managed over plain SSH had no way to keep a copy of its config even though the server can already reach it. The server now builds the archive itself with sysupgrade --create-backup, brings it back base64 encoded over the SSH channel, always removes the temporary file on the unit, whose /tmp is RAM, and stores it where the agent backups already live, so one list and one download serve both kinds. A unit that does have an agent still prefers the event stream and only falls back to SSH when the agent is not connected.
Reinstalling an agent now shows what the install script actually said (#1894). The handler discarded the script output with _, so the operator got a red "exit status 1" that vanished after eight seconds and the server journal had nothing at all. The output is captured and returned with the response, on failure and on success, it is written to the server journal either way, and the UI shows it in a collapsible frame under the message. A failed reinstall no longer hides itself: the error stays until the next attempt, so it can be read, copied and attached to a report.
The SSH pool writes what it does to the system log (#1893). A unit showed bursts of "Exit before auth" in dropbear and there was nothing on the server side to correlate them with: no host, no reason, no rhythm. Every new connection is now logged with its host and user, every discarded connection is logged before the redial that follows, and every dial failure is logged with the real cause, whether that is a host key problem, an authentication rejection, a timeout or a network error, together with the consecutive failure count and the backoff. Failures are rate limited to the first and every tenth so a dead unit cannot fill the journal, and a recovery line closes the episode.
Wired clients fan away from their unit instead of always to the west (#1791). The fixed arc sent every chip towards the gateway when the unit sat on the right edge, on top of the links between units. The arc is now centred on the direction from the gateway to the unit, so a unit on the right fans its clients to the right and a unit on the left keeps the layout it had.
Traffic charts no longer invent a ramp between two buckets (#1901). A point in these series means "the highest rate seen inside this bucket", so a straight segment to the next point claims the link spent the whole gap climbing, and a one minute burst inside an hour renders as a triangle that spans the neighbouring hours. The WAN chart, the fleet sparkline and the aggregated port ranges now draw steps, which say exactly what was measured and no more. The 24h port chart keeps its straight segments because it reads raw instantaneous samples, and the latency chart is untouched since it is not a max-per-bucket series. One detail differs from the report: every WAN range is bucketed, including 1h, whose points are three minute maxima, so the step applies there too instead of only to the hourly view.
Discovery no longer offers a unit that is already in the fleet (#1895). A candidate was marked as already added only when its IP was byte-identical to the host string in the configuration, so a unit added by DNS name, by a name with different case or a trailing dot, or by an IP with a port showed up with an Add button while the gateway, added by plain IP, was the only one recognised. The comparison now normalises case, port and the trailing dot, resolves configured names to their addresses, and also matches the reverse DNS name of the candidate, with name resolution bounded so a stale name cannot slow the scan down.
A config backup no longer stays on the unit after it is uploaded (#1897). Every manual or scheduled backup wrote its tarball under /tmp and left it there, and on a router /tmp is RAM, so each snapshot took memory away until the next reboot. The agent now deletes the local file once the operation ends, whether the upload succeeded or not, since the copy that matters is the one the server keeps with retention. The firmware flow keeps its local backup on purpose: that one is reported in the result so it can be recovered by hand when sysupgrade fails.
The target version chosen on a firmware card stays where it was left (#1898). The selection lived only in the local state of the page, so a refresh, leaving and coming back, or the ten second auto-refresh that runs while an upgrade is in flight put the dropdown back to whatever the server had stored, and nothing was saved unless the separate Save button was pressed. Choosing a version now saves it, a reload no longer overwrites an edit that is still local, and scheduling a recurrence saves the target shown in the dialog before saving the schedule. That last case mattered beyond the dropdown: a scheduled run flashes the target stored on the server, and a unit with none had its recurrence disabled when it fired, with "no firmware target saved" as the only explanation.
A client is tagged with the VLAN its bridge actually sees (#1757). The forwarding table was read from one bridge only and every port carrying a dot was thrown away, so a router that segments with 802.1Q subinterfaces, where the real ports are eth0.777 and eth0.999, lost its wired clients altogether: no port, no VLAN and no line in the topology. Every bridge the unit has is read now, a subinterface counts as a port, and each MAC carries the VLAN the bridge learned it on, which is the only evidence of where a client lives. A forwarding table without that field leaves the client without a VLAN instead of guessing one from the default of the port.
A wireless client keeps the interface and the SSID that served it (#1757). The hostapd path built each station without either, so on any OpenWrt that answers over ubus every WiFi client arrived with an empty interface, and the topology, which resolves the VLAN of a station through its AP interface, had nothing to colour. The interface is taken from the object that was queried and the SSID from iw dev, and the VLAN of an AP interface now carries the name and the subnet of the network it serves.
An upgrade that swaps the binary but cannot restart says so instead of leaving the unit lying (#1900). On a host without a procd script there is nothing to ask for a restart, so the new binary stayed on disk, the old one kept running from memory, and the UI reported the unit as up to date until the next reboot. That covers the Merlin-style installs under /jffs, Synology and any manual or Entware deployment, which are exactly the units that ended up as external in 2.49.x. The agent now replaces its own process with the binary it just installed, keeping the PID, the arguments and the environment, which starts the new build in place and leaves the OpenWrt path untouched. If even that fails, it reports the failure with the reason while it is still alive. The availability flag now uses the same criterion as upgrade all, a live agent stream rather than the row type, so the badge and the command stop disagreeing. And a restart that never completes stops sitting at restarting: after ninety seconds the row shows a terminal failure that names the cause and lives longer than the ordinary progress state, so an operator sees it instead of an empty slot.
A guest without a tag is no longer painted with a VLAN it does not have (#1757). When Proxmox declares no tag=, the guest sits in the native VLAN of the bridge of the host, not in the VLAN of the port where the host is plugged. Inheriting the VLAN of the host chip marked those guests with an unrelated network, so a container on an untagged bridge showed up in the VLAN of a segmented one.
The link out of an alert reads View unit instead of View router (#1896), which is the wording the rest of the interface already settled on. The device list link was renamed with it, and the Spanish strings say Ver unidad.
An agent ships compressed, so a router with little room can install it (#1890). The update downloads the new build to /tmp and moves it over the installed one, which means a unit needs twice the size of the agent free before it even starts: 15 MB for a 7.5 MB agent, on a flash of 16 MB. The report came from a unit with 10 MB where the upgrade could not begin. Every architecture is now packed with UPX in --best --lzma, which takes the five binaries from 6.9-8.3 MB down to 2.0-2.4 MB, and the cost is about 170 ms at start-up on x86. The build refuses to produce agents without UPX instead of skipping the step in silence, a test fails when an embedded agent is not packed, and the release checks the mark and the size before publishing. The embedded sha256 is computed over the packed bytes, so integrity checks are unchanged.
tag=<vid> from the same line and seals it on the device, and a guest without a tag inherits the VLAN of the host chip: that is the port the host is plugged into, which is where its guests actually live.phy0-ap0, wlan0) were grouped as plain virtual interfaces, mixed with bridges and tunnels, so the WiFi of an access point could only be read by guessing which row was which. They have a WiFi group of their own now, each row carries its rate and the VLAN the interface serves, and that VLAN comes from the same table the topology uses, so the SSID that feeds a segmented network can be matched to it without leaving the card.sh -s worked. The one-liner also gained a wget branch, since BusyBox images ship wget and not curl.iw writes it to standard error and the shell runner used to drop it, so it now keeps the last line and sends one outcome per radio with the interface it ended up using and the number of BSSes it saw. The server stores the last outcome per interface and the channel plan shows it under the radio, which turns an empty table into a sentence that names the errno./proc/cpuinfo. The identity is polled only when sysObjectID sits in the Netgear enterprise subtree, so no other vendor pays for a private query, and a unit that does not answer keeps whatever the generic readers found. Firmware and short model are used as fallbacks only, because ENTITY-MIB already answers those two. Memory is deliberately left empty: the subtree has MemFree and MemAvailable but no total, and a percentage built from those two measures the reclaimable part, not the used one./etc/config/netpulse-agent through uci, next to the server and the token, so it lands in the conffile that survives a sysupgrade. Leaving it empty removes the key and the agent falls back to its own default of 30 seconds, so nothing changes for a unit that never sets it.owut check reports packages missing in the target version, the card offers to append them to attendedsysupgrade.owut.remove with uci and commit, after a confirmation. That makes owut download, owut install and owut upgrade behave exactly like running them by hand on the unit, instead of keeping a second list in the browser. Package names are validated before they reach a shell line, and packages already in the list are not duplicated..ipk on the fly from the embedded binary and serves it from /api/agents/{slug}/package, so a reinstall installs the agent with its own init script and /etc/config/netpulse-agent as a conffile that survives a sysupgrade. Routers on OpenWrt 25.12 get the same treatment through apk: the package format of apk-tools 3 is signed, so the server does not fabricate it and instead serves the .apk the release workflow already builds, once it sits next to the binary in agents/. The script tries opkg first, then apk, and falls back to the previous loose-file install if there is no package manager or the download or the install fails, so nothing that worked before can break.running or rebooting for more than fifteen minutes used to need an API call to clear, because the dismiss button only handled finished attempts. The status badge now offers a reset that drops the stale record, and a genuinely live upgrade is still respected.owut check now also reads attendedsysupgrade.owut.remove, the list the owner already maintains for packages that are not in the OpenWrt feeds, and the firmware card fills the exclusion field with it when the field is still empty. The list is never sent on its own: it lands in a field you can edit, and owut -r only carries what you leave there. A router without that option behaves exactly as before..tar.gz holding the database, the .ssh directory and tls/ (#1864). It used to carry only netpulse.db, so restoring on a fresh host brought back data and settings but left the server unable to SSH into the routers: every agent reinstall and self-heal failed until the key was regenerated and copied to each router by hand. Restoring is tar -xzf netpulse-<timestamp>.tar.gz inside the data directory. The retention keeps purging old .db.gz and .db backups, and the settings page now says what a backup contains.-wal and -shm first so no writes from the previous version land on the restored file (#1862).ifName/ifAlias) is what you read. Existing profiles get the label from the live unit detail, so a switch placed before this change reads the same as a new one.p01 key, which is what a person reads off the hardware.vlan1 (ifIndex 1) and the port-channel (32769) on the faceplate next to the 28 real ports. The poller already classifies each interface by its IANA ifType; the faceplate now skips anything with a family, so VLANs, LAGs, bridges and tunnels stay out of the drawing while cables and profiles keep resolving by ifIndex.archive/tar: write too long on a live server (#1866). The archive sized the database entry from a stat and then copied until EOF, so a database that grew mid-copy overran the header and the backup aborted, which on a busy install meant no backup at all. The copy now comes from a VACUUM INTO snapshot, which has a fixed size and is a valid database on its own, and the tar entry is copied up to the declared size so a growing file can never overrun it again.set -e, leaving the new binary installed and nothing running. Those steps now report on stderr and carry on, the environment file and the init script are written to a temporary file and moved into place so a failure cannot truncate the one in use, and the restart is attempted even when a step fails, exiting with a distinct code if the agent does not come up (#1855).Operation not supported (-95) to a scan, and the picker preferred AP, so those units reported no neighbours at all while the managed interface on the same radio would have answered. The agent keeps the AP first and, when the scan fails, retries on another interface of the same radio within the same cycle, at most twice, which leaves the uplink alone on units where AP works and fixes the ones where it does not. Each radio also reports the outcome of its scan, the interface that answered and the reason when none did, so a refusal and an empty band no longer look the same on the server.?force=1 is the explicit way to reinstall anyway. The release workflow also fails when agent/VERSION goes backwards, which is how a server ended up embedding an agent older than the fleet.uci when the config file is present, before restarting the service.core.autocrlf=true, which is what Git for Windows picks by default, put CRLF in the embedded install-agent.sh, and the busybox ash on the router rejected the script with a syntax error. The embedded copy is normalised before it is served, and .gitattributes now forces LF on the shell files that travel to a router. The copy check compares both sides normalised, so it still catches a real divergence on a Windows checkout..ipk/.apk, /etc/config/netpulse-agent is the conffile the init reads and the one that survives a sysupgrade, but the SSH reinstall only rewrote the agent environment file, so the native config kept the old token and could point at a server that no longer exists. The script now sets server, slug, token, SPKI fingerprint, scan interval and both ping targets through uci when the config file is present, deletes the target keys when they resolve to nothing, and adds the config and its uci-defaults to the sysupgrade list. Routers without the package are untouched: they keep working from the environment file.sysObjectID selects the vendor and four private OIDs fill values that used to stay empty. The private MIB wins over the generic fallback, and a missing OID leaves the field unknown instead of zero.entPhysicalSoftwareRev as the firmware (falling back to entPhysicalFirmwareRev) and entPhysicalModelName as the short model. Units that only advertised a long sysDescr now show a real firmware version and a usable model name.procd_set_param env call. Bare exports never reached the daemon, so setting the ping targets in LuCI left the latency cards empty.This release exists because people filed good issues, attached logs and tested builds until the fix held.
Router integrations are here. This release completes the Integrations section that deploys, runs, updates and edits vendor pushers for you: MikroTik RouterOS, Asuswrt and Asuswrt-Merlin (installed on the router itself over SSH, the Merlin way under /jffs or with a password sign-in on stock dropbear), UniFi controllers, and a vendor catalog that grows without touching the core. The integration code lives in a separate repository, netpulse-integrations, and each vendor ships as its own standalone binary speaking the same signed ingest contract as the native agent. You only ever download and run the code for hardware you actually own: no UniFi controller, no UniFi code on your box. That is the deal that makes NetPulse compatible with more platforms every release while the server binary carries no vendor code inside and the shared code stays a small contract anyone can review.
UniFi controller vendor (#1695): a read-only unifi-pusher for self-hosted UniFi Network controllers, both UniFi OS consoles (UDM, UDM Pro, UNVR and similar) and classic standalone ones; ui.com cloud accounts are not supported, the pusher only speaks to a controller reachable on the LAN. One site per integration: gateways, switches and access points with their ports and uplinks (the topology hangs together without LLDP), wired and wireless clients with band and signal, MAC-to-IP mapping, and gateway uptime and identity. Surfaces with no verified read-only match (DHCP leases, per-interface counters, VLANs, roaming, CPU, temperature) are not emitted. It deploys from the Integrations section like RouterOS, on the host that runs the server.
The Integrations vendor catalog ships as a manifest (#1706): vendors_seed.json names each vendor with its release tag prefix, binary and architectures, so adding a vendor or an architecture is a manifest entry instead of a compiled table in the core.
Integrations in ssh mode accept password authentication (#1708): when the optional companion file <data-dir>/integrations/<slug>.sshpass (0600, same discipline as the environment file) exists, the server signs in to the router with the integration username and password; without it the server key stays the default and preferred path. The create and edit forms reuse the same password field for it (empty on edit keeps the current one), the password never reaches the database or any API response, deleting the integration removes the file, and an authentication rejection reports its own ssh_auth_failed code instead of the generic ssh_failed. Stock Asuswrt (dropbear with password auth only) now works with no manual key setup.
Inactive agents in the fleet table now offer Rearm, Reinstall and the copyable install command next to Remove, so a rejected token (HTTP 401 after a reboot or a server move) can be fixed without removing the agent or losing its history. NetGrip rows offer Rearm only and external pushers keep Remove only.
The card and the detail of a unit pushed by an integration (RouterOS and other vendors) show why it is offline: authentication rejected, missing API endpoint (old firmware, REST needs RouterOS 7+), connection refused or pusher stopped, with the raw pusher error on the tooltip.
The on-box server init script now refuses to start when its data dir is not a real mount (default overlay paths excluded), so an unmounted USB stick can no longer leave a fresh SQLite database on flash. It also moves to START=99 to let USB mounts settle first.
The agents table marks a rejected-token agent with its own badge the moment the pusher authenticates with a stale token (a reboot or a server move does it), and the badge clears itself on the first valid push. The Integrations rows carry the same offline classification as the unit detail, so a dead integration explains itself in place (#1719).
procd_set_param env call (extra calls overwrite each other, so only the last variable survived), refuses to start when the environment file is missing or unreadable, and keeps the file watcher so an env change still restarts the service with the new values. Before, a procd vendor started its pusher with no NETPULSE_* or vendor variables at all.synchronous=NORMAL and temp_store=MEMORY, the same engine as every other deployment. The previous on-box choice (rollback journal DELETE + synchronous FULL, Fase 9 R6) rewrote pages and journal on every transaction and tripled the measured write volume (45 GB/day on a USB stick with a 107 MB database, versus 13.7 GB/day in WAL with the same fleet). WAL with synchronous=NORMAL cannot corrupt on a power cut; only the commits not yet synced are rolled back. The hourly checkpoint and nightly jobs now run for on-box installs too, so the -wal file stays bounded.SQLite aggregation spills (the etilqs_* temp files) no longer hit disk by default. The report measured two ~3.16 MB temp files per 60 s window, about 9.1 GB/day and two thirds of the server's process writes with a ~100 MB database; with temp_store=MEMORY the same aggregation happens in RAM (a few MB per query).
Asuswrt over SSH installs the Merlin way (#1705): binary and environment under /jffs/netpulse, a small pidfile control script for start, stop and status, and the boot hook as a managed block inside /jffs/scripts/services-start (removed cleanly on uninstall) instead of a procd service, which Asuswrt does not have. Nothing is written outside /jffs except the hook line.
Enabled local integrations resume on boot (#1704): after a server restart every enabled pusher starts again, and rows left stale by a crash or a kill reconcile to what is actually running.
Pre-pin pusher environments heal on update and edit (#1699): an integration created before the SPKI pin change gets its environment rewritten by the next update or edit instead of staying pinned-less until it is deleted and recreated.
Pusher environments ship the server SPKI pin (#1685): external pushers verify the server TLS certificate against the pinned public key, the same trust model as the native agent.
The greeting line on the Overview ("N important alerts") now counts the same alerts as the bell and the Alerts page (unread, level-filtered), instead of the health score breakdown. A health penalty without a visible alert, such as a down VPN peer with the vpn category set to "Nada", used to leave a phantom counter that could not be cleared from anywhere (#1707).
OpenWrt 21.02 on-box package (GL.iNet GL-MT6000 report): the .ipk now installs /etc/init.d/netpulse, the agent init and the uci-defaults scripts as executable (0755), and the packaging scripts verify the modes inside the built .ipk.
OpenWrt 21.02 on-box package: the procd init now uses ONE procd_set_param env call with all variables (in 21.02 each extra call overwrote the previous one, so NETPULSE_ONBOX and DATA_DIR never reached the process), and stdout/stderr are set as boolean params so server logs show up in logread.
Gateway autodetection no longer picks the ISP-side (public or CGNAT) address on an on-box server: when the default route's via is not a private LAN address, the gateway is the router itself and its LAN IP is taken from the private subnet route. Dedicated LAN servers keep the previous behavior.
The server generates its SSH keypair in-process (crypto/ed25519 + x/crypto/ssh) instead of calling ssh-keygen: on OpenWrt 21.02 the available keygen is Dropbear's and writes a format crypto/ssh cannot parse, which silently degraded the server to the demo dataset. An existing unparseable key is backed up and regenerated, and the public key fingerprint is computed in-process.
The default on-box port is now 3100 instead of 3000, which collides with the AdGuard Home UI shipped by GL.iNet firmware. Existing installs keep their configured port.
The initial bootstrap password is removed from UCI after a password change, so the generated plaintext no longer stays in /etc/config/netpulse forever.
README: DEMO_MODE=1 requires AUTH_PASS even in demo mode, and the settings section holding the SSH public key is called Fleet (formerly documented as Network).
NETPULSE_DB_ROLLBACK_JOURNAL=1 restores the previous on-box SQLite journal engine (DELETE + synchronous FULL) after the #1700 default change; NETPULSE_DB_TEMP_STORE (memory | file | default) controls where SQLite aggregation spills go, and is also settable on-box via the new db_rollback_journal / db_temp_store UCI options.
Dependencies: minimatch forced to 11.0.3 through overrides (#1721, Dependabot alert 37). The globparts amplification advisory has no 10.x patch and the package only reaches the build through the lint toolchain, so the override is the only path.
Dependencies: pick up the gonzalop/mq audit fixes (#1693).
CONTRIBUTING.md requires a recap of every open issue and pull request before cutting a release, saying what ships and what waits.NETPULSE_RDNS=0 turns it off. The device type is guessed again from the new name, and a host named this way is no longer counted as an unknown device.30) while the external pusher parses it with Go durations, so every integration stopped on start with invalid NETPULSE_INTERVAL. The value is now written with its unit (30s). Regression test added.clients en "Solo urgentes" mientras el backend usaba "Todo". Ese valor no era solo del demo: rellena las categorías que falten al leer o escribir /api/alerts/config, así que si la lectura fallaba el panel mostraba un nivel que el servidor no usaba, y guardar desde ahí persistía el valor equivocado. Ahora las dos copias son iguales y un test compara las seis categorías para que no vuelvan a separarse. Se elimina además passesAlertConfig(), que ya no usaba nadie desde el arreglo del nivel "Nada".iw ni la tabla de estaciones devuelven clientes o bandas, el agente recurre al binario Broadcom wl para listar las estaciones asociadas con su banda y ancho de canal. Corre solo como último recurso, así que no añade coste en los routers que ya funcionan con las vías normales. El agente sube a 3.0.30.api/health del servidor y aborta con un mensaje claro cuando no lo alcanza, por ejemplo si el servidor tiene TLS activo y se pasó la URL en HTTP. La copia del binario va a un fichero temporal que después se renombra de forma atómica, con códigos de error propios en lugar de un scp directo al destino final, de modo que una copia cortada ya no deja un binario truncado.dormant o unknown y nunca suben dejan de contarse, así que el panel y los totales reflejan solo puertos reales. Los puertos caídos de verdad se siguen mostrando.127.0.0.1 en cualquier instalación sin TLS, así que la actualización cortaba el acceso desde otros equipos sin ningún aviso. Ahora el loopback queda reservado a instalaciones nuevas (todavía sin base de datos), las que ya tienen netpulse.db conservan todas las interfaces, la decisión se guarda en data/.bind-mode para que un reinicio no abra una instalación nueva, el .env nuevo escribe NETPULSE_BIND=127.0.0.1, el arranque registra la dirección real y avisa cuando es solo local, el instalador deja de anunciar una URL de LAN que no responde y NETPULSE_BIND sigue mandando.mq, gosnmp, mcp-go, x/crypto, x/net, x/text y modernc.org/sqlite. govulncheck no encuentra vulnerabilidades alcanzables y no hay cambios de comportamiento previstos.127.0.0.1, de modo que una instalación nueva no acepta acceso desde la LAN. NETPULSE_BIND=0.0.0.0 lo abre a propósito. Las instalaciones que ya existen mantienen el listener abierto (ver #1647).ie/oe, los mismos valores que ifInErrors/ifOutErrors de la IF-MIB) y el servidor los guarda en port_series_raw, de modo que la salud del puerto deja de calcularse con errores a cero. Los beacons antiguos siguen valiendo: los campos son opcionales y se leen como cero.asuswrt se migra a external conservando el token, las sondas portables siguen compartidas y el nuevo asuswrt-pusher vive en netpulse-integrations. Desaparecen el alta como asuswrt y su actualización desde la UI. La instalación y actualización pasan a ser manuales, como en las demás integraciones externas.NETPULSE_ALLOW_INSECURE_COMMANDS=1 está activo. Antes aceptaba un checksum que viajaba por el mismo canal HTTP, así que un intermediario podía sustituir binario y digest. La guarda está en el init instalado, en el heredoc del instalador y en el init que genera la reinstalación./proc/meminfo con campos en crudo, zona horaria IANA desde /etc/localtime), clientes WiFi vía iw station dump, vecinos LLDP en texto cuando el JSON no existe, temperatura vía hwmon como último recurso y uplink resuelto por ruta default/LLDP. Tipo de router asuswrt con rol AP, badge de agente y actualización desde la UI (sin SSH ni procd). Probado en ASUS GT-BE98 Pro y Synology DS1821+.sysupgrade -b bajo demanda, descargable desde la propia unidad.x86_pkg_temp, cpu-thermal…) en vez de la primera legible, que era el ambiente ACPI; los equipos sin zonas caen a hwmon (k10temp/coretemp)./etc/rc.d se añaden a /etc/sysupgrade.conf al instalar y reinstalar (el self-heal necesitaba su punto de entrada); el desinstalado limpia sus entradas. Vía API y one-liner.--ssh-key, no la por defecto.Gracias a Bann-DEV por ocho issues (#1481, #1482, #1484, #1485, #1489, #1500, #1501, #1502) y dos PRs (#1490, #1491), con mediciones en hardware real (ASUS GT-BE98 Pro, Synology DS1821+); a sweetlazyboy por #1493; y a crowedavid, pl-komuch y juflo por sus informes y pruebas (#1430, #1410, #1325, #1475, #1474).
switch) reportan FDB real de nuevo.sysupgrade -b se quedaba en el /tmp del router y moría con el reinicio. Ahora el agente (3.0.18) lo sube al server antes de flashear: se conservan las 5 últimas por unidad y se descargan desde la propia tarjeta de firmware.>_ check de owut y dónde vive de verdad la copia de configuración.uplinkUnit, uplinkUnitNone, uplinkUnitSet), el aria-label de cerrar en Itinerancia (common.close) y el aviso ámbar del diálogo de confirmación owut cuando la imagen viene del repositorio del fabricante (owutConfirmVendor). Auditoría completa de claves t() literales contra los locales (con plurales): 0 ausentes.lan*,wan (idempotente, nunca instala paquetes por sí solo) y, si detecta el caso, el agente lo reporta y la ficha del router muestra el aviso con el comando exacto para arreglarlo.wan de routers no-gateway mostraban la IP pública y DNS del gateway sobre un enlace local; ahora solo la unidad principal muestra esa información.SECURITY.md, canal privado de reporte) y Dependabot mensual para Go y npm (#1350, #1351).gonzalop/mq al tag oficial v0.9.12 (#1352) y 31 actualizaciones npm minor+patch agrupadas (#1353), ambas vía Dependabot.clima, caldera, placa) con sus glifos Lucide (AirVent, Heater, CircuitBoard), estrictamente aditivo: los tokens que ya pertenecían a otra regla se quedan donde estaban, así que ningún dispositivo existente cambia de tipo ni de icono. Los tres glifos entran también en el picker manual (mapa del front y allowlist del server en lockstep).NETPULSE_AGENT_URL que sustituye al dominio público en la URL con la que cada agente conecta (línea de instalación, reinstall, re-emit y auto-reinstall) cuando el server vive detrás de un reverse proxy. Cadena de resolución: AGENT_URL > PUBLIC_URL > host de la petición./etc/config/dhcp y los clientes con fixed-address ganan su nombre end-to-end; los host records de mDNS completan la mitad discovery de #338; y el matching de fabricantes se afina (OUIs de videovigilancia a camara, purificadores y humidificadores Xiaomi por nombre, tokens cortos con matching whole-word: "gree" ya no traga "greenwave" ni "wiz" casa WIZnet). Agente embebido 3.0.15.device_seen se curan al leer, sin migración de datos), y el último tipo inferido sobrevive a la expiración del lease en dispositivos Auto (los overrides manuales siguen mandando, y los fantasmas conservan su icono).router:puerto (este último fija también la boca). Los enlaces de uplink llevan la velocidad real negociada (EthPort del padre) y el mapa y la tabla muestran "padre · puerto" en vez de un genérico "1G".aspirador), y los timbres con cámara tienen el suyo (videoportero) en vez de mezclarse con las cámaras. Los tres glifos también son seleccionables en el picker manual de iconos al editar un cliente, y el botón Editar del detalle flotan 20 px separado de la esquina del panel./etc/netpulse-agent.env (URL del server, CA raíz, pin SPKI) en todos los agentes nativos alcanzables por SSH y los reinicia, rotando sus tokens de forma atómica. El despliegue de HTTPS pasa a ser: activar → confirmar → re-emitir.CAP_NET_BIND_SERVICE al servicio.devices.detail.versión · build <hash>, con badges de navegación en Flota (agentes pendientes de actualizar + unidades con problema) y Clientes (conectados sin identificar), y el sidebar hace scroll en pantallas cortas (portrait).iw dev <iface> survey dump en su sondeo completo (throttle de 5 minutos, forzado por el botón Actualizar) y empuja el texto crudo; el servidor lo cachea 15 minutos y la lente lo fusiona reutilizando el parser existente. Las unidades con SSH siguen igual.NETPULSE_SCAN_INTERVAL=0; si la ventana de 24 h está vacía se usan los últimos scans conocidos y se indica la fecha.Math.max en vez de Math.min; con un entorno a -85..-97 todo se aplastaba arriba y solo sobrevivía una etiqueta.NETPULSE_WAN_TARGET/GW_TARGET) y "—" cuando no hay dato. Reportado por @crowedavid.updateAvailable en rolling, #1261); guard del agente embebido contra versiones inyectadas (#1262); el supervisor no rearma SSH de slugs ausentes de la tabla (#1260).gonzalop/mq con el fix de backoff, #1235).Gracias a @crowedavid: la retención de clientes, el enlazado de MACs, el LLDP y la latencia de esta release empezaron con sus reportes (los squash de #1172 y #1174 salieron sin el crédito del commit; queda registrado aquí).
/mcp: estado de flota, dispositivos, alertas y topología consultables por un asistente IA por HTTP con token de API. Solo en Labs, apagado por defecto, con rate-limit y auditoría.iw dev, cubre MACs aleatorizadas y guests fuera de dawn/usteer) y lee el ancho de canal anunciado (HT/VHT operation) de cada vecina, persistido en wifi_scans.width_mhz; el espectro dibuja cada red a su ancho real en vez de los 20 MHz estimados.EmitOrUpdate notificaba sin el default de timestamp (#1074).www cerrado: cero dependencias nuevas, login moderno y solo lectura. Contraseña solo en el servidor (json:"-"), TLS autofirmado opt-in, y agente routeros-pusher opcional.alerts.retentionDays (default 30, poda horaria y de arranque sin reinicio).Gracias a @crowedavid por los reportes que formaron la mayor parte de esta release, a @samex por la integración RouterOS, y a @gnulan, @borky y todos los que reportan y discuten ideas.
NETPULSE_TLS_PORT sigue teniendo prioridad).POST /api/alerts/clear que vacía el feed de verdad y sobrevive a recargas. La alerta de caída de agente es ahora volátil por router (no se acumula en el log y desaparece al recuperar) y MarkRead ya no reactiva alertas visibles como no leídas (#966).router-xx (#988): Orchestration e Informes muestran el nombre dado por el usuario con el slug entre paréntesis cuando difieren (reporte de gnulan).scrollbar-gutter: stable) para que el ancho no cambie.deploy/update.sh) aunque el directorio no fuera un clone git; fallaba con «no se pudo leer el estado de git» y el botón de aplicar quedaba bloqueado para siempre, pese a que update.sh sí soporta ese layout. La comprobación se omite cuando no hay .git, igual que en el layout estable.api.github.com en cada cómputo (caché de solo 30 s); con la interfaz de actualización abierta podía superar las 60 peticiones/hora del acceso anónimo y la aplicación de la actualización fallaba después con el error de límite de peticiones. El sondeo usa ahora la web pública de GitHub, que prueba la conectividad igual y no consume cuota de API.snmp-failing tras 3 fallos seguidos solo si el host responde a ping (pista de community/puerto mal configurados), alerta de recuperación y contadores visibles en el detalle del router y en la tarjeta de puertos.device_seen que registra la primera y la última vez que el server vio online a cada MAC (todas las fuentes, no solo wireless). El detalle del dispositivo muestra ambas y la tabla de clientes gana columnas ordenables en pantallas xl+. El server manda epochs y la app formatea el relativo con el locale activo.<vlan>.<mac> (7 octetos) en vez de la MAC desnuda que manda RFC 1493, y el parser exigía exactamente 6: descartaba todas las entradas (#950). La línea de log del FDB muestra además los PDUs crudos de cada walk para acortar diagnósticos futuros.device_seen.Crédito: la serie completa de este release procede del fork de borky (borky-git borky-git@protonmail.com): Proxmox (#940), UI/i18n (#941), HTTPS/CA (#942), FDB/LLDP por interfaz (#943), routers/topología/dispositivos (#945) y WAN/VLANs (#946). Los merges #940-#944 y #946 llevan trailer Co-authored-by; el #945 lo omitió por error - el crédito se reconoce aquí nominalmente.
NETPULSE_SCAN_INTERVAL=0 # nota tomaba el valor literal y caía en el default de 30 m en vez de desactivar el sondeo. Agente 3.0.3..git y la actualización moría en el paso de fetch. Ahora se resuelve el SHA de main vía git ls-remote y el flujo continúa.alerts.lang (Ajustes > Notificaciones, por defecto inglés) que define en qué idioma se envían los avisos de ntfy, Telegram y webhook, independientemente del idioma de cada cliente.supervisor: / rearmer:, y la estrategia completa (cadena de escalado, timeouts y anti-martilleo) está documentada en docs/AGENTE-OPENWRT.md./etc/netpulse-agent.env desde cero y perdían ajustos añadidos a mano (como NETPULSE_SCAN_INTERVAL=0). Ahora conservan cualquier opción que no gestionan, y el env generado documenta las disponibles como valores por defecto comentados./etc sobrevive al sysupgrade pero el binario no, y cron logueaba un comando inexistente cada 2 minutos. El init del agente auto-repara la entrada al arrancar si el watchdog ya no existe.agent/vX.Y.Z como versión; ahora solo se consideran tags de release./etc/netpulse-agent.env sin NETPULSE_SERVER_FP, así que el agente seguía cayendo en el bucle fatal de pinning aunque el servidor usara TLS válido. El servidor deriva ahora el pin SPKI por sí mismo (handshake TLS contra su propia URL pública, con caché) y el env generado lo lleva; la rotación de token en caliente también lo conserva en lugar de perderlo.iconOverride; ahora usa el mismo criterio que el resto del panel.NETPULSE_SERVER_FP y el one-liner de la UI no lo incluía. install-agent.sh deriva el fingerprint SPKI del propio certificado cuando no se pasa --server-fp, el one-liner lo incluye si el servidor lo conoce, y el error del agente imprime el comando openssl exacto./sys/class/net/<i>/dsa) aparecía como boca falsa con velocidades sin sentido ("150 Mbps" en un BPI-R4). Gbps con decimales ("2.5 Gbps") y los conduits se excluyen del panel y del fallback de WAN. Requiere agente actualizado en los routers (el probe corre en el router).iconOverride; ahora usa el mismo helper que las filas de Clientes./de/, /ja/features/, /ar/home-assistant/, 10 idiomas x 3 páginas) con lang, canonical, hreflang y og:locale correctos, indexable de verdad para los crawlers. / sigue siendo el shell en español con el selector JS; /es/ canonicaliza a /. El sitemap lista las 30 URLs.NETPULSE_TELEMETRY=0).mqtt.configure con rollback si el broker nuevo no responde), para tener toda la flota en Home Assistant sin configurar router a router.POST /api/alerts/dismiss) y sobrevive a reinicios; la alerta de agente desactualizado se resuelve sola cuando el agente informa de una versión al día.NETPULSE_MQTT_* (o las opciones UCI mqtt_* en modo on-box). Publica, no escucha: desde Home Assistant se lee la red. La conexión al broker no usa TLS, así que está pensada para un broker de tu red local. Con NetGrip activado en los routers, además se controlan desde Home Assistant el WiFi de invitados, banIP, IPv6, SQM y el reinicio. El detalle (topics, entidades y límites) está en el manual y en la página NetPulse y Home Assistant.orientation: "any", que en una PWA instalada anula el bloqueo de orientación del propio sistema y además permite el giro invertido (180°): la pantalla rotaba y "se daba la vuelta" aunque el auto-rotado estuviera bloqueado. Se elimina el campo, de modo que el sistema vuelve a decidir y el bloqueo de rotación se respeta. (Una PWA ya instalada puede necesitar reinstalarse para recoger el manifest nuevo.)server/data/.update-backup-* sin límite alguno (18 copias / ~2,2 GB en dos semanas en una instancia viva). Ahora se conservan las tres más recientes y el resto se poda al terminar un update correcto; durante un rollback no se toca ninguna.port_series_raw (#817): la tabla ya tenía su clave primaria (router_id, port_id, ts) y cargaba además dos índices idénticos a esa misma clave, creados por error en dos sitios distintos (~33 MB de más en una base de 266 MB). Se dejan de crear y una migración los elimina en las bases existentes.netpulse-<fecha>.db.gz, aproximadamente 4× menos espacio) y la retención reconoce tanto el formato nuevo como los backups antiguos sin comprimir.GET/PUT /api/settings/services) y, al desactivar AdGuard, el sondeo se detiene y no se aplica la penalización. La tarjeta de AdGuard gana además un botón Desactivar que borra su configuración (DELETE /api/config/adguard), la tarjeta del panel se oculta cuando no hay configuración y el texto de la sección aclara que los servicios marcados "se muestran y se monitorizan".netpulse.cloudless.club (#810): el aviso del panel deja de depender del propio binario y pasa a leer el feed publicado en el dominio del proyecto.device_overrides guarda también nombre y tipo, con un campo de nombre y un selector de tipo (los 12 conocidos o de vuelta a Auto): el nombre propio manda sobre el alias DHCP y el tipo sobre el clasificador, y los tipos inválidos se rechazan. De paso se corrigen las búsquedas de overrides con MAC en mayúsculas (causa probable de los iconos que "desaparecían") y la imposibilidad de volver a Auto.POST /api/update/check) y solo recurre al estado cacheado como respaldo.kind externo en todos los sitios donde se use.agent/VERSION (arranca en 3.0.0, por encima de las versiones heredadas del tag, de modo que la flota existente se actualiza una vez a la nueva línea y desde entonces solo pide actualización cuando el agente cambia de verdad). El CI la inyecta igual en el binario del agente y en el servidor, y la release falla si agent/ cambió desde el tag anterior sin bump de agent/VERSION. Nombres de los assets del agente sin cambios (siguen ligados al tag del release).wg, que no ve las interfaces AmneziaWG (familia netlink propia, herramienta awg). Ahora el descubrimiento lista con ambas y el sondeo cae a awg show cuando wg no puede leer la interfaz; los routers WireGuard puros no se ven afectados (awg ausente = "sin interfaces AmneziaWG").time (#785): firmwares RTLPlayground recientes (KP-9000 v0.1.0-ad9e2ee) responden Tick counter: 0x… Sec Counter: 0x… en vez del contador hex único, y cada sondeo fallaba dejando firmware, uptime y MAC congelados en la UI tras el backoff. El parser acepta ambos formatos (el uptime es el Sec Counter).announcements.json del repositorio (raw de GitHub, refresco cada 6 h, fail-silent) y expone el aviso vigente en /api/announcement; la UI lo pinta con el mismo estilo que el aviso de actualización, con enlace opcional y descarte persistente por identificador. Primer aviso publicado: el programa de beta testers de NetGrip está abierto. Fuente configurable con NETPULSE_ANNOUNCEMENTS_URL.?dry_run=1: construye los mismos comandos uci sin ejecutarlos) y lo muestra en la ficha del dispositivo -comandos que se ejecutarán y, plegables, los de rollback-, con el router identificado. Nada se aplica hasta pulsar "Ejecutar y aplicar"; desbloquear y eliminar reserva siguen siendo directos. Estilo LuCI "Unsaved Changes", pedido por la comunidad.checkFailed con el motivo (límite de GitHub sin token, sin conexión) y la UI muestra "No se pudo comprobar ahora (motivo); inténtalo de nuevo en unos minutos" en lugar de un falso todo-ok.https://speedtest.net como valor por defecto, placeholder y botón "Restaurar" (no es un servidor de pruebas, es la web), y cualquier guardado escribía esa URL en la config: el resultado era una bajada capada, una subida ~0 y un servidor sin nombre. Ahora el campo nace vacío (autoselección), el botón pasa a "Automático", el servidor rechaza la trampa con un mensaje claro, un saneado al arranque limpia la URL trampa de instalaciones existentes, y una medición con bajada o subida <= 0 se descarta con error en vez de ensuciar la serie.last_run persistido: los reinicios y el auto-updater no resetean el reloj. El run manual y el programado comparten el mismo código con exclusión mutua.Hora (HH:MM, hora local) en la tarjeta de Respaldos; vacío mantiene el comportamiento "cada N horas" y con hora fija el respaldo dispara una vez al día a esa hora (ventana de mantenimiento). Validación HH:MM en el servidor.xl y 5 a partir de 2xl, con un gap algo menor, para mostrar más dispositivos por pantalla sin cambiar el diseño de la tarjeta.NETPULSE_POLL_INTERVAL segundos (entero > 0, 30 por defecto) en vez de cada 5 s fijos, que añadía una carga base visible en routers pequeños e inesperada para un monitor de solo lectura. El ajuste de UI "Intervalo de refresco" ya no aparenta controlar el sondeo del servidor: ahora gobierna de verdad la cadencia con la que la interfaz reconsulta los datos cuando pierde la conexión en tiempo real (3 s, 5 s, 10 s o pausado), y su etiqueta lo aclara.Unidad de temperatura configurable (Celsius o Fahrenheit) (#717): las temperaturas se mostraban siempre en Celsius. Ahora Ajustes → "Datos y umbrales" permite elegir °C o °F, una preferencia de solo presentación que se aplica a tarjetas, tabla comparativa, detalle de router, gráfico de rendimiento, topología y temperatura SFP, así como a las descripciones de las alertas de temperatura en vivo (que ahora muestran el umbral efectivo del router). El servidor y el almacenamiento siguen en Celsius, y los umbrales por router se editan en Celsius con etiqueta explícita. Las notificaciones push y el feed de la demo conservan el Celsius.
El umbral de alerta por temperatura alta pasa a ser por router (#716): antes era un único valor fijo de 65 °C para todos, así que un router que corre más caliente obligaba a subir el umbral global y ocultaba problemas reales en los más frescos. Ahora cada router puede fijar el suyo (columna temp_threshold en routers, vacío = 65 °C por defecto); la alerta de temperatura y el estado "hot" del dashboard lo usan. En la UI se configura en Ajustes → Dispositivos, y se retira el slider global de "Datos y umbrales" que no gobernaba la alerta real.
El panel WireGuard y la topología ya ven los peers de todos los túneles, no solo wg0 (#713): el servidor sondeaba una única interfaz (WG_INTERFACE, por defecto wg0), así que un gateway con varios túneles solo mostraba los peers de wg0. Ahora WG_INTERFACE admite auto (nuevo default) o vacío para descubrir y agregar los peers de todas las interfaces del router (wg show interfaces), y un valor explícito (una interfaz o una lista separada por comas) sigue actuando como filtro, conservando el comportamiento del caso de un solo túnel.
Detección y check de owut para upgrades de OpenWrt, Fase 1 (#695): el servidor puede detectar si un router tiene disponible owut (attended sysupgrade) y ejecutar owut check por SSH, exponiendo el resultado para revisión en la UI de Actualizaciones por router: si hay una actualización disponible y si la infraestructura ASU (sysupgrade.openwrt.org) puede construir la imagen. Es solo detección + check; owut download/owut install llegarán en una fase posterior con confirmación explícita. El flujo sysupgrade actual se mantiene intacto como fallback (owut requiere OpenWrt 24.10+; en 23.05 y anteriores no existe).
HTTPS nativo opcional para el servidor (#696): con NETPULSE_TLS_ENABLED=1 el servidor escucha HTTPS en un puerto adicional (NETPULSE_TLS_PORT, por defecto 3443) sin tocar el HTTP de PORT, de modo que los agentes y el updater siguen hablando por HTTP y solo la UI/PWA pasa a usar HTTPS. Si configuras NETPULSE_TLS_CERT y NETPULSE_TLS_KEY se cargan esos certificados (HTTPS válido, necesario para instalar la PWA); si no, se genera un certificado autofirmado en DATA_DIR al arrancar para que HTTPS esté disponible sin configurar nada, asumiendo el aviso del navegador (un autofirmado no permite instalar la PWA). Sin ACME.
El override manual attach ya puede colgar un dispositivo de un router o de un puerto concreto (#690): el parent solo admitía la MAC de otro device, así que no había forma de anclar un equipo a un AP ni a una boca determinada cuando la inferencia no podía saberlo (NAT, VM sin OUI de hipervisor, cliente callado en un switch que reporta todas las MAC en una boca, recableados). Ahora parent acepta tres formas: la MAC de un device (como hasta ahora, backwards-compatible), el id de un router, o routerId:puerto para fijar la boca exacta. En la UI el input libre de MAC se sustituye por un selector (routers, sus puertos y dispositivos) que conserva la edición de los overrides existentes con parent = MAC.
Los mensajes de rearm y de rotación de token explican ya el motivo real en routers sin agente ni SSH (#718, #719): al rearmar, la UI colapsaba cualquier error en un "No se pudo rearmar" genérico; ahora distingue entre sin agente registrado, sin acceso SSH, cooldown, router desconocido, dispositivo no OpenWrt, NetGrip y fallo SSH, con mensajes específicos en el idioma del usuario. Y al regenerar el token de un router sin agente (o gestionado por NetGrip), el aviso ya no dice "reinstala el agente": el servidor indica por qué no se pudo aplicar en caliente y la UI aclara que el token queda guardado y se aplicará cuando el agente se instale o se recupere.
El sondeo de WireGuard ya no se cae entero si falla una interfaz o el listado (#714): con el sondeo multi-interfaz (#713) un solo wg show <iface> dump que salía con status 1 (interfaz caída o inaccesible) abortaba toda la agregación y dejaba el panel WireGuard en "inactivo" permanente, logueando "no disponible" en cada tick. Ahora el fallo de una interfaz se salta y se agregan los peers de las que responden; si wg show interfaces no está soportado (o falla), se cae al default histórico wg0; y si ninguna interfaz responde, el panel muestra el túnel inactivo sin loguear error en cada tick.
El feed de alertas ya no muestra español para los tipos que faltaban por migrar (#712): los emisores que seguían generando literales sin type/vars (recuperaciones de agente, router y puerto, acceso SSH perdido/recuperado, handshake de WireGuard, los eventos del beacon del switch, el diagnóstico SFP y el auto-rearme) llevan ahora su slug estable y sus variables, y el frontend traduce el título y la descripción en el idioma del usuario. Los literales se mantienen como respaldo y el dedup/silence (que usan el título) no cambian.
Los clientes cableados y callados de un AP puente ya no vuelven a colgarse del router principal (#694): la clasificación de los puertos de subida (uplink) se calculaba cada tick solo con las MACs de bridge presentes en ese sondeo, así que un cliente callado cuya brMac ya no estaba en el FDB del gateway acababa atribuido al principal por dos vías transitorias (el FDB del gateway y el fallback ARP, que gana por orden alfabético). Ahora el servidor recuerda los puertos que alguna vez aprendieron la MAC de bridge de otro router (la clasificación de uplink persiste entre ticks y sobrevive a sondeos fallidos), el gateway no pisa la memoria de boca de un satélite en un puerto de uplink, y la memoria de puerto se refresca mientras el dispositivo siga online por ARP/lease aunque no hable por FDB. Además, GetBridgeFdb devuelve nil ante un fallo de sonda para no sustituir la caché anti-parpadeo por un FDB vacío.
Las notificaciones push de alertas se traducen al idioma del dispositivo (#689): el payload viajaba con los literales en español, así que un usuario con la app en inglés recibía los avisos en español. Ahora el server añade el slug del tipo y sus variables (type/vars) y el service worker traduce con el catálogo de la app (alerts.types.* / alerts.hints.*) según el idioma del navegador, manteniendo los literales como fallback.
Los nombres de la topología ya no se montan sobre los iconos (#692): los labels de los APs se dibujaban a los lados y chocaban con el abanico de clientes cableados (que sale al oeste) y con los chips wifi; los de los peers WireGuard se montaban sobre su propio icono y el del peer vecino. Ahora ambos van centrados bajo el nodo: el modelo ya excluye el ángulo del label al repartir los chips wifi, así que ese sector queda libre por construcción.
El resumen de alertas de la Home ya no muestra "ahora mismo" para todo (#698): AlertItem (y el aviso de temperatura del detalle de router) pintaban el campo time legacy, que el backend rellena con "ahora mismo" fijo en las alertas en vivo; una alerta de ayer seguía diciendo "ahora mismo". Ahora usan alertRelTime, que calcula el relativo real desde ts y solo cae al string legacy si falta el timestamp.
El "Visto" de la flota de agentes ya no oscila (#691): el contador de "último push" solo se recalculaba en renders esporádicos (con la llegada de snapshots), así que se congelaba entre actualizaciones y saltaba hacia atrás con cada push del agente (oscilación tipo 39-44-18-23 s). Un único reloj compartido de 1 s alimenta ahora toda la tabla: la celda avanza segundo a segundo y solo cae cuando llega un push realmente nuevo.
El hostname de las reservas DHCP se valida y se escapa (#693): el hostname del endpoint PUT /api/devices/{mac}/reservation se interpolaba sin sanitizar en el comando uci set que corre por SSH como root en el router; una comilla simple rompía el quoting e inyectaba comandos arbitrarios. Ahora solo se aceptan hostnames DNS (letras, dígitos, guiones y puntos, hasta 253 caracteres; el resto recibe 400 invalid_hostname) y todos los valores interpolados en comandos uci -incluidos los rollbacks que re-leen config del router- viajan escapados. La UI manda el hostname solo cuando el nombre del dispositivo es un hostname DNS válido.
/api/health cuenta ahora los SSE de los agentes (#681): sseConnections solo reflejaba las pestañas del navegador; los agentes conectan por su propio hub y quedaban invisibles (con toda la flota empujando, el health leía 0-1). Se añade agentSseConnections (el contador de UI conserva su significado).stale_payload) y bloqueaba todo lo que venía detrás durante horas. El agente descarta los payloads caducados en el flush y se recupera en el primer ciclo con conectividad..ipk 24.10 y .apk 25.12), y la arquitectura del .ipk se deriva del SDK en vez de estar fijada; instalar los paquetes en un OpenWrt x86_64 dejaba de fallar con "Unsupported architecture".El traductor del navegador ya no destroza los hostnames (#666): la página declaraba siempre lang="es" aunque la UI estuviera en inglés, así que el navegador ofrecía traducirla y el traductor reescribía también los datos (p. ej. "crowed-pixeltab" → "crowded-pixeltab"). El documento declara ahora el idioma activo y los valores de red (hostnames, IPs) van marcados translate="no" para que queden intactos aunque la traducción esté activada.
Las alertas se muestran en el idioma del usuario (#671): los textos del feed (título, descripción y sugerencia) los generaba el servidor en español y un usuario con la app en inglés los veía mezclados. Los eventos llevan ahora el slug de su tipo y sus variables, y el frontend los traduce por clave en el idioma activo (con los literales del servidor como respaldo). Migrados los 13 tipos con slug: dispositivo desconocido, router offline, agente caído (y su variante SSH), agente desactualizado, firmware, Internet caído, velocidad WAN lenta, temperatura alta, señal débil, port flapping, ghost port y enlace degradado. Las notificaciones push de las alertas urgentes siguen en español por ahora (seguimiento aparte).
br-lan puentado a la LAN principal) tiene clientes conectados por cable a sus bocas, el router principal también los ve en su FDB porque comparten el mismo segmento L2. La reconciliación descartaba esas MACs del satélite y las colgaba del router principal. Ahora una MAC que el satélite aprende en una boca local que no es su uplink se atribuye a ese satélite (la boca física es la evidencia más específica); el uplink sigue excluido como tránsito y los routers con agente propio conservan su fuente específica. Además, el orden de los dispositivos es ahora determinista (por MAC), lo que evita que los iconos del mapa salten de posición al refrescar.accept-new) registraba en known_hosts solo la host key que negociaba (ed25519), pero el sondeo Go negocia otra (ecdsa/rsa) con el mismo servidor; un host con varias host keys daba un falso "ssh key changed" y exigía un re-onboard sin motivo. Ahora el descubrimiento pinea todas las host keys del router (ed25519, ecdsa y rsa), de forma que el sondeo siempre encuentra la suya sin debilitar la protección anti-MITM: si el router cambia todas sus claves (reflash), la detección de "host key changed" sigue intacta.wg show dump y uci show network en una sola sesión SSH (con marcador de separación) y conserva el estado de un túnel caído.recordPortSamples, la misma ruta que SSH/agente). Además, el FDB ya no descarta las MACs cuyo índice no resolvía a un puerto conocido (antes el switch mostraba 0 dispositivos pese a tener clientes) y se añade un fallback a la tabla Q-BRIDGE para los switches que solo la exponen. La tarjeta de la flota pinta ahora el tráfico agregado del switch en bps, y la gráfica de puertos de un switch SNMP usa bps (los beacons sin contadores de bytes siguen en fps)..env + reinicia) sin reinstalar. Además, la rotación de token en un reinstall es atómica: si el SSH falla, el servidor restaura el hash anterior, así el agente no se queda empujando un token que ya no se acepta (401 eterno).reinstall no cabía; ahora hay una acción "Desinstalar" que retira el agente limpio (detiene/deshabilita el init, borra binario, .env, watchdog y cron)./etc/netpulse-agent.env y reinicia el servicio), así el dispositivo sigue reportando sin reinstalar. El one-liner de instalación solo se necesita cuando el router no es alcanzable por SSH.board_name + target + version) consultando el índice de descargas de OpenWrt y prerrellena la URL y el checksum, con un botón "Autodetectar imagen". Si no se puede resolver, se mantiene la entrada manual.common.copy, una clave inexistente, así que el tooltip mostraba literalmente common.copy. Añadida la clave common.copy ("Copiar"/"Copy").ssh_port (formulario de alta/edición en Ajustes) y todo el camino SSH del servidor (pool, sondeo, acciones, orquestación, rearm, instalación del agente y descubrimiento del gateway) usa host:puerto. Sin puerto configurado se sigue usando 22.· N MHz) junto al número de canal, cruzando con el channel-plan del router.desconocido cuando no hay tipo mapeado; la tarjeta de WireGuard de la Home construía el icono con PEER_ICONS[peer.type] sin fallback, así que un peer desconocido (o no mapeado) producía un icono undefined y React crasheaba ("Element type is invalid") en cuanto un cliente WireGuard se conectaba (o al abrir la UI desde él). Se añade desconocido a los mapas de iconos y un fallback.iw dev scan (scan activo que saca la radio del canal) en cada sondeo completo, es decir cada ~30-37 s por dispositivo (medido en la tabla de scans). En puntos de acceso eso provoca desconexiones de dispositivos IoT y pérdida de señal. Ahora el scan se ejecuta como mucho cada 10 minutos, tras el arranque, o de inmediato cuando el servidor pide un refresh por SSE. La versión de agente embebida sube a 2.26.12 para que la flota se actualice. Se corrige además un test flaky de orden de mapa en TestParseUsteer que rompía el CI.known_hosts en silencio (accept-new con refresh), lo que anulaba la protección MITM. Ahora la conexión se rechaza y el router se marca como unreachable/hostKeyChanged; un admin debe confirmar el re-onboard explícitamente (nuevo endpoint POST /api/routers/{id}/accept-host-key y botón en el detalle del router), que borra la entrada y vuelve a hacer TOFU en el siguiente sondeo. El tipo de clave registrado es el que presente el dropbear del router (ssh-rsa en nuestra flota OpenWrt), no se fuerza RSA.ramMb real que devuelve el backend (/api/routers/{id}).flint2, así que en modo live la tarjeta nunca recibía el tratamiento de router principal. Ahora usa roleBadge Principal, igual que el detalle del router, y el subtítulo muestra el model real del dispositivo (se elimina el literal "GL.iNet Flint 2 · GL-MT6000" tanto de la tarjeta como de la cabecera de detalle). Se elimina también la clave de traducción msToGateway (quedó sin uso tras quitar el footer en #593).FleetCard pintaba la etiqueta del gateway siempre que la latencia al gateway no estuviera disponible, y en modo live esos extras nunca llegan (solo la demo los rellena), así que la etiqueta salía en todas las tarjetas, incluidos APs y switches. Ahora la indicación es una pill verde "Puerta de enlace" junto al nombre, visible solo en la tarjeta del router con roleBadge Principal (el gateway real), y se elimina la fila del footer con el texto y el enlace "Ver detalle" (toda la tarjeta ya es clicable)..apk en la release (#573, fix #586): se construía el .apk con dos targets (qualcommax/ipq807x y armsr/armv8) que generaban el mismo nombre de fichero (sin el arch), así que en el upload (--clobber) solo sobrevivía uno. Ahora se publica un único .apk aarch64_generic (target armsr/armv8), instalable en aarch64 genérico y en cortex-a53; el .ipk cortex-a53 se mantiene para opkg. (Nota: fix al workflow de empaquetado OpenWrt, sin cambio de código runtime.)install.sh, install-agent.sh y install-collector.sh resolvían releases/latest con un corte posicional (cut -d'"' -f4); cuando GitHub devuelve el JSON minificado en una línea, el campo 4 es la URL de la release, no el tag, y la descarga apuntaba a una URL inválida. Ahora extraen tag_name por nombre (grep -oE). El instalador además informa de su propia versión./tmp/dhcp.leases; ahora se resuelve vía UCI (dhcp.@dnsmasq[0].leasefile) con fallback, y aplica al agente y al sondeo SSH.known_hosts; ante una clave conocida pero distinta el pool rechazaba (protección MITM) y dropbear veía "Exit before auth". Ahora re-onboarda con aviso (accept-new con refresh), acorde al modelo de confianza de una LAN self-hosted.Europe/Madrid y una pill "actualizado" antes de tener datos reales. Ahora usa el timezone del router si existe (si no, —) y oculta la pill de firmware sin datos reales..apk con arch aarch64_generic (target armsr/armv8) además del aarch64_cortex-a53, para routers aarch64 fuera de cortex-a53 (antes apk add fallaba con uninstallable arch).--binary /tmp/netpulse-agent ...), pero el instalador solo aceptaba --opt=value, así que abortaba en la primera opción con opción desconocida: --binary y nunca llegaba al paso SSH. El instalador ahora acepta tanto --opt value como --opt=value.install-agent.sh hacía ssh root@IP sin identidad explícita; si el router solo autoriza la llave que genera NetPulse (la que muestra Ajustes), el SSH fallaba aunque ssh -i <llave> root@IP funcionara. Ahora se acepta --ssh-key <ruta>, se reenvía con -i a todos los ssh/scp, y el copy-command la incluye automáticamente.PVEAuditor) y se configura en Ajustes > Proxmox VE (URL del cluster + token). Nota: en PVE 9.x los privilegios de un token no se editan desde la UI; se asignan por CLI (pvesh set /access/acl -path / -roles PVEAuditor -tokens "usuario@realm!token")..nvmrc/engines fijados (#542, #560): los workflows usan Node 24 y el repo declara la versión para reproducibilidad.ubus hostapd get_clients (bytes.rx/tx, clientes wifi asociados a ese AP), que el agente ya reporta. La store de ancho de banda por cliente (creada en el #337/#357) queda cableada de extremo a extremo: ingesta por deltas con rollups que calculan tasas reales (antes dejaban los bps a 0), API GET /api/devices/{mac}/traffic y tasa actual por cliente en el overview. Nota: los clientes cableados del gateway no tendrán tráfico hasta que su pusher (NetGrip) emita la sección clientBw; en un router con agente NetPulse y nlbwmon instalado queda cubierto todo.acababa en el gateway equivocado. Ahora el servidor resuelve el router que reportó el lease de esa MAC (el dnsmasq que se la concedió) y escribe allí; si no hay lease conocido cae al gateway, como antes. El bloqueo de dispositivo ya apuntaba al router de atache.iwinfo assoclist y resumen de radios por iwinfo en cada tick de 5 s. En un AP de un solo núcleo (p. ej. Archer A7 v5) eso disparaba la carga. Ahora el sondeo SSH replica el fix que el agente tiene desde #373: clientes vía ubus hostapd get_clients (autoritativo incluso con un AP vacío, sin caer a iwinfo), iwinfo solo en una pasada combinada como fallback, y el resumen de radios cacheado 5 minutos en vez de refrescarse en cada poll.Nota de versionado: las releases 2.26.13 y 2.26.14 no llegaron a publicarse como releases de GitHub (un symlink
app/node_modulescommiteado por error rompía goreleaser con "dirty state"). Su código está en main y se consolida aquí, en la v2.28.0.
docs/manual.es.md y docs/manual.en.md, una sección por pantalla de la app con qué muestra, qué datos necesita, cómo leerla, las decisiones de diseño relevantes y procedimientos paso a paso, enlazados desde el README.Stop() esperaba indefinidamente al tick en curso. Ahora espera como mucho 15 s (loggea si se rinde) y el proceso continúa el cierre.app/node_modules del repositorio (rompía goreleaser en cada tag) y se ignora explícitamente.uci commit como límite atómico y rollback si el reinicio del servicio (dnsmasq/firewall) falla - nunca se deja una configuración a medias. 23 tests nuevos con SSH simulado.Stop() esperaba indefinidamente al tick en curso. Ahora espera como mucho 15 s (loggea si se rinde) y el proceso continúa el cierre; el tick ya termina solo por los timeouts del cliente SNMP.DELETE /api/firmware-upgrades/{routerId}/failure, que solo borra intentos terminados; un upgrade en curso nunca se toca). De paso, se arregló un fallo latente por el que los upgrades en curso no aparecían en la lista (el escaneo de columnas NULL fallaba en silencio).update.sh escribe el marcador de éxito con el SHA completo (40 caracteres, git rev-parse HEAD) mientras el comprobador lo comparaba literalmente con el objetivo corto (7 caracteres), así que el reinicio esperado del script (systemd mata su cgroup al aplicar) se registraba siempre como update_exit_-1 aunque el binario nuevo arrancara bien. La comparación pasa a ser por prefijo y el marcador se trata como la verdad del terreno: si el swap se hizo y pidió reinicio, es éxito; si main avanzó entre la comprobación y la aplicación, se rectifican el historial y el marcador de confirmación post-arranque al SHA realmente instalado.update_exit_-1 se traducen a un texto claro (castellano e inglés); el código técnico queda como detalle de depuración.(total - MemAvailable) / total y MemAvailable es pesimista en sistemas de ficheros ubifs/overlay (cuenta poca caché como reclamable a corto plazo), de modo que un punto de acceso descargado podía marcar en torno al 80%. El agente nativo lee ahora /proc/meminfo para enviar la caché de ficheros, y el servidor usa la fórmula clásica que no la cuenta como consumida (paridad con LuCI/htop). El ajuste llega a los routers al actualizar el agente de la flota.lan1, wan, eth0...), pensada para excluir los puertos wireless; cualquier puerto físico fuera de esa lista se descartaba en silencio. En el Banana Pi BPI-R4 las jaulas SFP se llaman sfp-lan/sfp-wan (naming de OpenWrt 25.12+), así que los dispositivos cableados tras el SFP-LAN (p. ej. detrás de un switch no gestionado, con IP estática y sin lease DHCP) jamás aparecían como clientes. El filtro pasa a ser una lista de exclusión: vale cualquier puerto miembro del bridge salvo wireless (phy*-ap*, wlan*), interfaces virtuales (bridges, túneles, veth, wg, ppp...) y subinterfaces VLAN.bridge fdb show filtraba mal las entradas locales (#506): cuando el router no tiene brctl, el fallback dejaba pasar las entradas locales del bridge (su propia MAC registrada en cada puerto, flag permanent); el servidor interpretaba esa MAC propia como un uplink y descartaba TODOS los clientes cableados de ese puerto. Ahora se excluyen las entradas permanent, en paridad con la vía brctl.style-src gana 'unsafe-inline'; script-src sigue estricto ('self') y la app no renderiza HTML controlado por el usuario.lldpcli en su ciclo completo e incluye los vecinos (puerto, chasis, IP de gestión, capacidades, puerto remoto) en el push. Hasta ahora la recolección LLDP solo existía en la vía SSH del server, muerta para routers sondeados por agente (el camino recomendado de instalación), de modo que la topología nunca promovía switches gestionados ni identificaba vecinos en esas flotas. El contrato es explícito: available:false cuando lldpd no está instalado (alimenta el hint de la UI), vecinos ausentes si la sonda falla esa ronda (anti-parpadeo como las vitales) y lista vacía honesta cuando no hay vecinos. El parser de lldpcli pasa a vivir en agent/probe compartido por ambas vías. Nota de red: un switch conforme 802.1D filtra el multicast LLDP, así que los vecinos solo aparecen entre equipos directamente cableados o a través de switches no gestionados.netpulse-agent se compila ahora para mipsle (little-endian: MT7621 y el resto de ramips) y mips (big-endian: ath79 y demás targets BE), ambos soft-float porque estos SoC no llevan FPU. Llega a los tres caminos: tarballs de release, binarios embebidos en el server (el botón Instalar agente y el reintegro POST-flash sirven el binario correcto) y el instalador de una línea. Como uname -m devuelve "mips" para ambos endianness, la detección lee el byte EI_DATA del ELF del sistema (truco busybox-safe sin depender de od -t). Los paquetes .apk/.ipk del agente siguen siendo aarch64-only de momento; el one-liner y el tarball cubren MIPS.not_found y scans descartados); el parser del agente leía freq: 5260.0 como entero y tiraba todos los BSS; cada push reinsertaba los mismos vecinos y el score desbordaba (recomendaciones con MaxInt64) hasta que la lectura deduplica por BSSID; y la página mandaba el id del overview (flint2) mientras los datos viven bajo el slug (gateway). Además, wifi_scans lleva purga (48 h) y la UI trata radios/scans nulos sin romperse.go-latest se construye en cada commit de main, cerrando el falso "updateexit-1".fast-uri; cerradas con su bump (#460).PUT /api/auth/password, un endpoint que no existía en el servidor, así que el cambio nunca funcionaba. Ahora está implementado: verifica la contraseña actual, aplica la política 10..128, invalida el resto de sesiones del usuario y conserva la sesión que pide el cambio. El formulario alinea el mínimo a 10 y lo indica.navigator.clipboard no existe en orígenes no seguros (NetPulse se suele servir por http://<ip>:3000), así que copiar la clave SSH no hacía nada y el error se tragaba. Helper compartido con fallback a textarea + execCommand('copy') para todos los botones de copia, con aviso visible si ambas vías fallan.netpulse (#467): la reinstalación moría con useradd: group netpulse exists. Los instaladores reutilizan el grupo si ya existe (-g) y los desinstaladores lo borran (groupdel), en el server y el collector.luci-app-netpulse-<versión>-r1.apk y el README refleja el patrón nuevo.release.yml corría los tests Go antes de compilar los binarios de agente embebidos y moría antes de goreleaser (el mismo desorden que #458 arregló en go.yml), así que no había tarballs ni paquetes y los instaladores fallaban. Además, el job package-server de openwrt-package.yml leía el tag de un contexto vacío. Con este tag vuelven los tarballs, checksums y paquetes OpenWrt.sysupgrade -b, flashea y reporta el resultado tras el reinicio mediante un fichero pendiente. UI con progreso y resultado. Validado E2E en un router real (imagen oficial ASU).finished_at nullable en el store; inyección del reloj en NewLive (panic en pollRouter); los endpoints firmware-progress y firmware-result aceptan Bearer del agente.pgrep -x de BusyBox compara la línea de comando completa y nunca matcheaba /usr/sbin/netpulse-agent; sustituido por pidof.TestOpenArmVariants los abre) y el binario arm se llama netpulse-agent-arm, el nombre que resuelve normalizeArch (antes armv7 era imposible de servir vía /api/agents/{slug}/binary).vercmp ahora compara también el build del sufijo -N (CmpBuild), de modo que el frontend y el ciclo de upgrade usan el mismo criterio. Un agente con build más reciente ya no se considera desactualizado.agentbin.Open normaliza armv7/armv7l/armhf a arm, aarch64 a arm64 y x86_64 a amd64, coincidiendo con los nombres de los binarios embebidos./roaming que lista clientes conectados a un AP subóptimo y sugiere un AP mejor según el hearing map. Soporta usteer (preferido) y DAWN como fallback. Incluye endpoints /api/wifi-reanchor/recommendations y /api/wifi-reanchor/{mac}/move, y ejecuta del_client con ban_time al aprobar el movimiento.snmp_poll_interval configurable (10-3600 s, default 60) en lugar de sondear en cada tick de 5 s. Se expone en el formulario de edicion del router (Ajustes > Routers) y en PUT /api/config/routers/:id.PortMonitor aplica una histeresis temporal de 5 minutos de silencio real antes de declarar ghost-port en puertos procedentes de SNMP. Ademas, cuando un router SNMP se cachea entre polls, no se re-observa el mismo snapshot, evitando que el contador de polls sin trafico crezca artificialmente.metrics cuando reutiliza el snapshot cacheado de un switch SNMP.deploy/update.sh hace copia de seguridad de data/.ssh/ y de la BD antes de git reset --hard; restaura .ssh/ si git lo elimino; conserva el binario anterior como .prev hasta pasar un healthcheck post-reinicio; si el servidor no ve routers/agentes, aplica rollback al binario, claves y BD anteriores y reinicia. Ademas, sshkey.EnsureKeypair restaura el ultimo backup disponible si el par de claves desaparece, evitando regeneraciones accidentales.PortMonitor inicializa el estado de un puerto desconocido con el trafico observado en la primera muestra, por lo que un contador constante > 0 tras un reinicio ya no se interpreta como "se callo"./roaming muestra una advertencia si algun router sigue reportando DAWN como daemon de roaming activo, ayudando a completar la migracion a usteer.none, dawn, usteer o ambos, y senala inconsistencias en la configuracion 802.11r (sin mobility domain, sin R0/R1 key, SSID sin roaming, o mobility domain distinta por SSID). La UI presenta estas anomalias como tarjetas de aviso en /roaming.local_info, remote_info y connected_clients de usteer; actualiza las vistas /roaming y /orchestration y los textos i18n ES/EN; renombra DawnPanel a UsteerPanel y elimina helpers y tests de DAWN obsoletos.PUT /api/config/adguard exigia un host no vacio tambien en modo glinet, lo que impedia guardar la configuracion por defecto (router gestionado por SSH sin host remoto). Ahora glinet acepta host vacio y devuelve port: 0.local_info, remote_info y connected_clients de usteer; actualiza las vistas /roaming y /orchestration y los textos i18n ES/EN; renombra DawnPanel a UsteerPanel y elimina helpers y tests de DAWN obsoletos.PUT /api/config/adguard ignoraba el campo port del JSON y solo extraía puerto de la cadena host. Como el modo standard envía host y puerto por separado, cualquier guardado terminaba usando 3000. Ahora el puerto explícito tiene prioridad y se persiste correctamente./proc/net/arp) y buildDevices la usa como último fallback tras leases y gl-clients.KickUsteerClient ahora recorre todos los routers y continua si un del_client falla, en lugar de devolver el error crudo de SSH en el primer intento. Tambien corrige la comparacion de MAC, ya que usteer devuelve las MAC en minusculas en connected_clients. El mensaje de error ahora es could not disconnect from <router> en vez de Process exited with status 4.GHOST_PORT_ENABLED (default 0). Cuando esta desactivada, el PortMonitor no genera alertas de puerto fantasma ni de recuperacion, eliminando los falsos positivos actuales mientras se afinan los agentes.CmdNetDev falla o tarda en un ciclo, el prober enviaba la muestra anterior como NetIf, con un timestamp nuevo. El servidor calculaba deltas de 0 bps y disparaba alertas Ghost port en el único puerto activo. Ahora NetIf solo se incluye en el payload cuando el ciclo actual refresca los contadores.alert-agent-outdated-<routerID> cuando un agente (native o netgrip) está por debajo de la última versión disponible. Se recupera automáticamente cuando el agente se actualiza.done cuando el agente pushea la versión objetivo (antes quedaba en restarting hasta el TTL de 3 minutos). La UI refleja el estado done inmediatamente./orchestration para desplegar y alinear la configuración de roaming (802.11k/v/r, mobility domain, shared key, broadcast IP, random_bssid=0) en los APs. El backend probea el estado actual vía SSH, genera un plan declarativo con las ops necesarias, y verifica la malla DAWN tras el apply (ubus call dawn get_network). Incluye rollback y i18n ES/EN.POST /api/plans/{id}/rollback ahora delega las ops inversas al executor de NetGrip cuando el router tiene executor token (mismo criterio que el apply), asentando el plan como rolled_back vía la máquina de estados existente. El fallback al agente embebido por SSE se mantiene.POST /api/plans/{id}/apply delega la ejecución de las ops a NetGrip vía POST /api/executor/apply. Si NetGrip no responde, se mantiene el fallback al agente embebido por SSE.POST /api/config-backup ahora recibe snapshots gzip desde NetGrip autenticados con el token de agente. Los endpoints de lectura/borrado (GET /api/config-backup, GET /api/config-backup/{id}, DELETE /api/config-backup/{id}) requieren rol admin./alerts renderizaban todo su contenido dentro de un <button>, y los navegadores desactivan la selección de texto dentro de los botones. La fila pasa a ser un div role="button" (Enter/Espacio siguen funcionando) con un guard por movimiento de puntero: arrastrar para seleccionar no despliega la alerta, un click normal sí. Corrige además el anidado inválido de botones (silenciar dentro de la fila).AUTH_PASS y SESSION_SECRET (#391).agent/runtime package so the agent can run embedded (used by
NetGrip).PortMonitor rastrea transiciones de estado y detecta flapping (>5 transiciones en 10 min). Integrado en las rutas de agente, SSH y SNMP.server-go/internal/snmp/ con gosnmp. Sondeo de ifTable/ifXTable (estado, velocidad, contadores, errores), dot1dTpFdbTable (tabla MAC-puerto), sysUpTime/sysDescr. Config SNMP por router (toggle + community + puerto). Integrado en el ciclo de polling junto a SSH/agente.server-go/internal/portseries/. Tres tablas SQLite: raw (7d), buckets 5min (1 año), diario (indefinido). Job nocturno de rollup + purga. API GET /api/routers/:id/ports/:portId/series. Sparkline SVG en el panel de puerto con selector 24h/7d/30d.Device.Manufacturer ahora se rellena desde el prefijo OUI en lugar de "Desconocido".hint opcional con sugerencia estática por tipo de alerta (agente caído, temperatura alta, WAN caído, etc.). Visible en el feed, push notifications y service worker.bridge vlan show.ethtool -m en el agente + parsing de campos SFP del beacon. Temperatura, voltaje y potencia óptica TX/RX en el detalle de puerto. Alertas por RX < -14 dBm y temperatura > 70 °C.typeCounts agrupado.beacon <ip> <slug> <token>.docs/AGENTE-RTL-SWITCH.md con el procedimiento completo para incorporar switches embebidos.STEP:/PROGRESS: del script de update, transmitidos por SSE (GET /api/update/stream, admin) con fallback a polling; y recarga la app solo cuando responde un proceso distinto (uptime baseline). La descarga del binario de CI se verifica contra el digest sha256 publicado antes del swap./agents redirige), con rearmar, copiar comando, reinstalar y actualizar agente por fila.upgrade.steps) y la UI pinta como línea de tiempo; los runs rápidos se resumen ("Actualizado · N pasos · X s").X-Checksum-Sha256 y el agente comprueba el sha256 antes de hacer el swap (paso "comprobando integridad"); si no cuadra, aborta sin tocar el binario en marcha.ubus call network.interface.wan status (cache 60 s)./routers/:id.wg show, rollback automático si el túnel no queda up y protección anti-lockout (nunca borra el peer del admin).port_labels/vlan_labels de /etc/config/luci y la topología las usa como nombre preferente.VITE_GC_COUNT) y nombre propio por defecto en inglés para primeros visitantes.unsafe-inline de script-src/style-src.start negativo ya no causa panic con queries enormes.lldpDownUntil protegido con mutex.lldpAvailable para señalar cuándo falta lldpd en el dispositivo sondeado (requisito para detección de switches gestionados)..ipk/.apk del agente y .ipk de luci-app-netpulse (el workflow no se disparaba por el GITHUB_TOKEN)./api/*.http.Server con ReadTimeout/WriteTimeout (SSE exento); login_attempts se resetea al expirar el bloqueo; verificación de Origin en mutaciones (CSRF defensa en profundidad); el token de pairing ya no se loguea en claro; 413 real para bodies sobredimensionados; AUTH_PASS mínimo 10; el webhook se loguea solo por host; el backup descargable documenta que contiene credenciales./api/dawn redirige a login, noUncheckedIndexedAccess habilitado.AGENT_VERSION para que derive del tag y httpapi.Version sea inyectable; este release lo consolida.POST /api/config/sshkey/rotate
(admin) con confirmación en la UI; respalda el par anterior y regenera uno
nuevo. #242updateAvailable en la lista de
agentes y botón "Actualizar agente" en el detalle del router; el agente
descarga el binario nuevo del servidor, lo intercambia y se reinicia solo. #243router.agentOnly en el view-model.execCommand cuando la
Clipboard API no está disponible (HTTP), y el toast solo confirma si la
copia tuvo éxito.updateAvailable coherente: la versión del binario embebido ahora se
inyecta por CI con el mismo valor que la versión del agente (antes una
constante fija que nunca coincidía).known_macs gestionable desde
Ajustes ("Dispositivos de confianza"). Una MAC registrada nunca dispara la
alerta "Dispositivo desconocido" y su nombre se usa como alias. Endpoints
admin GET/PUT/DELETE /api/settings/known-macs. #196routers.mac y se excluye siempre, y la alerta de
desconocido deja de ser urgente (warn informativo, categoría clients
pasa a all). #196Aviso de actualización sin versión duplicada: cuando GitHub publica una
release cuyo nombre coincide con el tag (p. ej. v2.10.0), el banner ya no
muestra "Nueva versión disponible: v2.10.0 — v2.10.0". Ahora solo aparece la
versión una vez. #191
Hint visible en instalaciones estables: en despliegues que usan
install.sh (modo estable), el banner ahora muestra debajo del mensaje
"Instalación estable: re-ejecuta install.sh para actualizar", haciendo
explícito por qué no hay botón "Actualizar" y clarificando el enlace
"Ver en GitHub" como siguiente paso. #191
offline; al reaparecer = online) con timestamp, router
y última señal. Nueva tabla device_events (retención 30 días) y endpoint
GET /api/device-events con filtros limit/since/router/mac/state.
Permite correlacionar incidentes (qué cayó, cuándo, cuánto tardó en volver).
#184Historial de actualizaciones: nueva tabla update_history y endpoint
GET /api/updates/history (admin) con el registro de cada apply (cuándo,
SHA desde/hacia, iniciador, duración, estado). Visible en Ajustes. #159
Velocidad WAN contratada: campo en Ajustes para declarar el ancho de
bajada/subida contratado (Mbps). Se persiste y el gráfico de tráfico WAN
muestra una línea de referencia al nivel contratado y la utilización
("Pico hoy X % del contratado"). GET/PUT /api/settings/wanspeed (admin)
y wan.contractDownMbps/contractUpMbps en el overview. #151
Readiness checks antes de aplicar actualizaciones: GET /api/update/status
expone pre-flight checks (disco, git limpio, red a GitHub, sin update en
curso); la UI bloquea el botón de aplicar si no están listos. #160
Confirmación post-update: tras aplicar y reiniciar, si el commit cambió se muestra un aviso de una sola vez "Actualizado a ". #161
.env, data/, binarios, backups), bloqueando el apply para
siempre en un layout real. Ahora usa --untracked-files=no (un
git reset --hard no toca untracked). #160409 demo_read_only al empujar
datos en modo demo y reportaban fallos de un estado esperado. Ahora la
ingesta se acepta como no-op benigno (202 + demo:true) sin tocar la BD,
manteniendo la validación de token y firma HMAC. #168lg. #173Orquestación Fase 18 (17.2–17.4): módulos de WiFi invitado (SSID
aislado con subred propia), DDNS (ddns-scripts vía UCI) y QoS/SQM
(sqm-scripts con cake) con UI unificada en /orchestration. El motor
gana los Kinds uci_add, uci_set_named, uci_delete_section y
tcp_check (healthcheck de puerto con reintentos). #131 / #133 / #136
Topología portable: refactor del layout (anillos densos, resolver de colisiones, círculo virtual) sin coordenadas hardcodeadas de una red concreta. #138 / #140
Ajustes → Acerca de: los cuatro tiles enlazan ahora a su destino (GitHub, la web del proyecto, Ko-fi y el Club Cloudless). #162
AdGuard solo en el gateway: el plan se rechaza (422) si el router destino no es el gateway, ya está el fork de fábrica o no hay RAM suficiente, salvo opt-in explícito. #120 / #130
Orquestación oculta por defecto: el menú /orchestration solo se
muestra si el admin lo activa en Ajustes. #121 / #129
apk_install, download (allowlist URL), write_file,
extract_tarball, chmod, service start/stop, mv. El endpoint
POST /api/plans devuelve 422 managed_by_firmware para routers con
AdGuard de fabricante. UI /orchestration muestra el método detectado.
#116 / #122Discover responde a la cancelación del cliente: el scan de la LAN
propagaba el context.Context de la request HTTP, así que cancelar la
petición (cerrar la pestaña, corte de red) dejaba el barrido corriendo
con el lock de caché tomado. Ahora pool, tcpOpen, postUbus,
getRoot y probeSsh respetan ctx y el scan aborta en cuanto el
cliente se desconecta. #107 / #123
Home: el tráfico WAN ya no aparece duplicado: HeroStrip mostraba
↓ down / ↑ up instantáneos junto a WanTraffic, que ya pinta el gráfico
down/up y las métricas 24h. HeroStrip pasa a mostrar solo saludo +
HealthRing + latencia (y nº de dispositivos en móvil). #108 / #124
Fase 14.3 — Estado 802.11r en /roaming: nueva pestaña que muestra por
SSID y por router si Fast BSS Transition está activo, con mobility_domain,
modo FT (over-the-air/over-the-DS), tipo de auth (PSK local vs RADIUS
externo) y banderas 802.11k/v/w (PMF). Datos leídos por SSH de
uci show wireless. Endpoint GET /api/dot11r (503 si ningún router lo
soporta). #105 / #106
Fase 14.4 — Utilización por canal WiFi en /roaming: nueva pestaña
Survey con noise floor y % de ocupación por canal, leído de
iw dev wlanX survey dump. Los canales congestionados son la causa más
habitual de WiFi lento en casa. Endpoint GET /api/survey. #111 / #113
Fase 14.5 — Eventos de roaming con histórico en /roaming: nueva
pestaña Eventos con feed persistente de 30 días de conexiones,
desconexiones y decisiones DAWN. Ingesta continua cada 60s vía SSH
logread | grep, deduplicación por hash. Endpoint
GET /api/roam-events. #114 / #115
Editar configuración de router: nuevo endpoint
PUT /api/config/routers/{id} que permite editar host, nombre, tipo,
gateway y agent_only sin borrar y recrear (lo cual perdía el ID y el
histórico de métricas). UI de edición inline en Ajustes. #109 / #110
GetDawn timeout en routers agent-only: el handler intentaba SSH a
switches sin SSH (switch16), perdiendo 4s por cada llamada. Ahora se
saltan los routers agent_only.
Survey filtraba interfaces no-wlan: el parser solo aceptaba
wlan0/wlan1, descartando silenciosamente todos los radios de los
Redmi AX6 (driver mt76, interfaces phy0-ap0/phy1-ap0). Acepta
cualquier interfaz listada por iw dev.
fix/agent-only-switches con RouterConfig.AgentOnly, StalePayload,
rol Switch, gate en topología y migración de BD. Antes no estaba en
main y bloqueaba la compilación de la Fase 14.3.nil empaquetado
en la interfaz alerts.Notifier (webhook inactivo) no es nil para if n != nil,
y Notify paniqueaba al emitir una alerta URGENTE de "dispositivo desconocido".
Los notifiers se filtran ahora en su tipo concreto antes de empaquetar en la
interfaz, con defensa adicional vía reflect en notifierChain.Notify.TRUST_PROXY: cuando el servidor va detrás de un proxy/reverse, la IP del
cliente se toma de X-Forwarded-For y el tráfico HTTPS de
X-Forwarded-Proto. Por defecto no se confía en esas cabeceras.ts del agente en la ingesta (AGENT_MAX_TS_DRIFT_S,
default 5 min): rechaza pushes con marca de tiempo fuera de rango.X-Forwarded-For falso: sin TRUST_PROXY, la IP
del cliente es la del socket; ya no se puede falsear para evadir el bloqueo
de fuerza bruta del login ni el rate-limit de la ingesta..ipk vía opkg en gateway, profiling, CI de
empaquetado .ipk/.apk, landing web con posicionamiento OpenWrt nativo./api/health, registry de agentes
persistente, escalera de retención, recharts v3, webhook saliente con DLQ.