public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Vlad Skarzhevskyy" <skarzhevskyy@gmail.com>
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] RFCOMM Security
Date: Sat, 7 Jun 2008 21:40:38 -0400	[thread overview]
Message-ID: <cc1649d10806071840q63bc169alf7d2073ffd29b339@mail.gmail.com> (raw)
In-Reply-To: <fdd96f380805310924l7aca51b2t489a25307aaba5b2@mail.gmail.com>

Marcel,
 I would like to rephrase this question. This is again all about
BlueCove JSR-82.

 When we open socket for client connection there is an options for
setsockopt  RFCOMM_LM_AUTH and RFCOMM_LM_ENCRYPT as far as I can see
they don't change the connection settings.  The same for L2CAP
connections: only we tried L2CAP_LM_AUTH

 I do calls in this sequence: socket, bind, setsockopt, connect
 But the connection does not get authenticated. (pairing procedure not started)

 The problem does not apply for RFCOMM/L2CAP service when service
created and I want only authenticated connections to be accepted we
use socket(),bind(), setsockopt(RFCOMM_LM_AUTH), listen().  Then when
client connects.  The system will initiate pairing procedure.

 Is this unimplemented feature of BlueZ for client connections of we
are not using it right?

 Our code is here:
http://code.google.com/p/bluecove/source/browse/bluecove-gpl/trunk/src/main/c/

Regards,
Vlad Skarzhevskyy
http://bluecove.org

On 5/31/08, Mina Shokry <minashokry@gmail.com> wrote:
> Hello all
> I have a question regarding BlueZ
> does bluez support rfcomm connection security (eg. authenticate and
> encrypt)?
> if yes, please can anyone give an example (C code)?
> thanks in advance
>
> -------------------------------------------------------------------------
>  This SF.net email is sponsored by: Microsoft
>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
>  Bluez-devel mailing list
>  Bluez-devel@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2008-06-08  1:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31 16:24 [Bluez-devel] RFCOMM Security Mina Shokry
2008-06-08  1:40 ` Vlad Skarzhevskyy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc1649d10806071840q63bc169alf7d2073ffd29b339@mail.gmail.com \
    --to=skarzhevskyy@gmail.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox