Patch Name: PHSS_27181 Patch Description: s700_800 10.20 OV EMANATE14.2 snmpdm - subagent handling Creation Date: 02/05/27 Post Date: 02/05/30 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: OpenView Emanate 14.2 Filesets: OVSNMPAgent.MASTER,B.10.27.00 OVSNMPAgent.MASTER,B.10.26.00 OVSNMPAgent.MASTER,B.11.00.00 OVSNMPAgent.MASTER,B.11.01.00 OVSNMPAgent.MASTER,B.11.11.00 Automatic Reboot?: No Status: Special Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_27181 Symptoms: PHSS_27181: snmpdm does not handle subagent connection requests properly PHSS_26724: 1.snmpdm is not sending the ColdStart trap when naaagt registers for mib-2 OID, with mib2agt not started and COLDSTART_TIMEOUT environment variable is set to a non zero value. (Solaris only). 2.snmpdm is not re-reading its configuration file when a trap-dest entry is added by a SnmpSet operation. 3.snmpdm does not add and remove the trap-dest entries in its configuration file properly. (Solaris only). PHSS_26399: snmpdm is dumping core in strncmp(). Defect Description: PHSS_27181: Data was improperly being read from a disconnected subagent. Resolution: Code implemented to check the subagent disconnections properly. snmpdm has been given "-tcplocal" command line option, which can be used when the user does NOT want to accept the connection from subagents on remote systems. ( #/usr/sbin/snmpdm -tcplocal ). PHSS_26724: 1.This functionality was not implemented in the code. 2.The thread to read the configuratioin file was not started by the master agent on receiving an event from trapdestagt after a new trap-dest entry. 3.Addition & removal of trap-dest entries cause an interrupt to be incorrectly handled by snmpdm. Resolution: 1.Code implemented to check for mib-2 OID registration by naaagt and send a ColdStart trap when naaagt comes up. 2.Code implemented to re-read its configuration file when master agent gets the appropriate event from trapdestagt. 3.Interrupt handling has been implemented during an addtion & removal of trap-dest entries. PHSS_26399: There is a corner case in Master agent code when it receives the TimeOut event and if the TimeOut is not the PduTimeOut, then it has chances to core-dump in strncmp function since the pointer variable validity was not checked. Resolution: Code implemented to check the validity of pointer variable before passing to strncmp. SR: 8606258745 8606246372 8606241919 8606253688 8606226214 Patch Files: /usr/sbin/snmpdm what(1) Output: /usr/sbin/snmpdm: Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 PATCH PHSS_27181, 05272002 HP OpenView Emanate SNMP Agent. sys HPUX 10.X Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1996 SNMP Research, Incorporated SNMP Research Distribution version 14.0.0.0 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 HP OpenView SNMP Agent Release 3.0 Version: HPUX 10.0 s800 Copyright (c) 1988, 1989 Massachusetts Institute of Technology. Mon Mar 18 08:52:44 MST 1996 cksum(1) Output: 951288487 609661 /usr/sbin/snmpdm Patch Conflicts: None Patch Dependencies: s700: 10.20: PHSS_26137 s800: 10.20: PHSS_26137 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_26399 PHSS_26724 Equivalent Patches: PHSS_27182: s700: 11.00 11.11 s800: 11.00 11.11 PSOV_03162: sparcSOL: 2.5 2.6 2.7 2.8 Patch Package Size: 660 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 PHSS_27181 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_27181.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_27181. 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 PHSS_27181.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/PHSS_27181.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: WARNING: This patch should not be loaded unless the last consolidated patch PHSS_26137 has been loaded. To check if this patch is on your system use the following command: swlist -l product -l fileset PHSS_26137 If swlist cannot find the patch, then you will need to obtain the PHSS_26137 patch and load it before loading this patch. This patch supersedes one or more previous patches. If the superseded patches included special installation instructions those instructions can be found below.