logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tsctp — SCTP Test Tool

Arguments

       The following arguments may be provided:

       -aindication
               Set adaptation layer indication.

       -Atype
               Set chunk type to authenticate .

       -D      Turns Nagle off.

       -ffragmentation_point
               Set fragmentation point.

       -lbuffersize
               Set size of send/receive buffer. For sending messages, this means the message size!

       -Llocal_address
               Set local address.

       -nnumber_of_messages
               Set number of messages to be sent (0 means infinite)/received.

       -pport
               Set port number.

       -Rrcvbufsize
               Set socket recv buffer.

       -Ssndbufsize
               Set socket send buffer.

       -ttimetolive
               Set time to live for messages.

       -Truntime
               Set time to send messages.

       -u      Set use of unordered messages.

       -Uudp_port
               Use UDP encapsulation with given port.

       -v      Enable verbose output.

       -V      Enable very verbose output.

       -4      Use IPv4 only.

       -6      Use IPv6 only.

       remote_address
               If a remote address is given, the client mode is used. Then, tsctp connects  the  socket  to  the
               given  remote  address.  Otherwise,  without given remote address, the server mode is used. Then,
               tsctp listens for incoming connections.

Authors

       Michael Tüxen, Robin Seggelmann, Irene Rüngeler, Thomas Dreibholz
       http://www.sctp.de
       mailto://tuexen@fh-muenster.de

tsctp                                           December 13, 2024                                       tsctp(1)

Description

tsctp is an SCTP test tool. It can be used to make basic tests with the SCTP protocol. For  the  tool  to
       work, the kernel needs to support SCTP, i.e.  sockets with protocol IPPROTO_SCTP.

       Linux: echo sctp >/etc/modules-load.d/sctp.conf
               Then,  reboot  to  load  the  module.  Note: Ensure that the SCTP module is not blacklisted (e.g.
               /etc/modprobe.d/sctp-blacklist.conf in Fedora Linux)!

       FreeBSD: echo 'sctp_load="YES"' >>/boot/loader.conf
               Then, reboot to load the module.

Examples

       tsctp -l :: -l 0.0.0.0 -p 1234
               Server mode: bind to all IPv4 and IPv6 addresses, listen on port 1234.

       tsctp -l :: -l 0.0.0.0 -p 1234 -n 10 -l 1000 127.0.0.1
               Client mode: bind to all IPv4 and IPv6 addresses, connect to localhost (127.0.0.1) on port  1234,
               send 10 messages of 1000 bytes each.

       tsctp -l :: -l 0.0.0.0 -p 1234 -n 0 -T 10 -l 4096 127.0.0.1
               Client  mode: bind to all IPv4 and IPv6 addresses, connect to localhost (127.0.0.1) on port 1234,
               send unlimited number of messages of 4096 bytes each, stop after 10 s.

Name

       tsctp — SCTP Test Tool

Synopsis

tsctp  [-aindication]  [-Atype]  [-D]  [-ffragmentation_point]  [-lbuffersize] [-Llocal_address]
             [-nnumber_of_messages] [-pport] [-Rrcvbufsize] [-Ssndbufsize] [-ttimetolive] [-Truntime] [-u]
             [-Uudp_port] [-v] [-V] [-4] [-6] [remote_address]

See Also