Return-Path: Message-ID: <9d47cfd0512061151xc2cf038sd7def9e9035fb465@mail.gmail.com> From: Abu hasnat Sayem To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] Encryption In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4593_16188624.1133898667441" References: <9d47cfd0512011325x4de6e0a6wbd78806c2072dc5f@mail.gmail.com> <1133500233.15695.3.camel@panic> <9d47cfd0512050808y8eee708maa10fca8f1cc7f4a@mail.gmail.com> Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 6 Dec 2005 13:51:07 -0600 ------=_Part_4593_16188624.1133898667441 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I had tried using dund with the following two commands for authentication and encription: dund -i hci0 -s -A -E dund -i hci1 -c 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 wrote: > > replace L2CAP_LM_ENCRYPT with RFCOMM_LM_ENCRYPT, etc... > also see dund > > -albert > > On 12/5/05, Abu hasnat Sayem 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 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 > > > BETAVERSiON Systems [ www.betaversion.net] > > > info/pgp: finger collin@betaversion.net > > > Don't talk just code! > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through lo= g > > > 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=3D7637&alloc_id=3D16865&op=3Dclick > > > _______________________________________________ > > > Bluez-devel mailing list > > > Bluez-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/bluez-devel > > > > > > > > ------=_Part_4593_16188624.1133898667441 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I had tried using dund with the following two commands for authentication a= nd encription:=20
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 el= se before using dund..
 
Abu


On 12/5/05, = Albert Huang <ashuang@gmail.com= > wrote:
replace L2CAP_LM_ENCRYPT with RF= COMM_LM_ENCRYPT, etc...
also see dund

-albert<= /span> =20


On 12/5/05, = Abu hasnat Sayem <ahsayem@gmail= .com > wrote:=20
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 <collin= @betaversion.net=20 > wrote:=20
Hi Abu,

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

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

or che= ck sobexsrv (htt= p://www.mulliner.org/bluetooth/sobexsrv.php=20 )

... Collin

--
Collin R. Mulliner <collin@betaversion.net>
BETAVERSiON Sy= stems [ www.betaversion.net]
info/p= gp: finger collin@betaversion.net
Don't talk just code!



--------= -----------------------------------------------
This SF.net email is spo= nsored by: Splunk Inc. Do you grep through log files
for problems? =  Stop!  Download the new AJAX search engine that makes=20
searching your log files as easy as surfing the  web. &n= bsp;DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick_______________________________________________
Bluez-devel mailing li= st
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/lis= tinfo/bluez-devel


<= /div>

------=_Part_4593_16188624.1133898667441-- ------------------------------------------------------- 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 Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel