From owner-freebsd-x11@freebsd.org Sun Aug 28 10:05:37 2016 Return-Path: Delivered-To: freebsd-x11@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 4C73EB78BEF for ; Sun, 28 Aug 2016 10:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 359CD628 for ; Sun, 28 Aug 2016 10:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 34F99B78BEE; Sun, 28 Aug 2016 10:05:37 +0000 (UTC) Delivered-To: x11@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 349F1B78BED for ; Sun, 28 Aug 2016 10:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 236D8627 for ; Sun, 28 Aug 2016 10:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7SA5a0K050244 for ; Sun, 28 Aug 2016 10:05:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 203826] x11-servers/xorg-server In X server after 1.17, default configuration is now -nolisten tcp Date: Sun, 28 Aug 2016 10:05:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd-bug-report-yf@yf.bsdclub.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2016 10:05:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203826 Yasuhito FUTATSUKI changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Not A Bug --- Comment #5 from Yasuhito FUTATSUKI --- (In reply to Jason Unovitch from comment #4) I'm sorry too late to respond. I agree this is too late to mention it. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-x11@freebsd.org Sun Aug 28 11:48:40 2016 Return-Path: Delivered-To: freebsd-x11@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 014F6B78B91; Sun, 28 Aug 2016 11:48:40 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 BF20C7C5; Sun, 28 Aug 2016 11:48:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 451AB1FE022; Sun, 28 Aug 2016 13:48:37 +0200 (CEST) Subject: Re: [CFT] New version of webcamd, now v4.8.0.2 To: Miguel C , Oleg Nauman References: Cc: "freebsd-multimedia@freebsd.org" , "freebsd-x11@FreeBSD.org" , FreeBSD Current From: Hans Petter Selasky Message-ID: <050b048b-b73d-0823-885a-e8ab88f070e8@selasky.org> Date: Sun, 28 Aug 2016 13:53:11 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2016 11:48:40 -0000 On 08/28/16 01:59, Miguel C wrote: > Actually for me it was failing before, so I gave this a go, yet testing > with pwcview, cheese even mplayer all fail. > > I just compiled the updated version (v4.8.0.4) with DEBUG=on > > I'm starting webcamd manually: > udo webcamd -d ugen0.4 -i 0 -v 0 -m pwc-if.power_save=-1 > : USB HID core driver > Linux video capture interface: v2.00 > IR NEC protocol handler initialized > IR RC5(x/sz) protocol handler initialized > IR RC6 protocol handler initialized > IR JVC protocol handler initialized > IR Sony protocol handler initialized > IR SANYO protocol handler initialized > IR LIRC bridge handler initialized > IR XMP protocol handler initialized > b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded > successfully > uvcvideo: Unable to create debugfs directory > USB Video Class driver (1.1.1) > cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 > pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner > pvrusb2: Debug mask is 31 (0x1f) > USBVision USB Video Device Driver for Linux : 0.9.11 > em28xx: Registered (Em28xx v4l2 Extension) extension > em28xx: Registered (Em28xx dvb Extension) extension > Attached to ugen0.4[0] > uvcvideo: Found UVC 1.00 device 1.3M HD WebCam (064e:c321) > Creating /dev/video0 > > > This is what I get from pwcview: > pwcview > Failed to get current picture info: Invalid argument > > and if I try with cheese I get a black screen and see this in after > "Creating /dev/video": > uvcvideo: Failed to submit URB 0 (-32). > Hi, Error 32 likely means that the endpoint the uvcvideo driver is trying to attach to doesn't exist. It might be a bug in the USB configuration descriptor. Could you dump the USB descriptors for this device? usbconfig -d ugenX.Y dump_curr_config_desc dump_device_desc --HPS From owner-freebsd-x11@freebsd.org Sun Aug 28 12:30:13 2016 Return-Path: Delivered-To: freebsd-x11@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 6460AB79EC4 for ; Sun, 28 Aug 2016 12:30:13 +0000 (UTC) (envelope-from repeatable_compression@yahoo.com) Received: from nm14-vm3.bullet.mail.ne1.yahoo.com (nm14-vm3.bullet.mail.ne1.yahoo.com [98.138.91.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32C623D6 for ; Sun, 28 Aug 2016 12:30:12 +0000 (UTC) (envelope-from repeatable_compression@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1472387406; bh=m+CjvFMYLHyFM3mPODUEAxAX5Ga3b6GxH6pLbsrY1Hg=; h=To:From:Subject:Date:From:Subject; b=Ww5sX5D3xSBOSiH2ZUWPc+T/kTmocdIVR7mTFfc7MbQd0+RevNwuB68w44Sz2xG6SSp5EkX7eulcG5C0Tch0gDmZc7+z0jAdJPNyA9f+Hu7s+TncNXsTbiSi0ECZTnYcdxySNZNIx6tkNC2JYjQSVAwECgRkC0cVO0ub1pD+62Y9rJgZnscHmvGYnR4WhNn7o5QaENlFqujbe8jpwI3aZzoAZeYgYlY1PTC0cpBXysqRvrh2vMc7B0RsPR382joJGZyALCD4gMCXtn5gqI/2HjMmiZfPN2RqMPwA4yUj51yvs/0Wi3Dmkk++QutaapPDJGT3t3+dINMAiQSxnWtXgg== Received: from [98.138.100.113] by nm14.bullet.mail.ne1.yahoo.com with NNFMP; 28 Aug 2016 12:30:06 -0000 Received: from [98.138.226.124] by tm104.bullet.mail.ne1.yahoo.com with NNFMP; 28 Aug 2016 12:30:06 -0000 Received: from [127.0.0.1] by smtp203.mail.ne1.yahoo.com with NNFMP; 28 Aug 2016 12:30:06 -0000 X-Yahoo-Newman-Id: 665602.8703.bm@smtp203.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: UYksvwIVM1nfA6MarTSxg1Xe2dyESt_IpAGEY3vCETRBNpy 9UuL7_tHaILQutVsMZ_ObcrzpKICMcPVYFmQDPRvHZ1KuFwM_INESiHyii9m wBLTxJmxoCm65Au2p3h03lQpmcesuv7wiN88Cy00XaAg3UGR6LtyLZ2fU3Ko fKibDewCUf27o0ZLbm4aXKRbPm1EDwpriAwsRWzqDFvypNIB4rOsZGslIc_d iSOOneI2g7x9TEteWMWiHZC6zMUg62rxg6yvocS6SCWPuzXxH3WgWbKylfzj uBdsUSQ0Cbj1mqhiyUVp9WcLqtLswQCcRoyRGBkYAa7HOprfaU.qoucaMF37 bvlGpspsz12_FlJXiqVjUgAxIrJ3LqL43AqHazEQFX6gNR1NOvSYX6n8LUR4 KIn587jfPoCBJGRUNsjquN5UH3EyDRb_OaGahNmx3Pi450C6XiJrjG7y3E_u JbtMX4LGA.AuowcnRPdzbYq4Q.lEhS2YYjHhsW96JYuna8i7izvK_PFeUMOH w2tm.8IyFsXPM6L2oUAFjcsZxxoKfArFwMv5UdpqvLSbwHSaogMCn3TY7hcI - X-Yahoo-SMTP: KDkTLsqswBBCmUTAOzBaZ_hLyVQzFsoqgrhYGNK2rJDiXlA- To: freebsd-x11@freebsd.org From: Jules Gilbert Subject: making X secure? Message-ID: <57C2D94D.7040906@yahoo.com> Date: Sun, 28 Aug 2016 08:30:05 -0400 User-Agent: Mozilla/5.0 (X11; OpenBSD i386; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2016 12:30:13 -0000 Is this possible?, can X be made secure?? I need X for the Mozilla application family. Are those weak from a security perspective? At the moment I'm doing other stuff and (this may be a foolish thought...,) would accept a quick fix. Probably a really bad idea, I know. But someone who's apparently good at this has hacked several releases of FreeBSD and OpenBSD. About OpenBSD, as soon as one adds (for me, necessary,) applications, it's not as advertised. Okay, one more time. Can X be made secure?? From owner-freebsd-x11@freebsd.org Sun Aug 28 14:02:46 2016 Return-Path: Delivered-To: freebsd-x11@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 49605B777A7; Sun, 28 Aug 2016 14:02:46 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 96BB92B; Sun, 28 Aug 2016 14:02:45 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id q128so47535267wma.1; Sun, 28 Aug 2016 07:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5FM489REXj0NB/aPq4D60F+WWJxqNpxMSnM7WubYKDQ=; b=nf/lc+9+P3bVimB2OTz+wxDnBC/Zg3bmGz1z/ABcFCmCarovGHcmArDe0EyxtDH07f VC5YwUMihV7yJQrTW9CMIYGNpiVEJdT5M15oMSzJ+ZLrII26NWXh8yfpR4layfse2xP2 auqqsE9xwjyIBOWTobUHZ3SpqIVDogB5ucQgm2duir7i3AYrP6lOBJlvrlY2NbYOIJti Cxh0KmhUQ1wWN8vketRmMkDTTZfinOnQKTSLO4TkVqDaJe5blhI1l39VrUPZfd0nVxH2 JKuNZ8feQVk6w3wflgOSZcZS+c7BlXyv6ERMgPCsSWGkzUw2dxt8s0YBdiZqvvMjkgoW LJXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5FM489REXj0NB/aPq4D60F+WWJxqNpxMSnM7WubYKDQ=; b=c/5YnSq9w0Pe9a5LDNZOSfTGQ9+/K6gqTB++xwRJZ5KUwkegDXaGOemWKJCgKPBb/t xaChRCH0bMN7iCqV1fIrdU/MPZu00RrsOtMTMUxB3MAfahh2ZxtubUH4VWTEA0/Qy81Q CMh4ba3J+AFii+NTsFxBKZx6x6532k32Ias63FviFdYtJVlhQJGLXUdrAEE0/6eVlKQG tLp93xcUfbbs3xalPjLCEGq7vizYnabZY0ZfFqfWG0R+ZQvx+eVQ9EQ8MkJ+KXDJswlG z3PrYGAGAJP0GcjkL64d2gbXCyjTDHYhwaCWKMl5NJnJhf3zv5o2VBMc+z1Znqd9W3SC xoMA== X-Gm-Message-State: AE9vXwPmgFaN+/J3IFo/ZjWnOBhkkKcf4A4GGgojlPUG8IA42v7OLi9J45ZVh/6Xa5i60emvSNIV6WEAhFfLEg== X-Received: by 10.194.205.2 with SMTP id lc2mr12978736wjc.175.1472392963311; Sun, 28 Aug 2016 07:02:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.208.65 with HTTP; Sun, 28 Aug 2016 07:02:02 -0700 (PDT) In-Reply-To: <050b048b-b73d-0823-885a-e8ab88f070e8@selasky.org> References: <050b048b-b73d-0823-885a-e8ab88f070e8@selasky.org> From: Miguel C Date: Sun, 28 Aug 2016 15:02:02 +0100 Message-ID: Subject: Re: [CFT] New version of webcamd, now v4.8.0.2 To: Hans Petter Selasky Cc: Oleg Nauman , "freebsd-multimedia@freebsd.org" , "freebsd-x11@FreeBSD.org" , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2016 14:02:46 -0000 On Sun, Aug 28, 2016 at 12:53 PM, Hans Petter Selasky wrote: > On 08/28/16 01:59, Miguel C wrote: > >> Actually for me it was failing before, so I gave this a go, yet testing >> with pwcview, cheese even mplayer all fail. >> >> I just compiled the updated version (v4.8.0.4) with DEBUG=on >> >> I'm starting webcamd manually: >> udo webcamd -d ugen0.4 -i 0 -v 0 -m pwc-if.power_save=-1 >> : USB HID core driver >> Linux video capture interface: v2.00 >> IR NEC protocol handler initialized >> IR RC5(x/sz) protocol handler initialized >> IR RC6 protocol handler initialized >> IR JVC protocol handler initialized >> IR Sony protocol handler initialized >> IR SANYO protocol handler initialized >> IR LIRC bridge handler initialized >> IR XMP protocol handler initialized >> b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded >> successfully >> uvcvideo: Unable to create debugfs directory >> USB Video Class driver (1.1.1) >> cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 >> pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner >> pvrusb2: Debug mask is 31 (0x1f) >> USBVision USB Video Device Driver for Linux : 0.9.11 >> em28xx: Registered (Em28xx v4l2 Extension) extension >> em28xx: Registered (Em28xx dvb Extension) extension >> Attached to ugen0.4[0] >> uvcvideo: Found UVC 1.00 device 1.3M HD WebCam (064e:c321) >> Creating /dev/video0 >> >> >> This is what I get from pwcview: >> pwcview >> Failed to get current picture info: Invalid argument >> >> and if I try with cheese I get a black screen and see this in after >> "Creating /dev/video": >> uvcvideo: Failed to submit URB 0 (-32). >> >> > Hi, > > Error 32 likely means that the endpoint the uvcvideo driver is trying to > attach to doesn't exist. It might be a bug in the USB configuration > descriptor. Could you dump the USB descriptors for this device? > > usbconfig -d ugenX.Y dump_curr_config_desc dump_device_desc > > Sure, here goes: ############# ugen0.4: <1.3M HD WebCam SuYin> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ef bDeviceSubClass = 0x0002 bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x064e idProduct = 0xc321 bcdDevice = 0x0102 iManufacturer = 0x0001 iProduct = 0x0002 <1.3M HD WebCam> iSerialNumber = 0x0003 bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x03f2 bNumInterfaces = 0x0002 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x0080 bMaxPower = 0x00fa Additional Descriptor bLength = 0x08 bDescriptorType = 0x0b bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x08, 0x0b, 0x00, 0x02, 0x0e, 0x03, 0x00, 0x02 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x000e