apple bluetooth keyboard

Maksim Yevmenkin maksim.yevmenkin at savvis.net
Thu Mar 9 11:14:14 PST 2006


Iain Hibbert wrote:
> On Tue, 7 Mar 2006, Maksim Yevmenkin wrote:
> 
>>Iain Hibbert wrote:
>>
>>>baseband connection, then 'red' can access the device through another
>>>L2CAP or RFCOMM socket (well, they can in my world :)
>>
>>you can do it with freebsd. i can open baseband by hand (as root) and then do
>>sdp query and/or rfcomm session as another user. i'm not following you here.
> 
> My thought is exactly that. Once a device is authenticated, there is no
> way to restrict user access. User 'blue' might wish to copy pictures from
> his mobile phone, but that does not necessarily mean that user 'red'
> should be able to send a fax to a premium rate number..

well, this is the wrong protocol layer to implement this kind of 
restrictions. you simply do not have enough information to make a proper 
decision. it is up to the services themselves to verify user credentials 
  and allow (or deny) access to the service.

obex, for example, has built-in authentication facility. and, in theory, 
it is possible to authenticate obex requests (much like http).

serial port profile, on the other hand, does not have built-in 
authentication facility.

bluetooth is obviously positioned for personal use. so, "single pin code 
gives access to all services" model works here.

> I am ignoring this issue for now though, its too complex and I just want
> to get it working (which it does, I did some internet surfing at 9600bps
> for a while yesterday :)

cool!

thanks,
max


More information about the freebsd-bluetooth mailing list