All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v1 0/3] Add tests for security of deferred setup
@ 2026-11-19 22:15 Luiz Augusto von Dentz
  2026-11-19 22:15 ` [PATCH BlueZ v1 1/3] emulator/bthost: Add helpers to test " Luiz Augusto von Dentz
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Luiz Augusto von Dentz @ 2026-11-19 22:15 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This adds tests for listeners using BT_DEFER_SETUP when the security
of the link changes, or is still pending, while a connection waits to be
authorized, along with the bthost helpers they need.

The following tests depend on the kernel series starting with
"[PATCH v2 1/2] Bluetooth: L2CAP: check security before completing a
BR/EDR connection" and fail without it:

L2CAP BR/EDR Server - Defer Encryption Off
L2CAP BR/EDR Server - Defer Early Accept

The remaining tests pass with and without the kernel changes, they
cover paths that had no tests: deferred setup with BR/EDR, LE and
RFCOMM, and a connection being blocked when pairing fails after the
request has been responded as pending.

Luiz Augusto von Dentz (3):
  emulator/bthost: Add helpers to test security of deferred setup
  l2cap-tester: Add tests for security of deferred setup
  rfcomm-tester: Add tests for deferred setup

 emulator/bthost.c     |  75 ++++++++++++++
 emulator/bthost.h     |   6 ++
 tools/l2cap-tester.c  | 236 ++++++++++++++++++++++++++++++++++++++++++
 tools/rfcomm-tester.c | 146 ++++++++++++++++++++++++++
 4 files changed, 463 insertions(+)

-- 
2.56.0


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

end of thread, other threads:[~2026-11-20  0:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19 22:15 [PATCH BlueZ v1 0/3] Add tests for security of deferred setup Luiz Augusto von Dentz
2026-11-19 22:15 ` [PATCH BlueZ v1 1/3] emulator/bthost: Add helpers to test " Luiz Augusto von Dentz
2026-11-20  0:55   ` Add tests for " bluez.test.bot
2026-11-19 22:15 ` [PATCH BlueZ v1 2/3] l2cap-tester: " Luiz Augusto von Dentz
2026-11-19 22:15 ` [PATCH BlueZ v1 3/3] rfcomm-tester: Add tests for " Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.