Is configuration without sockets possible?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Is configuration without sockets possible?

Rutger Hofman-2
Hi list,

We are developing an embedded device where there are no
sockets. We have other communication media, though, like
radio signals, for which we need authentication/encryption,
and OpenSSL is an obvious choice for that.

Now, my question:
Is configuration of OpenSSL without sockets possible?
If so, how? If not, is there an easy way for me to factor
them out by hand?

Thanks,

Rutger Hofman
VU Amsterdam
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

RE: Is configuration without sockets possible?

Usman Riaz
Hi!
    One way is to use bio_pairs. There is an example of bio_pair usage in
'ssl_test.c' file in the OpenSSL package.
Hope this helps,
Regards,
Usman.

>From: Rutger Hofman <[hidden email]>
>Reply-To: [hidden email]
>To: [hidden email]
>Subject: Is configuration without sockets possible?
>Date: Mon, 13 Feb 2006 16:10:56 +0100
>MIME-Version: 1.0
>X-Sender: Rutger Hofman <[hidden email]>
>Received: from mmx1.engelschall.com ([195.30.6.154]) by
>bay0-mc12-f13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon,
>13 Feb 2006 07:12:30 -0800
>Received: by mmx1.engelschall.com (Postfix)id 0395A5643B; Mon, 13 Feb 2006
>16:11:01 +0100 (CET)
>Received: from master.openssl.org (master.openssl.org [195.30.6.166])by
>mmx1.engelschall.com (Postfix) with ESMTP id EA3EE5643Afor
><[hidden email]>; Mon, 13 Feb 2006 16:11:00 +0100
>(CET)
>Received: by master.openssl.org (Postfix)id 263651AC64B9; Mon, 13 Feb 2006
>16:11:00 +0100 (CET)
>Received: by master.openssl.org (Postfix, from userid 29101)id
>2445E1AC649D; Mon, 13 Feb 2006 16:11:00 +0100 (CET)
>Received: from flits.few.vu.nl (flits.few.vu.nl [192.31.231.65])by
>master.openssl.org (Postfix) with ESMTP id 04CA01AC64B7for
><[hidden email]>; Mon, 13 Feb 2006 16:10:58 +0100 (CET)
>Received: from cs.vu.nl (mercury.cs.vu.nl [130.37.193.14])by
>flits.few.vu.nl with esmtp (Smail #108)id m1F8fLs-00024SC; Mon, 13 Feb 2006
>16:10 +0100
>X-Message-Info: v3EOnANkQL1DX/OLuxzxm+nFJtdJr3McCTYzkCwgCT0=
>Delivered-To: [hidden email]
>X-Original-To: [hidden email]
>Delivered-To: [hidden email]
>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
>X-Accept-Language: en-us, en
>Precedence: bulk
>X-List-Manager: OpenSSL Majordomo [version 1.94.5]
>X-List-Name: openssl-users
>Return-Path: [hidden email]
>X-OriginalArrivalTime: 13 Feb 2006 15:12:31.0254 (UTC)
>FILETIME=[E8F6DB60:01C630AF]
>
>Hi list,
>
>We are developing an embedded device where there are no
>sockets. We have other communication media, though, like
>radio signals, for which we need authentication/encryption,
>and OpenSSL is an obvious choice for that.
>
>Now, my question:
>Is configuration of OpenSSL without sockets possible?
>If so, how? If not, is there an easy way for me to factor
>them out by hand?
>
>Thanks,
>
>Rutger Hofman
>VU Amsterdam
>______________________________________________________________________
>OpenSSL Project                                 http://www.openssl.org
>User Support Mailing List                    [hidden email]
>Automated List Manager                           [hidden email]

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Is configuration without sockets possible?

Rutger Hofman-2
Yes, thanks, I know about bio_pairs, and I think I know how to
build an SSL channel over my custom communications device --
at least, in principle I do.

I think I have been to terse in my original post.

The problem is: I don't have anything like <sys/socket.h>,
so the configuration should be done in such a way that e.g. bss_fd.c
and bss_socket.c are not compiled.

Rutger

Usman Riaz wrote:

> Hi!
>    One way is to use bio_pairs. There is an example of bio_pair usage in
> 'ssl_test.c' file in the OpenSSL package.
> Hope this helps,
> Regards,
> Usman.
>
>> From: Rutger Hofman <[hidden email]>
>>
>> Hi list,
>>
>> We are developing an embedded device where there are no
>> sockets. We have other communication media, though, like
>> radio signals, for which we need authentication/encryption,
>> and OpenSSL is an obvious choice for that.
>>
>> Now, my question:
>> Is configuration of OpenSSL without sockets possible?
>> If so, how? If not, is there an easy way for me to factor
>> them out by hand?
>>
>> Thanks,
>>
>> Rutger Hofman
>> VU Amsterdam
>> ______________________________________________________________________
>> OpenSSL Project                                 http://www.openssl.org
>> User Support Mailing List                    [hidden email]
>> Automated List Manager                           [hidden email]
>
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [hidden email]
> Automated List Manager                           [hidden email]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Is configuration without sockets possible?

Dr. Stephen Henson
On Mon, Feb 13, 2006, Rutger Hofman wrote:

> Yes, thanks, I know about bio_pairs, and I think I know how to
> build an SSL channel over my custom communications device --
> at least, in principle I do.
>
> I think I have been to terse in my original post.
>
> The problem is: I don't have anything like <sys/socket.h>,
> so the configuration should be done in such a way that e.g. bss_fd.c
> and bss_socket.c are not compiled.
>

You can try compiling with OPENSSL_NO_SOCK. That should in theory do what you
want. However I don't know if it has been tested recently with that option so
you may have to perform some minor or major tweaks to ensure all cases are
covered.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]