Вопрос

I want to research the transport layer protocol of SCTP. Is it possible to replace the tcp with sctp in linux kernel and That applications can send messages via sctp transparently? After Googled, I did not get some information on this topic. But, I think it is possible, because sctp is the superset of tcp. Could anyone give me some instruction or materials on it?

Add at UTC+8 7:57P.M Thank you all. I am sorry to talk wrongly. I mean I want to modify the linux kernel, enabling applications which used to transport by TCP to use SCTP transparently without any change of the application itself. So, the key point is patching the kernel. But, I don't know what to do.

Это было полезно?

Решение

This ability is already provided by the withsctp tool. It is part of the standard SCTP supporting tools on linux, lksctp-tools, and works by hooking existing binaries to use SCTP sockets instead of TCP sockets.

Другие советы

I think it is possible because SCTP is [a] superset of TCP.

You are mistaken. SCTP is not a superset of TCP[1]. Ergo it is not possible.

[1] http://porky.linuxjournal.com:8080/LJ/161/9748.html

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top