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
1
vote
2 answers

SCTP multi-homing not working as expected

I'm facing a problem in implementing multi-homing in SCTP as the server side. The server has 2 IPs it is listening to. I'm almost there, but there are 2 problems: First IP returns the INIT-ACK with 2 different IPs inside the header as it should …
Oded Itzhaky
  • 445
  • 5
  • 16
1
vote
1 answer

SCTP RCVBUF is not set properly in Linux

I am trying to set RCVBUF to 1MB//1048576 , But after setting the value when I am trying to read it through getsockopt it always gives the value as 2MB//2097152 could anyone let me know what is the problem with the below code? unsigned int…
jhon
  • 87
  • 2
  • 10
0
votes
1 answer

How can I use SCTP multihoming for a Pod in Kubernetes cluster?

I'm new to Kubernetes and I want to deploy an app that requires at least two interfaces for SCTP multihoming. The Official Kubernetes Docs says kubernetes support SCTP as a protocol but its implementation requires a CNI that supports SCTP…
0
votes
0 answers

How to change the SCTP heartbeat interval on the netty SCTP client?

I developing an Java application which have SCTP connection. My application is acting as client and server based on user configurations. The SCTP connection and data transaction working fine. But the user want to have configurable SCTP HEARTBEAT. I…
Alex San
  • 15
  • 5
0
votes
0 answers

connecting same sctp server port with two different sctp client ports

I have written a client server sctp program in c. on sctp client side I create two client threads and each thread binds with local port 8888 and 9999 port respectively. However, when I connect client to server and see the client ports on sever by…
0
votes
0 answers

Simulation of sending a video using ns2

how to simulate sending a video in ns2 like using ftp for sending files? Source code for multistreaming in sctp using ns2
0
votes
1 answer

unable to connect to sctp server running in docker container

I am trying to containerize an SCTP server with below docker file FROM ubuntu:20.04 # Install utilities RUN apt update && apt install -y libsctp-dev iputils-ping net-tools curl gcc tcpdump vim RUN mkdir -p /root/my_proj/ COPY .…
0
votes
0 answers

How to connect to docker container from the host machine?

My host machine application is trying to establish a SCTP connection at port 38412 to a docker container which is running SCTP server at port 38412. I am mapping and publishing the ports but getting an error. My host application is timing out at the…
0
votes
0 answers

How to receive SACK of SCTP protocol in C

I am using the following code to receive SCTP notifications. I am using Linux ubuntu 20.04. Please could you help to intercept SACK_SCTP messages. Here you find attached my code to receive all possible notifications. void * receive_sacks(void…
rafinf
  • 21
  • 4
0
votes
0 answers

Socat, sctp, port search and connection to some service

I have the following exercise to do: There is some service running on the server (on a random port). Use socat to connect to this server and it will reply back answer to the exercise. The protocol is SCTP, you need to use the appropriate flag in…
0
votes
1 answer

How to encapsulate a SCTP packet in UDP and send it over UDP channel in java

I have to transfer a file using SCTP protocol. I have written the code in java but the code is not working when I am using 4G hotspot network. So I came across this RFC which talks about UDP encapsulation of SCTP. I want to know if there is an…
0
votes
0 answers

SCTP Protocol to sent informations real time immediately when it is available

I am new to SCTP Protocol, I am using SCTP to transfer a large number of binary chunks of a single video file from C Language. Current issue is SCTP starts transmit the chunks to the other end only after all the chunks are ready. Is there a way to…
0
votes
3 answers

SCTP implementation with java?

How to implement SCTP protocol between a gateway and a server with java ?
Janne
  • 13
  • 1
  • 3
0
votes
0 answers

What and where is -lsctpsocket?

I'm working on an application that needs to support SCTP. Upon building a testing tool (Seagull) from source I cannot seem to find what the issue is. What is this flag (-lsctpsocket)? Is it a library? Where do I get it from? Heres the command that…
0
votes
0 answers

How is the checksum of sctp incrementally updated?

sctp uses crc32c to calculate the checksum,but I don't know how to implement incremental updates。 code is in /include/net/sctp/checksum.h: static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum) { /* This uses the crypto…