From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 01:00:50 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7917FDA6518 for ; Sun, 9 Jul 2017 01:00:50 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4291F71CF2 for ; Sun, 9 Jul 2017 01:00:49 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=F/IVTepN c=1 sm=1 tr=0 a=lGUdY1O6J9NpztYPi32J9g==:117 a=lGUdY1O6J9NpztYPi32J9g==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=SzuQoHA45RtUQ4yO7IMA:9 a=QEXdDO2ut3YA:10 a=tHCCYrL8khaODnbRAGAA:9 a=_W_S_7VecoQA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YW5hdEByY24uY29t Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 108.53.87.28 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [108.53.87.28] ([108.53.87.28:58711] helo=aldan.narawntapu) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.23.54417 r(Core:3.6.23.0)) with ESMTPSA (cipher=DHE-RSA-AES128-SHA) id 38/98-26624-E3081695; Sat, 08 Jul 2017 21:00:46 -0400 To: "freebsd-bluetooth@freebsd.org" From: "Mikhail T." Subject: How to listen quietly for other Bluetooth devices? Message-ID: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> Date: Sat, 8 Jul 2017 21:00:46 -0400 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 01:00:50 -0000 Hello! I'd like my FreeBSD computer to detect the presence of other Bluetooth-devices nearby. I have a little USB-dongle plugged into it, which is recognized as ubt0. I started "hcidump -a" while turning Bluetooth on the iPhone next to the dongle on and trying to link to a pair of BT-headphones. The "hcidump" didn't print any traffic even though, of course, the phone did try to radio out. How can the detection be made to work? Note, I don't want to decode any communications between BT-devices. I just want to detect their presence and what information about them, that's not encrypted... Thanks! Yours, -mi From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 02:58:18 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7AFBDA9905 for ; Sun, 9 Jul 2017 02:58:18 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com [IPv6:2a00:1450:400c:c0c::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47E0974E9B for ; Sun, 9 Jul 2017 02:58:18 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-wr0-x22d.google.com with SMTP id r103so94745992wrb.0 for ; Sat, 08 Jul 2017 19:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eJyGKQCmj8lUnFQ/vmm9ihdixUFRTqPcjlE4w7sTIMY=; b=ImZZ1cwM7yc/+zbra10u4F+263Wl7WK9/DZfIkk03SyZDavFXIsYKRuEshpF4MGPNd vDoDKx6OiaIHI1Cg3pvJTAtYOH/IMEiVUUlshsfV+iRUUn6+jINmVxll6yiyrGz2EAdQ Hw8iosYdcTWMNyRJm1EkJQ3KcjZcc5W1f4drR+Xd2aLps/JDOUSp9M0B+/YuVwfR3mcX bFMwuHpEXNEq9fTSf6C3Mdu929qEL1LeJs30VLYGwgBdShKhYn2jo8LCPlSFgZP81E1k HqiW6f8D7RxAQQmFlxCB/kI+AdUBBibQV3nxUpBcBxMKy7vMLSdk5Ktdqv7pa7KnjJM+ t1EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eJyGKQCmj8lUnFQ/vmm9ihdixUFRTqPcjlE4w7sTIMY=; b=ANhDHUnmQfcgC4r8jgY8t5rHRCm1WQsLSpHZpei/LIrEnmkyhnAiA8spndNB3r1tKt cbhQAKlC82+nH7YaiVJt3JkMVP2f3sIrozhjco7BizzX78tF6/lX3Zo0eoR3nK5kgd39 xDm2OgW6V8rS3XOduo5YlMoM1GNR0QE7reYBbbRqZXtUYYSB44hjSzDJy5DQJ/Lbz2T5 bxxAu1EbtZQ6+0TQKA1vNCldKegoZJKHmOCBw/jV8eB/5iHP8tnktcs/jq5uNx2Dvaq6 TK4/WGma6T5dPFQgqL9QkDoX+aNrCAemw5r3GDvwqbo1J9TK0LJan88g+3194YBQW7MG lXtA== X-Gm-Message-State: AIVw111vZImTzk5gHMVbaVFB1byRJwH0yQSWJd3nTRszTh5O24zIISdt SYlnLGbNhiZWYpPHq5g8DIYwCnqmu+DyKgo= X-Received: by 10.80.213.84 with SMTP id f20mr7029402edj.69.1499569096601; Sat, 08 Jul 2017 19:58:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.140.35 with HTTP; Sat, 8 Jul 2017 19:58:16 -0700 (PDT) In-Reply-To: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> From: Maksim Yevmenkin Date: Sat, 8 Jul 2017 19:58:16 -0700 Message-ID: Subject: Re: How to listen quietly for other Bluetooth devices? To: "Mikhail T." Cc: "freebsd-bluetooth@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 02:58:18 -0000 Hi Mikhail, > I'd like my FreeBSD computer to detect the presence of other > Bluetooth-devices nearby. you probably look for inquiry command. i.e. hcidump inquiry. please be aware that remote device may not answer inquiry, i.e. "not discoverable". apart from inquiry, there is not a whole lot you can do with standard hci interface thanks! max From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 03:04:18 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35AD2DA9D67 for ; Sun, 9 Jul 2017 03:04:18 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8F5D75800 for ; Sun, 9 Jul 2017 03:04:17 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-wr0-x235.google.com with SMTP id c11so94670579wrc.3 for ; Sat, 08 Jul 2017 20:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tjwiDJKiJfT5zbaG0iRNl1tx7gmOuryiFpsP+kDCvLY=; b=MHoz6xZqjnb6tYskOtnFfEQyuwTsOQQgAWxYTQUEoBPuyJru1nzo53nNOoO9cg/EFq XZN6hYaH9kjU+Gio9FlN2Q6M6tLqz0v6R+nDiDFrW3hQFcIWvLzbw7+k8xUVGcyn3yPG EKeQ1d6lTuvD2devY83JDrUaskZ2G3rQBaRHvj5lp8O1Y+pZazGuY2oODIDeCrGrGSdk 0PDs4kIe2VpDJ8zhX7YgwI3aTZbwKWzgsw/LvI+Sj84qyB/b7gURgNvg+hhzRP90Yp1+ nvGYl8SBHC5H2DV5pXiTcJsXhKNpEU8Bf56wKQ4jPS7Mb09oAblge2/Vs2WGE1WbdMAN MSjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tjwiDJKiJfT5zbaG0iRNl1tx7gmOuryiFpsP+kDCvLY=; b=R4cesw/BT8GSD+CtmsIg+/syN268vXJyKU0P/ZFBJVlE/Ws4rsW0Jox5dfsJnPkDKs WG4MQ+3IQSOLUgiO7/M8YzCk2SPOGap2iIsWAocwMTP6FgZ1G4WIuj0eqyEyXCcYUGX5 tekr6EInXV9XKTlnVye09Fx1gP9hsJ8NrY1TNoiNEVHwAtCHpn4LtdxpJAN5WWq7mKHD A7ZI02/GTrB9WH4d13EYEA2ajzd81YAIlUq38d8Xddb05xiigkN7FJOgcTeDIUMc9jc7 TLYtWwZw0oz2+AwnQRgsiYw8GRKcDjdMF/IWvJy+VCQoMGbQdVWEBJGRVpBhFoKwcZSW 1Q4A== X-Gm-Message-State: AIVw111g7ElY/Jtkx0lwd/M/6DR46nWl7fm5Sc97kg8DR/mJ+KGs95vE WnVuhSaNnPR3XYr9WQajZmTE5idDZQ== X-Received: by 10.80.164.241 with SMTP id x46mr7054999edb.114.1499569456080; Sat, 08 Jul 2017 20:04:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.140.35 with HTTP; Sat, 8 Jul 2017 20:04:15 -0700 (PDT) In-Reply-To: References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> From: Maksim Yevmenkin Date: Sat, 8 Jul 2017 20:04:15 -0700 Message-ID: Subject: Re: How to listen quietly for other Bluetooth devices? To: "Mikhail T." Cc: "freebsd-bluetooth@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 03:04:18 -0000 On Sat, Jul 8, 2017 at 7:58 PM, Maksim Yevmenkin wrote: > Hi Mikhail, > >> I'd like my FreeBSD computer to detect the presence of other >> Bluetooth-devices nearby. > > you probably look for inquiry command. i.e. hcidump inquiry. please be this should read hcicontrol instead of hcidump > aware that remote device may not answer inquiry, i.e. "not > discoverable". apart from inquiry, there is not a whole lot you can do > with standard hci interface > > thanks! > max From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 03:14:44 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7704BDA9F52 for ; Sun, 9 Jul 2017 03:14:44 +0000 (UTC) (envelope-from mi+m@aldan.algebra.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33A8675B38 for ; Sun, 9 Jul 2017 03:14:43 +0000 (UTC) (envelope-from mi+m@aldan.algebra.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=Aa3zJDfG c=1 sm=1 tr=0 a=lGUdY1O6J9NpztYPi32J9g==:117 a=lGUdY1O6J9NpztYPi32J9g==:17 a=gH2l33NO9zgA:10 a=Fdkxr_5KmFUA:10 a=pGLkceISAAAA:8 a=xFB0rkRPqLwgOVx6JB4A:9 a=pvA44qeTxYYA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YW5hdEByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=mi+m@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=mi+m@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 108.53.87.28 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [108.53.87.28] ([108.53.87.28:64857] helo=[192.168.1.171]) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.23.54417 r(Core:3.6.23.0)) with ESMTPSA (cipher=DHE-RSA-AES256-GCM-SHA384) id 02/2F-53214-1AF91695; Sat, 08 Jul 2017 23:14:41 -0400 Content-Type: text/plain; charset=koi8-r Mime-Version: 1.0 (1.0) Subject: Re: How to listen quietly for other Bluetooth devices? From: "Mikhail T." X-Mailer: iPhone Mail (14F89) In-Reply-To: Date: Sat, 8 Jul 2017 23:14:40 -0400 Cc: "Mikhail T." , "freebsd-bluetooth@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> To: Maksim Yevmenkin X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 03:14:44 -0000 Doesn't "inquiry" imply activity? I'd like the computer to listen passively.= .. I assume, if a phone nearby is communicating with something (like headpho= nes), other Bluetooth devices hear it - even if they typically ignore it. Is= that a valid assumption? Can a Bluetooth dongle be placed into some sort of "promiscuous" mode instea= d? --=20 Sent from mobile device, please, pardon shorthand. 8 =CC=C9=D0. 2017 =D2. =CF 22:58 Maksim Yevmenkin =CE=C1=D0=C9=D3=C1=D7(=CC=C1): > Hi Mikhail, >=20 >> I'd like my FreeBSD computer to detect the presence of other >> Bluetooth-devices nearby. >=20 > you probably look for inquiry command. i.e. hcidump inquiry. please be > aware that remote device may not answer inquiry, i.e. "not > discoverable". apart from inquiry, there is not a whole lot you can do > with standard hci interface >=20 > thanks! > max From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 03:22:58 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5E1DDAA0F7 for ; Sun, 9 Jul 2017 03:22:58 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BCC275DC3 for ; Sun, 9 Jul 2017 03:22:58 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-wr0-x235.google.com with SMTP id c11so94893482wrc.3 for ; Sat, 08 Jul 2017 20:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lAeYH0VKs8i2bckirSy38i6CpLGbWz1fIsIkRp1yXEE=; b=nJ5uJyMmQAfkuTYQvfw2hVHgZo2jOTR9B4AsVPGN6fuskeHkTTulUuEvCFqaKq8UQZ bNKPRihB9QmHbdOF0IXi6KKuVPunU0Hjy6W530MGX9YYYooySUE4zhGzj26FrHLlsWaF q7d4PjxSEN7rr+TIW6k7e2GQz5iC2li3fGZuLpZweU5sveD1jaxRAuazzEmFEMWJPfFN z0fZMQd/jilPSXPz6uw52CiFtUAB6zUGKfqu74WbN4+KV6bEABaP01JdLX6FJwgM1fu3 sdEQdHwQefKO5T5JJ34H4EAo4Aed6rzQZzH4kRxqm2NXV73z93cYSSMtrycFQHaljy/C heDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lAeYH0VKs8i2bckirSy38i6CpLGbWz1fIsIkRp1yXEE=; b=MHf38U1s0ptoHEmLRNfwpRlkMG/TYgoUcSd0Pbvu2dPfLEiFa6Xn8ZovKMqQXqGLFW enrzqbSbvu3s9O7v+JmhU3dVui/Obag90YsE5AAkt2e0d9AXYBQFXP90Z8trbnIZtkpZ uh0yC44D3xw95TdJuVbon9VaN6iAIG6ONbAOzhMo24kelWc+0bcQjzB1crs5OK77TIF+ PUufWxWkiDedTZQ526MYV+JdrRU3qPI9+6CxDzQohkOjg2QKmTIEcxZSthzXrE8QdPqv 43f3O8YH6LvC/97wIGF4VRWPXd1AVxhGFFe14HpHvq+ELJjlslL6g6whtiARAWyhyKgy PvOw== X-Gm-Message-State: AIVw113V6hfNP/V4egpeL2DxScgXk6GwYzCH7iiD55d2THRcUWIm4Qxj DMrDBS1/jv9v+RrPFgYh53Tr1IEZ8g== X-Received: by 10.80.155.19 with SMTP id o19mr7073163edi.27.1499570576870; Sat, 08 Jul 2017 20:22:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.140.35 with HTTP; Sat, 8 Jul 2017 20:22:56 -0700 (PDT) In-Reply-To: References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> From: Maksim Yevmenkin Date: Sat, 8 Jul 2017 20:22:56 -0700 Message-ID: Subject: Re: How to listen quietly for other Bluetooth devices? To: "Mikhail T." Cc: "Mikhail T." , "freebsd-bluetooth@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 03:22:58 -0000 > Doesn't "inquiry" imply activity? yes, device will go into "inquiry scan" > I'd like the computer to listen passively... > I assume, if a phone nearby is communicating with something (like headphones), > other Bluetooth devices hear it - even if they typically ignore it. Is that a valid assumption? well, yes and no. bluetooth is basically TDMA (time division multiple access). what it means is that each device is assigned time slot in which it can communicate. so, device will effectively "not listen/talk" unless its in the assigned time slot. i'm simplifying things a lot here, but, i hope you get the general idea > Can a Bluetooth dongle be placed into some sort of "promiscuous" mode instead? not that i know of. bluetooth scanners exist (as completely separate units), but they are (or at least used to be) expensive. those are used to grab over-the-air transmissions and decode them. i'm not aware (not have i ever seen) of-the-shelf bluetooth dongle that is capable of going into "promiscuous" mode. thanks! max From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 14:51:03 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A89C4D87889 for ; Sun, 9 Jul 2017 14:51:03 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6EA132079 for ; Sun, 9 Jul 2017 14:51:02 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=Aa3zJDfG c=1 sm=1 tr=0 a=lGUdY1O6J9NpztYPi32J9g==:117 a=lGUdY1O6J9NpztYPi32J9g==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=twEgqzHtT3aaIHHIYcEA:9 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=9HpikrfkQ8tBBXCDfhIA:9 a=_W_S_7VecoQA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YW5hdEByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 108.53.87.28 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [108.53.87.28] ([108.53.87.28:52692] helo=aldan.narawntapu) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.23.54417 r(Core:3.6.23.0)) with ESMTPSA (cipher=DHE-RSA-AES128-SHA) id 88/6A-53214-5D242695; Sun, 09 Jul 2017 10:51:01 -0400 Subject: Re: How to listen quietly for other Bluetooth devices? To: Maksim Yevmenkin Cc: freebsd-bluetooth@freebsd.org References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> From: "Mikhail T." Message-ID: Date: Sun, 9 Jul 2017 10:51:00 -0400 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 14:51:03 -0000 On 08.07.2017 23:22, Maksim Yevmenkin wrote: > i'm not aware (not have i ever seen) of-the-shelf bluetooth dongle that is capable of going into "promiscuous" mode. Thank you, Max, for sharing your expertise... So, you are saying, the decision on whether to notify the host of a particular bit of traffic the dongle "hears" is controlled by the hard-coded logic on the dongle itself -- and can not be reprogrammed by the host? Sad... Maybe, I will have to "broadcast" something in order to register responses. -mi From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 16:54:32 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D33E0D90B67 for ; Sun, 9 Jul 2017 16:54:32 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com [IPv6:2607:f8b0:400e:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CDC265677 for ; Sun, 9 Jul 2017 16:54:32 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-pg0-x22a.google.com with SMTP id t186so38263168pgb.1 for ; Sun, 09 Jul 2017 09:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=OLmO7C5K8/AYnXHKSWBGEXPDHQPgWAEFt6KZsYwu+Nw=; b=aqPGvoNNOtggwK2fhLMrAblb0L/jDbFDypqsdEpx5W+G1shs7c5Ybi9p6YU7mn/S0c QoMGqeV5XLn5w6Bdd0qokXSw9vEX+8az/lZ8XRQAczCQNTbxKy5fezTo35eO1nz89Qxg BQLiM1QTlARdtDTF0OtYHBFbpI4jpOfCngp8i0kqK4QZhjDivKqhs7tVjtaXKLyhkIrP eAFLBXLacIETZLcLQAkx3bVUKn/spAIjfSWYs43kic2sn2ZYjEKmZ7vGsRPDhU5G79wF AMDSpG9hPSxb1dDoOgDbccpfoYg81tVRlM8XgNNbbN+ZPzLuYoGTlNUwEZLZPynEQNzF r55g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=OLmO7C5K8/AYnXHKSWBGEXPDHQPgWAEFt6KZsYwu+Nw=; b=JYz7/2y1rR5p7XgDSf2eW2/BCioqFnlS9kr1pLQIIpSFmfiHQU9m8RqWIRixQIykuP RO0tQtkOpFw52RGiteIGFx2ZwdZDKHxijgF2STKc56PnPtYHyALVOHgUtxva9HitGDqz +9zIhj/zwubdlTVgiZKXvsYdA1yfLqcjvnljvsmnijXlsFzhcBo2KexpxEQANRwHz/0I ZlnF/2aiBCgZoh2DMq0cAcNFEW6+WNcQlNghCqvMIX6xCdbXEIU6cnVzCIpsIQNeVvH0 wr1cINuBZkh/VYzG2ticlW8cDrTnzZKjFrqk2A14yNuYFDZL8GqtnHYqWLZshNi098Rg C0bQ== X-Gm-Message-State: AIVw112p8SwDxwB9LFgbWYX9mxuI29z5/3+PWegMvSaomAecZilEuWCQ sKrPVfIXuomxOOw1+OE= X-Received: by 10.98.44.205 with SMTP id s196mr26420275pfs.168.1499619271752; Sun, 09 Jul 2017 09:54:31 -0700 (PDT) Received: from [192.168.1.105] (cpe-107-185-192-94.socal.res.rr.com. [107.185.192.94]) by smtp.gmail.com with ESMTPSA id f70sm20323247pfk.27.2017.07.09.09.54.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Jul 2017 09:54:30 -0700 (PDT) Mime-Version: 1.0 (1.0) Subject: Re: How to listen quietly for other Bluetooth devices? From: maksim yevmenkin X-Mailer: iPhone Mail (14F89) In-Reply-To: Date: Sun, 9 Jul 2017 09:54:29 -0700 Cc: freebsd-bluetooth@freebsd.org Message-Id: <9DDD63D7-52A2-4995-98E4-D60CEE5EE106@gmail.com> References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> To: "Mikhail T." Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 16:54:32 -0000 >> i'm not aware (not have i ever seen) of-the-shelf bluetooth dongle that i= s capable of going into "promiscuous" mode. > Thank you, Max, for sharing your expertise... So, you are saying, the deci= sion on whether to notify the host of a particular bit of traffic the dongle= "hears" is controlled by the hard-coded logic on the dongle itself -- and c= an not be reprogrammed by the host? >=20 Host normally does not get to see past HCI (host controller interface). HCI d= efines set of commands, responses and events that can be sent and received. T= his set varies slightly from one Bluetooth specification version to another,= however bulk of commands is mostly the same.=20 The way host accesses HCI is via transport. Serial, USB etc. HCI transport s= pecifies how HCI datagrams are transferred over particular low level transpo= rt interface. For example, with USB, HCI events are transferred over USB int= errupt endpoint, ACL data are transferred as USB bulk transfers and SCO data= as isochronous transfers.=20 So, basically, host gets to access particular HCI transport (USB in your cas= e) and gets to see HCI datagrams that are received over the transport. Host d= oes not get direct access to baseband (radio). All access is indirect via HC= I commands.=20 Of course HCI has provision for so called "vendor" commands. Those are speci= fic to each vendor and generally not documented. It is possible that some ve= ndor may have implemented commands that allow low level access to baseband, h= owever, I never saw anything like that.=20 > Sad... Maybe, I will have to "broadcast" something in order to register re= sponses. >=20 One possible way to do something like this is to instruct local Bluetooth de= vices to perform "periodic inquiry". This way local device will periodically= perform inquiry scan and save results into "neighbor cache". Dumping "neigh= bor cache" periodically will give an approximate list of "discoverable devic= es" in RF proximity. Of course timing is not going to be perfect (can't tell exactly when remote d= evice was seen) but it's something. Also, remote device may choose to not a= nswer inquiry scan (not discoverable). In this case there is still and optio= n to "page" remote device (try to open baseband connection) using remote dev= ice bd_addr Thanks !=20 Max From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 18:33:53 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9239ED928B1 for ; Sun, 9 Jul 2017 18:33:53 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 568C668302 for ; Sun, 9 Jul 2017 18:33:52 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=F/IVTepN c=1 sm=1 tr=0 a=lGUdY1O6J9NpztYPi32J9g==:117 a=lGUdY1O6J9NpztYPi32J9g==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=NEAV23lmAAAA:8 a=_KoyAOLfRDr8tPZhdGAA:9 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=p3aviGDlJJ8fj1dUxeQA:9 a=_W_S_7VecoQA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YW5hdEByY24uY29t Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 108.53.87.28 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [108.53.87.28] ([108.53.87.28:40186] helo=aldan.narawntapu) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.23.54417 r(Core:3.6.23.0)) with ESMTPSA (cipher=DHE-RSA-AES128-SHA) id 2C/D6-26624-A0772695; Sun, 09 Jul 2017 14:33:46 -0400 Subject: Ubertooth (Re: How to listen quietly for other Bluetooth devices?) To: Maksim Yevmenkin , "freebsd-bluetooth@freebsd.org" References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <9DDD63D7-52A2-4995-98E4-D60CEE5EE106@gmail.com> From: "Mikhail T." Message-ID: <6e1f597c-7f85-1a37-a228-49da2d2f77dd@aldan.algebra.com> Date: Sun, 9 Jul 2017 14:33:45 -0400 MIME-Version: 1.0 In-Reply-To: <9DDD63D7-52A2-4995-98E4-D60CEE5EE106@gmail.com> Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 18:33:53 -0000 On 09.07.2017 12:54, maksim yevmenkin wrote: > Of course HCI has provision for so called "vendor" commands. Those are > specific to each vendor and generally not documented. It is possible > that some vendor may have implemented commands that allow low level > access to baseband, however, I never saw anything like that. On the note of different vendors, has anyone tried to port the "Ubertooth" software parts to FreeBSD? https://github.com/greatscottgadgets/ubertooth The code has a few instances of "ifdef FreeBSD", but does not build "out of the box"... -mi From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 22:54:50 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBC89D97C7F for ; Sun, 9 Jul 2017 22:54:50 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pg0-x232.google.com (mail-pg0-x232.google.com [IPv6:2607:f8b0:400e:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 935BE73559 for ; Sun, 9 Jul 2017 22:54:50 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-pg0-x232.google.com with SMTP id u62so39973355pgb.3 for ; Sun, 09 Jul 2017 15:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=o8sC0yGxtRGW/SqNR2RXnppmplnUwK1FsqzsSX8WeEc=; b=NnFjO4hYLSFivgBi7IwudQlSdJaX206Jd8hWiUc7uVqfyK8sd2MIxmyTrBWxM9Qe3e UFyvEgdyCfa4nind7xHKy4e8ExIgBOBnERljKJG+pnsSXWOkljohu6Jz2y1GVzqD1aL8 NQisVs7Ii2Rg2AvQk72kJaUiCdTMFHV6nqs2VdrneIqOQ0tT2RvnsQW5TN9gZ3TwABaC wnfipwEoBX6LuwBxI7acCLl+taZJG3XdEX6e/B6QT79gzZTSqpXrkHOrbrQUEk4brgIM ByIsxcIL6s+8JaM+P4amJ89OAiKpuGPiv8rrBA39JmLEq60JJfK7LA3IfzDJsN4ZDBJd cY6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=o8sC0yGxtRGW/SqNR2RXnppmplnUwK1FsqzsSX8WeEc=; b=IeRVoCpfynqekLSIBiFcJAXElSYYfftcTeaE8bmfBoulcEZhL96F/FEoLWffYZhj2L VApt2cLFoIRwZRVPkcqOwF4CvPGsOaFFeo0v+Bg7wpp+p4wtZr40aMRyp1UhyFxdP/jt uGwBPxCrCcXPAICgNueGS9h2Q/QCEV96m+DSJ3cIJZSw08cFfPLuHq5rj0hcM2lNH5eS c4m9I4jS8iyH37ZmUEvy9Io2mHY37KRifxkjqR4vjxCnF90ak4hIe+3AE+lBtfAhuoOa mfJcwUvynM6GhW7CIzuc3lvRFwlXIHZxPy1L62XC9ifQsiYUYxpFqXfaU1XUDInJQ2H7 pYtQ== X-Gm-Message-State: AIVw110AT7VSnFh6DoQr/3enuRO5qvS3snCPeG4YBAphNrJVDoh3GMjy dXFzNxZhxkWtlgKybr0= X-Received: by 10.98.31.201 with SMTP id l70mr42562985pfj.128.1499640890100; Sun, 09 Jul 2017 15:54:50 -0700 (PDT) Received: from [192.168.1.105] (cpe-107-185-192-94.socal.res.rr.com. [107.185.192.94]) by smtp.gmail.com with ESMTPSA id o4sm14016756pga.47.2017.07.09.15.54.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Jul 2017 15:54:48 -0700 (PDT) Mime-Version: 1.0 (1.0) Subject: Re: Ubertooth (Re: How to listen quietly for other Bluetooth devices?) From: maksim yevmenkin X-Mailer: iPhone Mail (14F89) In-Reply-To: <6e1f597c-7f85-1a37-a228-49da2d2f77dd@aldan.algebra.com> Date: Sun, 9 Jul 2017 15:54:47 -0700 Cc: "freebsd-bluetooth@freebsd.org" Message-Id: References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <9DDD63D7-52A2-4995-98E4-D60CEE5EE106@gmail.com> <6e1f597c-7f85-1a37-a228-49da2d2f77dd@aldan.algebra.com> To: "Mikhail T." Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 22:54:50 -0000 >> Of course HCI has provision for so called "vendor" commands. Those are sp= ecific to each vendor and generally not documented. It is possible that some= vendor may have implemented commands that allow low level access to baseban= d, however, I never saw anything like that.=20 > On the note of different vendors, has anyone tried to port the "Ubertooth"= software parts to FreeBSD? >=20 > https://github.com/greatscottgadgets/ubertooth >=20 > The code has a few instances of "ifdef FreeBSD", but does not build "out o= f the box"... >=20 Interesting... I personally have not seen this. Thank you for the pointer. I= t looks like custom hardware running custom firmware. This should be able to= give full access to baseband. Still kinda pricey. Ubertooth one hardware se= lls for $120 at sparkfun. That's 3x price of raspberry pi 2/3 :) for a fract= ion of general usability :) could make an relatively inexpensive Bluetooth s= canner though.=20 Thanks ! Max= From owner-freebsd-bluetooth@freebsd.org Sun Jul 9 23:12:05 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C799FD980ED for ; Sun, 9 Jul 2017 23:12:05 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A5B6E73B9D for ; Sun, 9 Jul 2017 23:12:05 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: by mailman.ysv.freebsd.org (Postfix) id A4BDAD980EC; Sun, 9 Jul 2017 23:12:05 +0000 (UTC) Delivered-To: bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A24C4D980EB for ; Sun, 9 Jul 2017 23:12:05 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 66B5A73B9C for ; Sun, 9 Jul 2017 23:12:02 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=Aa3zJDfG c=1 sm=1 tr=0 a=lGUdY1O6J9NpztYPi32J9g==:117 a=lGUdY1O6J9NpztYPi32J9g==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=jpZ2YExhZiAG3PlWqogA:9 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=24dlkWlTa_tVPWYLJ8cA:9 a=_W_S_7VecoQA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YW5hdEByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 108.53.87.28 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [108.53.87.28] ([108.53.87.28:22939] helo=aldan.narawntapu) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.23.54417 r(Core:3.6.23.0)) with ESMTPSA (cipher=DHE-RSA-AES128-SHA) id CD/C3-53214-048B2695; Sun, 09 Jul 2017 19:12:00 -0400 Subject: Re: Ubertooth (Re: How to listen quietly for other Bluetooth devices?) To: Maksim Yevmenkin , bluetooth@FreeBSD.org References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <9DDD63D7-52A2-4995-98E4-D60CEE5EE106@gmail.com> <6e1f597c-7f85-1a37-a228-49da2d2f77dd@aldan.algebra.com> From: "Mikhail T." Message-ID: <4c47c36f-9161-7266-5cef-acb3e72d17fa@aldan.algebra.com> Date: Sun, 9 Jul 2017 19:11:59 -0400 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 23:12:05 -0000 On 09.07.2017 18:54, maksim yevmenkin wrote: > Interesting... I personally have not seen this. Thank you for the > pointer. It looks like custom hardware running custom firmware. This > should be able to give full access to baseband. Still kinda pricey. > Ubertooth one hardware sells for $120 at sparkfun. That's 3x price of > raspberry pi 2/3 :) for a fraction of general usability :) could make > an relatively inexpensive Bluetooth scanner though. > They are using "bluez" to flush their own firmware into the dongle, it seems. I doubt, they make their own chipset -- it may be possible to flush the same firmware into a much cheaper dongle with the same chipset... -mi From owner-freebsd-bluetooth@freebsd.org Mon Jul 10 08:27:40 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF59ADA0C9B for ; Mon, 10 Jul 2017 08:27:40 +0000 (UTC) (envelope-from tj@enoti.me) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93773806FC for ; Mon, 10 Jul 2017 08:27:39 +0000 (UTC) (envelope-from tj@enoti.me) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4AF61208CB; Mon, 10 Jul 2017 04:27:38 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Mon, 10 Jul 2017 04:27:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=BB/Lo141aKC29YSQ2o IsoDKGQlQE/k8gWt0r7abGijo=; b=Cxre8gCJMTSRB+TOst0RbC5XvkDj/RJmBL SuUAxeIn6e8BCJYzICPZlA7QBzyZPqcMzOkK62IPQq3zxr1zYn1w2FjI1VW/R46/ PGTujounwiHOPOdpH2jEATj7Ou4dHvfzNXTAwFYbVPXSjXhA9564KYVrWpCMM1Zt 7NEDYesfA+2UKYnhrCoKJAnu4ZN7gpgBj95I9KdFNBtSPyHoREknImNZ88AixvRd E9SmSkKw69ktAjR0fhL8/BGtf7kpwB3+2OPwUGAe6qojlacXRmzmR5/FGnSyfgeh IzQGirk5oZXQzi4hIfF7lK6cPBpfKEOw6OIT/LeKDMg0CB4cHzFQ== X-ME-Sender: X-Sasl-enc: i6q98AV8KRnZI78Kqi0VGJe7P3uDzW0uH8dhtWVzZvSu 1499675257 Received: from tom-desk.erg.abdn.ac.uk (tom-desk.erg.abdn.ac.uk [139.133.204.4]) by mail.messagingengine.com (Postfix) with ESMTPA id 9EA777E51B; Mon, 10 Jul 2017 04:27:37 -0400 (EDT) Date: Mon, 10 Jul 2017 09:27:33 +0100 From: tj To: "Mikhail T." Cc: Maksim Yevmenkin , "freebsd-bluetooth@freebsd.org" Subject: Re: Ubertooth (Re: How to listen quietly for other Bluetooth devices?) Message-ID: <20170710082733.GA96183@tom-desk.erg.abdn.ac.uk> References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <9DDD63D7-52A2-4995-98E4-D60CEE5EE106@gmail.com> <6e1f597c-7f85-1a37-a228-49da2d2f77dd@aldan.algebra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6e1f597c-7f85-1a37-a228-49da2d2f77dd@aldan.algebra.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 08:27:40 -0000 On Sun, Jul 09, 2017 at 02:33:45PM -0400, Mikhail T. wrote: > On 09.07.2017 12:54, maksim yevmenkin wrote: > > Of course HCI has provision for so called "vendor" commands. Those are > > specific to each vendor and generally not documented. It is possible > > that some vendor may have implemented commands that allow low level > > access to baseband, however, I never saw anything like that. > > On the note of different vendors, has anyone tried to port the > "Ubertooth" software parts to FreeBSD? > > https://github.com/greatscottgadgets/ubertooth > > The code has a few instances of "ifdef FreeBSD", but does not build "out > of the box"... > I have spoken to Dominic Spill (author/maintainer of the software) about this in the past. We decided it was a non-trivial task to implement support for FreeBSD. - [tj] From owner-freebsd-bluetooth@freebsd.org Mon Jul 10 17:06:46 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 985EADAC9E7 for ; Mon, 10 Jul 2017 17:06:46 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 709CA6F6CB for ; Mon, 10 Jul 2017 17:06:46 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6CC6FDAC9E6; Mon, 10 Jul 2017 17:06:46 +0000 (UTC) Delivered-To: bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C646DAC9E5 for ; Mon, 10 Jul 2017 17:06:46 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2D936F6CA for ; Mon, 10 Jul 2017 17:06:45 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-lf0-x22c.google.com with SMTP id b207so67181407lfg.2 for ; Mon, 10 Jul 2017 10:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4jZ7/2uw3XMIaCtXfUSxZY1cNa2QeNXOdkFTujM/W9c=; b=T2rw6Cl8VOHDOkZlBOstEdGqB7OUlXOEdMmV+5zukVjya63fI32sNic7bvhiytsdmv gFP0R1ewGZZWNLcGJrPRayotRpSVQ7WCf+f0U08Ye94b7sE7kwTouvMoe/RsXZyCMg69 qiK4uJZKTQK9I4yv+zEm/2f06NfyKtuf8t8UqxHAY7HH8iheslYtb9E8c0jo4aNLbJPb 390Z4UglXbTE55VvTbcb62u9c9WwJoI8UygF2jh7/5pMSQn/8HxyOZuNfrJrOgUVHnMt NEi5mygNksrnGUIc5FPV/yaIaedYHPu8Fg1A8DM86N7USQ6SUuEycOvttfIcYGy/Cdx0 JYVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4jZ7/2uw3XMIaCtXfUSxZY1cNa2QeNXOdkFTujM/W9c=; b=gtHP0YaZINXReRkMPkss8vC9p6IjTHOX7w2KfW8KdqBJLZorLHa+Nt4Hp+tdL1Vv/V PC54rNVsS5ff+j3NQca+CB72TJHozeNriCTOm0sr5AeXFK3HD4K7snHr5YotVMLtl/XO 3SwYPqdjPjgE82n2i0rsHrMMrBQCzBAO2fkAJ53/Y9mB7oDzmYCxoElBzD+399vfrl20 lk2+IQlPvuZGe2EAdMI9uIxDxg8qhKPVuptKWuHC6r96djY236+OK+a9QdiVB8Q7WQSS 5FZw/IQvrExSPpN+HehgJWCtZOHNP9jhIsXRkwe5kM0WbDHUBzFm5xHVxcmOS283w92w mbXA== X-Gm-Message-State: AIVw110+PoQnChHi7c4mm8xEPLKrIpJo+76LUFWjKxNrAJk5EMHrgtfi vNQzxSP+qNKMzfzvVP2GjtMVVYtlQC/R7Mo= X-Received: by 10.80.184.24 with SMTP id j24mr12418786ede.176.1499706404070; Mon, 10 Jul 2017 10:06:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.140.35 with HTTP; Mon, 10 Jul 2017 10:06:43 -0700 (PDT) In-Reply-To: <4c47c36f-9161-7266-5cef-acb3e72d17fa@aldan.algebra.com> References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <9DDD63D7-52A2-4995-98E4-D60CEE5EE106@gmail.com> <6e1f597c-7f85-1a37-a228-49da2d2f77dd@aldan.algebra.com> <4c47c36f-9161-7266-5cef-acb3e72d17fa@aldan.algebra.com> From: Maksim Yevmenkin Date: Mon, 10 Jul 2017 10:06:43 -0700 Message-ID: Subject: Re: Ubertooth (Re: How to listen quietly for other Bluetooth devices?) To: "Mikhail T." Cc: "freebsd-bluetooth@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 17:06:46 -0000 On Sun, Jul 9, 2017 at 4:11 PM, Mikhail T. wrote: > On 09.07.2017 18:54, maksim yevmenkin wrote: > > Interesting... I personally have not seen this. Thank you for the pointer. > It looks like custom hardware running custom firmware. This should be able > to give full access to baseband. Still kinda pricey. Ubertooth one hardware > sells for $120 at sparkfun. That's 3x price of raspberry pi 2/3 :) for a > fraction of general usability :) could make an relatively inexpensive > Bluetooth scanner though. > > They are using "bluez" to flush their own firmware into the dongle, it > seems. I doubt, they make their own chipset -- it may be possible to flush > the same firmware into a much cheaper dongle with the same chipset... hmm... i don't see it. sorry. may be i'm looking in the wrong place. so, yes, they have custom firmware that is flashed onto ubertooth-zero or ubertooth-one dongle. my understanding is that those are not off-the-shelf dongles. https://www.sparkfun.com/products/10573 is $120 (ubertooth-one) https://www.amazon.com/Great-Scott-Gadgets-WRL-10573-Ubertooth/dp/B007R9UPHA (Amazon) yes, they are not making completely custom chip, they are reusing some off-the-shelf components. however, final board it custom. in fact, i'm not even 100% sure that ubertooth-one is a complete bluetooth dongle. according to schematics they use CC2400 Single-Chip 2.4 GHz ISM Band Transceiver and CC2591 2.4 GHz Range Extender strapped to LPC175x ARM Cortex-M3 microcontroller. it may be just designed for the purpose of scanning and may be injecting packets. there are references to a modded CSR firmware that can be flashed onto off-the-shelf CSR dongle. however, even with modded firmware, it will not act as full scanner. according to the posts it will sniff traffic for known BD_ADDR. as far as porting it, i don't see what's the big deal. it seems like it should be possible to port this. thanks! max From owner-freebsd-bluetooth@freebsd.org Mon Jul 10 21:44:51 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B79F7DB175B for ; Mon, 10 Jul 2017 21:44:51 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9034079240 for ; Mon, 10 Jul 2017 21:44:51 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8C60BDB175A; Mon, 10 Jul 2017 21:44:51 +0000 (UTC) Delivered-To: bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BC19DB1759 for ; Mon, 10 Jul 2017 21:44:51 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com [IPv6:2a00:1450:400c:c0c::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23F3C7923F for ; Mon, 10 Jul 2017 21:44:51 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-wr0-x22d.google.com with SMTP id c11so156815992wrc.3 for ; Mon, 10 Jul 2017 14:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=09WnDRo0cxbA0gUD81skmvkSk5xy7HxR5tTtfgIDxh0=; b=H/eI7c8WChTmjpgCUjI3HpDi9jIXt3kR34b8N6CF2QzHBL/XVVlewsHISvyGjM7Qug uopc+Pi1ReViVSRkB2/yHtoyzovGjGUfSoedztzBYz1li2+iQA/mqImogZJAn1xKD3fN DDxLg+VOEQIcWp9H/EKIJ+HSXZ+X/DzpI40bYb3/tmVT42CWN5dU+IQIUdobmdfWNJX/ z8uyjnYPiFs79RbTDl1O2THcGy7kFQXi1m9f07gyLyW25SJdPjuvqLjJh0+RcI/d7qZs mM7P699uX1wKDRTB8KfsK96p5C51fuLs0sYsxy0V0CcP4YaWLW/lDLpaIfZfyG0O1/AC i/ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=09WnDRo0cxbA0gUD81skmvkSk5xy7HxR5tTtfgIDxh0=; b=kBM4tiHFxUw9IVByofcS//xaR0A+I4duhhokD0vbwx5oo8xehvgPgb6k77DRsPFzva T+V6UzYs3CrAEOy7TJWtWVTYDFHPzBmXYcFPEoeVPNHTC/0WtzhGkQ9SpfzoBQghiQeN bXPrOZNJXHaPwk/LNJWWUmqihtAko2ORLbNpR8D0Y5N7YL6egPxyi7UiA4zj44pLgowT M9lBjmFYIIlMgZqo8HhZEK9/rWSU9smqr1fB26l/RBMNplHxybN/1dg8/5LatB5rqvaR WLifA7H8F1CtXlOLGW7P4RvWwgruZxtAm4WRcPq59hJmO/2OWTVpvb2xxyw70JfcppsL aEcg== X-Gm-Message-State: AIVw112Sq0x3Pez0lOvYNtUe5B5xIyN1WknGSwV9VsDWvkVtqKq61oHE FKIgcl+2RihMQvPUDulbgZORkOk3JursfuU= X-Received: by 10.80.178.100 with SMTP id o91mr112075edd.185.1499723089411; Mon, 10 Jul 2017 14:44:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.140.35 with HTTP; Mon, 10 Jul 2017 14:44:48 -0700 (PDT) In-Reply-To: References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <9DDD63D7-52A2-4995-98E4-D60CEE5EE106@gmail.com> <6e1f597c-7f85-1a37-a228-49da2d2f77dd@aldan.algebra.com> <4c47c36f-9161-7266-5cef-acb3e72d17fa@aldan.algebra.com> From: Maksim Yevmenkin Date: Mon, 10 Jul 2017 14:44:48 -0700 Message-ID: Subject: Re: Ubertooth (Re: How to listen quietly for other Bluetooth devices?) To: "Mikhail T." Cc: "freebsd-bluetooth@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 21:44:51 -0000 On Mon, Jul 10, 2017 at 10:06 AM, Maksim Yevmenkin wrote: > On Sun, Jul 9, 2017 at 4:11 PM, Mikhail T. wrote: >> On 09.07.2017 18:54, maksim yevmenkin wrote: >> >> Interesting... I personally have not seen this. Thank you for the pointer. >> It looks like custom hardware running custom firmware. This should be able >> to give full access to baseband. Still kinda pricey. Ubertooth one hardware >> sells for $120 at sparkfun. That's 3x price of raspberry pi 2/3 :) for a >> fraction of general usability :) could make an relatively inexpensive >> Bluetooth scanner though. >> >> They are using "bluez" to flush their own firmware into the dongle, it >> seems. I doubt, they make their own chipset -- it may be possible to flush >> the same firmware into a much cheaper dongle with the same chipset... > > hmm... i don't see it. sorry. may be i'm looking in the wrong place. > > so, yes, they have custom firmware that is flashed onto ubertooth-zero > or ubertooth-one dongle. my understanding is that those are not > off-the-shelf dongles. > > https://www.sparkfun.com/products/10573 is $120 (ubertooth-one) > > https://www.amazon.com/Great-Scott-Gadgets-WRL-10573-Ubertooth/dp/B007R9UPHA > (Amazon) > > yes, they are not making completely custom chip, they are reusing some > off-the-shelf components. however, final board it custom. in fact, i'm > not even 100% sure that ubertooth-one is a complete bluetooth dongle. > according to schematics they use CC2400 Single-Chip 2.4 GHz ISM Band > Transceiver and CC2591 2.4 GHz Range Extender strapped to LPC175x ARM > Cortex-M3 microcontroller. it may be just designed for the purpose of > scanning and may be injecting packets. > > there are references to a modded CSR firmware that can be flashed onto > off-the-shelf CSR dongle. however, even with modded firmware, it will > not act as full scanner. according to the posts it will sniff traffic > for known BD_ADDR. > > as far as porting it, i don't see what's the big deal. it seems like > it should be possible to port this. after 15 minutes of looking at source code, i'm convinced that it should be possible to get it working in freebsd. it looks like ubertooth-one is already shipped with at least bootloader programmed. it may even already contain something called bluetooth_rxtx. even if one can not build bluetooth_rxtx (i.e. firmware) on freebsd right out of the box, there is a pre-build binary available. to flash bluetooth_rxtx onto ubertoot-one one can use usb dfu tool. that's a standard protocol and even if freebsd does not have a tool available right away, a little bit of user space libusb programming is all that is needed finally, as soon as bluetooth_rxtx (i.e. firmware) is flashed onto ubertooth-one, it will answer to a limited set of vendor HCI commands. again, a little bit of user space libusb programming and it should be all set. again, keep in mind that ubertooth-one is NOT a bluetooth dongle. i suppose it is possible to turn it into one by writing code that would implement both baseband and HCI. but then again, unless there is a specific need, its more cost effective to pick up $5-$10 off-the-shelf real bluetooth dongle. a $120 bluetooth sniffer (even if it has limited functionality) could be useful to some people. to summarize: $120 in hardware and weekend (or less) of coding will produce dedicated bluetooth sniffer. it is not even required to modify any kernel parts. as long as ubertooth-one is recognized as ugenX device, its possible to use libusb to control it. ubertooth-one bootloader / firmware development is a bit more complicated due to a) cross-compile toolchain. however, if one already has cross-compile toolchain for that micro-controller, its a piece of cake. if not, building gcc-based cross-compile toolchain should be doable. b) intimate knowledge of programming rf transceivers, understanding of other-the-air low level protocols, etc. etc. with enough dedication its also should be doable. thanks! max From owner-freebsd-bluetooth@freebsd.org Fri Jul 14 09:33:24 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 382A9D9C33A for ; Fri, 14 Jul 2017 09:33:24 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from forward2o.cmail.yandex.net (forward2o.cmail.yandex.net [IPv6:2a02:6b8:0:1a72::287]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5BBE83D82 for ; Fri, 14 Jul 2017 09:33:23 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [77.88.61.130]) by forward2o.cmail.yandex.net (Yandex) with ESMTP id 5B00C21021 for ; Fri, 14 Jul 2017 12:33:17 +0300 (MSK) Received: from smtp3m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id 3E1E12840BDE for ; Fri, 14 Jul 2017 12:33:16 +0300 (MSK) Received: by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id qFWf4O8Jm7-XEDmgtlh; Fri, 14 Jul 2017 12:33:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1500024795; bh=Xzq3SHTnUHBqYDsQ+CdBI+sQCkq7ocvA8VZF9GECBNY=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References; b=JxtfI2mhx+ThI8dWpMxFDHt7OK8jKeRf8R/nTAsrebptHdHy6GF+e0IzG7VC5uNx9 JYXPS7AxHDai9kj02kaKx9mUJfOpsShJJ/RcxwFH2RecmqdoBGBajNJ3pVED6YYfZJ etYRvNh18MUdGpapMdjfiJ2syH0kzxck8aauGEGY= Authentication-Results: smtp3m.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 0 Message-ID: <1500024792.73903.1.camel@yandex.com> Subject: Re: How to listen quietly for other Bluetooth devices? From: Stari Karp To: freebsd-bluetooth@freebsd.org Date: Fri, 14 Jul 2017 05:33:12 -0400 In-Reply-To: References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 09:33:24 -0000 On Sun, 2017-07-09 at 10:51 -0400, Mikhail T. wrote: > On 08.07.2017 23:22, Maksim Yevmenkin wrote: > > i'm not aware (not have i ever seen) of-the-shelf bluetooth dongle > > that is capable of going into "promiscuous" mode. > > Thank you, Max, for sharing your expertise... So, you are saying, > the > decision on whether to notify the host of a particular bit of > traffic > the dongle "hears" is controlled by the hard-coded logic on the > dongle > itself -- and can not be reprogrammed by the host? > > Sad... Maybe, I will have to "broadcast" something in order to > register > responses. > > -mi > > I have a question too. Almost two years ago was made a patch for Apple Magic Mouse and I think is still there but was never use for update FreeBSD bluetooth. I am using this patch all the time on all updates of FreeBSD and loooks like it is dead. I am true, please? Thank you. From owner-freebsd-bluetooth@freebsd.org Fri Jul 14 16:47:42 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3375DA7305 for ; Fri, 14 Jul 2017 16:47:42 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-oi0-x241.google.com (mail-oi0-x241.google.com [IPv6:2607:f8b0:4003:c06::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2BEE6C5E1 for ; Fri, 14 Jul 2017 16:47:42 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-oi0-x241.google.com with SMTP id n2so10816105oig.3 for ; Fri, 14 Jul 2017 09:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BRwkIHw7n1+UkQUXgHL+NeaQ1zffN5FGavjOwEoIfrk=; b=l6h3JMmwE6gyA5URyvO1QTzXFm/kbExoHzbYsou6ocei+ei5qFpqs4+Ixj89FCcQZf uC2AuowXUF0sH1M3+00VcasVZ1rNDGIFdyd1h6rkGWzYNpEntGEG3M4HaxKrFyxercLd R0vqsIQurKdWW6Dvpm8lMIZpokrwwRjUnzo9Uv8LAsLOjgSMWJFD3V5jQoWf+RLWGAFr /YctfuGMiDN4kJhJtqLcjnBYIQ1jOQEWayNZfdI3q0R92nTS+u2aOB6vwTlmT2x8tIB9 fZLp8CMjhm2gaoi0vbi68GELeoG9Qu/iFzjYtoFKoIzd64W/SgyfgQpunQmSvbr77fhQ lzDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BRwkIHw7n1+UkQUXgHL+NeaQ1zffN5FGavjOwEoIfrk=; b=F20W5cUVxRO340Mtu6tn55R4VT2Q4GrHZLOJGiX6G+yWkDK/qAt2hD321oYD1gNMxW kUJa/O6Q3MOx/49s8cX9tL6vMM/GlMxfJ99gh6PqLZtIuaxv9l5Rhx4ExtNvesLaVf9p fRNgn3mq1189SfFOx1nGOX139Dg8NUDBaAtPJaiqNgsQYNAFIOFnDgQaWtbnjn5v/Z9I xKSMdnz/pqMux3VhwRVctKWUWg8TjUEGqj3iyp7b6CEmTMfJg/rtWnmmAPP/gj5ri8OO 48QoCRNIQDzdwGZctsl8yiigxMsIItTW2sMIgeyZgYHWcOynhjC4nPqRkA87956YPyVe luOw== X-Gm-Message-State: AIVw112KhCNs2UsQqJUEK2P+6+v4xkbMjfpVQQehT4ZjFWnAdbGm4P23 HBU6nlGuLrYLYXi2iiTYnw== X-Received: by 10.202.244.215 with SMTP id s206mr6683616oih.25.1500050861598; Fri, 14 Jul 2017 09:47:41 -0700 (PDT) Received: from [192.168.1.90] (adsl-69-231-113-4.dsl.irvnca.pacbell.net. [69.231.113.4]) by smtp.gmail.com with ESMTPSA id f137sm12476935oig.26.2017.07.14.09.47.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jul 2017 09:47:40 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Magic Mouse patch From: maksim yevmenkin X-Mailer: iPhone Mail (14F89) In-Reply-To: <1500024792.73903.1.camel@yandex.com> Date: Fri, 14 Jul 2017 09:47:39 -0700 Cc: freebsd-bluetooth@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <1500024792.73903.1.camel@yandex.com> To: Stari Karp X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 16:47:43 -0000 > I have a question too. Almost two years ago was made a patch for Apple > Magic Mouse and I think is still there but was never use for update > FreeBSD bluetooth. I am using this patch all the time on all updates of > FreeBSD and loooks like it is dead. I am true, please? Apologies. I'm not sure I understand. Are you saying your patch was not comm= itted ? Did you send it to me ? Or did you file pr? If I missed it, I'm sorry. Can you please point me to it again ? Thanks Max From owner-freebsd-bluetooth@freebsd.org Fri Jul 14 18:35:42 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2F32DA9CCA for ; Fri, 14 Jul 2017 18:35:42 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from forward3m.cmail.yandex.net (forward3m.cmail.yandex.net [5.255.216.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 67EC6717F4 for ; Fri, 14 Jul 2017 18:35:41 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [IPv6:2a02:6b8:0:801::ac]) by forward3m.cmail.yandex.net (Yandex) with ESMTP id 0DF4A212D1; Fri, 14 Jul 2017 21:35:32 +0300 (MSK) Received: from smtp2j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2j.mail.yandex.net (Yandex) with ESMTP id 333C43EC0CC7; Fri, 14 Jul 2017 21:35:30 +0300 (MSK) Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id R2IMG7ZD8D-ZTXu9k8b; Fri, 14 Jul 2017 21:35:29 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1500057330; bh=mFvWaNgc5T0U1l8KlF+WiFkd8U5X2GJdkVLfLMGNPQ8=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References; b=MdJprRs7iIisiEpBciZO/9ccxrPZLZ16f5crCKxiLhfqpFIqw5HtXJ0vZTFEeswQI KcDsxQGTzF6x7E8OEV5XcteHIIjwZapWgT5K4zpRHVlPrkdMktuFfQbBmj7/JRz9uJ bywFjY5duBNDT7dT/xtCm04wJsqmaTtMnDgKBRqE= Authentication-Results: smtp2j.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 0,1 0 Message-ID: <1500057327.27825.1.camel@yandex.com> Subject: Re: Magic Mouse patch From: Stari Karp To: maksim yevmenkin Cc: freebsd-bluetooth@freebsd.org Date: Fri, 14 Jul 2017 14:35:27 -0400 In-Reply-To: References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <1500024792.73903.1.camel@yandex.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 18:35:42 -0000 On Fri, 2017-07-14 at 09:47 -0700, maksim yevmenkin wrote: > > I have a question too. Almost two years ago was made a patch for > > Apple > > Magic Mouse and I think is still there but was never use for update > > FreeBSD bluetooth. I am using this patch all the time on all > > updates of > > FreeBSD and loooks like it is dead. I am true, please? > > Apologies. I'm not sure I understand. Are you saying your patch was > not committed ? > > Did you send it to me ? Or did you file pr? > > If I missed it, I'm sorry. Can you please point me to it again ? > > Thanks > Max > It was not mine patch but it was patch which is working for me and some other people. I never heard anything about this patch again: https://reviews.freebsd.org/D3702 Thank you. From owner-freebsd-bluetooth@freebsd.org Fri Jul 14 20:10:33 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BB53DAB37D for ; Fri, 14 Jul 2017 20:10:33 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B6BB74478 for ; Fri, 14 Jul 2017 20:10:33 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id 62so29300799wmw.1 for ; Fri, 14 Jul 2017 13:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EXDxDkQpktJ6wQoIFqTkdOEvKpdVPAgs6gq0piI27DE=; b=AUEtWM9WtQ7eUaMlLFhOp5rIi5SeQuPpOfPj6HW+/0wjcDI2yImpqyEQe7k/1ZWs3T 6+V3+0lCp+USJLLJJfUY/bw6gHZw7nctr6ktxCgytdS9WJTw3CPP6KV0cgzGw/OP+8EZ J9IjWFNuI8yFPfvdXD//QPVAKj5rjT1JrCCgvxhDT0KP/3232Xy+ZGP7iETZ3jKs055u nnobCyRVGxBo9yWeyvnp9/t9mp8bVPJY22qaUpQe82NCHM1qRlErMGP1Qe4jzWFmbliL mXu8ecZMxz2KHG1PixbHxFaFuYBt3uD3Em6iAXOkrWykC9oru9t3/uOX9a0DUHucmzbq iTCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=EXDxDkQpktJ6wQoIFqTkdOEvKpdVPAgs6gq0piI27DE=; b=HwVTFLrARNH7OqfnQWQ41EziHfKrh84tMCrkD2uEi+8js4H40JSVKri7oiPHIo6zWT tTJnED3pxnT44usAtKCP4/2L5Bz7u1JJeZUbn+3d49WVQT7HQJMJmE2c8g3MVSzteFLS ZSBFTU2uU1/mLLRFS+tTtxozETLYkne5Ma5dhYPRQ/2jyAuNly9NPXTxz2qX0pJjVtil bdibQDYcy+7R0f+RmzafgMIhCq9xvCMj7B1KYDTjyvCLuvR46gMP9j8w0/L4oUkmQqnn mu8VlD1JitR7RGhZPWScasqTBhaTSu0iuGnPG7omRAVC08BKU7x7JPyDdPL6Ia6gKlL+ j+Qw== X-Gm-Message-State: AIVw110p6OG7fBob35DbeXVqEfPwmAlr7dzX6f1FNiSDDsTyaorODvup vsGN1EyjKznvvO9HEP9xou9WMKOOvkuw X-Received: by 10.80.163.150 with SMTP id s22mr7861287edb.18.1500063031336; Fri, 14 Jul 2017 13:10:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.140.35 with HTTP; Fri, 14 Jul 2017 13:10:30 -0700 (PDT) In-Reply-To: <1500057327.27825.1.camel@yandex.com> References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <1500024792.73903.1.camel@yandex.com> <1500057327.27825.1.camel@yandex.com> From: Maksim Yevmenkin Date: Fri, 14 Jul 2017 13:10:30 -0700 Message-ID: Subject: Re: Magic Mouse patch To: Stari Karp Cc: "freebsd-bluetooth@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 20:10:33 -0000 > It was not mine patch but it was patch which is working for me and some > other people. I never heard anything about this patch again: > https://reviews.freebsd.org/D3702 right... i can see that i approved this. i suppose author did not merge this in. may be contact author? thanks! max From owner-freebsd-bluetooth@freebsd.org Fri Jul 14 21:22:29 2017 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DF06DAC823 for ; Fri, 14 Jul 2017 21:22:29 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [217.115.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0728771CC for ; Fri, 14 Jul 2017 21:22:28 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: (qmail 24137 invoked from network); 14 Jul 2017 21:15:44 -0000 Received: from elektropost.org (HELO elektropost.org) (erdgeist@erdgeist.org) by elektropost.org with ESMTPS (DHE-RSA-AES128-SHA encrypted); 14 Jul 2017 21:15:44 -0000 Subject: Re: Magic Mouse patch To: Maksim Yevmenkin , Stari Karp Cc: "freebsd-bluetooth@freebsd.org" References: <085c77b2-9f40-5a1f-0b49-86a24e561fce@aldan.algebra.com> <1500024792.73903.1.camel@yandex.com> <1500057327.27825.1.camel@yandex.com> From: Dirk Engling Message-ID: Date: Fri, 14 Jul 2017 23:15:43 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 21:22:29 -0000 On 14.07.17 22:10, Maksim Yevmenkin wrote: >> It was not mine patch but it was patch which is working for me and some >> other people. I never heard anything about this patch again: >> https://reviews.freebsd.org/D3702 > > right... i can see that i approved this. i suppose author did not > merge this in. may be contact author? Patch is mine. I do not have commit bits, so I never knew where to merge it. Who do I nudge? One problem is, the patch bumps config file format, which once rewritten is not readable with old lexer. Maybe bthidd should switch to libucl? Would be willing to provide a patch for that. erdgeist