help-gnutls
[Top][All Lists]
Advanced

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

Re: [SPAM] Re: [Help-gnutls] TLS and SCTP


From: Sebastien Decugis
Subject: Re: [SPAM] Re: [Help-gnutls] TLS and SCTP
Date: Mon, 04 Aug 2008 10:17:32 +0900
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Thank you for reply.

I have continued this thread on the gnutls-devel mailing-list.

Sebastien.

I'm not familiar with SCTP but I'll try to reply.

I understand how to specify my own transport-layer handlers in GNU TLS
with the set_push_function and set_pull_function, but I think it is not
sufficient support to handle the TLS over the multiple streams as
expected. We can create a wrapper function to send data on a specific
stream, but not to receive only from a given stream. The logic must be:
we receive a message, we can retrieve its stream number, and then we
know the TLS context (session) this message belongs to. I cannot see a
way to achieve this with the API of gnutls.

As far as I understand SCTP is that it is a reliable connection with
multiple streams. For that I'd treat each stream a separate connection
and provide different push/pull functions for each stream.

If the number of streams are undefined a thought of mine would be to
have a multiplexer that will receive messages and tag them appropriately
so the the proper recv function will receive them. Of course this would
require to use custom transport ptr and custom recv/send functions.

regards,
Nikos


--
Sebastien Decugis
Research fellow
Network Architecture Group
NICT (nict.go.jp)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]