portmap between SCTP and TCP ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I was wondering if something existed that "NAT"ted/portmap SCTP to TCP.
A Bump In the API or preload would suffice to make this work.

Hijack the listen() function to listen on both the TCP and SCTP port,
though that would require 2 sockets and thus app support.
It would possibly be easier to do when the kernel handles this
or there was a possiblity to portmap SCTP->TCP thus keeping
the original source address, which is known.

Let the connect() function first try SCTP and if that fails
let it connect over TCP. This could be done using a BIA trick.

This would greatly enhance the number of applications that
support SCTP as suddenly everything supports it.

There is a bit of overhead in that every SCTP connect will
be refused if the remote host doesn't do SCTP at all.
This could be resolved by having a little cache for ip pairs
that don't support SCTP, eg 'SCPT connect fails, don't try
the trick next time when trying this host for the coming <n> days'

Greets,
 Jeroen

-----BEGIN PGP SIGNATURE-----
Version: Unfix PGP for Outlook
Comment: Jeroen Massar / http://unfix.org/~jeroen/

iQBGBAERAgAQCRApqihSMz58IwUCQFxLoAAA8VYAnjStRK2iP4GbNaTyDwfxd2s7
xwrRAKCkbhbjUO1F/g009oy8onSy7WjU9Q==
=YSAt
-----END PGP SIGNATURE-----

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux