Re: [Bluez-users] Re: Bluetooth security in bluez ?

Marcel Holtmann
2004-04-02T11:35:02Z

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