Patch Name: PHNE_18170 Patch Description: s700_800 10.26 talk(1) and talkd(1M) patch Creation Date: 99/04/14 Post Date: 99/04/22 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: CMW.CMW-ENG-A-MAN InternetSrvcs.INET-ENG-A-MAN InternetSrvcs.INETSVCS-RUN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHNE_18170 Symptoms: PHNE_18170: talk(1) and talkd(1M) need to be modified for TOS. Defect Description: PHNE_18170: Talk should be allowed when the caller and the callee are at the same sensitivity level. Resolution: Talkd: 1. Turn off the syscall auditing by raising the suspendaudit privilege. 2. It should be able to accept connections from client running at any level. 3. It should change its sensitivity label to match with the client before replying the request. 4. It should also maintain the sensitivity level of the caller in its table which can be used to decide the pending caller request. 5. The talkd should also honor the devassign checks. 6. Audit all the requests/response in Audit Subsystem. 7. Add security addendum to man page Talk: 1. Turn off the syscall auditing by raising the suspendaudit privilege. 2. Audit all the requests/response in Audit Subsystem. 3. Add security addendum to man page SR: 0000000000 Patch Files: /usr/bin/talk /usr/lbin/ntalkd /etc/auth/system/files.fcdb/15.net/PHNE_18170.fcdb /usr/share/man/man1.Z/talk.1 /usr/share/man/man1m.Z/talkd.1m what(1) Output: /usr/bin/talk: 99/04/12 services/INETSVCS/talk/ctl.c, hpux, hpux_10 .26, ic5bu Revision 1.1 PATCH_10.26 (PHNE_18 170) UNMODIFIED 99/04/12 services/INETSVCS/talk/ctl_transact.c, hpux , hpux_10.26, ic5bu Revision 1.4 PATCH_10.26 (PHNE_18170) UNMODIFIED 99/04/12 services/INETSVCS/talk/display.c, hpux, hpu x_10.26, ic5bu Revision 1.1 PATCH_10.26 (PHN E_18170) UNMODIFIED 99/04/12 services/INETSVCS/talk/get_addrs.c, hpux, h pux_10.26, ic5bu Revision 1.1 PATCH_10.26 (P HNE_18170) UNMODIFIED 99/04/12 services/INETSVCS/talk/get_names.c, hpux, h pux_10.26, ic5bu Revision 1.1 PATCH_10.26 (P HNE_18170) 99/04/12 services/INETSVCS/talk/init_disp.c, hpux, h pux_10.26, ic5bu Revision 1.4 PATCH_10.26 (P HNE_18170) UNMODIFIED 99/04/12 services/INETSVCS/talk/invite.c, hpux, hpux _10.26, ic5bu Revision 1.1 PATCH_10.26 (PHNE _18170) UNMODIFIED 99/04/12 services/INETSVCS/talk/io.c, hpux, hpux_10. 26, ic5bu Revision 1.1 PATCH_10.26 (PHNE_181 70) 99/04/12 services/INETSVCS/talk/look_up.c, hpux, hpu x_10.26, ic5bu Revision 1.1 PATCH_10.26 (PHN E_18170) UNMODIFIED 99/04/12 services/INETSVCS/talk/msgs.c, hpux, hpux_1 0.26, ic5bu Revision 1.1 PATCH_10.26 (PHNE_1 8170) UNMODIFIED 99/04/12 services/INETSVCS/talk/talk.c, hpux, hpux_1 0.26, ic5bu Revision 1.1 PATCH_10.26 (PHNE_1 8170) Copyright (c) 1983, 1993, The Regents of the Univers ity of California. Copyright (c) 1995, Helwett-Packard Company. All rights reserved. Revision 1.1.212.2 Tue Apr 13 08:35:27 GMT 1999 /usr/lbin/ntalkd: 99/04/12 services/INETSVCS/talkd/announce.c, hpux, h pux_10.26, ic5bu Revision 1.1 PATCH_10.26 (P HNE_18170) 99/04/12 services/INETSVCS/talkd/print.c, hpux, hpux _10.26, ic5bu Revision 1.1 PATCH_10.26 (PHNE _18170) 99/04/12 services/INETSVCS/talkd/process.c, hpux, hp ux_10.26, ic5bu Revision 1.1 PATCH_10.26 (PH NE_18170) 99/04/12 services/INETSVCS/talkd/table.c, hpux, hpux _10.26, ic5bu Revision 1.1 PATCH_10.26 (PHNE _18170) UNMODIFIED table.c 8.1 (Berkeley) 6/4/93 99/04/12 services/INETSVCS/talkd/talkd.c, hpux, hpux _10.26, ic5bu Revision 1.1 PATCH_10.26 (PHNE _18170) Copyright (c) 1983, 1993 99/04/12 services/INETSVCS/talkd/snprintf.c, hpux, h pux_10.26, ic5bu Revision 1.1 PATCH_10.26 (P HNE_18170) UNMODIFIED Revision 1.1.212.1 Tue Apr 13 08:35:40 GMT 1999 /etc/auth/system/files.fcdb/15.net/PHNE_18170.fcdb: None /usr/share/man/man1.Z/talk.1: None /usr/share/man/man1m.Z/talkd.1m: None cksum(1) Output: 2298177519 32768 /usr/bin/talk 3639047020 36864 /usr/lbin/ntalkd 3472563193 303 /etc/auth/system/files.fcdb/15.net/ PHNE_18170.fcdb 1356009915 3430 /usr/share/man/man1.Z/talk.1 4030808772 3029 /usr/share/man/man1m.Z/talkd.1m Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 130 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_18170 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_18170.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHNE_18170.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_18170. 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_18170.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_18170.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None