Hi Gustavo, On Wed, May 19, 2010 at 10:48 AM, Gustavo F. Padovan <gustavo@xxxxxxxxxxx> wrote: > Hi Johan, > > * Johan Hedberg <johan.hedberg@xxxxxxxxx> [2010-05-19 10:22:05 +0200]: > >> Hi Gustavo, >> >> On Wed, May 19, 2010, Gustavo F. Padovan wrote: >> > > In some circumstances it could be desirable to reject incoming >> > > connections on the baseband level. This patch adds this feature through >> > > two new ioctl's: HCIBLOCKADDR and HCIUNBLOCKADDR. Both take a simple >> > > Bluetooth address as a parameter. BDADDR_ANY can be used with >> > > HCIUNBLOCKADDR to remove all devices from the blacklist. >> > >> > Which circumstances? >> >> Whenever you have a badly behaving remote device that keeps on trying to >> connect to you (e.g. an OPP spambot or someone trying to actively DoS >> you). I gave some more details in my reply to Jaikumar a few days ago on >> this mailing list. > > Nice. Patch looks ok to me by the way. ;) Its also very, almost a must, convenient when doing interoperability testing in some events like upf where we have a lot (annoying) devices trying to reconnect to us while we are testing with other devices. @ Johan, Blocked does supersedes Trusted right? Maybe we should rework those properties (deprecate them?) to something like Authorization which takes a string where lets say can assume these values: "deny" ("block"), "ask" or "allow". -- Luiz Augusto von Dentz Computer Engineer -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html