Description of problem: /usr/sbin/ss from the iproute2 package does not show all states Version-Release number of selected component (if applicable): 2.6.18-4 How reproducible: Always Steps to Reproduce: 1. Create a network connection to another host (e.g. telnet host 22) 2. Check for the ESTABLISHED state with /usr/sbin/ss -n Actual results: The tcp state is not shown Expected results: ESTAB 0 0 <your ip>:<any port> <other host>:22 Additional info: Testing different versions of upstream iproute2 from http://www.linux-foundation.org/en/Net:Iproute2, the problem is still present in 2.6.22 but disappears in 2.6.23. It is sufficient to replace the ss.c source file in 2.6.18 to resolve the problem.
Loading the tcp_diag.ko kernel module also solves the problem - which would indicate that the parsing of /proc/net/tcp is the problem.
They starting use different parsing, which possibly fix also tcp issue.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
I've tested the upstream patch (from iproute2-2.6.23), which fixed this issue.
Created attachment 310413 [details] Parsing is using standart library
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0204.html