Simula Research Laboratory / Center for Resilient Networks and Applications / NorNet
Homepage of Thomas Dreibholz / TSCTP Homepage


TSCTP
An SCTP Test Tool
SCTP Project Logo


๐Ÿ“‘ Quick Navigation


๐Ÿ“ฐ Latest News


๐Ÿ’ก What is TSCTP?

TSCTP is an SCTP test tool. Its purpose is to perform basic SCTP functionality tests to check implementations interoperability and to verify that the SCTP stack is working.


๐Ÿ˜€ Examples

Preparations

TSCTP uses the SCTP protocol, i.e. sockets with protocol IPPROTO_SCTP. It may be necessary to allow loading the SCTP kernel module first, if not already enabled. The following code blocks show how to enable it permanently.

SCTP on Linux

echo "sctp" | sudo tee /etc/modules-load.d/sctp.conf
if [ -e /etc/modprobe.d/sctp-blacklist.conf ] ; then
   sudo sed -e 's/^blacklist sctp/# blacklist sctp/g' -i /etc/modprobe.d/sctp-blacklist.conf
fi
sudo modprobe sctp
lsmod | grep sctp

SCTP on FreeBSD

echo 'sctp_load="YES"' | sudo tee --append /boot/loader.conf
sudo kldload sctp
kldstat | grep sctp

TSCTP Server Mode

Server mode: bind to all IPv4 and IPv6 addresses, listen on port 1234.

tsctp -L :: -L 0.0.0.0 -p 1234

TSCTP Client Mode


๐Ÿ“ฆ Binary Package Installation

Please use the issue tracker at https://github.com/dreibh/tsctp/issues to report bugs and issues!

Ubuntu Linux

For ready-to-install Ubuntu Linux packages of TSCTP, see Launchpad PPA for Thomas Dreibholz!

sudo apt-add-repository -sy ppa:dreibh/ppa
sudo apt-get update
sudo apt-get install tsctp

Fedora Linux

For ready-to-install Fedora Linux packages of TSCTP, see COPR PPA for Thomas Dreibholz!

sudo dnf copr enable -y dreibh/ppa
sudo dnf install tsctp

FreeBSD

For ready-to-install FreeBSD packages of TSCTP, it is included in the ports collection, see FreeBSD ports tree index of net/tsctp/!

sudo pkg install tsctp

Alternatively, to compile it from the ports sources:

cd /usr/ports/net/tsctp
make
sudo make install

๐Ÿ’พ Build from Sources

TSCTP is released under the BSD License.

Please use the issue tracker at https://github.com/dreibh/tsctp/issues to report bugs and issues!

Development Version

The Git repository of the TSCTP sources can be found at https://github.com/dreibh/tsctp:

git clone https://github.com/dreibh/tsctp
cd tsctp
sudo ci/get-dependencies --install
cmake .
make

Note: The script ci/get-dependencies automatically installs the build dependencies under Debian/Ubuntu Linux, Fedora Linux, and FreeBSD. For manual handling of the build dependencies, see the packaging configuration in debian/control (Debian/Ubuntu Linux), tsctp.spec (Fedora Linux), and Makefile FreeBSD.

Contributions:

Current Stable Release

The tarball has been signed with my GnuPG key 21412672­518D8B2D­1862EFEF­5CD5D12A­A0877B49. Its authenticity and integrity can be verified by:

gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 21412672518D8B2D1862EFEF5CD5D12AA0877B49
gpg --verify tsctp-<VERSION>.tar.xz.asc tsctp-<VERSION>.tar.xz

Old Stable Releases

The tarballs have been signed with my GnuPG key 21412672­518D8B2D­1862EFEF­5CD5D12A­A0877B49. Its authenticity and integrity can be verified by:

gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 21412672518D8B2D1862EFEF5CD5D12AA0877B49
gpg --verify tsctp-<VERSION>.tar.xz.asc tsctp-<VERSION>.tar.xz