1
linux/include/net/bluetooth
Marcel Holtmann 77db198056 [Bluetooth] Enforce security for outgoing RFCOMM connections
Recent tests with various Bluetooth headsets have shown that some of
them don't enforce authentication and encryption when connecting. All
of them leave it up to the host stack to enforce it. Non of them should
allow unencrypted connections, but that is how it is. So in case the
link mode settings require authentication and/or encryption it will now
also be enforced on outgoing RFCOMM connections. Previously this was
only done for incoming connections.

This support has a small drawback from a protocol level point of view
since the host stack can't really tell with 100% certainty if a remote
side is already authenticated or not. So if both sides are configured
to enforce authentication it will be requested twice. Most Bluetooth
chips are caching this information and thus no extra authentication
procedure has to be triggered over-the-air, but it can happen.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2008-07-14 20:13:45 +02:00
..
bluetooth.h bluetooth: Make hci_sock_cleanup() return void 2008-03-05 18:47:03 -08:00
hci_core.h [Bluetooth] Add support for handling simple eSCO links 2007-10-22 02:59:47 -07:00
hci.h [Bluetooth] Switch from OGF+OCF to using only opcodes 2007-10-22 02:59:40 -07:00
l2cap.h [Bluetooth] Fall back to L2CAP in basic mode 2007-10-22 02:59:43 -07:00
rfcomm.h [Bluetooth] Enforce security for outgoing RFCOMM connections 2008-07-14 20:13:45 +02:00
sco.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00