Re: Query: OpenSSL compatibility with LK-SCTP Transport.

Michael Tüxen <Michael.Tuexen@lurchi.franken.de> Mon, 01 August 2011 08:12 UTC

Return-Path: <Michael.Tuexen@lurchi.franken.de>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D2CB021F84DF for <tsvwg@ietfa.amsl.com>; Mon, 1 Aug 2011 01:12:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.989
X-Spam-Level:
X-Spam-Status: No, score=-1.989 tagged_above=-999 required=5 tests=[AWL=0.310, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BGYeZsvHxkAw for <tsvwg@ietfa.amsl.com>; Mon, 1 Aug 2011 01:12:40 -0700 (PDT)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by ietfa.amsl.com (Postfix) with ESMTP id D071D21F84DD for <tsvwg@ietf.org>; Mon, 1 Aug 2011 01:12:39 -0700 (PDT)
Received: from [192.168.1.195] (p508FC7A4.dip.t-dialin.net [80.143.199.164]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 116981C0C0BCA; Mon, 1 Aug 2011 10:12:41 +0200 (CEST)
Subject: Re: Query: OpenSSL compatibility with LK-SCTP Transport.
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="windows-1252"
From: Michael Tüxen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <CALLaRWoTCucP2U9A=ak==t7U_mfxHJczjv-PKJ1E5cVxLqVPkQ@mail.gmail.com>
Date: Mon, 01 Aug 2011 10:12:41 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <DEC5DFC3-ABAE-445D-B080-BC7B473A863A@lurchi.franken.de>
References: <CALLaRWrW_Mzr5JpCXiyurWTSvsgWs2Wi_52pQKvX0NG7FZJN1Q@mail.gmail.com> <CALLaRWoTCucP2U9A=ak==t7U_mfxHJczjv-PKJ1E5cVxLqVPkQ@mail.gmail.com>
To: sandeep kandula <sandeep.emb@gmail.com>
X-Mailer: Apple Mail (2.1084)
Cc: tsvwg <tsvwg@ietf.org>, lksctp-developers <lksctp-developers@lists.sourceforge.net>, Rashm! Agrawal <rashmi.k.agrawal@gmail.com>
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tsvwg>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Aug 2011 08:12:40 -0000

On Aug 1, 2011, at 9:13 AM, sandeep kandula wrote:

> 
> Hi All,
> 
> I’m a new baby to open source world. Please forgive me, if I posted this query to a wrong mailing list.
> 
> Here is my query. Currently I have a proprietary application which uses LKSCTP (Open source SCTP implementation) stack. And I’m planning use the “Transport Layer Security” for the SCTP transport provided by the LKSCTP community, as suggested by RFC 3436. (http://www.ietf.org/rfc/rfc3436.txt)
> 
> Can somebody help me regarding this, by answering following quires?
> 
> 1.    Can I use TLS (Transport Layer Security) with LKSCTP, without losing any of my SCTP features? If “No” What are SCTP features I cannot use with TLS.
You can not use unordered delivery and PR-SCTP. Since OpenSSL does require a 1-to-1 relation
between SSL objects and BIOs, there is no easy way to use OpenSSL to realize TLS/SCTP.
To overcome this limitations you can use DTLS/SCTP, which is specified in
http://tools.ietf.org/html/rfc6083
and you can get an implementation for OpenSSL from
http://sctp.fh-muenster.de/dtls-patches.html
(at the table called 'Features' almost at the bottom of the page)
I supports recent versions of FreeBSD and LKSCTP in on a 3.0 kernel. You need a patch
for the netinet/sctp.h file, which I can send you privately.

I hope this clarifies also your other questions.

Best regards
Michael
> 2.    Is OPENSSL is correct choice for this? If “No” Why cannot I use OpenSSL for this? Do you have any other suggestion please help me.
> 3.    What are the limitations if I use the TLS for my application through SCTP transport? 
> 
> Please let me know if you have any suggestion or more information regarding the same.
> Thanks in advance for your help.
> 
> 
> 
> -- 
> Regards,
> Sandeep.