I'm working on the post processing part. I was concerned with the 'non-standard' names, if ftp-[cd] and pmap are the worst of it, I can look up the rest.

Thanks.

Alan Altmark wrote:
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


--
Rich Smrcina
VM Assist, Inc.
Phone: 414-491-6001
Ans Service:  360-715-2467
rich.smrcina at vmassist.com

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007

Reply via email to