On Thursday, 11/02/2006 at 09:27 CST, Rich Smrcina <[EMAIL PROTECTED]> wrote: > It looks like the output from netstat does not map to actual names in > the ETC SERVICES file:
True. It's all hard-coded in NETSTAT, a Pascal program that doesn't have ready access to getservbyport(). The following ports translations are hardcoded (TCP unless otherwise noted): 20 FTP-D 21 FTP-C 23 TELNET 25 SMTP 53 DNS (TCP and UDP) 69 TFTP (UDP) 111 PMAP (TCP and UDP) 512 REXEC 514 RSH > Extra credit: Is there a way to get port numbers in the listing? Post-processing the output is the only way. Alan Altmark z/VM Development IBM Endicott