Menu

#21 Fix SCTP connections handle by netstat tool

REL-1.60-UPSTREAM
pending
nobody
None
5
2021-01-04
2014-09-11
F. Boiteux
No

Hello,

Current netstat implementation have 2 flaws when dealing with SCTP connections :

  • it doesn't honor -l/--listening option to list servers or active connections

  • the active connections can't be listed on a recent (3.X) Linux kernel, due
    to a change in the parsed /proc/net/sctp/assocs pseudo-file.

Find attached two patches fixing these problems, could you merge them in your repository ? Once you would add it, I could then propose Debian maintainers to get them (and other SCTP support, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=306428).

Thanks,
        Fred.
1 Attachments

Discussion

  • Mike Frysinger

    Mike Frysinger - 2021-01-04
    • status: open --> pending
     
  • Mike Frysinger

    Mike Frysinger - 2021-01-04

    i had to update the first patch as there's been a rework of the SCTP code since, but wasn't too hard. please check for me.
    https://sourceforge.net/p/net-tools/code/ci/da0b11708357c0cf1b30c73d8661810919194d3e

    for your 2nd patch, can you reevaluate the latest git version and see if it's still needed ? and if so, post an updated version ? i don't use SCTP so i'm not really familiar with it.

     

Log in to post a comment.