Questions tagged [sctp]

Stream Control Transmission Protocol (SCTP) is a transport layer protocol providing reliable transport of data like TCP but with message oriented features like UDP.

It provides some of the same service features of both: it is message-oriented like UDP and ensures reliable, in-sequence transport of messages with congestion control like TCP.

http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol

230 questions
4
votes
3 answers

Linux SCTP implementation status

Some time ago I had used SCTP on Linux and now I want to use it again in new project. The problem is that, lksctp seems to be dead, there were no updated since 2009 (according to git). In this time few important things changed in SCTP draft, so…
Goofy
  • 5,187
  • 5
  • 40
  • 56
4
votes
2 answers

Why I failed to compile a sctp program in Linux?

First I install sctp on Ubuntu 12.04 sudo apt-get install libsctp-dev lksctp-tools Then in my .c file,I include : #include < netinet/in.h > #include < netinet/sctp.h > #include < sys/socket.h > #include < stdlib.h > #include < unistd.h…
huaxz1986
  • 307
  • 5
  • 10
4
votes
1 answer

homebrew socat on OS X Mountain Lion, sctp "Protocol not supported"

I am working very hard on a hobby program which involves the SCTP protocol, to grasp the basics, I tried to install socat using homebrew, socat is a netcat-like tool for testing various protocoles. But without any success on OS X Mountain Lion so…
est
  • 11,429
  • 14
  • 70
  • 118
3
votes
1 answer

usrsctp send buffer does not free itself

We're working with a C++ webrtc data channels library and in our test application, upon sending a few small packets that would totally amount to about 256kB, the usrsctp_sendv() call returns -1 (with errno as EWOULDBLOCK/EAGAIN which means "Resource…
Irfan
  • 1,758
  • 3
  • 24
  • 32
3
votes
1 answer

Why does SCTP not require a TIME_WAIT state?

I am reading "UNIX Network Programming: The Sockets API" and it mentions that SCTP does not require a TIME_WAIT state as TCP does due to its use of verification tags. Why is this the case? I understand why verification tags fix the issue with…
dippynark
  • 2,743
  • 20
  • 58
3
votes
1 answer

TLS handshake over SCTP streams

I was going through the TLS support over SCTP rfc, where i could see the spec quoting that the TLS handshake has to be done over every bidirectional streams before initiating message transfer over the transport. 5. Connections and Bi‐directional…
neo
  • 85
  • 1
  • 8
3
votes
1 answer

close call on a SCTP socket is blocking or non blocking?

I am facing an issue, not sure if i can call it an issue or its just understanding gap. I am calling close() on a SCTP socket FD (something like this: close(sctp_sock_fd);). I am expecting this close call will return when SCTP SHUTDOWN flow will…
Pushpendra
  • 459
  • 1
  • 4
  • 18
3
votes
2 answers

Is there any python library that abstracts IP based transport -- TCP, UDP, SCTP, TLS etc.?

Recently I became interested in DIAMETER protocol defined by [RFC 6733][1]. Since I am learning Python, I thought that it might be interesting to see if I could use any DIAMETER Python library. I did find [one][2], but it appears to be no longer…
bdutta74
  • 2,798
  • 3
  • 31
  • 54
3
votes
2 answers

Python sctp module - server side

I have been trying to test SCTP for a network deployment. I do not have an SCTP server or client and was hoping to be able use pysctp. I am fairly certain that I have the client side code working. def sctp_client (): print("SCTP client") …
sidtg1
  • 31
  • 1
  • 2
3
votes
1 answer

Crafting S1AP packets using Scapy

I am looking at a project that requires the crafting of S1 Application Protocol (S1AP) packets. It is used between a eNodeB and MME of a 4G LTE network. S1AP is IP based and carried by the Steam Control Transmission Protocol (SCTP). Does anyone have…
S1AP
  • 63
  • 1
  • 5
3
votes
1 answer

getsockopt "Invalid argument" for IPPROTO_SCTP, SCTP_STATUS

Scenario: I've created SCTP one-to-many socket (functions that starts with big letter call corresponding standard functions with check for error and print errno to stderr) int sock_fd,msg_flags; char readbuf[BUFFSIZE]; struct sockaddr_in servaddr,…
4pie0
  • 29,204
  • 9
  • 82
  • 118
3
votes
1 answer

Select returning 0 on a closed SCTP socket

This is related to the question: SCTP with Multihoming as a Drop In Replacement for TCP I have a simple echo client / concurrent server app that ran perfectly fine using TCP. I could pipe a file to stdin on the client and the client would receive…
Robert S. Barnes
  • 39,711
  • 30
  • 131
  • 179
3
votes
1 answer

How is Multistreaming in SCTP different from opening Multiple Connections in TCP?

How does Multiple streams in SCTP reside in a single association while in TCP we have to have multiple ports involved.Is SCTP, does multistreaming also involves ports in any way. RFC 6525 says that only 65k+ streams are possible which seems equal to…
Love
  • 315
  • 1
  • 5
  • 9
3
votes
3 answers

How to use SCTP?

For my thesis I am studying and showing a new communication protocol which our teacher didn't talk to us about. This is SCTP. Now I am writing my thesis, explaining the protocol and underlining the differences between SCTP and TCP. Anyway, I'm…
SagittariusA
  • 5,289
  • 15
  • 73
  • 127
2
votes
3 answers

How to get started with Python SCTP stack (pysctp)?

I've just installed pysctp from http://www.epx.com.br/pysctp/, and I'm having trouble getting the basic example working. What could I be doing wrong? I'm on Red Hat Linux. Python 2.7.2 (default, Oct 25 2011, 10:11:43) [GCC 4.1.2 20070626 (Red Hat…
thomson_matt
  • 7,473
  • 3
  • 39
  • 47
1
2
3
15 16