Return-Path: Subject: Re: [Bluez-devel] SDP queries when authentication/encryption are turned on From: Marcel Holtmann To: BlueZ Mailing List In-Reply-To: <20050223020808.14745.qmail@web52803.mail.yahoo.com> References: <20050223020808.14745.qmail@web52803.mail.yahoo.com> Content-Type: text/plain Message-Id: <1109132939.8506.113.camel@pegasus> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 23 Feb 2005 05:28:59 +0100 Hi Shawn, > If in hcid.conf I use these lines: > > auth enable; > encrypt enable; > > then when I do sdptool browse or sdptool search, it keeps prompting me > to bond with every Bluetooth device that it discovers. This does not > make sense, because the whole point of service discovery is to decide > what device you want to connect to, before having to bond with it. If > the device was requiring a bond before answering an SDP query, fine, > but the devices I have tested with do not - they will answer SDP > queries just fine without a bond, as long as I have commented out those > two lines in hcid.conf. Maybe this is a bug - IMO bluez should > probably ignore those settings for SDP, and always do SDP insecurely. > Otherwise "sdp search" becomes very impractical. At my office often 20 > or more devices will be involved in such a search, belonging to various > coworkers, some of whom I have not met, and I certainly do not want to > bond with all those devices; but I also do not want to turn off > authorization completely just so that I can do sdp queries. if you set your device into security mode 3, then this is what you get. As I have often said, do this only when you know what you are doing and what does this imply. Regards Marcel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel