## Notes on specific pkgsrc binary packages - NMAP Fixed multiple QNX-specific issues:libpcap (getaddrinfo, atomic.h, DLT/LINKTYPE mismatch) - Fortified headers (__bvap) - libc++ thread/rune detection - getopt_long_only - sysexits.h - get_srcaddr() crash for raw scans WHAT SCAN TECHNIQUES WORK : -sT: TCP Connect() -sU: UDP Scan ### TCP Connect ### [root@qnxpi /data/pkgsrc/net/nmap]# /data/pkg/bin/nmap -sT -Pn -sV --open -T4 www.netbsd.org Starting Nmap 7.98 ( https://nmap.org ) at 2026-04-04 18:38 +0000 Host is up (0.0072s latency). Other addresses for www.netbsd.org (not scanned): 2a04:4e42::262 2a04:4e42:200::262 2a04:4e42:400::262 2a04:4e42:600::262 Not shown: 998 filtered tcp ports (no-response) Some closed ports may be reported as filtered due to --defeat-rst-ratelimit PORT STATE SERVICE VERSION 80/tcp open http-proxy Varnish 443/tcp open ssl/https? ### UDP Scan ### [root@qnxpi /data/pkgsrc/net/nmap]# /data/pkg/bin/nmap -sU -Pn -sV --open 192.168.1.10 Starting Nmap 7.98 ( https://nmap.org ) at 2026-04-04 18:49 +0000 get_srcaddr: can't connect socket: Invalid argument Nmap scan report for 192.168.1.10 Host is up (0.060s latency). Not shown: 998 open|filtered udp ports (no-response) PORT STATE SERVICE VERSION 137/udp open netbios-ns Apple Mac OS X netbios-ns 5353/udp open mdns DNS-based service discovery MAC Address: DE:AD:BE:EF:01:23 (Unknown) Service Info: Host: M2; OS: Mac OS X; CPE: cpe:/o:apple:mac_os_x