Return-Path: Date: Wed, 19 May 2010 05:48:01 -0300 From: "Gustavo F. Padovan" To: "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH v3] Bluetooth: Add blacklist support for incoming connections Message-ID: <20100519084715.GA11110@vigoh> References: <1274181632-29873-1-git-send-email-johan.hedberg@gmail.com> <20100519081037.GE6219@vigoh> <20100519082205.GA18772@jh-x301> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20100519082205.GA18772@jh-x301> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Johan, * Johan Hedberg [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. ;) -- Gustavo F. Padovan http://padovan.org