From owner-freebsd-bluetooth@FreeBSD.ORG Thu Feb 22 17:43:14 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C803216A400 for ; Thu, 22 Feb 2007 17:43:14 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.230]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8A713C494 for ; Thu, 22 Feb 2007 17:43:14 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so236862nzh for ; Thu, 22 Feb 2007 09:43:14 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K/1wrWVvDZUNguHPbKb+QO+oA9oGoPwCv6jynP5FlgqHC2iNUTy1hgWmPqDpyqgD4lOROlyIcDdsxWPV1PhO9G3eyYBVKSmBNUFmj3cWKG7NlUJdG1wGkBIegT8r3xSSvxGLmQiV/4ElzIT4VdjzSXY50HQj5/WQuwiRuNN03TY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a3IpJQ5qVnoLJoHQTJ2QbaGro38/P0XUuS4KS3q2TRQNOgC9SEjPnAMSe3wWlLC/My61lFS1IN94/IE15DfmkLcUSFgnYN2hzDChLMzn+DZ8zU5h1GvT0VhvkjqoMWLeIx91LqIIa2irbXXit745OLOkfd5ICqmpDRiY3S/ai3Y= Received: by 10.65.43.5 with SMTP id v5mr1560511qbj.1172166193885; Thu, 22 Feb 2007 09:43:13 -0800 (PST) Received: by 10.65.137.17 with HTTP; Thu, 22 Feb 2007 09:43:13 -0800 (PST) Message-ID: Date: Thu, 22 Feb 2007 09:43:13 -0800 From: "Maksim Yevmenkin" To: plunky@rya-online.net In-Reply-To: <45dd83a3.33a.2350.278725879@rya-online.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45dd83a3.33a.2350.278725879@rya-online.net> Cc: freebsd-bluetooth@freebsd.org Subject: Re: obexapp 1.4.5 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 17:43:14 -0000 On 2/22/07, Iain Hibbert wrote: > > > I will look into this a bit more, maybe if I arrange to > > > send() an zero length message before changing the uid it > > > may work, though I'm not sure how well sdpd will handle > > that.. > > > > i'm not sure what are you suggesting > > My thought was that a zero length message (sent at the end > of sdp_open_local()) would create a message event for sdpd > that only contains the SCM_CREDS message. Thus, we pass the > credentials before they are changed.. ah, i see. i was thinking exactly the same, except that i would like to make authentication procedure between local sdp client and local sdp server well defined and mandatory. right now, sdpd simply uses getsockopt() to pull cached (inside socket) peers credentials (i.e. no messages flow between the client and the server) thanks, max