Bug 1005728

Summary: ss incorrect layer 4 protocol detection, regression
Product: [Fedora] Fedora Reporter: Vladislav Grigoryev <vg.aetera>
Component: iprouteAssignee: Petr Šabata <psabata>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: jpopelka, psabata, rvokal, twoerner, vg.aetera
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: iproute-3.14.0-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-26 12:36:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vladislav Grigoryev 2013-09-09 09:33:37 UTC
Description of problem:
ss shows UDP open ports as TCP.

Version-Release number of selected component (if applicable):
iproute-3.9.0-1.fc19.x86_64
kernel-3.10.10-200.fc19.x86_64

How reproducible:
Always.

Compare commands output:
# netstat -lnptu | grep vpn
udp   0      0 0.0.0.0:1194            0.0.0.0:*            781/openvpn         

At the same time:
# ss -lnptu | grep vpn
tcp UNCONN   0    0     *:1194         *:*      users:(("openvpn",781,4))

Comment 1 Petr Šabata 2013-10-24 06:58:32 UTC
Ok, reproduced.

You state this is a regression; do you know what versions were unaffected by this issue?

Comment 2 Vladislav Grigoryev 2013-10-27 11:29:56 UTC
I've tested iproute-3.6.0-8.fc18.i686 from previous Fedora release and it works fine.

Comment 3 Vladislav Grigoryev 2014-04-26 12:36:33 UTC
Fixed in iproute-3.14.0-1.fc20.