Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2021 14:31:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260119] [sctp] Not inheriting the DSCP/TOS socket option
Message-ID:  <bug-260119-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260119

            Bug ID: 260119
           Summary: [sctp] Not inheriting the DSCP/TOS socket option
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: albin.hellqvist@ericsson.com

I noticed that when setting DSCP/TOS on a server socket, it doesn't get
inherited to socket from accept(). This is not stated anywhere in any RFCs as
far as I know, but it is not consistent with how TCP sockets behaves.

There might be other socket options that are affected. I have made a summary
for DSCP/TOS at least:

FreeBSD 12.2:
IPv4 TCP:  Not inherited
IPv6 TCP:  Inherited
IPv4 SCTP: Not inherited
IPv6 SCTP: Not inherited

FreeBSD 13.0:
IPv4 TCP:  Inherited
IPv6 TCP:  Inherited
IPv4 SCTP: Not inherited
IPv6 SCTP: Not inherited

Linux (lksctp):
IPv4 TCP:  Inherited
IPv6 TCP:  Inherited
IPv4 SCTP: Not inherited
IPv6 SCTP: Inherited

Seems like this was changed for IPV4 TCP between FreeBSD 12.2 and 13.0. I
cannot find any ticket for that, but I think that the same design choice could
be considered for SCTP as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260119-227>