Skip to content

NodeRadar Pro v2.2.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 18:34
· 10 commits to main since this release

NodeRadar Pro v2.2.0

Added

  • Keep a Changelog 1.1.0 Standardization (CHANGELOG.md, ChangelogService.cs, SupportPage.cs, ChangelogServiceTests.cs): Retrospectively reformatted all historical releases into strict Keep a Changelog 1.1.0 specification with ## [X.Y.Z] - YYYY-MM-DD headers, standard category sections, diff comparison links, category-aware parsing in ChangelogService, and colored category badge pills on the desktop Support page.
  • Test Suite Mirroring and Headless UI Coverage Expansion (NodeRadarPro.Tests.csproj, test.runsettings, artifacts/test-results/): Removed <SelfContained>true</SelfContained> from NodeRadarPro.Tests.csproj to eliminate 510MB runtime bundling overhead on test builds. Mirrored test project folder structure 1:1 against production directories. Added headless UI component tests for PortScansPage, SystemLogsPage, TraceroutePage, NavigationBars, MainWindowShell and InventoryControlTests. Configured unified test output under artifacts/test-results/.
  • Host Process and Speaker Isolation (AppUtils.cs, AudioService.cs, AppUtilsTests.cs, AudioServiceTests.cs, SupportPageAuditReportTests.cs): Introduced injectable launcher delegates (UrlLauncherForTesting, FolderLauncherForTesting) in AppUtils and isolated audio alerts in AudioServiceTests using mock sound players, preventing test executions from launching browser URLs, opening explorer windows or chiming host hardware speakers.
  • Network Engine Latency Elimination and Offline Test Seams (ConnectivityMonitor.cs, TracerouteEngine.cs, SubnetScanner.cs, ScannerDiagnostics.cs, PortScannerTests.cs, ArpResolver.cs): Decoupled ConnectivityMonitor and TracerouteEngine from real socket I/O by injecting mock ping, ARP and reverse DNS providers. Injected ITcpPortProber into SubnetScanner to verify stealth port fallback probes, added ScanAllSubnets flag and injected test scanners in ScannerDiagnostics to eliminate live LAN sweeps. Reduced loopback probe timeout to 50ms in PortScannerTests and parameterized NetBIOS timeout to 25ms in ArpResolverTests, cutting test suite runtime from 14s to 4s.
  • Intrusion Detection and Network Sweep Verification (IntrusionDetector.cs, SubnetScanner.cs, LocalDatabase.cs, SsdpDiscoveryMethod.cs, DeviceClassifierEngine.cs): Added BaseIpOverride property to IntrusionDetector and added full sweep execution tests asserting LiteDB alert persistence with real SubnetScanner instances. Added multi-tier cascade verification for SubnetScanner.QuickProbeAsync across ARP, ICMP and TCP phases. Added deduplication via .DistinctBy in LocalDatabase.MergeWithHistoryBulk and atomic MAC tracking in SubnetScanner sweeps. Extracted ParseSsdpResponse in SsdpDiscoveryMethod for buffer parsing tests. Unified mobile brand detection in DeviceClassifierEngine across all 18 manufacturers.
  • Corrupt Database Rotation and Key Regeneration (LocalDatabase.cs, CredentialVault.cs, LocalDatabaseTests.cs, CredentialVaultTests.cs): Enclosed schema initialization within constructor recovery blocks to trigger automatic corrupt database rotation on malformed LiteDB files. Added direct unit tests for plaintext password migration, batch device deletion and PBKDF2/AES-GCM key regeneration.
  • Decoupled CSV Export Service (CsvExportService.cs, SystemLogsPage.cs, ScannerPage.cs, SystemLogsExportTests.cs): Extracted static CsvExportService with RFC 4180 escaping and mandatory 12-hour AM/PM formatting (yyyy-MM-dd hh:mm:ss tt), removing duplicated CSV formatting routines from UI pages.
  • Avalonia Headless UI and Time Format Regression Tests (ScannerPageHeadlessTests.cs, InventoryPageHeadlessTests.cs, TimeFormatRegressionTests.cs): Replaced direct cursor construction with headless-safe ThemeTokens.HandCursor across UI pages, enabling headless component testing of card rendering, search filtering and subnet validation. Introduced architectural regression test verifying zero 24-hour military time formats and strict LTR layout across all solution source files.
  • Code Coverage Ratchet Gate (coverage-threshold.txt, Test-MasterGate.ps1): Ratcheted the local CI line coverage gate threshold from 67.50% to 73.00% (73.9% measured across 683 passing tests), locking in coverage gains from network socket abstractions and headless UI component suites.
  • Win32 IP Helper Table Query Seam (ArpResolver.cs, ArpResolverTests.cs): Added GetIpNetTableDelegate delegate seam defaulting to native Win32 GetIpNetTable P/Invoke. Enabled simulated full-table ARP queries without host OS networking dependencies, asserting loopback, multicast, broadcast filtering and cache bypass behaviors across 5 dedicated unit tests.
  • UDP Multicast Socket Seam for mDNS and SSDP (IMulticastSocket.cs, DefaultMulticastSocket.cs, MdnsDiscoveryMethod.cs, SsdpDiscoveryMethod.cs, MdnsProbe.cs, SsdpProbe.cs): Extracted IMulticastSocket interface and implemented DefaultMulticastSocket wrapper around UdpClient. Parameterized factory delegates across discovery engines and fingerprinting probes, enabling deterministic datagram testing of broadcast listeners without binding physical host sockets.
  • Avalonia Headless Coverage for Secondary UI Views (SettingsPage.cs, AlertsPage.cs, DashboardPage.cs, SettingsPageHeadlessTests.cs, AlertsPageHeadlessTests.cs, DashboardPageHeadlessTests.cs): Extended headless component test coverage across Settings, Alerts and Dashboard views. Added database-backed initial state refresh calls in SettingsPage and AlertsPage constructors, switched prune completion handling to non-blocking UI thread callbacks, and verified filter toggles, export interactions, threshold controls and stats synchronization.
  • Open PR Triage and Database / Engine Unit Test Expansion (LocalDatabaseTests.cs, ConnectivityMonitorTests.cs, TracerouteEngineTests.cs): Triaged open PR backlog, closing 4 defective PRs (#101, #99, #98, #95) per failure pattern rules. Rebased and squash-merged PR #96, #97, and #100, integrating 9 net new unit tests covering LocalDatabase.MergeWithHistoryBulk (empty, invalid MAC, update, and mixed batches), ConnectivityMonitor.GetAllDevices (tracking, removal, and defensive copying immutability), and TracerouteEngine.ProbeHopAsync (exception resilience without unmocked DNS socket operations), raising test suite coverage to 698 tests.
  • Destructive Action Safety Latches (SettingsPage.cs, SystemLogsPage.cs, AlertsPage.cs): Added 2-step confirmation latches with field-tracked automatic timers on destructive operations including factory resets, backup restorations, log purging and alert clearing. Replaced text unicode glyphs with vector icons and direct text states.
  • UI/UX Token Centralization and Vector Icons (ThemeTokens.cs, SideNavBar.cs, TopNavBar.cs): Added centralized SVG icon definitions (SvgTraceroute, SvgInventory, SvgPortScans, SvgLogs, SvgSupport) and acrylic box shadows (ShadowSidebar, ShadowTopBar). Enabled keyboard navigation (Focusable = true, Enter/Space key triggers) on sidebar navigation items.
  • Manual Device IP Entry and Search Ergonomics (InventoryPage.cs): Added editable IP text box for manual device entries (ManualDevicePrefix) with IPv4 validation, Enter-to-save trigger, and direct IP synchronization for ping and port sweep actions. Enforced 12-hour AM/PM formatting (hh:mm tt) on time axis labels and detailed tooltips (yyyy-MM-dd hh:mm:ss tt) on last scan timestamps. Wired Escape key to clear search filters.
  • Subnet Prefix Validation and Keyboard Execution (ScannerPage.cs, TraceroutePage.cs): Added IPv4 subnet prefix validation ensuring start and end IPs share the same /24 prefix with start host octet less than or equal to end host octet. Wired Enter key listeners on target inputs.

Changed

  • Master Quality Gate Coverage Integration and Ratchet (Test-MasterGate.ps1, coverage-threshold.txt): Integrated automated code coverage collection and threshold evaluation directly into -WithTests test runs with live summary telemetry, and ratcheted the line coverage threshold gate from 73.50% to 79.00%.
  • Avalonia UI Package Bump (Directory.Packages.props): Updated Avalonia UI, Avalonia.Desktop, Avalonia.Themes.Fluent and Avalonia.Fonts.Inter dependencies from 12.1.4 to 12.1.5.
  • Application Shell Isolation (MainWindowShell.cs, App.axaml.cs): Extracted window creation, top navigation, sidebar, page switching and backup timer lifecycle out of DarkPurpleTheme.cs into NodeRadarPro.UI.Shell.MainWindowShell. Retired obsolete DarkPurpleTheme.cs.
  • Composite Inventory Page Controls (InventoryFilterBar.cs, InventoryGridControl.cs, InventoryDetailsFlyout.cs, InventoryPage.cs): Decomposed monolithic 1,640-line InventoryPage.cs into standalone custom controls (InventoryFilterBar, InventoryGridControl and InventoryDetailsFlyout) under NodeRadarPro.UI.Controls.Inventory, isolating filter chips, datagrid rendering and device detail drawer state.
  • Source-Generated Win32 P/Invoke Migration (ArpResolver.cs, NodeRadarPro.csproj): Migrated native Win32 SendARP and GetIpNetTable P/Invoke declarations from runtime [DllImport] to compile-time source-generated [LibraryImport], eliminating SYSLIB1054 interop marshalling overhead and enabling <AllowUnsafeBlocks>true</AllowUnsafeBlocks>.
  • Multicast Socket Migration (IMulticastSocket.cs, DefaultMulticastSocket.cs, MdnsProbe.cs, SsdpProbe.cs, ScannerDiagnostics.cs): Relocated IMulticastSocket and DefaultMulticastSocket into NodeRadarPro.Core.Networking.Sockets.
  • Subnet Scanner Abstractions Decomposition (IPingProvider.cs, PingReplyWrapper.cs, DefaultPingProvider.cs, IArpResolver.cs, DefaultArpResolver.cs, ITcpPortProber.cs, DefaultTcpPortProber.cs, SubnetScanner.cs): Split monolithic ISubnetScannerDependencies.cs into separate interface and default implementation files under NodeRadarPro.Core.Engines.Abstractions.
  • Generated Vendor Lookup Relocation (VendorLookup.cs, Update-OuiDatabase.ps1): Moved generated IEEE OUI table from Data/VendorLookup.cs to Data/Generated/VendorLookup.cs and updated scripts/Update-OuiDatabase.ps1 to target the generated directory.
  • 1:1 Folder-to-Namespace Hierarchy and IDE0130 Enforcement (Directory.Build.props, .editorconfig): Aligned namespaces across all solution files to mirror folder paths (NodeRadarPro.Core.Engines, NodeRadarPro.Core.Models, NodeRadarPro.Core.Services, NodeRadarPro.UI.Pages, NodeRadarPro.UI.Controls, NodeRadarPro.UI.Navigation, NodeRadarPro.UI.Theme and NodeRadarPro.UI.Shell). Removed IDE0130 from <NoWarn> in Directory.Build.props and set dotnet_diagnostic.IDE0130.severity = warning in .editorconfig.
  • Range Sweep Post-Sweep Concurrency Throttling (SubnetScanner.cs): Added SemaphoreSlim(32) throttling across post-sweep ARP table resolution tasks in ScanRangeAsync, aligning range scans with subnet sweep thread ceilings.
  • SSDP URL Deduplication and Request Throttling (SsdpProbe.cs): Added ConcurrentDictionary<string, byte> URL tracking and a SemaphoreSlim(8) ceiling for XML device descriptors, eliminating redundant HTTP traffic across UPnP advertisement bursts.
  • Socket and Protocol Cancellation Propagation (EmailService.cs, WakeOnLan.cs): Propagated CancellationToken timeouts across SMTP socket operations and Magic Packet UDP broadcasts with automatic 15-second and 5-second ceilings.
  • Direct Connection Mode and Schema Indexing (LocalDatabase.cs, DatabaseBackupService.cs): Switched LiteDB connection mode to Connection=direct;, boosting write throughput by 97.5x (from 4,289ms to 44ms for 300 records). Added B-tree index on IsRegistered in InitializeSchema() to eliminate collection scans and removed dead compound index Mac_Time to eliminate 31.5% disk bloat.
  • Temporal Uptime Downsampling and UI Telemetry Alignment (LocalDatabase.cs, InventoryPage.cs, DarkPurpleTheme.cs, AlertsPage.cs): Added linear downsampling in GetUptimeHistory (maxPoints = 120) to bucket timeline intervals and compute average latency and aggregate online status. Offloaded RefreshUptimeChart to background worker tasks in InventoryPage.cs. Removed duplicate 24-hour DeviceSelected handler in DarkPurpleTheme.cs that clobbered 7-day and 30-day chart views. Updated AlertsPage.cs to query active alerts directly without masking by resolved entries.
  • Toolchain Alignment and Test Session Timeout Guard (global.json, NodeRadarPro.Tests.csproj, test.runsettings): Added global.json pinning .NET 10 SDK version 10.0.403 (rollForward: latestFeature) across dev workstations and CI runners. Bound test.runsettings via RunSettingsFilePath property in NodeRadarPro.Tests.csproj to enforce 5-minute session timeouts (TestSessionTimeout: 300000) and guard against hung network sockets.
  • Master Quality Gate Parity, Results Directory Unification and Collapsible Logging (Test-MasterGate.ps1): Wired --settings test.runsettings into test invocations, unified test results directory and coverage directory to eliminate duplicate --results-directory argument collisions under dotnet test and added GitHub Actions log group folding (::group:: / ::endgroup::) to structure runner logs into expandable step sections.
  • Remote CI Pipeline Unification and Step Summaries (.github/workflows/ci.yml): Delegated CI execution directly to ./scripts/Test-MasterGate.ps1 -WithTests -CheckCoverage -TestResultsDirectory "test-results", establishing single source of truth parity across local development and GitHub Actions. Added job timeout of 15 minutes, workflow concurrency cancellation for pull request branches, Central Package Management NuGet caching via Directory.Packages.props, TRX XML test summary reporting in $GITHUB_STEP_SUMMARY with null-safe error message extraction and test artifact archiving.
  • Dependabot Update Isolation and Automated Merge Safety (.github/dependabot.yml, .github/workflows/dependabot-auto-merge.yml): Decoupled NuGet dependencies into safe (minor and patch) and major update groups. Pinned dependabot/fetch-metadata to commit SHA dbb9949bd7679ad46a2a0a256b107e3240e945c1 (v2.3.0) and added conditional checks preventing automated merges of major version updates.
  • Pre-Push Test Suite Assertion and Deployment Optimization (scripts/Invoke-MasterCommit.ps1, scripts/Deploy-NodeRadar.ps1): Enforced -WithTests assertion whenever -Push is passed to Invoke-MasterCommit.ps1. Added automated Roslyn formatting for generated VendorLookup.cs after IEEE OUI database sync, added --no-build flag to test runs in deployment phase 3 and added --no-verify flag to git push and tag push in phase 7 to eliminate redundant gate runs.
  • Release Packaging Cache and Installer Artifact Alignment (.github/workflows/release.yml): Added NuGet dependency caching to release verification and packaging jobs. Added Inno Setup 7 folder caching across both 64-bit and 32-bit program directories via actions/cache@v4 with dynamic PATH configuration and null-safe TRX error parsing. Corrected installer artifact filename in release notes template to NodeRadar Pro_v${version}_Setup.exe.
  • ARP-First Sweep Ordering and Dead-Host SendARP Bypass (SubnetScanner.cs): Checked the operating system ARP cache (TryGetMacFromArpTable) before dispatching ICMP pings, bounded ping timeout to 400ms (150ms in FastScanMode), bypassed Win32 SendARP execution on dead hosts and removed redundant NetBIOS queries in ResolveNodeMetadataAsync to eliminate duplicate UDP probes.
  • SNMP Port Gating and Probe Timeout Ceiling (SnmpProbe.cs, DeepFingerprintEngine.cs): Skipped UDP querying in SnmpProbe only when scanned open ports are present and omit 161 and 162, reduced per-community timeout to 400ms and capped the per-probe execution ceiling in DeepFingerprintEngine to 1500ms to eliminate sweep tail latency.
  • Connectivity Monitor Semaphore Throttling (ConnectivityMonitor.cs): Enforced a SemaphoreSlim(32) concurrency ceiling across device connectivity checks in CheckAllDevicesAsync, preventing socket exhaustion and ephemeral port contention under network degradation.
  • Zero-Allocation MAC Vendor Lookup (VendorLookup.cs): Implemented Dictionary.AlternateLookup<ReadOnlySpan<char>> and stackalloc char[8] MAC address normalization in GetVendor, eliminating string heap allocations during manufacturer resolution.
  • Bounded Port Sweep Concurrency (PortScansPage.cs): Replaced Enumerable.Range task array allocations with Parallel.ForEachAsync throttled to 64 concurrent tasks, preventing heap memory spikes during 65,535-port scans.
  • Search Input Debounce and Filter Chip Retention (InventoryPage.cs, SystemLogsPage.cs): Added 200ms DispatcherTimer debouncing to search input text changed handlers, refreshing immediately on cleared text and preserving existing filter chip controls during filtering to eliminate visual tree rebuilds.
  • Visual Tree Lifecycle Gating (RadarCanvas.cs): Added OnAttachedToVisualTree and OnDetachedFromVisualTree overrides to start and stop the 60 FPS animation timer dynamically when the radar control attaches or detaches.
  • Startup Telemetry Deferral (AlertsPage.cs, SystemLogsPage.cs): Removed synchronous RefreshAlerts and RefreshLogs invocations from page constructors, deferring database queries and row construction until the user navigates to those tabs.
  • Developer Tools Reference and Probe Complexity Decomposition (NodeRadarPro.csproj, MdnsProbe.cs, SsdpProbe.cs): Removed restrictive configuration conditions from AvaloniaUI.DiagnosticsSupport in NodeRadarPro.csproj to eliminate Roslyn CS1061 errors during IDE design-time evaluation. Decomposed StartSweepAsync, ParseTxtRecords and ExtractMdnsInstanceName in MdnsProbe.cs and StartSweepAsync in SsdpProbe.cs into modular static helpers with table-driven signatures and span-based byte pattern matching, reducing cognitive complexity (Sonar rule S3776) below the threshold of 15.
  • Local Database Cognitive Complexity Decomposition and Zero-Allocation Downsampling (LocalDatabase.cs, LocalDatabaseTests.cs): Decomposed MergeExistingNode into discrete private static helpers (CopyUserMetadata, InheritDeviceAttributes, MergeOpenPorts, UpdateExistingNodeState and SyncThreatAssessment), reducing cognitive complexity from 29 to 0. Decomposed DownsampleSnapshots into lightweight stack-allocated primitives (BucketContext, BucketAccumulator, GetBucketEnd, TryCreateBucketSnapshot and AlignTimeKinds), eliminating Sonar rule S3776 and S107 violations, aligning DateTimeKind comparisons between UTC queries and LiteDB deserialized local timestamps and adding regression test coverage.
  • Connectivity Monitor Cognitive Complexity Decomposition (ConnectivityMonitor.cs): Refactored UpdateTrackedDevices and CheckAllDevicesAsync to eliminate Roslyn Sonar rule S3776 violations. Decomposed monolithic probe execution and dictionary update lambdas into modular private helpers (UpdateTrackedDevice, MergeDeviceProperties, PreferNonEmpty, CheckDeviceAsync, ProbeDeviceConnectivityAsync, CheckArpStatusAsync, ResolveArpWithThrottlingAsync, CheckIcmpStatusAsync, ApplyProbeResult, RecordUptimeSnapshot, EvaluateAlerts, CheckConnectionLost, CheckReconnection, CheckHighLatency, CheckPacketLoss, TryConsumeAlertCooldown and PersistAlertsAndSnapshots), reducing peak cognitive complexity from 67 to 4 while preserving thread safety and probe semantics.
  • Canvas Rendering Optimization and Timer Visibility Lifecycle (RadarCanvas.cs, ThemeTokens.cs): Overrode OnPropertyChanged on RadarCanvas and DashboardPage to automatically pause and resume the radar animation timer when visibility changes. Replaced per-frame string allocation keys with NodeTextKey struct in the formatted text cache, cached zoom overlay text, wrapped button cursors in headless-safe HandCursor, and standardized typography to ThemeTokens.DefaultFont.
  • Discrete Port Profiles and Concurrency Throttling (PortScansPage.cs): Capped active socket sweeps to 64 concurrent tasks (SemaphoreSlim(64)). Configured discrete port presets for Web (80, 443, 8080, 8443) and Database (1433, 1521, 3306, 5432, 6379, 27017), dynamically setting _progressBar.Maximum = totalPorts to accurately reflect sweep progress.
  • Roslyn and Sonar Analyzer NoWarn Retirement (Directory.Build.props): Retired S1144 (unused private members) and RCS1213 (unused member declarations) from the NoWarn shrink-only suppression debt ledger, enforcing strict dead-code hygiene in compiler builds.
  • Port Scanner OS Signature Deduplication (PortScanner.cs): Consolidated operating system port detection heuristics by eliminating redundant shadowed branch evaluations for macOS, Windows and Linux / Unix.
  • UI Control Button Field Scope Optimization (InventoryDetailsFlyout.cs, InventoryFilterBar.cs): Converted button references (_saveBtn, _pingBtn, _wakeBtn and _portScanBtn in InventoryDetailsFlyout and _addBtn in InventoryFilterBar) from instance fields to local variables in constructors, complying with Sonar rule S1450.
  • Shell Startup Parameter and Discard Hygiene (MainWindowShell.cs, App.axaml.cs, PortScansPage.cs, InventoryPage.cs): Pruned unused mainWindow parameter from MainWindowShell.OnStartup, removed unused ip parameter from PortScansPage.MakeResultRow, replaced unused lambda event arguments with discards, discarded unused LocalDatabase.Instance assignment in App.axaml.cs and collapsed duplicate fingerprint local variable assignments.

Fixed

  • Synchronized Ping Ring Buffer (NetworkNode.cs): Encapsulated PingHistory with internal System.Threading.Lock monitor and snapshot collection copy on retrieval, synchronizing RecordPing and PacketLossPct to eliminate InvalidOperationException collection mutation crashes during concurrent connectivity sweeps and UI datagrid rendering.
  • Concurrent mDNS Service Discovery (MdnsProbe.cs): Replaced List<string> with ConcurrentBag<string> in MdnsData, ensuring thread-safe addition during UDP multicast parsing and snapshot-isolated enumeration during Services.Distinct() evaluation.
  • Defensive UI Thread CSV Snapshotting (ScannerPage.cs, CsvExportService.cs): Cloned _scanResults into a local list snapshot on the UI thread prior to dispatching background file export workers, preventing collection mutation races during live subnet discovery sweeps.
  • Port Scanner Progress Scale and Cancellation Re-entrancy (PortScansPage.cs, ScannerPage.cs, TraceroutePage.cs): Standardized progress bar scaling to normalized 0–100% ranges on PortScansPage. Centralized scan state teardown into finally blocks, captured local token references and deferred _isScanning = false; resets to prevent task overwrites during rapid start/stop sequences.
  • Device Detail View Mutation Isolation (InventoryPage.cs): Captured local target node instances in asynchronous ping, wake and port scan handlers, gating UI updates and logging behind reference equality to prevent detail pane cross-device state pollution.
  • UTC Timestamp Standardization and Lifecycle Teardown (IntrusionDetector.cs, DarkPurpleTheme.cs): Aligned intrusion alert records to DateTime.UtcNow for consistent B-tree indexing and TTL pruning. Removed premature CancellationTokenSource.Dispose() on window close and explicitly invoked services.Db.Dispose() to flush LiteDB write-ahead logs on shutdown.
  • Threat Score Persistence and Entity Identity Synchronization (LocalDatabase.cs): Prevented incoming vulnerability scores and threat levels from being overwritten in MergeExistingNode by updating existing records when fresh scan metrics exist and preserving prior assessments otherwise. Synchronized entity Id, LastSeen and IsOnline flags and unioned OpenPorts across repeated sweeps.
  • Backup WAL Journal Synchronization and Log Rotation (DatabaseBackupService.cs, LocalDatabase.cs): Flushed _database.Checkpoint() inside lock prior to File.Copy in BackupDatabase, guaranteeing consistent backup images without uncommitted WAL transactions. Added automated rotation of orphaned noderadar-log.db files in RotateCorruptDatabase and added physical compaction via _db.Rebuild() during storage pruning.
  • Adaptive Layout Bounding and Real-Time Dashboard Sync (DashboardPage.cs, RadarCanvas.cs, DarkPurpleTheme.cs): Constrained real-time ping traffic cards with a two-row Grid ("Auto,*"), wrapped dashboard root in ScrollViewer, enforced explicit minimum heights (_radar.MinHeight = 360, radarCard.MinHeight = 440, pingsCard.MinHeight = 240, bentoGrid.MinHeight = 560) and MeasureOverride on RadarCanvas to prevent canvas collapse inside ScrollViewer. Hooked OnPropertyChanged to pause/resume radar animation when hidden/visible, subscribed to GlobalStatsUpdatedMessage for synchronized alert badges and health gauge values, and wired navigation directly to Alerts.
  • Acrylic Glassmorphism Restoration (DarkPurpleTheme.cs): Adjusted root window grid background to semi-transparent #070E1D with 0.78 opacity, restoring Windows 11 Acrylic and Mica backdrop visibility.
  • Runtime Environment Accuracy (SupportPage.cs): Corrected runtime execution label from NativeAOT to CoreCLR JIT to reflect desktop runtime compilation.
  • Test Fixture Memory and Cancellation Cleanup (LocalDatabaseTests.cs, SubnetScannerBenchmarkTests.cs, SnmpProbeTests.cs, PortScannerTests.cs, BannerGrabProbeTests.cs): Discarded unused tuple return values in database merge tests, removed dead GC byte allocation tracking calculations in subnet benchmark tests, deleted dead communityBytes array allocations in SNMP probe tests and wrapped unmanaged CancellationTokenSource instances in using declarations to prevent handle leaks.

Security

  • Symmetric DPAPI Protection Fallback (CredentialVault.cs): Caught CryptographicException in ProtectData alongside PlatformNotSupportedException to ensure graceful PBKDF2 and AES-GCM fallback in headless and unmapped user environments.
  • LiteDB Restore Pre-Validation and Instant Rollback (DatabaseBackupService.cs, LocalDatabase.cs): Validated backup database structure against a direct-mode temporary connection before touching active storage. Staged existing database files to .pre_restore with automatic rollback and reconnection recovery on I/O failures. Replaced interpolated connection strings with strongly typed ConnectionString configurations.
  • Fail-Fast Credential Fallback Protection (CredentialVault.cs): Removed ciphertext fallback swallowing during AEAD decryption errors, throwing CryptographicException directly when authentication tags or payload formats are invalid.
  • Strict Network Concurrency and Socket Ceilings (ConnectivityMonitor.cs, SubnetScanner.cs, PortScansPage.cs): Enforced reusable SemaphoreSlim(32) throttling across connectivity monitoring, subnet pre-sweep and post-sweep probe tasks and port scanning workflows. Bound port scan inputs to valid IPv4 addresses and numeric ranges (1–65535).
  • Explicit TLS Selection (EmailService.cs): Mapped SMTP ports directly to explicit TLS options (SslOnConnect on port 465, StartTls on port 587, StartTlsWhenAvailable as fallback), avoiding silent plaintext negotiation.
  • Input Sanitization and Injection Neutralization (AppUtils.cs, CsvExportService.cs, SupportPage.cs): Neutralized spreadsheet formula injection prefixes (=, +, -, @, \t, \r) in CSV exports and escaped pipe delimiters and HTML brackets in Markdown audit tables.
  • System Integrity Hash Shielding (SecurityService.cs, DarkPurpleTheme.cs): Centralized startup assembly integrity hashing with application version namespaces, isolating integrity checks within SecurityService.
  • Log Rotation Lifecycle Management (Logger.cs): Automated log cleanup checks on log file rotation, purging expired physical log files according to retention policies.

Removed

  • Legacy Discovery Subsystem (Core/Discovery/): Purged dead Core/Discovery/ directory (ArpDiscoveryMethod, DiscoveryEngine, IDiscoveryMethod, MdnsDiscoveryMethod, NetworkDevice and SsdpDiscoveryMethod) and retired obsolete discovery test fixtures.
  • Dead Dependency Purge (NodeRadarPro.csproj, Directory.Packages.props): Removed unused Tmds.DBus.Protocol package references.
  • Unused System.Management Package Reference (NodeRadarPro.csproj, Directory.Packages.props): Removed unused System.Management dependency from project configuration and central package management, reducing package restore and build footprint.
  • Dead Core Types and UI Tokens (Messages.cs, SupportPage.cs, RadarCanvas.cs, ThemeTokens.cs): Pruned unreferenced NavigateToPageMessage record, deleted orphaned MakeChangelogItem rendering method, excised dead CyanContainer color constant, pruned SvgRefresh vector and removed unreferenced ColorPrimary, ButtonRadius and 10 unused brush definitions (SurfaceContainer, SurfaceVariant, SurfaceBright, InversePrimary, Secondary, SecondaryContainer, OnSecondaryContainer, TertiaryContainer, OnTertiaryContainer and OutlineVariant).
  • Obsolete UI Test Accessors and Dead Settings (InventoryGridControl.cs, DashboardPage.cs, SettingsPage.cs, AppSettings.cs, AppSettingsTests.cs): Removed obsolete headless test accessors (SelectedMac on InventoryGridControl, Radar on DashboardPage, PromiscuousToggle on SettingsPage) and pruned unconsumed settings (EnablePromiscuous, EnableOfflineFadeOut and FadeOutSeconds) along with their serialization test assertions.

Installation Options

  • Installer: Download NodeRadar Pro_v2.2.0_Setup.exe and run the setup wizard.
  • Portable: Download NodeRadarPro-v2.2.0-win-x64-portable.zip and extract to any folder.

Verification & Integrity

Verify downloaded binaries using the SHA-256 checksums in SHA256SUMS.txt:

Get-FileHash .\<filename> -Algorithm SHA256