Patch Name: PHNE_16538 Patch Description: s700_800 10.01-[12]0 gated(1M) cumulative patch Creation Date: 99/06/21 Post Date: 99/06/28 Hardware Platforms - OS Releases: s700: 10.01 10.10 10.20 s800: 10.01 10.10 10.20 Products: N/A Filesets: InternetSrvcs.INETSVCS-RUN InternetSrvcs.INET-ENG-A-MAN Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHNE_16538 Symptoms: PHNE_16538: 1. gated with Service Guard and OSPF does not recover after cable is reconnected 2. gated deletes route to interface in Service Guard environment PHNE_13194: 1. Wrong timestamp in log file. 2. gated does not add all the static routes from gated.conf. 3. On shutdown, gated stop will not work as there is no gated.pid file. 4. gated -c gives error "socket operation on non-socket". 5. gated cannot announce static routes. 6. gated not logging to syslog. PHNE_11748: 1. Upgrade gated to 3.5.5 2. Gated doesn't understand secondary IP addresses. When a secondary IP address is added to an interface, the primary address is deleted. 3. Intermittently gated doesn't detect changes in network topology, causing loss of connectivity. 4. If an invalid RIP packet is received, gated aborts. 5. Adding a route with Zero subnet mask is currently not allowed, but should be allowed. 6. OSPF is not restarted when interface goes down and then comes up after sometime. PHNE_9159: * SR 5003-342824: gated in 10.20 does not delete routes dynamically. * SR 1653-140012 and 4701-300012: gated continuously generated log entries in syslog if multiple IP addresses are assigned to 1 interface. * 1653-175141 and 5003-291997: gated exited due to continuously allocating dynamic memory and eventually running out of space. * SR 1653182469: Gated with OSPF config exits after lan is reconnected. Defect Description: PHNE_16538: 1. The OSPF multicast code in Gated was not able to handle the condition when an interface was marked down. Resolution: The OSPF code in Gated is modified to handle adding and removing from muticast groups during interface changes. 2. The gated interface code was not designed to handle multiple ip addresses assigned to an interface. Resolution: Gated code has been changed to work with aliases assigned to an interface. Also a new option has been added to gated.conf to retain the primary address when aliases are added to an interface PHNE_13194: 1. An HP specific change was not done resulting in a wrong timestamp in logfile. 2. Some of the static routes from gated.conf were not added due to a defect in the code. 3. The path for gated.pid was set incorrectly. 4. A proper socket descriptor was not returned by a function while in test mode. 5. The target_list was set incorrectly in RIP and hence it could not announce static routes. 6. gated was not logging to syslog due to a configuration file defect. PHNE_11748: 1. Upgrade gated to 3.5.5 2. Enhance gated so that it doesn't remove interface route with Service Guard. 3. 10.10 gated is deleting routes, but not properly adding new ones. 4. gated 10.X should not abort if it receives an invalid RIP packet. 5. Have gated allow a route entry that belongs to a zero subnet. 6. OSPF connectivity lost when lan cable disconnected/ reconnected. PHNE_9159: * SR 5003-342824: gated in 10.20 does not delete routes dynamically. * SR 1653-140012 and 4701-300012: gated continuously generated log entries in syslog if multiple IP addresses are assigned to 1 interface. * 1653-175141 and 5003-291997: gated exited due to continuously allocating dynamic memory and eventually running out of space. * SR 1653182469: Gated with OSPF config exits after lan is reconnected. SR: 1653284364 1653272898 1653151720 1653201608 5003399105 1653211094 1653235812 5003406645 1653202689 5003372748 1653212399 5003352005 1653216150 5003342824 1653175141 5003291997 1653140012 4701300012 1653182469 Patch Files: /usr/sbin/gated /usr/examples/gated/conv_config.3.5.5 /usr/examples/gated/config_guide.txt /usr/examples/gated/README.conv /usr/share/man/man1m.Z/gated.1m /usr/share/man/man4.Z/gated-confi.4 /usr/share/man/man4.Z/gated.conf.4 what(1) Output: /usr/sbin/gated: Revision: 1.0 based on Cornell GateD 3-5-8 Sun Jun 20 20:57:46 IST 1999 PHNE_16538. s700_800 10.01-[12]0. Gated (1M) patch /usr/examples/gated/conv_config.3.5.5: None /usr/examples/gated/config_guide.txt: None /usr/examples/gated/README.conv: None /usr/share/man/man1m.Z/gated.1m: None /usr/share/man/man4.Z/gated-confi.4: None /usr/share/man/man4.Z/gated.conf.4: None cksum(1) Output: 2711075959 1105920 /usr/sbin/gated 4060764464 1556 /usr/examples/gated/conv_config.3.5.5 1714150877 266233 /usr/examples/gated/config_guide.txt 3692227600 773 /usr/examples/gated/README.conv 1992875885 3925 /usr/share/man/man1m.Z/gated.1m 375237135 75647 /usr/share/man/man4.Z/gated-confi.4 3941034430 75511 /usr/share/man/man4.Z/gated.conf.4 Patch Conflicts: None Patch Dependencies: s700: 10.20: PHNE_17731 s700: 10.10: PHNE_16471 s700: 10.01: PHNE_18977 s800: 10.20: PHNE_17730 s800: 10.10: PHNE_16472 s800: 10.01: PHNE_18978 Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_9159 PHNE_11748 PHNE_13194 Equivalent Patches: None Patch Package Size: 1560 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_16538 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_16538.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_16538.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_16538. 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_16538.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_16538.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: Note on Service Guard: When the package IP address is added, Gated changes the routing table entry from the primary address to alias address. Also all the routes learned through the primary address are lost. To solve the above problem add the following statement to gated.conf in the interface options statement e.g. interfaces { options aliases-nh primary; }; IMPORTANT: Check to see whether the existing configuration file is compatible by executing gated with -c option (check config file). If the configuration file is not compatible, run the /usr/examples/gated/conv_config.3.5.5 utility provided along with this patch. Please note that the conv_config.3.5.5 is not comprehensive and hence you might have to change your configuration file (/etc/gated.conf) manually. The guidelines for creating the configuration file is present in the file /usr/examples/gated/config_guide.txt. Be sure to have no gated running when you install this patch; otherwise, you'll have to move the files around by hand. The permissions of the files /usr/examples/gated/README.conv and /usr/examples/gated/config_guide.txt have been changed to 0444, instead of 0555 as in the patch PHNE_11748.