2007-04-05 15:07:21

by Adolfo Bulfoni

[permalink] [raw]
Subject: Re: [Bluez-devel] intercept new authentication events

Hi Marcel
thanks for your quick reply.

I've checked the passkey-agent util program in /bluez-utils/daemon/ and if =

I try running it, an error message comes up saying there is already a =

passkey agent running on my PC.
How can I intercept the events sent by this agent? What are the functions =

that need to be called to get the output events from it?
A "dirty" workaround for my app might be to tail the /var/log/syslog file, =

where the pin_code_request event is logged, together with the remote device =

address. But I'd prefer a cleaner solution.
Thanks in advance,
regards

Adolfo

_________________________________________________________________
Ami i Quiz? Mettiti alla prova con Duell Live=85Gratis su Messenger! =

http://specials.it.msn.com/DuelLive.aspx


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2007-04-05 18:11:34

by Claudio Takahasi

[permalink] [raw]
Subject: Re: [Bluez-devel] intercept new authentication events

On 4/5/07, Adolfo Bulfoni <[email protected]> wrote:
> Hi Marcel
> thanks for your quick reply.
>
> I've checked the passkey-agent util program in /bluez-utils/daemon/ and if
> I try running it, an error message comes up saying there is already a
> passkey agent running on my PC.
> How can I intercept the events sent by this agent? What are the functions
> that need to be called to get the output events from it?
> A "dirty" workaround for my app might be to tail the /var/log/syslog file,
> where the pin_code_request event is logged, together with the remote device
> address. But I'd prefer a cleaner solution.
> Thanks in advance,
> regards
>
> Adolfo
>

Hi Adolfo,

You can develop your own passkey agent. Here is a brief description
how the passkey agent works:
http://wiki.bluez.org/wiki/Security


BR,
Claudio

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel