PROBLEM:	(MGO101812,QAR27629)		(Patch ID: OSF360-350090)
********
When using automated login for ftp with the help of a .netrc file, 
the ACCOUNT FIELD information is not passed to the remote host.

How to recognize the problem; automated ftp login will fail to a server
that relies on ACCOUNT FIELD information in a users .netrc file.

Typical error messages will include "service not implemented".


PROBLEM:        (MCPMC0L3C/QAR 50410)   (Patch ID: OSF360-350318)
********
This patch fixes a problem with the ftp command.  If you ftp to an IBM MVS
system using the IP address, the IBM system will refuse the connection. This
problem can be encountered on any system that validates TOS (Type Of Service)
requests if the file /etc/iptos is not used on the client.  It is recommended
that this patch be installed on all Digital UNIX systems.

How to recognize this problem:

If you attempt to ftp to any system that validates TOS requests, you may
see the following:

ftp> open <ip address of dest host>
Connected to <ip address of dest host>
220-FTPSERV1 IBM MVS V3R1 at SAC1, 12:08:49 on 1996/12/11
421 Service not available, remote server has closed connection

but it may work if you give the hostname of the system instead of the
ip address.

If you were running tcpdump, tracing the connection, you would see

12:26:20.076128 irvingirving.cxo.dec.com.2296 > mvssac1.rac.mci.com.ftp: S
1419648000:1419648000(0)
win 32768 <mss 1460,nop,[|tcp]> (DF)
12:26:20.176656 mvssac1.rac.mci.com.ftp > irvingirving.cxo.dec.com.2296: S
447244900:447244900(0)
ack 1419648001 win 65535 <mss 4312>
12:26:20.176656 irvingirving.cxo.dec.com.2296 > mvssac1.rac.mci.com.ftp: .
ack 1 win 33580 (DF)
12:26:20.274256 mvssac1.rac.mci.com.ftp > irvingirving.cxo.dec.com.2296: P
1:60(59) ack 1 win 65535
12:26:20.366000 irvingirving.cxo.dec.com.2296 > mvssac1.rac.mci.com.ftp: .
ack 60 win 33580 (DF)
[tos 0xa6]  <<<<<----NOTICE THIS!!!
12:26:20.461648 mvssac1.rac.mci.com.ftp > irvingirving.cxo.dec.com.2296: R
447244960:447244960(0) win 0

In the above trace, the connection is rejected because the TOS (Type Of Service)
field contains an invalid value.  This problem can be avoided by using a
/etc/iptos file as noted in the man page.  However, the TOS field should never
have this invalid value and that is the reason for the patch.


FILE(s):

/usr/bin/ftp                    subset OSFCLINET350
CHECKSUM: 06861    136  RCSfile: ftp.c   RCS: 4.2.20.3
