From: Marcel Holtmann <marcel@holtmann.org>
To: Mark RISON <mrison@hotmail.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] PAN and security mode 3
Date: Sat, 31 Jan 2004 22:24:46 +0100 [thread overview]
Message-ID: <1075584286.2720.88.camel@pegasus> (raw)
In-Reply-To: <BAY8-F97aHyJBu3pQBo0002a6ce@hotmail.com>
Hi Mark,
> - If in the "device" part of hcid.conf I put "auth enable" and
> "encrypt enable", does this enforce security mode 3 for all (incoming
> and outgoing) connections, or do I need to make sure appropriate
> settings are specified in other files/utilities (and if so, which?)?
yes.
> - If I only start the PAN daemon, does this guarantee that no other
> profiles will be running (i.e. only PAN will allow access to the
> laptop)?
Of course you will need hcid and sdpd, too. But if you only have pand
running you have only support for the PAN profile. To be sure check what
listen sockets /proc/bluetooth/l2cap and /proc/bluetooth/rfcomm say.
> - Can "auth enable" and "encrypt enable" in hcid.conf be overwritten
> by command-line utility/daemon arguments, or is this a bullet-proof
> way to enfore security mode 3 irrespective of "user error"?
Yes. The difference between security mode 3 and not is device dependent
and has nothing to with any local daemon. See
hciconfig hci0 noencrypt
hciconfig hci0 noauth
> - How does authorisation work in BlueZ? Ideally I'd like to be able
> to specify a list of BD_ADDRs to (exclusively) authorise for PAN, but
> if it's necessary for all connection requests to be manually
> authorised, that's better than nothing.
This is currently not implemented and the best way to do this is in pand
directly. Otherwise the kernel have to control a black- or whitelist of
device addresses and I don't think that is a good idea.
> - /etc/bluetooth/link_keys appears to be where link keys resulting
> from pairing are stored. Is this correct, and if so, what is the
> format, and will deleting this file remove all pairing information (or
> do I need to delete something else somewhere else?)?
Yes, it will remove all pairings. For the format look at the source.
Regards
Marcel
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2004-01-31 21:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-30 19:41 [Bluez-users] PAN and security mode 3 Mark RISON
2004-01-31 21:24 ` Marcel Holtmann [this message]
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=1075584286.2720.88.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=mrison@hotmail.com \
/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