Repository navigation
NodeRadar Pro v2.2.0
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-DDheaders, standard category sections, diff comparison links, category-aware parsing inChangelogService, 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>fromNodeRadarPro.Tests.csprojto eliminate 510MB runtime bundling overhead on test builds. Mirrored test project folder structure 1:1 against production directories. Added headless UI component tests forPortScansPage,SystemLogsPage,TraceroutePage,NavigationBars,MainWindowShellandInventoryControlTests. Configured unified test output underartifacts/test-results/. - Host Process and Speaker Isolation (
AppUtils.cs,AudioService.cs,AppUtilsTests.cs,AudioServiceTests.cs,SupportPageAuditReportTests.cs): Introduced injectable launcher delegates (UrlLauncherForTesting,FolderLauncherForTesting) inAppUtilsand isolated audio alerts inAudioServiceTestsusing 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): DecoupledConnectivityMonitorandTracerouteEnginefrom real socket I/O by injecting mock ping, ARP and reverse DNS providers. InjectedITcpPortProberintoSubnetScannerto verify stealth port fallback probes, addedScanAllSubnetsflag and injected test scanners inScannerDiagnosticsto eliminate live LAN sweeps. Reduced loopback probe timeout to 50ms inPortScannerTestsand parameterized NetBIOS timeout to 25ms inArpResolverTests, cutting test suite runtime from 14s to 4s. - Intrusion Detection and Network Sweep Verification (
IntrusionDetector.cs,SubnetScanner.cs,LocalDatabase.cs,SsdpDiscoveryMethod.cs,DeviceClassifierEngine.cs): AddedBaseIpOverrideproperty toIntrusionDetectorand added full sweep execution tests asserting LiteDB alert persistence with realSubnetScannerinstances. Added multi-tier cascade verification forSubnetScanner.QuickProbeAsyncacross ARP, ICMP and TCP phases. Added deduplication via.DistinctByinLocalDatabase.MergeWithHistoryBulkand atomic MAC tracking inSubnetScannersweeps. ExtractedParseSsdpResponseinSsdpDiscoveryMethodfor buffer parsing tests. Unified mobile brand detection inDeviceClassifierEngineacross 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 staticCsvExportServicewith 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-safeThemeTokens.HandCursoracross 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): AddedGetIpNetTableDelegatedelegate seam defaulting to native Win32GetIpNetTableP/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): ExtractedIMulticastSocketinterface and implementedDefaultMulticastSocketwrapper aroundUdpClient. 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 inSettingsPageandAlertsPageconstructors, 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 coveringLocalDatabase.MergeWithHistoryBulk(empty, invalid MAC, update, and mixed batches),ConnectivityMonitor.GetAllDevices(tracking, removal, and defensive copying immutability), andTracerouteEngine.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/24prefix 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-WithTeststest 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 ofDarkPurpleTheme.csintoNodeRadarPro.UI.Shell.MainWindowShell. Retired obsoleteDarkPurpleTheme.cs. - Composite Inventory Page Controls (
InventoryFilterBar.cs,InventoryGridControl.cs,InventoryDetailsFlyout.cs,InventoryPage.cs): Decomposed monolithic 1,640-lineInventoryPage.csinto standalone custom controls (InventoryFilterBar,InventoryGridControlandInventoryDetailsFlyout) underNodeRadarPro.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 Win32SendARPandGetIpNetTableP/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): RelocatedIMulticastSocketandDefaultMulticastSocketintoNodeRadarPro.Core.Networking.Sockets. - Subnet Scanner Abstractions Decomposition (
IPingProvider.cs,PingReplyWrapper.cs,DefaultPingProvider.cs,IArpResolver.cs,DefaultArpResolver.cs,ITcpPortProber.cs,DefaultTcpPortProber.cs,SubnetScanner.cs): Split monolithicISubnetScannerDependencies.csinto separate interface and default implementation files underNodeRadarPro.Core.Engines.Abstractions. - Generated Vendor Lookup Relocation (
VendorLookup.cs,Update-OuiDatabase.ps1): Moved generated IEEE OUI table fromData/VendorLookup.cstoData/Generated/VendorLookup.csand updatedscripts/Update-OuiDatabase.ps1to 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.ThemeandNodeRadarPro.UI.Shell). RemovedIDE0130from<NoWarn>inDirectory.Build.propsand setdotnet_diagnostic.IDE0130.severity = warningin.editorconfig. - Range Sweep Post-Sweep Concurrency Throttling (
SubnetScanner.cs): AddedSemaphoreSlim(32)throttling across post-sweep ARP table resolution tasks inScanRangeAsync, aligning range scans with subnet sweep thread ceilings. - SSDP URL Deduplication and Request Throttling (
SsdpProbe.cs): AddedConcurrentDictionary<string, byte>URL tracking and aSemaphoreSlim(8)ceiling for XML device descriptors, eliminating redundant HTTP traffic across UPnP advertisement bursts. - Socket and Protocol Cancellation Propagation (
EmailService.cs,WakeOnLan.cs): PropagatedCancellationTokentimeouts 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 toConnection=direct;, boosting write throughput by 97.5x (from 4,289ms to 44ms for 300 records). Added B-tree index onIsRegisteredinInitializeSchema()to eliminate collection scans and removed dead compound indexMac_Timeto eliminate 31.5% disk bloat. - Temporal Uptime Downsampling and UI Telemetry Alignment (
LocalDatabase.cs,InventoryPage.cs,DarkPurpleTheme.cs,AlertsPage.cs): Added linear downsampling inGetUptimeHistory(maxPoints = 120) to bucket timeline intervals and compute average latency and aggregate online status. OffloadedRefreshUptimeChartto background worker tasks inInventoryPage.cs. Removed duplicate 24-hourDeviceSelectedhandler inDarkPurpleTheme.csthat clobbered 7-day and 30-day chart views. UpdatedAlertsPage.csto query active alerts directly without masking by resolved entries. - Toolchain Alignment and Test Session Timeout Guard (
global.json,NodeRadarPro.Tests.csproj,test.runsettings): Addedglobal.jsonpinning .NET 10 SDK version 10.0.403 (rollForward: latestFeature) across dev workstations and CI runners. Boundtest.runsettingsviaRunSettingsFilePathproperty inNodeRadarPro.Tests.csprojto 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.runsettingsinto test invocations, unified test results directory and coverage directory to eliminate duplicate--results-directoryargument collisions underdotnet testand 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 viaDirectory.Packages.props, TRX XML test summary reporting in$GITHUB_STEP_SUMMARYwith 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. Pinneddependabot/fetch-metadatato commit SHAdbb9949bd7679ad46a2a0a256b107e3240e945c1(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-WithTestsassertion whenever-Pushis passed toInvoke-MasterCommit.ps1. Added automated Roslyn formatting for generatedVendorLookup.csafter IEEE OUI database sync, added--no-buildflag to test runs in deployment phase 3 and added--no-verifyflag 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 viaactions/cache@v4with dynamic PATH configuration and null-safe TRX error parsing. Corrected installer artifact filename in release notes template toNodeRadar 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 Win32SendARPexecution on dead hosts and removed redundant NetBIOS queries inResolveNodeMetadataAsyncto eliminate duplicate UDP probes. - SNMP Port Gating and Probe Timeout Ceiling (
SnmpProbe.cs,DeepFingerprintEngine.cs): Skipped UDP querying inSnmpProbeonly when scanned open ports are present and omit 161 and 162, reduced per-community timeout to 400ms and capped the per-probe execution ceiling inDeepFingerprintEngineto 1500ms to eliminate sweep tail latency. - Connectivity Monitor Semaphore Throttling (
ConnectivityMonitor.cs): Enforced aSemaphoreSlim(32)concurrency ceiling across device connectivity checks inCheckAllDevicesAsync, preventing socket exhaustion and ephemeral port contention under network degradation. - Zero-Allocation MAC Vendor Lookup (
VendorLookup.cs): ImplementedDictionary.AlternateLookup<ReadOnlySpan<char>>andstackalloc char[8]MAC address normalization inGetVendor, eliminating string heap allocations during manufacturer resolution. - Bounded Port Sweep Concurrency (
PortScansPage.cs): ReplacedEnumerable.Rangetask array allocations withParallel.ForEachAsyncthrottled 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 200msDispatcherTimerdebouncing 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): AddedOnAttachedToVisualTreeandOnDetachedFromVisualTreeoverrides 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 synchronousRefreshAlertsandRefreshLogsinvocations 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 fromAvaloniaUI.DiagnosticsSupportinNodeRadarPro.csprojto eliminate Roslyn CS1061 errors during IDE design-time evaluation. DecomposedStartSweepAsync,ParseTxtRecordsandExtractMdnsInstanceNameinMdnsProbe.csandStartSweepAsyncinSsdpProbe.csinto 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): DecomposedMergeExistingNodeinto discrete private static helpers (CopyUserMetadata,InheritDeviceAttributes,MergeOpenPorts,UpdateExistingNodeStateandSyncThreatAssessment), reducing cognitive complexity from 29 to 0. DecomposedDownsampleSnapshotsinto lightweight stack-allocated primitives (BucketContext,BucketAccumulator,GetBucketEnd,TryCreateBucketSnapshotandAlignTimeKinds), 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): RefactoredUpdateTrackedDevicesandCheckAllDevicesAsyncto 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,TryConsumeAlertCooldownandPersistAlertsAndSnapshots), 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): OverrodeOnPropertyChangedonRadarCanvasandDashboardPageto automatically pause and resume the radar animation timer when visibility changes. Replaced per-frame string allocation keys withNodeTextKeystruct in the formatted text cache, cached zoom overlay text, wrapped button cursors in headless-safeHandCursor, and standardized typography toThemeTokens.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 = totalPortsto 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,_wakeBtnand_portScanBtninInventoryDetailsFlyoutand_addBtninInventoryFilterBar) 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 unusedmainWindowparameter fromMainWindowShell.OnStartup, removed unusedipparameter fromPortScansPage.MakeResultRow, replaced unused lambda event arguments with discards, discarded unusedLocalDatabase.Instanceassignment inApp.axaml.csand collapsed duplicate fingerprint local variable assignments.
Fixed
- Synchronized Ping Ring Buffer (
NetworkNode.cs): EncapsulatedPingHistorywith internalSystem.Threading.Lockmonitor and snapshot collection copy on retrieval, synchronizingRecordPingandPacketLossPctto eliminateInvalidOperationExceptioncollection mutation crashes during concurrent connectivity sweeps and UI datagrid rendering. - Concurrent mDNS Service Discovery (
MdnsProbe.cs): ReplacedList<string>withConcurrentBag<string>inMdnsData, ensuring thread-safe addition during UDP multicast parsing and snapshot-isolated enumeration duringServices.Distinct()evaluation. - Defensive UI Thread CSV Snapshotting (
ScannerPage.cs,CsvExportService.cs): Cloned_scanResultsinto 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 onPortScansPage. Centralized scan state teardown intofinallyblocks, 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 toDateTime.UtcNowfor consistent B-tree indexing and TTL pruning. Removed prematureCancellationTokenSource.Dispose()on window close and explicitly invokedservices.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 inMergeExistingNodeby updating existing records when fresh scan metrics exist and preserving prior assessments otherwise. Synchronized entityId,LastSeenandIsOnlineflags and unionedOpenPortsacross repeated sweeps. - Backup WAL Journal Synchronization and Log Rotation (
DatabaseBackupService.cs,LocalDatabase.cs): Flushed_database.Checkpoint()inside lock prior toFile.CopyinBackupDatabase, guaranteeing consistent backup images without uncommitted WAL transactions. Added automated rotation of orphanednoderadar-log.dbfiles inRotateCorruptDatabaseand 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) andMeasureOverrideonRadarCanvasto prevent canvas collapse inside ScrollViewer. HookedOnPropertyChangedto pause/resume radar animation when hidden/visible, subscribed toGlobalStatsUpdatedMessagefor 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#070E1Dwith 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 deadcommunityBytesarray allocations in SNMP probe tests and wrapped unmanagedCancellationTokenSourceinstances in using declarations to prevent handle leaks.
Security
- Symmetric DPAPI Protection Fallback (
CredentialVault.cs): CaughtCryptographicExceptioninProtectDataalongsidePlatformNotSupportedExceptionto 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_restorewith automatic rollback and reconnection recovery on I/O failures. Replaced interpolated connection strings with strongly typedConnectionStringconfigurations. - Fail-Fast Credential Fallback Protection (
CredentialVault.cs): Removed ciphertext fallback swallowing during AEAD decryption errors, throwingCryptographicExceptiondirectly when authentication tags or payload formats are invalid. - Strict Network Concurrency and Socket Ceilings (
ConnectivityMonitor.cs,SubnetScanner.cs,PortScansPage.cs): Enforced reusableSemaphoreSlim(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 (SslOnConnecton port 465,StartTlson port 587,StartTlsWhenAvailableas 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 withinSecurityService. - 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 deadCore/Discovery/directory (ArpDiscoveryMethod,DiscoveryEngine,IDiscoveryMethod,MdnsDiscoveryMethod,NetworkDeviceandSsdpDiscoveryMethod) and retired obsolete discovery test fixtures. - Dead Dependency Purge (
NodeRadarPro.csproj,Directory.Packages.props): Removed unusedTmds.DBus.Protocolpackage references. - Unused System.Management Package Reference (
NodeRadarPro.csproj,Directory.Packages.props): Removed unusedSystem.Managementdependency 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 unreferencedNavigateToPageMessagerecord, deleted orphanedMakeChangelogItemrendering method, excised deadCyanContainercolor constant, prunedSvgRefreshvector and removed unreferencedColorPrimary,ButtonRadiusand 10 unused brush definitions (SurfaceContainer,SurfaceVariant,SurfaceBright,InversePrimary,Secondary,SecondaryContainer,OnSecondaryContainer,TertiaryContainer,OnTertiaryContainerandOutlineVariant). - Obsolete UI Test Accessors and Dead Settings (
InventoryGridControl.cs,DashboardPage.cs,SettingsPage.cs,AppSettings.cs,AppSettingsTests.cs): Removed obsolete headless test accessors (SelectedMaconInventoryGridControl,RadaronDashboardPage,PromiscuousToggleonSettingsPage) and pruned unconsumed settings (EnablePromiscuous,EnableOfflineFadeOutandFadeOutSeconds) along with their serialization test assertions.
Installation Options
- Installer: Download
NodeRadar Pro_v2.2.0_Setup.exeand run the setup wizard. - Portable: Download
NodeRadarPro-v2.2.0-win-x64-portable.zipand extract to any folder.
Verification & Integrity
Verify downloaded binaries using the SHA-256 checksums in SHA256SUMS.txt:
Get-FileHash .\<filename> -Algorithm SHA256