[systemd-devel] [PATCH 2/2] socket: Introduce SCTP support

Lennart Poettering lennart at poettering.net
Wed Aug 13 18:13:59 PDT 2014


On Mon, 04.08.14 21:27, Susant Sahani (susant at redhat.com) wrote:

> 
> On 08/04/2014 06:26 PM, Lennart Poettering wrote:
> >On Mon, 28.07.14 12:18, Susant Sahani (susant at redhat.com) wrote:
> >
> >>This patch adds SCTP protcol support for socket activation.
> >>SCTP socket can be configured via the conf parameter
> >>'ListenStreamControlTrans' which is kind of too long.
> >
> >Hmm, shouldn't it suffice opening up ListenSequentialPacket= for IP
> >sockets? Currently, we explicitly don't dallow that, but doesn't
> >socket(AF_INET, SOCK_SEQPACKET, 0) result in an SCTP socket these days?
> That is correct . I should have written using SOCK_STREAM. My Mistake.
> Can we make the protocol field configurable for this ?

Not following...

I know too little about sctp I must say. I now had a look a the man
page, and it suggests there are both stream and seqpacket sockets for
SCTP...

Hmm, do you actually have a usecase for this? I'd really prefer if we'd
add SCTP support when we actually know how people use this...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list