Patch Name: PHNE_17103 Patch Description: s700_800 10.01-[12]0 gated(1M) cumulative patch Creation Date: 01/02/01 Post Date: 01/03/01 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_17103 Symptoms: PHNE_17103: 1. SR 8606130724 / JAGac95614: gated loses OSPF routes when there is an alias for an interface. 2. SR 8606133870 / JAGad03010: gated loses OSPF routes after a cable disconnect/ reconnect occurs in a service guard environment. 3. SR 8606160692 / JAGad30012: gated does not listen to multicast RIP v2 packets when 'noripout' option is set in /etc/gated.conf file. 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_17103: 1. SR 8606130724 / JAGac95614: The OSPF code in gated was not able to handle the condition when there is an alias for an interface. Resolution: The OSPF code in gated has been modified to handle the condition when there is an alias for an interface. 2. SR 8606133870 / JAGad03010: The OSPF code in gated was not able to handle the repeated interface switches in a service guard environment. Resolution: The OSPF code in gated has been modified to handle the repeated interface switches in a service guard environment. 3. SR 8606160692 / JAGad30012: gated does not add an interface to the multicast group if 'noripout' option is set for that interface. Resolution: The gated code has been modified to add an interface to the multicast group even if 'noripout' option was specified for that interface. 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: 8606130724 8606133870 8606160692 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 Tue Jan 30 18:59:03 IST 2001 PHNE_17103. 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: 2820702291 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 PHNE_16538 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_17103 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_17103.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_17103. 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_17103.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_17103.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.