public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Bluetooth security in bluez ?
@ 2004-03-28 22:08 Thomas PEYRIN
  2004-03-28 22:28 ` Michal Semler (volny.cz)
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas PEYRIN @ 2004-03-28 22:08 UTC (permalink / raw)
  To: Bluez-users

hi everybody !

i'm interested in how is the bluetooth security
implemented in linux ... do bluez drivers take care of
that ? if yes, where is the corresponding source code
?? i didn't manage to find it !

thanks in advance !

a bluetooth noob


	

	
		
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Bluetooth security in bluez ?
  2004-03-28 22:08 [Bluez-users] Bluetooth security in bluez ? Thomas PEYRIN
@ 2004-03-28 22:28 ` Michal Semler (volny.cz)
  2004-03-28 22:56   ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Michal Semler (volny.cz) @ 2004-03-28 22:28 UTC (permalink / raw)
  To: bluez-users

Hi,

security can be enabled using security optin in hcid.conf - your dongle mus=
t=20
support it.

Michal

Dne po 29. b=C5=99ezna 2004 00:08 Thomas PEYRIN napsal(a):
> hi everybody !
>
> i'm interested in how is the bluetooth security
> implemented in linux ... do bluez drivers take care of
> that ? if yes, where is the corresponding source code
> ?? i didn't manage to find it !
>
> thanks in advance !
>
> a bluetooth noob
>
>
>
>
>
>
> Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
> Cr=C3=A9ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
>
> Dialoguez en direct avec vos amis gr=C3=A2ce =C3=A0 Yahoo! Messenger !T=
=C3=A9l=C3=A9chargez
> Yahoo! Messenger sur http://fr.messenger.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli=
ck
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Bluetooth security in bluez ?
  2004-03-28 22:28 ` Michal Semler (volny.cz)
@ 2004-03-28 22:56   ` Marcel Holtmann
  2004-04-01 10:29     ` [Bluez-users] " Anssi Saari
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2004-03-28 22:56 UTC (permalink / raw)
  To: cijoml; +Cc: BlueZ Mailing List

Hi Michal,

> security can be enabled using security optin in hcid.conf - your dongle must 
> support it.

setting auth and encrypt in hcid.conf enables security mode 3, which is
not what most people want. Leave it off and use security mode 1/2 and
let the remote device trigger the security mechanism.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] Re: Bluetooth security in bluez ?
  2004-03-28 22:56   ` Marcel Holtmann
@ 2004-04-01 10:29     ` Anssi Saari
  2004-04-01 10:40       ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Anssi Saari @ 2004-04-01 10:29 UTC (permalink / raw)
  To: BlueZ Mailing List

On Mon, Mar 29, 2004 at 12:56:57AM +0200, Marcel Holtmann wrote:
 
> setting auth and encrypt in hcid.conf enables security mode 3, which is
> not what most people want. Leave it off and use security mode 1/2 and
> let the remote device trigger the security mechanism.

How can you tell whether a connection is encrypted or not in Bluez if
security mode is 2?



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: Bluetooth security in bluez ?
  2004-04-01 10:29     ` [Bluez-users] " Anssi Saari
@ 2004-04-01 10:40       ` Marcel Holtmann
  2004-04-02 11:15         ` Anssi Saari
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2004-04-01 10:40 UTC (permalink / raw)
  To: Anssi Saari; +Cc: BlueZ Mailing List

Hi Anssi,

> > setting auth and encrypt in hcid.conf enables security mode 3, which is
> > not what most people want. Leave it off and use security mode 1/2 and
> > let the remote device trigger the security mechanism.
> 
> How can you tell whether a connection is encrypted or not in Bluez if
> security mode is 2?

check with "hcitool con"

Connections:
        < ACL 00:0A:xx:xx:xx:xx handle 43 state 1 lm MASTER ENCRYPT 

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] Re: Bluetooth security in bluez ?
  2004-04-01 10:40       ` Marcel Holtmann
@ 2004-04-02 11:15         ` Anssi Saari
  2004-04-02 11:35           ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Anssi Saari @ 2004-04-02 11:15 UTC (permalink / raw)
  To: BlueZ Mailing List

On Thu, Apr 01, 2004 at 12:40:08PM +0200, Marcel Holtmann wrote:
> Hi Anssi,
> 
> > > setting auth and encrypt in hcid.conf enables security mode 3, which is
> > > not what most people want. Leave it off and use security mode 1/2 and
> > > let the remote device trigger the security mechanism.
> > 
> > How can you tell whether a connection is encrypted or not in Bluez if
> > security mode is 2?
> 
> check with "hcitool con"
> 
> Connections:
>         < ACL 00:0A:xx:xx:xx:xx handle 43 state 1 lm MASTER ENCRYPT 

Great, thanks. Are RFCOMM connections for dialup usually encrypted? I
have Bray & Sturman's BT book, but it only mentions in passing that
"RFCOMM will enforce security for dialup networking" where it talks
about the security manager.

Anssi



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: Bluetooth security in bluez ?
  2004-04-02 11:15         ` Anssi Saari
@ 2004-04-02 11:35           ` Marcel Holtmann
  0 siblings, 0 replies; 7+ messages in thread
From: Marcel Holtmann @ 2004-04-02 11:35 UTC (permalink / raw)
  To: Anssi Saari; +Cc: BlueZ Mailing List

Hi Anssi,

> > > How can you tell whether a connection is encrypted or not in Bluez if
> > > security mode is 2?
> > 
> > check with "hcitool con"
> > 
> > Connections:
> >         < ACL 00:0A:xx:xx:xx:xx handle 43 state 1 lm MASTER ENCRYPT 
> 
> Great, thanks. Are RFCOMM connections for dialup usually encrypted? I
> have Bray & Sturman's BT book, but it only mentions in passing that
> "RFCOMM will enforce security for dialup networking" where it talks
> about the security manager.

the RFCOMM connection itself can't be encrypted, but the underlaying ACL
link can. The link is shared across every connection between two devices
and this means if you enforce once the encryption it is there for every
other RFCOMM, L2CAP etc. connection at that time. Some books don't make
this point very clear and talking about a security manager is another
topic, because the Bluetooth security mechanism are part of the lower
(hardware and firmware) layers.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-04-02 11:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-28 22:08 [Bluez-users] Bluetooth security in bluez ? Thomas PEYRIN
2004-03-28 22:28 ` Michal Semler (volny.cz)
2004-03-28 22:56   ` Marcel Holtmann
2004-04-01 10:29     ` [Bluez-users] " Anssi Saari
2004-04-01 10:40       ` Marcel Holtmann
2004-04-02 11:15         ` Anssi Saari
2004-04-02 11:35           ` Marcel Holtmann

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