sctp_test(1)
๐ธ sctp_test(1) โ the group chat manual page ๐ธ
okay so bestie, welcome to sctp_test(1), straight out of the General Commands Manual ๐ this one is your little test buddy for SCTP, and we're gonna walk through it together, no gatekeeping โจ
๐ซ NAME ๐ซ
sctp_test</p็ดซ่ฒ> โ send and receive messages via SCTP ๐ฆ
โจ SYNOPSIS โจ
sctp_test -H -P -h -p -l|s
that's the whole vibe check, and yes it's giving "short and mysterious" ๐
๐ DESCRIPTION ๐
so like, this is a userspace test application for the SCTP Linux kernel reference implementation ๐ง that's it, that's the description, and honestly? iconic ๐
๐ OPTIONS ๐
grab a snack, we're going through every single one ๐
-H local-addrโ where you're at locally, address-wise ๐-P local-portโ your local port, your local business โจ-h remote-addrโ the other side's address, the remote bestie ๐ฎ-p remote-portโ the other side's port, periodt-sโ act as client ๐-lโ listen for connections, i.e. be the server ๐-a assoc_patternโ the association pattern when you're in mixed mode:0= sequential ascending (default) โฌ๏ธ1= random ๐ฒ
-d debugโ how loud the debug is:0= none ๐คซ1= min (default) ๐2= max ๐ข
-c testcaseโ pick your packet testcase, there are seven:0= 1 byte packets ๐ฃ1= 1352 byte packets โ that's the fragmentation point for an i/f with 1500 as mtu. ๐ฆ2= 1353 byte packets โ the min. size at which fragmentation occurs for an i/f with 1500 as mtu. ๐ฅ3= sequence of1,1353,32768byte packets ๐4= sequence of following size packets: (1,1000,2000,3000,5000,10000,15000,20000,25000,32768) ๐ช5= 32768 byte packets โ that's the default max receive window size. (default) ๐ซถ6= random size packets ๐ฐ
-ve valueโ packets of the size you specify ๐ฏ-m msgsizeโ your message size, and it's gotta be 1500-65515, default value is 32768 ๐-x number_of_repeatsโ how many times we run it, again and again and again ๐-o order_patternโ the ordering situation:0= all unordered (default) ๐ช๏ธ1= all ordered ๐งพ2= alternating ๐3= random ๐ฒ
-t stream_patternโ stream pattern vibes:0= sequential ascending (default) โฌ๏ธ1= random ๐ฒ
-M max_streamโ default value 0 ๐-r seedโ default 0, and it usestime()โฐ-L num_portsโ default value 0. Run the mixed mode ๐ซ-S num_portsโ default value 0. Run the mixed mode ๐ซ-Dโ Drain. If you're in client mode, do a read following send. ๐ฐ
ngl bestie,-Land-Sare literally the same description in the source, so I'm not gonna pretend I know something the page doesn't say ๐
๐ USAGE ๐
server mode, be the one who listens ๐ซถ:
server: sctp_test -H local_addr -P local_port -l
client mode, be the one who slides into the connection ๐:
client: sctp_test -H local_addr -P local_port -h remote_addr
-p remote-port -s
๐ AUTHOR ๐
Michael Biebl <biebl@debian.org> โ the main character who wrote this, we love them for it ๐
and that's the whole page, bestie!! ๐ it's sctp_test(1), it lives in the General Commands Manual, and it signed off as sctp_test(1) on the way out because it's consistent like that ๐ stay slay, go send some SCTP messages, iykyk โจ๐ฆ๐ธ
๐ฆ where this page comes from
- debian bookworm: lksctp-tools 1.0.19+dfsg-2 ยท GPL-2.0-or-later
- debian trixie: lksctp-tools 1.0.21+dfsg-1 ยท GPL-2.0-or-later
- ubuntu jammy: lksctp-tools 1.0.19+dfsg-1build1 ยท GPL-2.0-or-later
- ubuntu noble: lksctp-tools 1.0.19+dfsg-2build1 ยท GPL-2.0-or-later
- ubuntu questing: lksctp-tools 1.0.21+dfsg-1build1
- ubuntu resolute: lksctp-tools 1.0.21+dfsg-1build2 ยท GPL-2.0-or-later
- ubuntu stonking: lksctp-tools 1.0.21+dfsg-2 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms