SCTP Implementation
|
SCTP Downlaods
Currently, latest versions of the SCTP source code can be obtained by sending an email to
Andreas Jungmaier of the
Computer Networking Technology Group
at the IEM of the
University of Essen, Germany.
We are planning to make current versions of this software available by the WWW soon.
Requirements
Operating Systems
The software has been compiled and run on
- Linux (based on RedHat 6.2, kernel 2.2.16, with IPv6 support)
- FreeBSD 4.0 (gcc, kernel with IPv6 support)
Libraries and Programs
Currently the program requires a few libraries for compilation and execution :
- The Electric Fence Library, for debugging purposes. This is not actually needed for program execution.
It can be downloaded from
http://www.perens.com/FreeSoftware
- The glib-Library, offering OS-independant types, list functions etc.
This library can be downloaded from the
GIMP/GTK-ftp site.
- A C-compiler is needed. We recommend GNU gcc !
- A make program. We recommend GNU (g)make !
All of these tools come with a decently installed linux distribution. Nearly all of them can be found even
in binary or precompiled forms for most flavours of Unix !
Installation Instructions
The SCTP distribution comes as a tar file which has been compressed using the gzip program. Decompress the
source into your chosen directory, using :
# tar xzvf sctp-<major-version>.<minor-version>.tar.gz
You then change into the new sub-directory, and start the compilation as follows:
# cd sctp-<major-version>.<minor-version>
# ./configure (--disable-ipv6); make
If your OS supports IPv6, but you do not want to compile in support for IPv6, you can add the flag
--disable-ipv6 when calling configure. If your OS does not support IPv6, that is usually
detected by the configure script. If you are using IPv6 as a module under Linux, and you want to compile
in support for IPv6, make sure you insert the module before calling configure !
The project directory has a sub-directory named (originally :-) sctp and after successful
compilation you will find a binary program (even more originally) called sctp .
The program needs to run with root privileges, as it needs to open raw sockets for reading and writing
IP datagrams to the network. We cannot take any responsibility for any problems that might cause for
your system's security (as it may become vulnerable to buffer overflows attacks etc.).
However, we are eager to get your feedback. You can send mail to Andreas
Jungmaier or Michael Tüxen.
Java Client
In the subdirectory javaclient you find the source code for a yet incomplete, but basically usable
client program, that may be used to connect to a running SCTP-instance, and send ULP primitive requests
(cf. section 10 of
the SCTP draft) via a local UDP socket. The program may be used to send data that is typed on the console
as a text-string to another SCTP instance. It works together with the sample application of the SCTP
reference implementation by Randy Stewart.
|