Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 563772

Summary: sys-apps/net-tools - netstat errors with SCTP
Product: Gentoo Linux Reporter: skaumo <skaumo>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description skaumo 2015-10-22 10:20:01 UTC
Netstat reports errors when listing SCTP connections.

Reproducible: Always

Steps to Reproduce:
1. Run some applications that use SCTP (e.g.: ssh, openssl, freeswitch)
2. Type netstat --sctp
Actual Results:  
Errors are displayed, as follows:

netstat --sctp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
sctp       0      0 1.2.3.4:5080            *                       LISTEN     
SCTP error in line: 2
sctp       0      0 *:22                    *                       LISTEN     
sctp       0      0 2.3.4.5:5060            *                       LISTEN     
SCTP error in line: 5
sctp       0      0 3.4.5.6:5060            *                       LISTEN     
SCTP error in line: 1


Expected Results:  
Normal connection listing without error messages

Functionality doesn`t seem to be affected. It appears to only be a cosmetic issue.
Comment 1 SpanKY gentoo-dev 2015-10-25 01:05:01 UTC
you must include emerge info as an attachment in all of your bug reports as well as listing the exact version of the package you're using

emerge --info netstat
Comment 2 Joshua Kinard gentoo-dev 2015-10-26 07:05:08 UTC
I believe this error is the SCTP/IPv6 parsing bug that was fixed in some of those Fedora patches I kludged in a while back.  You might've put them upstream by now?  If so, this might be fixed in the latest cut of net-tools.