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
1 answer

How can I determine number of blocks in sctp package?

SCTP protocol has the following format of packages: - Source Port Number - Destination Port Number - Verification Tag - Checksum - N chunks I'm trying to write low-lever parser of the protocol, but I don't know, how to determine number of…
Vasily
  • 13
  • 2
1
vote
0 answers

Is there a way to receive multiple messages in a single system call using a SctpStream?

I want to receive multiple messages from a SctpStream in a single system call. My goal is to know the number of bytes received every time I make a receive call. The Linux socket function recvmmsg returns multiple messages: int recvmmsg(int sockfd,…
JRD
  • 37
  • 2
1
vote
3 answers

netinet/sctp.h: No such file or directory

I'm unable to include in any of my files. It always fails during compilation. I got the lksctp-tools package installed. I run gcc -Wall -lsctp -o client admin.c deserializer.c input_parser.c main.c receive_response.c send_request.c…
Flama
  • 772
  • 3
  • 13
  • 39
1
vote
0 answers

Openstack OvS native firewall driver drops SCTP

I have a clean install of Openstack Pike on Ubuntu 16.04 server with OvS bridge. When using iptables_hybrid as the firewall driver, I have no problem sending SCTP packets to VMs from the external network. However, when using the native openvswitch…
headamage
  • 11
  • 1
1
vote
1 answer

SCTP Init abort is happening

enter image description hereCan someone please help me to solve the init abort happening from our server side. Verification tag is always coming as 0 from the transmitter end. But receiver is giving some random value of verification tag. Please…
Sachin Aravind
  • 150
  • 1
  • 2
  • 11
1
vote
2 answers

Mobicents JSS7 - Starting a sigtran association

I am starting to play with Mobicents JSS7 - Sigtran... I am trying startup a sigtran association. I have: - started sctp - started m3ua As I could understand, as soon M3UA is started the sigtran association should start the negotiation between…
Helio Aymoto
  • 303
  • 2
  • 5
  • 16
1
vote
1 answer

Have a multi-ip interface. How to select one of them to establish an outgoing connection?

I am working with with an interface with multiple assigned IP addresses. I need establish a connection from this interface to a remote listening SCTP socket (not in multi-homing mode). How is it possible to select the desired interface's IP as the…
Umberto
  • 75
  • 2
  • 6
1
vote
1 answer

SCTP ABORT with reason Assocation exceeded its max retry count in protocol violation

Why am I getting this error? SCTP Abort with reason Association retry count exceeded
1
vote
0 answers

On Linux, SCTP associations hangs during shutdown when the closing end-point's IP address is deleted from the network interface

We have an SCTP association between two IP addresses on two different nodes, say A and B, both running Linux version 4.2. The following are my observations: On A, if you terminate the process containing the SCTP socket, the association clears up…
1
vote
0 answers

sctp one-to-many send failure

I'm using RestComm library on Centos 7 and lk-sctp to initiate one to many associations on the same host port (3868). The Java class is [SctpMultiChannel] The way this works, you send a message(Diameter) using the SctpMultiChannel.send method to the…
1
vote
1 answer

SCTP: What should be the sctp_status.sstate value of an SCTP socket after succesful connect() call?

I'm trying to connect to a remote peer (which I don't have directory access other than connecting to it via socket and ping) via SCTP. Assuming that I have connected succesfully, what should be the value of my sctp_status.sstate if I try calling…
Phenelo
  • 95
  • 1
  • 8
1
vote
0 answers

restcomm HLR and MSC configuration issue

Could you please help me to configure the ss7 stack for HLR and MSC we are using Restcomm-smsc-7.1.71 How to distinguish HLR associations and MSC associations in order to send separately SRI to HLR and forward-sm to MSC ? How should i configure the…
slama
  • 85
  • 2
  • 11
1
vote
1 answer

DTLS implementation for SCTP connections

I am trying to do DTLS implementation for SCTP connections. I searched through web and found many of the implementations refers to link. But this link is not working. http://sctp.fh-muenster.de/dtls-samples.html. Can someone shared a sample code…
mahesh gs
  • 61
  • 2
1
vote
0 answers

Should I worry about home routers support of RTCDataChannel?

RTCDataChannel is a part of WebRTC and is used for p2p messaging over SCTP. I'm seeing some answers on stackoverflow where people mention growing browser support https://stackoverflow.com/a/14539939/1267910 However, I'm wondering if browser support…
Georgii Oleinikov
  • 3,865
  • 3
  • 27
  • 27
1
vote
0 answers

How can TLS api SSL_write() be made to work on top of SCTP protocol?

By means of SCTP socket api sctp_sendmsg(), parameters like streamNumber, ppid, orderedDelivery are configurable before sending out a message over transport. While i was trying to have TLS integrated to SCTP code using SSL_Write() api, the…
neo
  • 85
  • 1
  • 8