Patch Name: PHNE_19299 Patch Description: s700_800 10.20 NetTL, Nettladm cumulative patch Creation Date: 99/08/16 Post Date: 99/08/25 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: Networking.NETTL-ADM Networking.NETTL-RUN Networking.NETTL-MIN Networking.NW-ENG-A-MAN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHNE_19299 Symptoms: PHNE_19299: 1. CR JAGaa51688/SR 5003357038 netfmt exits on invalid TERM values, printing out the following message: "No such terminal" 2. CR JAGab65711 Some packets are formatted twice by the libnsfmt.1 library. 3. CR JAGab52691/SR 5003452250 Nice format does not indicate the difference between original data length and actual data length which can arise due to use of "-m" option of nettl. 4. CR JAGab57096 Memory fault when formatting trace file with packets which were captured using "-m" option of nettl. 5. CR JAGab16398/ SR 5003461319 (Enhancement) libnsfmt.1 library does not recognise ICMP Router Discovery Protocol (RDP) messages. 6. CR JAGab16614 No visible symptoms. 7. CR JAGab53623 Ethernet packet has microsecond part divided by 10. 8. CR JAGaa19995/SR 1653240663 "nettl -traceoff -e all" will also kill the console logging netfmt process. PHNE_16692: 1. Tersely format -1 (one) cuts the mss field to only 3 characters. 2. Enhancement: Tersely format -1 doesn't show the ACK counter and the window size if the packet is only ACK without data content. 3. netfmt date handling is not consistent with the libC inferencing window. PHNE_15158: No visible symptoms. PHNE_13837: This patch is part of the 10.20 ACE 2 bundle which adds networking enhancements to 10.20. New networking features supported in ACE 2 include NFS Version 3.0, AutoFS, and CacheFS. PHNE_13238: nettladm will fail when using the gui. PHNE_10948: Subsystem specific formatters will fail to format trace/log files when the PHNE_9081 patch is installed. This patch removes the large uid changes made in the patch PHNE_9081. PHNE_9081: The end user will not be able to use NetTL for large number of users. This cumulative patch also fixes time and date problems. PHNE_8164: The user will see a core-dump when the SNMP sub- system is formatted using netfmt(1M). The type of formatting used is "nice" formatting. The ntl_write() function had an effect of unblocking the blocked SIGCHLD signal. Defect Description: PHNE_19299: 1. CR JAGaa51688/SR 5003357038 When the TERM environment variable is set to an invalid value that does not exist in the TERMINFO database, or if the TERMINFO database does not exist, netfmt exits as it tries to set up the terminal. Resolution: netfmt is changed so that it does not exit but rather turns off highlight mode silently and continues. 2. CR JAGab65711: When the format_link_nice() function returns failure to its caller, format_link_raw() is also called, which results in the same packet being formatted twice. Resolution: The return value of nice format is ignored and format_link_raw() is not called when format_link_nice() fails. 3. CR JAGab52691/SR 5003452250 When packets have been traced using the "-m" option of nettl, the original and actual data length of the packet might be different. This is not evident when the trace file is formatted using nice format. Resolution: When the trace header is formatted, the two length values are compared and if they are different, a message to that effect is printed to standard output. 4. CR JAGab57096 When "-m" option of nettl has been used to trace packets, the length of the packet data may not be sufficient to interpret it properly. In such cases, a hex dump of the packet is attempted with possibly negative length information. Resolution: The hex dump function has been modified to take care of negative length values. 5. CR JAGab16398/ SR 5003461319 (Enhancement) ICMP RDP (Router Discovery Protocol) messages are not currently recognised by the libnsfmt.1 library. Resolution: The ICMP packet types 9 and 10 will now be interpreted as per RFC 1256. 6. CR JAGab16614 The format_link_raw(), format_link_nice() and format_link_terse() functions have additional info and upper info parameters which are character strings. These functions do not perform any NULL checking for these strings. Resolution: NULL checking is now performed for these actual parameters. 7. CR JAGab53623 When the time is printed by subsystems that use the libnsfmt.1 library as their formatter, the micro-second part has a prepended zero to it. Resolution: The function that formats time here, performs an extra division by 10 on the microsecond part. This step is now eliminated. 8. CR JAGaa19995/SR 1653240663 When the command: nettl -traceoff -e all is run, the netfmt console logging process, which is responsible for displaying important log messages on the console, is killed. Resolution: Turning trace-off for all subsystems will now not kill the console logging netfmt process. This can be done only when nettl is itself stopped. PHNE_16692: 1.When netfmt displays the mss during terse formatting,it is done by treating the 2 byte mss as 2 separate characters instead of one unsigned short integer. 2.When netfmt does terse formatting, it doesn't show the ACK and WIN fields if the packet is only ACK without any data. 3.Netfmt should be able to deal with both 2 figure and 4 figure year dates post 2000 (as it does pre 2000).The inferencing window for the 2 figure dates should be consistent with the libC inferencing window. PHNE_15158: Remove fileset-level checkinstall script added for ONC+ Networking Enhancements bundle to avoid manufacturing conflicts. PHNE_13837: New functionality to support networking features in 10.20. PHNE_13238: nettladm gui interface was failing when viewing the status of logging or tracing. This was due to the changes made to the ObAM libraries. PHNE_10948: This patch removes the large uid changes made in the patch PHNE_9081. In the patch PHNE_9081, as part of the large uid changes, one of the structures in a header file (/usr/include/ntl.h) has changed. This change in the header file required that all subsystems having subsystem specific formatters have to re-compile their libraries. Since subsystem owners will not re-compile their formatters, PHNE_9081 patch has been recalled. PHNE_9081: On investigation/review it was observed that the large UID change made during the 10.20 release had some inconsistencies. This patch also fixes date and time related problems. PHNE_8164: The core dump is seen when the user is uses the /usr/sbin/netfmt to format tracing and logging binary files belonging to the SNMP sub-system. The signal interfaces used in the nettl_write() was sigsetmask(), this is a non-standard interface. Whereas in the application, standard signal interface routines like sigaction(), sigprocmask(), are being used. This caused nettl_write() to unblock the previously blocked SIGCHLD signal. SR: 5003452250 5003357038 1653240663 5003461319 1653247106 4701378117 4701334763 4701351296 4701326827 Patch Files: /opt/nettladm/bin/nettladm /opt/nettladm/lbin/xtrackmsg /opt/nettladm/lib/nls/msg/C/nettladm.cat /opt/nettladm/ui/nettladm.ui /usr/lib/libntl.1 /usr/lib/libfmtutil.1 /usr/lib/libnsfmt.1 /usr/include/ntl.h /usr/lbin/nktl_daemon /usr/lbin/ntl_reader /usr/lib/nls/msg/C/netfmt.cat /usr/lib/nls/msg/C/nettl.cat /usr/lib/nls/msg/C/nsfmt.cat /usr/sbin/netfmt /usr/sbin/nettl /usr/share/man/man1m.Z/netfmt.1m what(1) Output: /opt/nettladm/bin/nettladm: NETTL: Version: B.10.20 $Date: 99/08/05 PHNE_19299 mi_time.c $Revision: 1.2.116.4 $ $Date: 98/11/24 21: 41:40 $ /opt/nettladm/lbin/xtrackmsg: NETTL: Version: B.10.20 $Date: 99/08/05 PHNE_19299 OSF/Motif Version 1.2.5 /opt/nettladm/lib/nls/msg/C/nettladm.cat: None /opt/nettladm/ui/nettladm.ui: None /usr/lib/libntl.1: None /usr/lib/libfmtutil.1: fmt_lib.nl $Revision: 1.1.116.2 $Date: 99/08/11 PHNE _19299 fmt_option.nl $Revision: 1.1.116.2 $ $Date: 98/11/24 21:45:08 $ fmt_util.nl $Revision: 1.1.116.1 $ $Date: 97/10/20 1 7:04:48 $ fmt_scan.nl $Revision: 1.1.116.1 $ $Date: 97/10/20 1 7:04:34 $ /usr/lib/libnsfmt.1: nfs_xdr.c $Revision: 1.1.116.1 $ nfs3_xdr.c $Revision: 1.1.116.1 $ netterse.c $Revision: 1.1.116.3 $ $Date: 99/08/05 PH NE_19299 mount_xdr.c: $Revision: 1.1.116.1 $ $Date: 97/10 /20 17:05:37 $ /usr/include/ntl.h: $Revision: 1.6.116.5 $ */ /usr/lbin/nktl_daemon: NETTL: Version: B.10.20 $Date: 99/08/05 PHNE_19299 /usr/lbin/ntl_reader: NETTL: Version: B.10.20 $Date: 99/08/05 PHNE_19299 /usr/lib/nls/msg/C/netfmt.cat: NETTL: Version: B.10.20 $Date: 99/08/05 PHNE_19299 /usr/lib/nls/msg/C/nsfmt.cat: nsfmt.cat $Revision: 1.1.116.1 $ $Date: 97/10/20 17: 06:37 $ /usr/lib/nls/msg/C/nettl.cat: nettl.cat $Revision: 1.5.116.1 $ $Date: 95/10/17 15: 47:22 $ /usr/sbin/netfmt: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ NETTL: Version: B.10.20 $Date: 99/08/05 PHNE_19299 fmt_tl_fmt.c $Revision: 1.1.116.1 $ $Date: 97/10/20 17:04:43 $ fmt_driver.nl $Revision: 1.1.116.1 $ $Date: 97/10/20 17:04:05 $ /usr/sbin/nettl: NETTL: Version: B.10.20 $Date: 99/08/05 PHNE_19299 /usr/share/man/man1m.Z/netfmt.1m: None cksum(1) Output: 855818532 233472 /opt/nettladm/bin/nettladm 4195521000 2338816 /opt/nettladm/lbin/xtrackmsg 3979316104 27765 /opt/nettladm/lib/nls/msg/C/nettladm.cat 1232127111 83189 /opt/nettladm/ui/nettladm.ui 3214600464 24576 /usr/lib/libntl.1 3568930966 564084 /usr/lib/libfmtutil.1 1261427671 2179816 /usr/lib/libnsfmt.1 2357115710 20833 /usr/include/ntl.h 4062061723 20480 /usr/lbin/nktl_daemon 801856708 28672 /usr/lbin/ntl_reader 2727509079 17547 /usr/lib/nls/msg/C/netfmt.cat 3749829510 64137 /usr/lib/nls/msg/C/nsfmt.cat 3154980076 32451 /usr/lib/nls/msg/C/nettl.cat 2137593135 196992 /usr/sbin/netfmt 2431282310 135168 /usr/sbin/nettl 720671758 14552 /usr/share/man/man1m.Z/netfmt.1m Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_8164 PHNE_9081 PHNE_10948 PHNE_13238 PHNE_13837 PHNE_15158 PHNE_16692 Equivalent Patches: None Patch Package Size: 5920 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_19299 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_19299.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_19299. 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_19299.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_19299.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None