Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.116. net-tools

An updated net-tools package that fixes multiple bugs is now available for Red Hat Enterprise Linux 5.
The net-tools package contains basic networking tools, including ifconfig, netstat, or route. Netstat, for example, prints information about the Linux networking subsystem.

Bug Fixes

Previously, the "hostname -s" command returned the "hostname: Unknown host" error message on a host if a host name was not resolved in DNS (Domain Name System). The utility has been modified and now always returns a short host name instead of the error message.
Previously, the mii-tool command displayed an I/O error on a network interface if the Intel e1000e driver was used. With this update, the tool is modified to only check generic Media Independent Interface (MII) registers defined in linux/mii.h. Now, the error message is no longer displayed.
Previously, net-tools incorrectly used 32-bit integers for 64-bit architectures. As a result, certain entries in the "lpExt" section were displayed with negative values when running the "netstat -s" command. With this update, integers on 64-bit architectures are handled properly and the "netstat -s" command now produces the correct output.
Prior to this update, the netstat utility could terminate unexpectedly with a stack smashing message when running the "netstat -nr -A inet6" command and /proc/net/ipv6_route contained lines of different length. With this update, the code that reads the content of /proc/net/ipv6_route is fixed and netstat no longer displays lpExt entries with negative values.
Prior to this update, the route(8) manual page did not clearly describe that the "mss" option can set the maximum transmission unit (MTU) value. With this update, the route(8) manual page now includes a detailed description of the "mss" option.
Prior to this update, the "netstat -p" command incorrectly displayed a number instead of the program name in the PID/Program name column. With this update, the code is modified and the command now correctly displays the program name.
Prior to this update, several command line options were missing from the plipconfig(8) manual page. This update modifies the SYNOPSIS section and the usage output of the plipconfig command to add these missing options.
The netstat utility truncated IPv6 (Internet Protocol version 6) UDP sockets even if the "--notrim" or "-T" option was specified. With this update, complete IPv6 addresses are displayed for UDP sockets when using netstat with one of these options.
All users of net-tools are advised to upgrade to this updated package, which fixes these bugs.