From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 25 23:00:43 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F6F716A4DA for ; Fri, 25 Aug 2006 23:00:43 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD18643D49 for ; Fri, 25 Aug 2006 23:00:42 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7PN0gvo051789 for ; Fri, 25 Aug 2006 23:00:42 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7PN0gRZ051788; Fri, 25 Aug 2006 23:00:42 GMT (envelope-from gnats) Resent-Date: Fri, 25 Aug 2006 23:00:42 GMT Resent-Message-Id: <200608252300.k7PN0gRZ051788@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dave Eckhardt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA53D16A4E7 for ; Fri, 25 Aug 2006 22:56:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A253243D53 for ; Fri, 25 Aug 2006 22:56:16 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7PMuGd1021402 for ; Fri, 25 Aug 2006 22:56:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7PMuGfo021401; Fri, 25 Aug 2006 22:56:16 GMT (envelope-from nobody) Message-Id: <200608252256.k7PMuGfo021401@www.freebsd.org> Date: Fri, 25 Aug 2006 22:56:16 GMT From: Dave Eckhardt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/102523: [patch] Virtual serial port server code for bluetooth/rfcomm_sppd X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 23:00:43 -0000 >Number: 102523 >Category: misc >Synopsis: [patch] Virtual serial port server code for bluetooth/rfcomm_sppd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 25 23:00:42 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dave Eckhardt >Release: FreeBSD 6.1-RELEASE i386 >Organization: Carnegie Mellon University >Environment: FreeBSD memex 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: While there is already code which enables synchronization of a PalmOS device over Bluetooth using DUN (dial-up networking), that seems unnecessarily heavyweight and harder to secure than the other approach, synchronizing over an RFCOMM "virtual serial port". Enclosed please find a patch to rfcomm_sppd which adds "server mode" code. I have gone back and forth on whether server mode should contain a loop around the existing single-transaction code, but figured I'd send in what I have now and let the maintainer make the policy decision. I don't have an obvious way to test the (original) client-side RFCOMM behavior, so it would probably be a good idea to make sure I haven't broken that, though I tried not to. Also, feel free to let me know if this approach seems wrong in some way. >How-To-Repeat: See directions at http://howto.pilot-link.org/bluesync/ and ask yourself if it wouldn't be better to skip all the dialup networking setup on both the Palm device and the host--and also close that worrisome "-p net:any" door. >Fix: http://www.cs.cmu.edu/~davide/howto/hotsync_bluetooth_serial.html >Release-Note: >Audit-Trail: >Unformatted: