public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Shawn Rutledge <e_cloud@yahoo.com>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] SDP queries when authentication/encryption are turned on
Date: Tue, 22 Feb 2005 18:08:07 -0800 (PST)	[thread overview]
Message-ID: <20050223020808.14745.qmail@web52803.mail.yahoo.com> (raw)

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.


=====
. _______  Shawn T. Rutledge / KB7PWD ecloud@bigfoot.com
 (_  | |_)    http://ecloud.org/  kb7pwd@kb7pwd.ampr.org
 __) | | \______________________________________________


-------------------------------------------------------
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

             reply	other threads:[~2005-02-23  2:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-23  2:08 Shawn Rutledge [this message]
2005-02-23  4:28 ` [Bluez-devel] SDP queries when authentication/encryption are turned on Marcel Holtmann
2005-02-23  9:44   ` Fred Schaettgen
2005-02-24 10:43     ` Marcel Holtmann
2005-02-24 12:22       ` Fred Schaettgen
2005-02-28  8:28         ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050223020808.14745.qmail@web52803.mail.yahoo.com \
    --to=e_cloud@yahoo.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox