NetBSD/usr.sbin/btdevctl
plunky f5db72e7b7 Add 'service level' security for L2CAP and RFCOMM connections, following
the Linux (BlueZ) API.

    - L2CAP or RFCOMM connections can require the baseband radio link
    mode be any of:
	authenticated (devices are paired)
	encrypted (implies authentication)
	secured (encryption, plus generate new link key)

    - for sockets, the mode is set using setsockopt(2) and the socket
    connection will be aborted if the mode change fails.

    - mode settings will be applied during connection establishment, and
    for safety, we enter a wait state and will only proceed when the mode
    settings are successfuly set.

    - It is possible to change the mode on already open connections, but
    not possible to guarantee that data already queued (from either end)
    will not be delivered. (this is a feature, not a bug)

    - bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and
    "secure" options

    - btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for
    keyboards (which are required to support it)
2007-04-21 06:15:22 +00:00
..
btdevctl.8 Add 'service level' security for L2CAP and RFCOMM connections, following 2007-04-21 06:15:22 +00:00
btdevctl.c Add 'service level' security for L2CAP and RFCOMM connections, following 2007-04-21 06:15:22 +00:00
btdevctl.h Add 'service level' security for L2CAP and RFCOMM connections, following 2007-04-21 06:15:22 +00:00
db.c Add 'service level' security for L2CAP and RFCOMM connections, following 2007-04-21 06:15:22 +00:00
Makefile
print.c Add 'service level' security for L2CAP and RFCOMM connections, following 2007-04-21 06:15:22 +00:00
sdp.c Add 'service level' security for L2CAP and RFCOMM connections, following 2007-04-21 06:15:22 +00:00