SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] sctp impl and lksctp


Chronological Thread 
  • From: Michael Tüxen <Michael.Tuexen AT micmac.franken.de>
  • To: "Garima gupta" <garima_g01 AT rediffmail.com>
  • Cc: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] sctp impl and lksctp
  • Date: Mon Oct 21 02:07:01 2002
  • List-id: SCTP Discussions <discussion.sctp.de>

Dear all,

I would also suggest to use EITHER the implementation available at http://www.sctp.de
OR one of the kernel implementations. If you are using Linux, this would
be the lksctp. On FreeBSD it would be the KAME implementation.

In addition to the comments made by others I would like to provide some
more information:

- regarding the performance I would expect that the performance of the
userland implementation available at www.sctp.de is worse than the
one of kernel implementations. I have not tested that, but if it is
not true, something is wrong with the kernel implementations.
Keep in mind: The userland implementation is NOT written for being
performant, but for being functional, extensible, ... That is why
we say it is a prototype implementation. But it is not too bad.

- Regarding the use of multiple processes on the same host. You CAN
do it, you have to disable the OOTB handling (which does the
socketapi). Because the OOTB handing is disabled and you have to
do the port number stuff yourself, we do not recommend it. But
if you know what you are doing, you can do it.

- You ALWAYS need root privileges. So this might be important on
the machine at the university.

- Regarding the problem of using a kernel implementation and the userland
implementation at the same time I remember the following: A raw socket
NEVER receives UDP or TCP packets. I think this is because they are
intended to be handled by the UDP or TCP stack. This would mean that,
if you have a SCTP kernel implementation, you would not pass SCTP packet
to a raw socket. I have not tested this with a kernel implementation.
Why is this important? The userland implementation uses a raw socket, registered
for the protocol with ID 132, to receive all SCTP packets.

Best regards
Michael

On Sunday, Oct 20, 2002, at 14:47 Europe/Berlin, Garima gupta wrote:

Hi,
Thanks Michael for you help, As first I installed both the sctp api implementation and the sctp socket implemention and later sctp kernel implementation from sourceforge Iam now totally confused, my doubt is this that
can anyone tell me how is lksctped implemented kernel different from normal kernel on which sctp api and sctp socket implementation is installed, i mean, how are two different when one wants to compile and run some applications on two.
And will it make trouble when one installs both the implementations and lksctp like in my case.

Thanks,

garima
On Sun, 20 Oct 2002 Michael Tüxen wrote :
Garima,
see my comments below.
Best regards
Michael

On Sunday, Oct 20, 2002, at 08:16 Europe/Berlin, Garima gupta wrote:

hi all,
Iam doing my project on sctp which involves studying SCTP protocol and its benifits on tcp and udp.
for that i have installed both API and socket implementation from sctp.de but now i can't figure out anyway to compile the test files or for that matter what to do next after installing both implementation.
You have to ./configure; make; make install the sctplib and socketapilib.

For the sctplib (callback interface):
- #include "sctp.h"
- Link to libsctp and libglib

For the socketapilib (socket interface)
- #include "ext_socket.h"
- Link to libsctpsocket, libsctp, libglib and the standard c++ library.

There are examples in sctplib/programs and socketapi/programs which you
might want to look at.

one more thing : is installing new kernel "lksctp" required ?

No, that is a Linux kernel implementation of SCTP.
Please help me on starting this.

thanks

Garima

__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com. Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/

_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion


_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion

__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com. Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/

_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion






Archive powered by MHonArc 2.6.19+.

Top of page