public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] RFCOMM Security
@ 2008-05-31 16:24 Mina Shokry
  2008-06-08  1:40 ` Vlad Skarzhevskyy
  0 siblings, 1 reply; 2+ messages in thread
From: Mina Shokry @ 2008-05-31 16:24 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 192 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 208 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] RFCOMM Security
  2008-05-31 16:24 [Bluez-devel] RFCOMM Security Mina Shokry
@ 2008-06-08  1:40 ` Vlad Skarzhevskyy
  0 siblings, 0 replies; 2+ messages in thread
From: Vlad Skarzhevskyy @ 2008-06-08  1:40 UTC (permalink / raw)
  To: BlueZ development

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-08  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-31 16:24 [Bluez-devel] RFCOMM Security Mina Shokry
2008-06-08  1:40 ` Vlad Skarzhevskyy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox