2005-12-01 21:25:31

by Abu hasnat Sayem

[permalink] [raw]
Subject: [Bluez-devel] Encryption

I am working on doing Encryption and Authentication at the RFCOMM and L2CAP
level using BlueZ. I would like to know if there exists certain function
calls to accompolish it or i have to incorporate new code in it.


Attachments:
(No filename) (214.00 B)
(No filename) (249.00 B)
Download all attachments

2005-12-06 19:51:07

by Abu hasnat Sayem

[permalink] [raw]
Subject: Re: [Bluez-devel] Encryption

I had tried using dund with the following two commands for authentication
and encription: dund -i hci0 -s -A -E
dund -i hci1 -c <bdaddr(hci0)>
For some reason it is not connecting...I ran hcidump on hci0
Let me know if I am not doing it right..do ihave initiate something else
before using dund..

Abu


On 12/5/05, Albert Huang <[email protected]> wrote:
>
> replace L2CAP_LM_ENCRYPT with RFCOMM_LM_ENCRYPT, etc...
> also see dund
>
> -albert
>
> On 12/5/05, Abu hasnat Sayem <[email protected]> wrote:
> >
> > Collin,
> >
> > pand does it at the L2CAP level, i am working to provide encryption at
> > the RFCOMM level..
> > Is it possible to do so via some function calls...
> >
> > Abu
> >
> >
> > On 12/1/05, Collin R. Mulliner <[email protected] > wrote:
> > >
> > > Hi Abu,
> > >
> > > On Thu, 2005-12-01 at 15:25 -0600, Abu hasnat Sayem wrote:
> > > > I am working on doing Encryption and Authentication at the RFCOMM
> > > and
> > > > L2CAP level using BlueZ. I would like to know if there exists
> > > certain
> > > > function calls to accompolish it or i have to incorporate new code
> > > in
> > > > it.
> > >
> > > this is done via setsockopt(2), take a look at:
> > > /usr/src/bluez-utils-2.22/pand/main.c (search for SECURE)
> > >
> > > or check sobexsrv (http://www.mulliner.org/bluetooth/sobexsrv.php )
> > >
> > > ... Collin
> > >
> > > --
> > > Collin R. Mulliner <[email protected]>
> > > BETAVERSiON Systems [ http://www.betaversion.net]
> > > info/pgp: finger [email protected]
> > > Don't talk just code!
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > > files
> > > for problems? Stop! Download the new AJAX search engine that makes
> > > searching your log files as easy as surfing the web. DOWNLOAD
> > > SPLUNK!
> > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> > > _______________________________________________
> > > Bluez-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/bluez-devel
> > >
> >
> >
>


Attachments:
(No filename) (2.08 kB)
(No filename) (4.07 kB)
Download all attachments

2005-12-05 16:19:42

by Albert Huang

[permalink] [raw]
Subject: Re: [Bluez-devel] Encryption

replace L2CAP_LM_ENCRYPT with RFCOMM_LM_ENCRYPT, etc...
also see dund

-albert

On 12/5/05, Abu hasnat Sayem <[email protected]> wrote:
>
> Collin,
>
> pand does it at the L2CAP level, i am working to provide encryption at the
> RFCOMM level..
> Is it possible to do so via some function calls...
>
> Abu
>
>
> On 12/1/05, Collin R. Mulliner <[email protected]> wrote:
> >
> > Hi Abu,
> >
> > On Thu, 2005-12-01 at 15:25 -0600, Abu hasnat Sayem wrote:
> > > I am working on doing Encryption and Authentication at the RFCOMM and
> > > L2CAP level using BlueZ. I would like to know if there exists certain
> > > function calls to accompolish it or i have to incorporate new code in
> > > it.
> >
> > this is done via setsockopt(2), take a look at:
> > /usr/src/bluez-utils-2.22/pand/main.c (search for SECURE)
> >
> > or check sobexsrv (http://www.mulliner.org/bluetooth/sobexsrv.php)
> >
> > ... Collin
> >
> > --
> > Collin R. Mulliner <[email protected]>
> > BETAVERSiON Systems [http://www.betaversion.net]
> > info/pgp: finger [email protected]
> > Don't talk just code!
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files
> > for problems? Stop! Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> > _______________________________________________
> > Bluez-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bluez-devel
> >
>
>


Attachments:
(No filename) (1.60 kB)
(No filename) (3.27 kB)
Download all attachments

2005-12-05 16:08:45

by Abu hasnat Sayem

[permalink] [raw]
Subject: Re: [Bluez-devel] Encryption

Collin,

pand does it at the L2CAP level, i am working to provide encryption at the
RFCOMM level..
Is it possible to do so via some function calls...

Abu


On 12/1/05, Collin R. Mulliner <[email protected]> wrote:
>
> Hi Abu,
>
> On Thu, 2005-12-01 at 15:25 -0600, Abu hasnat Sayem wrote:
> > I am working on doing Encryption and Authentication at the RFCOMM and
> > L2CAP level using BlueZ. I would like to know if there exists certain
> > function calls to accompolish it or i have to incorporate new code in
> > it.
>
> this is done via setsockopt(2), take a look at:
> /usr/src/bluez-utils-2.22/pand/main.c (search for SECURE)
>
> or check sobexsrv (http://www.mulliner.org/bluetooth/sobexsrv.php)
>
> ... Collin
>
> --
> Collin R. Mulliner <[email protected]>
> BETAVERSiON Systems [http://www.betaversion.net]
> info/pgp: finger [email protected]
> Don't talk just code!
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>


Attachments:
(No filename) (1.38 kB)
(No filename) (2.20 kB)
Download all attachments

2005-12-02 05:10:33

by Collin R. Mulliner

[permalink] [raw]
Subject: Re: [Bluez-devel] Encryption

Hi Abu,

On Thu, 2005-12-01 at 15:25 -0600, Abu hasnat Sayem wrote:
> I am working on doing Encryption and Authentication at the RFCOMM and
> L2CAP level using BlueZ. I would like to know if there exists certain
> function calls to accompolish it or i have to incorporate new code in
> it.

this is done via setsockopt(2), take a look at:
/usr/src/bluez-utils-2.22/pand/main.c (search for SECURE)

or check sobexsrv (http://www.mulliner.org/bluetooth/sobexsrv.php)

... Collin

--
Collin R. Mulliner <[email protected]>
BETAVERSiON Systems [http://www.betaversion.net]
info/pgp: finger [email protected]
Don't talk just code!



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel