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

SCTP: Issue with sending data over 100msec delay

I am using a SCTP client to send 1000byte data to another SCTP server over a 100m sec delay link. The delay is configured using traffic control(tc) and netem available in Linux tc qdisc add dev eth0 root netem delay 100ms The code I have used is…
snibu
  • 581
  • 4
  • 16
1
vote
0 answers

Facing issue while using sctp_recvmsg() and epoll for SCTP functionality implementation for Delphi application in Linux

I am trying to implement SCTP support for an existing delphi application in Linux platform. I am using lksctp to support SCTP protocol. Also I am trying to use epoll(level triggered mode with EPOLLONESHOT flag) for event notification on the sockets.…
bobix
  • 81
  • 8
1
vote
1 answer

WebRTC Data channel type mismatch

I'm trying to implement WebRTC communication inside playCanvas but I'm having trouble establishing a connection between Peers. To start with the local environment, I'm using Brave Browser and Ubuntu OS, and the connection is established and I can…
1
vote
0 answers

How does error handling work in SCTP Sockets API Extensions?

I have been trying to implement a wrapper library for the Linux interface to SCTP sockets, and I am not sure how to integrate the asynchronous style of errors (where they are delivered via events). All example code I have seen, if it deals with the…
Morgan H
  • 70
  • 1
  • 10
1
vote
1 answer

SCTP Protocol (Networking)

I have been reading about the SCTP, SS7 and SIGTRAN protocol. But I have a few doubts, I would like to know if someone who specializes more in networks can answer it. (I am a security auditor) Can the SCTP protocol be used in other fields than just…
1
vote
0 answers

How to port code using boost::asio::stream_socket_service to newer versions of boost and asio?

I'm trying to use the asio-based UDT implementation mentionned in this question, and it does not compile with the current version of Boost because it uses the old boost::asio::stream_socket_service which has disappeared from the asio API since Boost…
1
vote
1 answer

SCTP recvmsg returns EFAULT (Bad Address)

I'm trying to build a very simple and basic STCP one-to-many server for testing purposes, but for some reason, the socket seems to be able to receive only one message. After receiving one message, each subsequent call to recvmsg returns -1 with the…
jangxx
  • 989
  • 1
  • 9
  • 23
1
vote
1 answer

Crafting S1AP packet using scapy

Thanks in advance for any help. I am new to scapy (only 2nd day). I need to create packets and send to network interface, expected protocol stack is: ETH/IP/SCTP/S1AP/NAS. As I understand till SCTP this is a trivial task for scapy, however I have an…
1
vote
1 answer

WebRTC Error - Session error description: Data channel type mismatch. Expected RTP, got SCTP

I am new to WebRTC and triyng to create my first app. I have found this article https://www.tutorialspoint.com/webrtc/webrtc_quick_guide.htm and did as it was said there. The resulted app works fine if I test it in the Chrome. But when I try to test…
SuperYegorius
  • 754
  • 6
  • 24
1
vote
1 answer

Does SCTP really prevent head-of-line blocking?

I've known about SCTP for a decade or so, and although I never got to use it yet, I've always wanted to, because of some of its promising (purported) features: multi-homing multiplexing w/o head-of-line blocking mixed order/unordered delivery on…
Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156
1
vote
1 answer

How to make SCTP checksum non-zero using C programming

I wrote a simple SCTP client/server, and I observed SCTP handshaking via Wireshark. The checksums of all SCTP packets are always zero in Wireshark. How do I make a non-zero SCTP checksum? The following are installed libraries on Ubuntu…
1
vote
0 answers

What does the "*A" and "*U" means in the "sctp assocs" display?

cat /proc/net/sctp/assocs ASSOC-ID ASSOC SOCK STY SST ST HBKT TX_QUEUE RX_QUEUE UID INODE LPORT RPORT LADDRS <-> RADDRS HBINT INS OUTS MAXRT T1X T2X RTXC wmema wmemq sndbuf rcvbuf 13 ffff8800b93a9000 ffff8800ac752300 2 1 3 9176 0 …
1
vote
2 answers

Linux SCTP Stack deployed with other non OS SCTP Stack on same machine

I am using Linux SCTP Stack. Currently on the same Linux machine I need to deploy a process which uses non OS SCTP STACK. (i.e. it opens a RAW socket and then handles transport level message on its own). When SCTP Init comes Linux gives the packet…
Rahul
  • 159
  • 3
  • 7
1
vote
1 answer

How to use sctpsocket_udp class in pysctp library

I am attempting to set up a basic SCTP client/server example using the pysctp library. I would like to use the sctp.sctpsocket_udp class since according to the relevant doc strings: A UDP-style SCTP socket can hold several associations via a single…
pooley1994
  • 723
  • 4
  • 16
1
vote
0 answers

SCTP support in kubernetes v1.14.3, server/client not able to send/receive data packets via sctp

We have a sctp java application (Server) running in a container (pod). We want to expose this sctp application to external networks(Client) using Nodeport. We are using latest Kubernetes 1.14.3 with docker version 18.06. Java code for SERVER…
dhanush
  • 11
  • 1