Skip to content

Network Mapper v2.8.1 - SSDP Deduplication Fix

Choose a tag to compare

@github-actions github-actions released this 19 Sep 01:25
· 136 commits to main since this release

πŸ”§ Bug Fix

SSDP Service Deduplication

  • Fixed duplicate SSDP/UPnP services in output visualization - Services now appear only once instead of dozens of duplicates
  • Enhanced service merging logic - Implemented proper deduplication based on service signature (name, type, port, protocol, source)
  • Cleaner output formatting - Eliminated visual clutter from repeated identical service entries

πŸ› Issue Resolved

Previously, devices with SSDP/UPnP capabilities would show the same service entry multiple times:
```
β€’ UPnP Device:0 (http) via ssdp from ecb5fa8b09d0 (10.212.100.22)
β€’ UPnP Device:0 (http) via ssdp from ecb5fa8b09d0 (10.212.100.22)
β€’ UPnP Device:0 (http) via ssdp from ecb5fa8b09d0 (10.212.100.22)
[...40+ more identical entries...]
```

Now each unique service appears exactly once, providing clear and concise output.

πŸ“Š Technical Details

  • Added `deduplicateServices()` function to merge service lists intelligently
  • Services are deduplicated using unique keys that preserve important distinctions
  • New services take precedence over existing ones during merge operations

Installation

Download the appropriate binary for your platform:

  • Linux (x64): `network-mapper-linux-amd64`
  • Linux (ARM64): `network-mapper-linux-arm64`
  • macOS (Intel): `network-mapper-darwin-amd64`
  • macOS (Apple Silicon): `network-mapper-darwin-arm64`
  • Windows (x64): `network-mapper-windows-amd64.exe`

Docker

```bash
docker pull ghcr.io/nickborgers/network-mapper:v2.8.1
docker run --rm --network host ghcr.io/nickborgers/network-mapper:v2.8.1
```


Full changelog: v2.8.0...v2.8.1