Patch Name: PHNE_28118 Patch Description: s700_800 11.00 gated(1M) patch Creation Date: 03/03/25 Post Date: 03/09/19 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: InternetSrvcs.INETSVCS-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP InternetSrvcs.INET-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHNE_28118: ABORT Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHNE_28118 Symptoms: PHNE_28118: 1. SR 8606185678 / JAGad54880 In an OSPF configuration with multiple equal cost routes to a destination, gated selects the gateway with the highest IP address for routing instead of the gateway with the lowest IP address. 2. SR 8606221762 / JAGad90896 In certain cases, gated dumps core while processing ICMP messages. 3. SR 8606229914 / JAGad98965 gated logs unwanted warning messages in the /var/adm/syslog/syslog.log file. 4. SR 8606278999 / JAGae43055 In an OSPF configuration, gated aborts when the "I" command of ospf_monitor is executed. PHNE_17104: 1. SR 1653279778 / JAGab20821: gated does not add/delete routes reliably with RDP. 2. SR 8606160692 / JAGad30012: gated does not listen to multicast RIPv2 packets when 'noripout' option is set in /etc/gated.conf file. 3. SR 8606162878 / JAGad32194: gated aborts in a service guard environment with an assertion failure. 4. SR 8606163278 / JAGad32582: gated aborts in a service guard environment when there are more than 3 aliases for an interface. 5. SR 8606165391 / JAGad34685: When one of the local interfaces is specified as the default route in the static clause in /etc/gated.conf file, it is not getting added to the kernel. 6. SR 8606170434 / JAGad39698: gated resets PMTU for a route set explicitly using the 'route' command. 7. SR 8606170437 / JAGad39701: gated deletes network route to the primary interface in a service guard environment. 8. SR 8606172768 / JAGad42028: gated dumps core in a service guard environment as the stack grows beyond the maximum size allowed. 9. SR 8606201066 / JAGad70242: BGP does not work properly in gated. PHNE_16172: 1. RIP protocol does not work after installing PHNE_14855 patch 2. gated on a system with large number of interfaces gives error "krt_lladdr_info (getmsg):ctlblk is too small" 3. gated with Service Guard and OSPF does not recover after cable is reconnected 4. gated deletes route to interface in Service Guard environment PHNE_14855: Upgrade to gated 3.5.9. Defect Description: PHNE_28118: 1. SR 8606185678 / JAGad54880 When there are multiple routes to a destination, gated adds the routes to the kernel in the increasing order of IP addresses of the gateways. When multiple routes exist for a destination, the kernel selects the most recently added route for forwarding packets. Since routes are added in the increasing order of IP addresses of gateways, the gateway with the highest IP address is the route selected for forwarding packets. Resolution: The gateways are now added to the kernel in descending order of their IP addresses through a new option named "-r". With this new option, the gateway with the lowest IP address is selected for forwarding packets. 2. SR 8606221762 / JAGad90896 gated dumps core due to an improper computation of array index in the ICMP messages processing routine, causing a segmentation violation. Resolution: The gated code has been modified to compute the array index properly in the ICMP messages processing routine. 3. SR 8606229914 / JAGad98965 gated, in a few minutes after being started, tries to delete the loopback route and interface host routes as it does not receive any updates for them. Since this delete operation is not allowed, gated logs a message that it is not able to delete those routes. gated also logs a known warning message that "Reject routes" are not supported. Resolution: The gated code has been modified not to log unwanted warning messages. 4. SR 8606278999 / JAGae43055 When the "I" command of ospf_monitor is executed, gated attempts to set the send buffer size of a TCP socket to a value more than the system allowed limit. Hence, gated aborts with an invalid argument. Resolution: The gated code has been modified to set the send buffer size of a TCP socket properly to the system allowed limit, while starting gated. PHNE_17104: 1. SR 1653279778 / JAGab20821: gated is not able to receive ICMP packets sent to 224.0.0.1 as it is not joining the multicast group. Resolution: The gated code has been modified so that it joins all hosts multicast address. 2. SR 8606160692 / JAGad30012: gated does not add an interface to the multicast group for RIP 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 is specified for that interface. 3. SR 8606162878 / JAGad32194: When a host receives a RDP advertisement from a router on its primary and at a later point of time receives an advertisement from the same router on its alias address( or vice versa),gated aborts with an assertion failure. Resolution: The gated code has been modified to make an assertion on the physical interface information and not on the logical interface information. 4. SR 8606163278 / JAGad32582: gated was able to support only up to 3 aliases for an interface. Resolution: The gated code has been modified to support up to 31 aliases. 5. SR 8606165391 / JAGad34685: gated was setting the RTF_GATEWAY flag even for routes for which the gateway was the local interface. Resolution: The gated code has been modified to resolve the above problem. 6. SR 8606170434 / JAGad39698: gated was not handling interface aliases properly. Because of this, gated was deleting and adding the same route thereby resetting the PMTU of the route. Resolution: The gated code has been modified to handle interface aliases properly. 7. SR 8606170437 /JAGad39701: gated was not able to handle variable length subnet masks. Resolution: The gated code has been modified to handle variable length subnet masks. 8. SR 8606172768 / JAGad42028: There was an execution path in gated where two variables do not get initialized. Resolution: The gated code has been modified to properly initialize the two variables. 9. SR 8606201066 / JAGad70242: BGP does not work properly in gated. Resolution: The gated code has been modified to make BGP work properly. PHNE_16172: 1. The receive destination address option was not disabled in RIP protocols' task option list. Resolution: The receive destination address option has been disabled. 2. The buffer used for getting the interface information was not big enough to handle systems with several interfaces. Resolution: The size of the buffer used for getting the interface information has been increased. 3. 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 addition and deletion from muticast groups during interface changes. 4. 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_14855: Upgrade to gated 3.5.9. Enhancement: No SR: 8606185678 8606221762 8606229914 8606278999 8606160692 8606162878 8606163278 8606165391 8606170434 8606170437 8606172768 8606201066 1653279778 5003421826 5003437046 1653272898 1653284364 Patch Files: InternetSrvcs.INETSVCS-RUN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/gated /usr/examples/gated/README.11.0 /usr/examples/gated/README.Obsolescence InternetSrvcs.INET-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man4.Z/gated.conf.4 /usr/share/man/man4.Z/gated-confi.4 /usr/share/man/man4.Z/gated.config.4 /usr/share/man/man1m.Z/gated.1m what(1) Output: InternetSrvcs.INETSVCS-RUN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/gated: Revision: 1.0 based on Cornell Gated 3-5-9 Fri Mar 14 17:35:13 IST 2003 PHNE_28118. s700_800 11.0. Gated (1M) patch /usr/examples/gated/README.11.0: None /usr/examples/gated/README.Obsolescence: None InternetSrvcs.INET-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man4.Z/gated.conf.4: None /usr/share/man/man4.Z/gated-confi.4: None /usr/share/man/man4.Z/gated.config.4: None /usr/share/man/man1m.Z/gated.1m: None cksum(1) Output: InternetSrvcs.INETSVCS-RUN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: 3576531306 863 /usr/examples/gated/README.11.0 1443216253 339 /usr/examples/gated/README.Obsolescence 2884231026 1036288 /usr/sbin/gated InternetSrvcs.INET-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: 2821382052 75835 /usr/share/man/man4.Z/gated.conf.4 2821382052 75835 /usr/share/man/man4.Z/gated-confi.4 2821382052 75835 /usr/share/man/man4.Z/gated.config.4 3165396007 4075 /usr/share/man/man1m.Z/gated.1m Patch Conflicts: None Patch Dependencies: s700: 11.00: PHNE_19899 PHNE_18972 s800: 11.00: PHNE_19899 PHNE_18972 Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_14855 PHNE_16172 PHNE_17104 Equivalent Patches: None Patch Package Size: 1130 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_28118 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_28118.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_28118. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHNE_28118.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_28118.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_28118.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: PHNE_28118: When the gated(1M) daemon is stopped, it removes the routes from the system routing table that it learnt while running. This can lead to unexpected system inaccessibility. Therefore, the patch will *NOT* stop or attempt to restart the gated(1M) daemon. After the patch is installed and being logged on as root, the following commands can be used to stop the running gated(1M) daemon and start the newly installed copy of the gated(1M) daemon: /sbin/init.d/gated stop /sbin/init.d/gated start PHNE_16172: SR: 1653284364 (CR: JAGaa44223) Note for Service Guard Configurations: When the package IP address is added, gated changes the routing table entry for all the routes from the primary address to alias address, because of which, all the routes learned through the primary address are lost. To solve the above problem, add the following statement to the /etc/gated.conf file in the interface options statement: interfaces { options aliases-nh keepall; };