Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] PAN and security mode 3
@ 2004-01-30 19:41 Mark RISON
  2004-01-31 21:24 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Mark RISON @ 2004-01-30 19:41 UTC (permalink / raw)
  To: bluez-users

I wish to access files on laptop A from laptop B, using PAN.  I am
security-paranoid, however, so I want to make sure no-one else will be
able to access my precious files or snoop on my precious files as I
access them.

So what I want is for security mode 3 with authentication, encryption
and authorisation (although I might be prepared to consider security
mode 2 to allow SDP (only) to be accessible without security).

I've tried to RTFM, but I can't find any FM to R.  There seems to be
nothing (manpages, howtos, whatever) about the hcid.conf file, or
about the BlueZ security model.

Here are my questions, then.  If any of them are in a FM I've missed,
then I'd be happy just to be pointed at it.

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

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

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

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

- /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?)?

- Is there anything else I need to know about secure use of PAN/BlueZ?

Thanks in advance!

Mark

--
CPC/IP - A TCP/IP stack for Amstrad CPCs
-- http://www.nenie.org/cpcip/
"Z88 vs CPC? Christ. How did we miss that platform war?"
-- http://www.ntk.net/index.cgi?back=archive00/now0128.txt&line=110#l

_________________________________________________________________
There are now three new levels of MSN Hotmail Extra Storage!  Learn more. 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-31 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-30 19:41 [Bluez-users] PAN and security mode 3 Mark RISON
2004-01-31 21:24 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox