Better HN
topnewbestaskshowjobs
Log inSign up

lihanghanger

-1 karma · joined Apr 26, 2026 (7mo ago) · 5 submissions

Submissions

comment 7mo ago · link · parent

This is a neat approach. One thing I wonder about is how it handles services that use the same port number across different protocols (like 443 for both HTTPS and SMTPS). The /etc/services file approach has the same ambiguity, but at least it lists the protocol alongside the port. A lookup table that includes protocol would be more robust for mixed environments.