Patch Name: PHNE_17963 Patch Description: s700_800 10.[23]0 ftpd(1M) and ftp(1M) cumulative patch Creation Date: 99/07/07 Post Date: 99/07/26 Hardware Platforms - OS Releases: s700: 10.20 10.30 s800: 10.20 10.30 Products: N/A Filesets: InternetSrvcs.INETSVCS-RUN InternetSrvcs.INET-ENG-A-MAN Automatic Reboot?: No Status: General Superseded Critical: No (superseded patches were critical) PHNE_10010: OTHER A timing problem could occur on receipt of a simultaneous data close and ABORT Path Name: /hp-ux_patches/s700_800/10.X/PHNE_17963 Symptoms: PHNE_17963: 1. Implement passive mode in 10.20 ftp client. 2. Suppress the printing of machine name in the ftpd banner. 3. 'ftp' client does not work properly. PHNE_13597: * ftp: problem with passing files. * FTP Newer command does not work as documented if file does not exist. * FTP:don't get error message if filesystem gets full. * Proxy Get command not working. * ftpd does not allow ports under 1024 even with -p option. * FTP giving error 425:Can't create data socket. * have inbound/outbound transfer logging in ftpd. * FTP Newer command has problem handling dates. PHNE_10010: (ftpd) * A ftp client could interrupt a data transfer by sending a data close and an ABORT. A timing problem has been observed on the ftpd side. PHNE_9785: (ftpd) * ftpd returns a 550 after an NLST when the file is not found. * Privileged ports cannot be specified as a part of the PORT command. * An error message "You've GOT to be joking" is displayed when a client specifies a privileged port as a data-port. * The command modtime displays incorrect date and time for some dates. Defect Description: PHNE_17963: 1. Implement passive mode of data transfer in 10.20 ftp client. Resolution: * Added necessary code for implementing passive mode of data transfer in ftp client. 2. The machine name being printed in the ftpd banner should be suppressed. Resolution: * Added an extra option '-S' in the ftpd code for suppressing the machine name in the ftpd banner. 3. 'ftp' client does not work properly. Resolution: * Made code changes to fix the problem. PHNE_13597: * ftp: problem with passing files. * FTP Newer command does not work as documented if file does not exist. * FTP:don't get error message if filesystem gets full. * Proxy Get command not working. * ftpd does not allow ports under 1024 even with -p option. * FTP giving error 425:Can't create data socket. * have inbound/outbound transfer logging in ftpd. * FTP Newer command has problem handling dates. PHNE_10010: (ftpd) * ftpd has been fixed to handle a simultaneous data close and ABORT appropriately.: PHNE_9785: (ftpd) * ftpd returns a 550 after a NLST when a file is not found. The return code was changed to 450 per RFC 959. * An option "-p" has been added. The PORT command can now specify a privileged port as a data-port if this option is set. * The error message "You've GOT to be joking" has been replaced by "Port command failure". * The command modtime now behaves correctly. SR: 5003424218 1653296475 4701409938 4701373696 5003369611 1653245845 5003386581 1653245852 1653254193 1653232942 4701346098 5003343970 5003344846 5003322867 4701334763 Patch Files: /usr/lbin/ftpd /usr/share/man/man1m.Z/ftpd.1m /usr/bin/ftp what(1) Output: /usr/lbin/ftpd: Copyright (c) 1985, 1988 Regents of the University o f California. ftpd.c based on 5.28 (Berkeley) 4/20/89 Revision 1.7.212.3 Wed Jul 14 10:24:05 GMT 1999 ftpcmd.y 5.20 (Berkeley) 2/28/89 glob.c 5.7 (Berkeley) 12/14/88 popen.c 5.7 (Berkeley) 2/14/89 logwtmp.c 5.2 (Berkeley) 9/22/88 /usr/share/man/man1m.Z/ftpd.1m: None /usr/bin/ftp: Copyright (c) 1985, 1989 Regents of the University o f California. main.c based on 5.13 (Berkeley) 3/14/89 Revision 1.1.212.3 Wed Jul 14 10:27:17 GMT 1999 cmds.c 5.18 (Berkeley) 4/20/89 cmdtab.c 5.9 (Berkeley) 3/21/89 ftp.c 5.28 (Berkeley) 4/20/89 glob.c 5.7 (Berkeley) 12/14/88 ruserpass.c 5.1 (Berkeley) 3/1/89 domacro.c 1.6 (Berkeley) 2/28/89 cksum(1) Output: 2954231655 90112 /usr/lbin/ftpd 4105651290 98304 /usr/bin/ftp 2270235943 7438 /usr/share/man/man1m.Z/ftpd.1m Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_9785 PHNE_10010 PHNE_13597 Equivalent Patches: None Patch Package Size: 250 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHNE_17963 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_17963.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_17963. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHNE_17963.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_17963.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None