Statistics -> Resolved Addresses: multi-protocol (TCP/UDP/...) ports not displayed
If an entry in a
services file lists multiple protocol types, it is not displayed in
Statistics -> Resolved Addresses:Ports.
Of the entries below, only those with a single protocol type (TCP) are displayed.
:g/1000/p cadlock2 1000/tcp/udp ndmp 10000/tcp/udp # Network Data Management Protocol scp-config 10001/tcp/udp # SCP Configuration documentum 10002/tcp/udp # EMC-Documentum Content Server Product documentum-s 10003/tcp/udp # EMC-Documentum Content Server Product emcrmirccd 10004/tcp # EMC Replication Manager Client emcrmird 10005/tcp # EMC Replication Manager Server netapp-sync 10006/tcp # Sync replication protocol among different NetA pp platforms mvs-capacity 10007/tcp/udp # MVS Capacity octopus 10008/tcp/udp # Octopus Multiplexer swdtp-sv 10009/tcp/udp # Systemwalker Desktop Patrol irisa 11000/tcp/udp # IRISA irtrans 21000/tcp/udp # IRTrans Control
Steps to reproduce
See screenshots below
What is the current bug behavior?
Hashtable populated in addr_resolv.c:
initialize_services() -> parse_services_file() -> parse_service_line()
Qt model populated in resolved_addresses_models.cpp:
What is the expected correct behavior?
One of two:
a line per port/protocol type pair
cadlock2 1000 tcp cadlock2 1000 udp
a line per port with consolidated protocol type list.
cadlock2 1000 tcp/udp
Sample capture file
Capture not required to recreate.
Relevant logs and/or screenshots
3.4.5 (v3.4.5-0-g7db1feb42ce9) Compiled (64-bit) with Qt 5.15.1, with libpcap, with GLib 2.52.3, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.39.2, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.9, with QtMultimedia, with automatic updates using WinSparkle 0.5.7, with AirPcap, with SpeexDSP (using bundled resampler), with Minizip. Running on 64-bit Windows 10 (2004), build 19041, with Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz (with SSE4.2), with 12191 MB of physical memory, with locale English_United States.utf8, with light display mode, without HiDPI, with Npcap version 1.30, based on libpcap version 1.10.1-PRE-GIT, with GnuTLS 3.6.3, with Gcrypt 1.8.3, with brotli 1.0.2, without AirPcap, binary plugins supported (21 loaded). Built using Microsoft Visual Studio 2019 (VC++ 14.28, build 29910).