From owner-freebsd-net@freebsd.org Sun Jul 26 02:31:29 2015 Return-Path: Delivered-To: freebsd-net@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 9CDE09A9A68 for ; Sun, 26 Jul 2015 02:31:29 +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 89C692C5 for ; Sun, 26 Jul 2015 02:31:29 +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 t6Q2VTn3086603 for ; Sun, 26 Jul 2015 02:31:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201876] panic: rw lock 0xcc0bef50 not unlocked (CURRENT w/IPSEC + if_gre) Date: Sun, 26 Jul 2015 02:31:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 02:31:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201876 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jul 26 02:40:40 2015 Return-Path: Delivered-To: freebsd-net@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 8E4919A9CD7 for ; Sun, 26 Jul 2015 02:40:40 +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 72AA7863 for ; Sun, 26 Jul 2015 02:40:40 +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 t6Q2eevR096541 for ; Sun, 26 Jul 2015 02:40:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201581] enc0 needs to be up if kernel has it Date: Sun, 26 Jul 2015 02:40:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-BETA1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 02:40:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201581 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jul 26 02:42:05 2015 Return-Path: Delivered-To: freebsd-net@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 E1BE79A9E40 for ; Sun, 26 Jul 2015 02:42:05 +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 CE122AE7 for ; Sun, 26 Jul 2015 02:42:05 +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 t6Q2g5XF099245 for ; Sun, 26 Jul 2015 02:42:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201488] dummynet appears broken in 10.0-RELEASE and onwards (can't traffic shape on bridges) Date: Sun, 26 Jul 2015 02:42:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: luigi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 02:42:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201488 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Sun Jul 26 02:43:44 2015 Return-Path: Delivered-To: freebsd-net@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 277899A9EB9 for ; Sun, 26 Jul 2015 02:43:44 +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 1493ABF4 for ; Sun, 26 Jul 2015 02:43:44 +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 t6Q2hhDG000139 for ; Sun, 26 Jul 2015 02:43:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201447] aes-gcm corrupted packets with ipsec Date: Sun, 26 Jul 2015 02:43:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 02:43:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201447 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|aes-gcm corrupted packet |aes-gcm corrupted packets | |with ipsec Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jul 26 08:05:45 2015 Return-Path: Delivered-To: freebsd-net@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 8BF089A326D for ; Sun, 26 Jul 2015 08:05:45 +0000 (UTC) (envelope-from julia@n-orion.com) Received: from out2130-229.mail.aliyun.com (out2130-229.mail.aliyun.com [42.156.130.229]) by mx1.freebsd.org (Postfix) with ESMTP id 908196ED for ; Sun, 26 Jul 2015 08:05:38 +0000 (UTC) (envelope-from julia@n-orion.com) X-Alimail-AntiSpam: AC=AD; BC=0.9206409|0.3699408; BR=01201311R191b1; FP=5556962417895718813|48|1|28|0|-1|-1|-1; HT=e02c03285; MF=julia@n-orion.com; NM=1; PH=DS; RN=1; RT=1; SR=0; Received: from julia@n-orion.com(mailfrom:julia@n-orion.com ip:219.131.178.86) by smtp.aliyun-inc.com(10.147.38.245); Sun, 26 Jul 2015 16:04:25 +0800 From: "julia@n-orion.com" To: "freebsd-net" Subject: ZEBRA ZXP series 3, series1, P110i, P330i compatibles Message-ID: Date: Sun, 26 Jul 2015 16:03:21 +0800 MIME-Version: 1.0 X-Priority: 1 X-Mailer: Email Sender 2.0 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_045CFFEE.FDE53B45" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 08:05:45 -0000 --------_=_NextPart_001_045CFFEE.FDE53B45 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello,=0D=0A=0D=0AWe are a Korean company manufacturing Compatible = ID card printer ribbons MADE IN KOREA.=0D=0AOur product is best = quality with reasonable price range.=0D=0AWe can supply ZEBRA = ZXP series 3, series1, P110i, P330i compatibles and FARGO HDP50000, = DATACARD, IDP smart series, XID8300, Holograms, UV Ribbons, = Government project etc.=0D=0APlease see here attached our catalog.=0D=0A= =0D=0AI hope we can have business opportunity.=0D=0A=0D=0AThanks,=0D=0A= =0D=0Ajulia@n-orion.com=0D=0Askype: norion-ribbons=0D=0AHomepage = : http://www.n-orion.com/ --------_=_NextPart_001_045CFFEE.FDE53B45 Content-Type: ; name="" Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 --------_=_NextPart_001_045CFFEE.FDE53B45-- From owner-freebsd-net@freebsd.org Sun Jul 26 08:51:15 2015 Return-Path: Delivered-To: freebsd-net@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 BFA7B9A3E73 for ; Sun, 26 Jul 2015 08:51:15 +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 ABEBBEDF for ; Sun, 26 Jul 2015 08:51:15 +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 t6Q8pFSw064453 for ; Sun, 26 Jul 2015 08:51:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201876] panic: rw lock 0xcc0bef50 not unlocked (CURRENT w/IPSEC + if_gre) Date: Sun, 26 Jul 2015 08:51:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 08:51:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201876 Ermal Lu=C3=83=C2=A7i changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eri@freebsd.org Assignee|freebsd-net@FreeBSD.org |eri@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 26 08:54:20 2015 Return-Path: Delivered-To: freebsd-net@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 DC1E29AB062 for ; Sun, 26 Jul 2015 08:54:20 +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 C898814E for ; Sun, 26 Jul 2015 08:54:20 +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 t6Q8sKqk067498 for ; Sun, 26 Jul 2015 08:54:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 86427] [lor] Deadlock with FASTIPSEC and nat Date: Sun, 26 Jul 2015 08:54:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 6.0-BETA5 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eri@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status 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-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 08:54:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D86427 Ermal Lu=C3=83=C2=A7i changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eri@freebsd.org Resolution|--- |Works As Intended Status|In Progress |Closed --- Comment #8 from Ermal Lu=C3=83=C2=A7i --- This for sure is not an issue anymore. Closing and if needed can be re-opened. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 26 10:59:38 2015 Return-Path: Delivered-To: freebsd-net@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 5AAC59A7F7F for ; Sun, 26 Jul 2015 10:59:38 +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 467E2E66 for ; Sun, 26 Jul 2015 10:59:38 +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 t6QAxcaS035516 for ; Sun, 26 Jul 2015 10:59:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 185427] [igb] [panic] freebsd 8.4, 9.1 and 9.2 panic Double-Fault with intel 82576 igb driver Date: Sun, 26 Jul 2015 10:59:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: napTu@front.ru X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 10:59:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185427 --- Comment #3 from napTu@front.ru --- New url to access to the dumps is http://icenet.net.ru/ ... -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jul 26 17:21:18 2015 Return-Path: Delivered-To: freebsd-net@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 A822C9ABB5D for ; Sun, 26 Jul 2015 17:21:18 +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 8FD99D8 for ; Sun, 26 Jul 2015 17:21:18 +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 t6QHLIi2092943 for ; Sun, 26 Jul 2015 17:21:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 185427] [igb] [panic] freebsd 8.4, 9.1 and 9.2 panic Double-Fault with intel 82576 igb driver Date: Sun, 26 Jul 2015 17:21:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 17:21:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185427 --- Comment #4 from Sean Bruno --- (In reply to napTu from comment #3) Doesn't seem to be resolvable. Couldn't access the site and crashdumps. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jul 26 18:16:52 2015 Return-Path: Delivered-To: freebsd-net@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 545109AB6CB for ; Sun, 26 Jul 2015 18:16:52 +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 40F071DA4 for ; Sun, 26 Jul 2015 18:16:52 +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 t6QIGqqQ047944 for ; Sun, 26 Jul 2015 18:16:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201447] aes-gcm corrupted packets with ipsec Date: Sun, 26 Jul 2015 18:16:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gnn@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 18:16:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201447 George V. Neville-Neil changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |gnn@FreeBSD.org --- Comment #3 from George V. Neville-Neil --- I am now looking into this. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jul 26 21:00:21 2015 Return-Path: Delivered-To: freebsd-net@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 263EE9A9514 for ; Sun, 26 Jul 2015 21:00:21 +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 014BF1B39 for ; Sun, 26 Jul 2015 21:00:21 +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 t6QL0K73086186 for ; Sun, 26 Jul 2015 21:00:20 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201507262100.t6QL0K73086186@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-net@FreeBSD.org Subject: Problem reports for freebsd-net@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 26 Jul 2015 21:00:20 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 21:00:21 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 197535 | [re] [panic] if_re (Realtek 8168) causes memory w Open | 194515 | Fatal Trap 12 Kernel with vimage Open | 199136 | [if_tap] Added down_on_close sysctl variable to t 3 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Jul 27 14:58:48 2015 Return-Path: Delivered-To: freebsd-net@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 006DC9AC4C1 for ; Mon, 27 Jul 2015 14:58:48 +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 E11D8F03 for ; Mon, 27 Jul 2015 14:58:47 +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 t6REwlNq008016 for ; Mon, 27 Jul 2015 14:58:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200321] [ip] [pf] pfSync generates demotion events to carp when not needed Date: Mon, 27 Jul 2015 14:58:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gnn@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 14:58:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200321 George V. Neville-Neil changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gnn@FreeBSD.org Assignee|freebsd-pf@FreeBSD.org |eri@freebsd.org -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Mon Jul 27 18:45:56 2015 Return-Path: Delivered-To: freebsd-net@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 8F0879ACC73 for ; Mon, 27 Jul 2015 18:45:56 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (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 5A716878 for ; Mon, 27 Jul 2015 18:45:56 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: by igbij6 with SMTP id ij6so84465330igb.1 for ; Mon, 27 Jul 2015 11:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=ZZIm+Ew4WsG+/6IRydBKkrYnxtfHwiX+fmkqFxAMLxQ=; b=EwiW4HEU9Zn36Q95QAkKPVmrjGa/VcOAOTMsZFhgkUXSGEkBvLxwqPXntBqC0ZIZTP Cu8rRPZSXonLYzyg1EtD0ryYcDCKxJfvy+IEvbkXvNOFcZAHWDK76KaNw3PHSh0iYKsC XrG6QEXqOZ+1h3msnYDSX0cNkjEphhkRh2hdU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:date:message-id:to:mime-version; bh=ZZIm+Ew4WsG+/6IRydBKkrYnxtfHwiX+fmkqFxAMLxQ=; b=VfJdrHZBnfahZ2dvRPYuR97P3RTZs0FyKZWHLRE+UlHvk3jJmB2Uu1L+0INTaf4EpN omgExQYOhsftcdB/+Av6KFjLzFTUtwDrvUf9bqM7TA9DAIdtVfZcvWaoYHEAZrFDaDq7 zYXP42vsQkTww7FSGu+wR6ZWSWTnnDnrqE+1DlIPLNKegmQCdKrmwRnPXfJ7/cK+Diha F6BzFRWk2lZY2thOKvQYjdQN6lXtXwvSPVVIPVpznzfN0oFZPvJJK527F5f27oo0eaEj z0UrocP0ScRDmuv4fFTc1fPXhGc3HZU6dOkd2IXFZAa8WsR9i1QhxCkuD284YSr72dWZ MQCQ== X-Gm-Message-State: ALoCoQlvXfzfygPGuT9O9gPsMGPgIoUyLhE3RCEFWqluDxLFi/KvHcuQr2HGtxOpJPj1vwTznHuD X-Received: by 10.107.160.196 with SMTP id j187mr42799223ioe.80.1438022755650; Mon, 27 Jul 2015 11:45:55 -0700 (PDT) Received: from [192.168.8.21] ([66.195.151.70]) by smtp.gmail.com with ESMTPSA id o19sm6585326igi.14.2015.07.27.11.45.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jul 2015 11:45:55 -0700 (PDT) From: Jason Hellenthal X-Pgp-Agent: GPGMail 2.5 Content-Type: text/plain; charset="utf8"; Content-Transfer-Encoding: 8bit Subject: [RFC] ifconfig description Date: Mon, 27 Jul 2015 13:45:53 -0500 Message-Id: To: FreeBSD Net Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 18:45:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Looking for the interest in adopting the descr and description ifconfig commands into the rc subsystem and curious how many would be interested in utilizing it. e.g. ifconfig_vlan3_description=‘BLAH BLAH BLAH” - -- Jason Hellenthal JJH48-ARIN -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJVtnxiAAoJEDLu+wRc4KcIVAsH/i/twRaBxhkotGG6KMGGo9oF qzHj/jNV/uyI96F3B9ORmDBNoGyaCLK2wMNQXzO2MeZtgmCVt0kUp9qGVpjtQhgc VoF1RyS6yBDLviX7jfGRn/WCT2hrgTVTrZ4my9NI27Uc88WaWe4udk9cG29Y8uq0 zN8Y9vOh2LnnsT8iFDjZ1UwTOUIebB3VoEJKGdr69FbW58zamAh6Mjgn4OGtCtvh 1nmGy0cXedV/0t2YI6iC2QYZ8zZtT9XJqbhwF9GJFz3TOfSBVz5B1cq9XAh1gLlr MkZrkhug9F9+4vqzmmtbgEvPGf+UEN023y1qH9yAemv5KS6A+CV6xzQXHAnWXR8= =af1k -----END PGP SIGNATURE----- From owner-freebsd-net@freebsd.org Mon Jul 27 18:49:45 2015 Return-Path: Delivered-To: freebsd-net@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 30D3C9ACE1D for ; Mon, 27 Jul 2015 18:49:45 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::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 ECA6ADDF for ; Mon, 27 Jul 2015 18:49:44 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by obnw1 with SMTP id w1so66358951obn.3 for ; Mon, 27 Jul 2015 11:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KyI1s4DuQ+qQXL2wpC8B3yVLpFq72vsZigQ+iGie/cs=; b=uB97xjEKuhz6UdXNIsPI5fPWDLNWHEWiVpQ9vzHTzpTa3PCHe0f+u0NfS0UYufG00H d7C5bw3/WpcJTRGK0ZlvfW4NTItINFFZCF2PlKMFVYBe+t9p5cRDC7YfpM1HcaKM4+uw 1GzYVnopAftwxeUZeYyL1Ds5S2V+BmJUzMd/rFSOqKy5JxW6/pS6tpv9P5O+5jWVXlhD XSnXlJWIm+2hck14I3HHByRn0bebnL5KDF4Xrl4wAtqdVRsuisDmWoSrS8vNR+Pqmy1+ yI4YLUgtafsSp5Z/uBW1BQyyCH9oi9SzO6QYnFQh6ukgcrMDTlU3EO7mwp9tcN3/tkgF jS7Q== MIME-Version: 1.0 X-Received: by 10.60.103.107 with SMTP id fv11mr29153679oeb.16.1438022984349; Mon, 27 Jul 2015 11:49:44 -0700 (PDT) Received: by 10.76.81.100 with HTTP; Mon, 27 Jul 2015 11:49:44 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Jul 2015 11:49:44 -0700 Message-ID: Subject: Re: [RFC] ifconfig description From: Freddie Cash To: Jason Hellenthal Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 18:49:45 -0000 On Mon, Jul 27, 2015 at 11:45 AM, Jason Hellenthal wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Looking for the interest in adopting the descr and description ifconfig > commands into the rc subsystem and curious how many would be interested i= n > utilizing it. > > e.g. ifconfig_vlan3_description=3D=E2=80=98BLAH BLAH BLAH=E2=80=9D > =E2=80=8BI'd be interested in this. Didn't know about the description opti= on for ifconfig, but can see it being useful at work. Having it integrated into rc.conf(5) would be handy.=E2=80=8B --=20 Freddie Cash fjwcash@gmail.com From owner-freebsd-net@freebsd.org Mon Jul 27 18:56:13 2015 Return-Path: Delivered-To: freebsd-net@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 78F739ACFB4 for ; Mon, 27 Jul 2015 18:56:13 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (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 4300E12D for ; Mon, 27 Jul 2015 18:56:13 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: by igbpg9 with SMTP id pg9so105207037igb.0 for ; Mon, 27 Jul 2015 11:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=rIuC99t3avJI3erYTJUF16C5/6KS1aXfHLLnwDCmKIo=; b=DbPMfGhr0/aJaUMsYa+rc0uoZNvbOcfhFJoq3V89MDbKT4WZ48V80molP0a66lqOQO cxXXC3FBCwUUu6dsYV8ZHqJsI9VPc8firqAdOcsOSqDJrQQyvlmq926822wtmFeGnRx4 EgjoUOx5buoxyksmuFTjNE4nO/o+/t3WRYH6g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=rIuC99t3avJI3erYTJUF16C5/6KS1aXfHLLnwDCmKIo=; b=WkpJuX1SbYrUVHucXEsBLGf7VKZnVoJ1h/tPmhTi1EIihIHyDfOU9FC6svfbVb2PEt dR6Whp3OOzDuNaYYb1hJ5N7+Gr0lSakGrCYR7nCTtsPkMZVDwGU0eipLl5s7CyGIahAq Iu5UItljgnYg03kTkZW+kqnLM4rR8s09Up4WlB5OkJ1v5chN08erMZ+Jc1FHyfgaw5eI qo7PGubmwGZ0IalBvCQSk8rZ+4ZbAnIaOvr1890MVTkoaQgxKu2WLOLLzGXdQKcMH+76 eHAVgWTiv/n2EenksbK9lI+Fs03T24ud69eEOOZqMmVrvQPRZcobc4GtNp02QUNVBSG/ 24Rg== X-Gm-Message-State: ALoCoQkHdJCKdcPYUAId/zCzQ8kj+XIAXu9cjoZJnEK7tnqC0fLHIJrr8NH29HzV7mUsvrW+68hi X-Received: by 10.50.97.97 with SMTP id dz1mr2245233igb.64.1438023372469; Mon, 27 Jul 2015 11:56:12 -0700 (PDT) Received: from [192.168.8.21] ([66.195.151.70]) by smtp.gmail.com with ESMTPSA id m1sm6614956igv.8.2015.07.27.11.56.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jul 2015 11:56:12 -0700 (PDT) Content-Type: text/plain; charset="utf8"; Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: [RFC] ifconfig description X-Pgp-Agent: GPGMail 2.5 From: Jason Hellenthal In-Reply-To: Date: Mon, 27 Jul 2015 13:56:10 -0500 Content-Transfer-Encoding: 8bit Message-Id: References: To: FreeBSD Net X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 18:56:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Matter of fact … could someone commit this ? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=156675 No clue why it was closed for something that is so simple to do. On Jul 27, 2015, at 13:45, Jason Hellenthal wrote: Signed PGP part Looking for the interest in adopting the descr and description ifconfig commands into the rc subsystem and curious how many would be interested in utilizing it. e.g. ifconfig_vlan3_description=‘BLAH BLAH BLAH” - -- Jason Hellenthal JJH48-ARIN - -- Jason Hellenthal JJH48-ARIN -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJVtn7KAAoJEDLu+wRc4KcIcGwIAJa87/y4L+tuB8uoXZQoQb6f mvh/7TuYArNkrxhMV3anvwHQzenr3OhKnyAQFRFBTYY2l2FC4BXIBlwNvSHa2puB mCfPS7epVInSbYpMYGmlGTnrtsKx6SsxUfUdh7TDmIwJR52evoVQO5hWE6Va3fFT W/xWZVw6EyVivmvPI/BUcJ7mWCodiNnRjq6bMxcasRSXls2orel571iIXm7xZhJ8 1lQvYJQA24CZwnm/Gofv8lLA4DHCZNAnDz84i71PEjjUUgEME2Qw/atymvX4OALE d5kS8Ve4rkvb++usDS59zNPdgkftLU0p5nZ7A8tgaH03WGi9QpR/zrx3WFjlmJM= =gsDs -----END PGP SIGNATURE----- From owner-freebsd-net@freebsd.org Mon Jul 27 19:02:02 2015 Return-Path: Delivered-To: freebsd-net@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 343869AC20D for ; Mon, 27 Jul 2015 19:02:02 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-ob0-x231.google.com (mail-ob0-x231.google.com [IPv6:2607:f8b0:4003:c01::231]) (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 F0A8AACF for ; Mon, 27 Jul 2015 19:02:01 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by obdeg2 with SMTP id eg2so66911939obd.0 for ; Mon, 27 Jul 2015 12:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dQWzxVhvmiJRvtjHUhpHJ9XvdtWcIjYvAwK3wyFY0GE=; b=E9JWAW3LHMjkRM5pGr3hGIz7+QsSv2NdZO38grKEgsGzw2WTLla0hbPgnro0+Oh52I pzxGkJ6oQxYcdHW6I4Qo4x5rWdJgVXQ4L/MEHBlDmZDqFPGovdtQtybpg/LPFQ8o/Ctj zkSj678bJ79QZdBy+l19EsYMEhbsNZZkxn/AoONptzFg5U8lgpxWNxg98jRPtDIO8v80 /Ejcm/uKAiBKt8Ozz4x25TR2V7osX17DrbgoxEKs//PQHR0aMHx07KVy2gsVJPmgKsHL iyweB00ukniwt0dpfWfsbSWV2GudMY8ApJRNU3eq1bXTdnpaHKSBTQsnqdBRwxy05Tdm g9PA== MIME-Version: 1.0 X-Received: by 10.60.47.106 with SMTP id c10mr29050713oen.64.1438023721214; Mon, 27 Jul 2015 12:02:01 -0700 (PDT) Received: by 10.76.81.100 with HTTP; Mon, 27 Jul 2015 12:02:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Jul 2015 12:02:01 -0700 Message-ID: Subject: Re: [RFC] ifconfig description From: Freddie Cash To: Jason Hellenthal Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 19:02:02 -0000 On Mon, Jul 27, 2015 at 11:56 AM, Jason Hellenthal wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Matter of fact =E2=80=A6 could someone commit this ? > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D156675 > > > No clue why it was closed for something that is so simple to do. > > =E2=80=8BIt was already merged (R=E2=80=8B223858). Looking at /etc/network= .subr on a 10.0-RELEASE system shows the eval line. So, it looks like one can just add " description something cool to describe interface" to =E2=80=8Bthe end of the ifconfig_IF=3D line. Not as neat and organised as having a separate ifconfig_IF_description variable to set, but still very much workable. Thanks for the pointer in the right direction. Now to play with it at work. :) --=20 Freddie Cash fjwcash@gmail.com From owner-freebsd-net@freebsd.org Mon Jul 27 19:19:34 2015 Return-Path: Delivered-To: freebsd-net@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 5D6609AC497 for ; Mon, 27 Jul 2015 19:19:34 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (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 2067BF62 for ; Mon, 27 Jul 2015 19:19:34 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: by igk11 with SMTP id 11so76012331igk.1 for ; Mon, 27 Jul 2015 12:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/jmdwkatw5UYxQw1JkSeFBo2AMDG6GFc8ihnfNnLhME=; b=azB4n/rgn/kp7DfAa7s2RMexnRyWfJyMgS/9sJdTxqF0VXkOYKKCeYGvVDTPWnPerx 1tobbhizRun0WhTvmvhVg1mbL46ehLrLhsC1CU986HP89fSmPC3mVXoHmLBHGlz0RaOu 3Pgm5HAgefsoVcAq0d17l5X32h8JiFyYwY0jw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=/jmdwkatw5UYxQw1JkSeFBo2AMDG6GFc8ihnfNnLhME=; b=QP37rkPP6cYZD2976qtuDI0AM+p3AOtNklKJie5/jlDBzkFHyJc2bdHLuziOILr12j VHCrhmXlCHO6GCt7+3x0OC3lKxUqdas5kUibfb2y+AX4Rmf5cJp3oVrFiytUYKFYcqtt BT0QXbpnRaJ2KQILWv7s5SstedBdYbT8WqA77XXyHwn6d6iBN3Ln9AasmzSTtYwZnGw9 UdkbemAa/aiP1JCtTBc502fhrq0ZOwO46FQSCA5c5VVhGr+fpUwxw8DeNZabihvuk7ts YCArkZBOrXHcW506IO9HCYewNGNG+aKXDdqffqASNi5SDA0IFRDfxm11wPK6rAMBJMjv jQ6w== X-Gm-Message-State: ALoCoQnTO6N2HSOveqJNCGy8Wxt7TE6gaJiQcY/5tM1hM5h0PbnzIk34SyAvaAEx0mb2aJG25zaR X-Received: by 10.50.73.170 with SMTP id m10mr21374009igv.60.1438024773610; Mon, 27 Jul 2015 12:19:33 -0700 (PDT) Received: from [192.168.8.21] ([66.195.151.70]) by smtp.gmail.com with ESMTPSA id ht6sm6655350igb.11.2015.07.27.12.19.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jul 2015 12:19:33 -0700 (PDT) Subject: Re: [RFC] ifconfig description Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: text/plain; charset="utf8"; X-Pgp-Agent: GPGMail 2.5 From: Jason Hellenthal In-Reply-To: Date: Mon, 27 Jul 2015 14:19:31 -0500 Cc: FreeBSD Net Content-Transfer-Encoding: 8bit Message-Id: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> References: To: Freddie Cash X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 19:19:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Yeah thats pretty much what I’m doing right now. Attempting to match up some interfaces and throw a valuable description on each interface. With vlan interfaces I have not been successful at anything but manual configuration thus far. On Jul 27, 2015, at 14:02, Freddie Cash wrote: On Mon, Jul 27, 2015 at 11:56 AM, Jason Hellenthal wrote: - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Matter of fact … could someone commit this ? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=156675 No clue why it was closed for something that is so simple to do. ​It was already merged (R​223858). Looking at /etc/network.subr on a 10.0-RELEASE system shows the eval line. So, it looks like one can just add " description something cool to describe interface" to ​the end of the ifconfig_IF= line. Not as neat and organised as having a separate ifconfig_IF_description variable to set, but still very much workable. Thanks for the pointer in the right direction. Now to play with it at work. :) - -- Freddie Cash fjwcash@gmail.com - -- Jason Hellenthal JJH48-ARIN -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJVtoRDAAoJEDLu+wRc4KcIZ98H/i4+B4jiyNzP9yRevwMUgg6t QH+5fwhyfAFMOwuKmtLuFhdF5yx7KjII0/I8CWhy0SrYa83vHG83kW2TRD6q8iwy fpl4HJC07ttD+mY/CtOfIhY6gh8aG/eIK7r73ctHJdPbcnIHH+qMLgrGKAA26Zmc ZKBMHu12KSbmU6B4kv4b4diKptNgFCxeF3BhHxE7edJlSyP8h1N2AFcw89TrnYb+ HhKoSbj+Qz+D4IjtNt6HXrgTUkEeoDj32QVSOWkNnCIne5/uzkgK37+DA5RnaqoB 0b4OnO6VKL6kuKjKtkjjMJw8VMK8YmphEbwEUboftmjQhb3dWjW20cdQ+DdH5zA= =Opeb -----END PGP SIGNATURE----- From owner-freebsd-net@freebsd.org Tue Jul 28 00:57:31 2015 Return-Path: Delivered-To: freebsd-net@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 DA38D9ABAC4; Tue, 28 Jul 2015 00:57:31 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BD86DDAF; Tue, 28 Jul 2015 00:57:31 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6S0vUQD075299 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 27 Jul 2015 17:57:30 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6S0vUdG075298; Mon, 27 Jul 2015 17:57:30 -0700 (PDT) (envelope-from jmg) Date: Mon, 27 Jul 2015 17:57:30 -0700 From: John-Mark Gurney To: freebsd-security@FreeBSD.org, freebsd-net@FreeBSD.org Subject: remove IPsec SKIPJACK support... Message-ID: <20150728005730.GL78154@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Mon, 27 Jul 2015 17:57:30 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 00:57:32 -0000 Upon doing some investigation, I have found that the SKIPJACK IPsec encryption mode was never standardized. It was a draft[1] back in 1999, but never made into an offical RFC, and IANA nor IETF never assigned an offical number for the mode. Skipjack is also a very weak cipher[2]. The largest key it supports is 80bits, which is really too weak for modern usage. FreeBSD's setkey doesn't support manually keying skipjack, so this means it depends upon a daemon to configure it. It looks like NetBSD has it at the same value (250) as FreeBSD, but OpenBSD has it at 249. So there may be interoperability issues with it. I would like to remove it from HEAD immediately as I don't see a use for it. Some time ago I proposed removing Skipjack from the OCF in 12, but personally, now that I think about how long 12 is, we deprecate these sooner rather than later. P.S. If you want to keep this mode, you have to say you are currently using the mode and include a working sample config. Thanks. [1] https://tools.ietf.org/html/draft-ietf-ipsec-skipjack-cbc-00 [2] https://en.wikipedia.org/wiki/Skipjack_(cipher) -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Tue Jul 28 01:24:18 2015 Return-Path: Delivered-To: freebsd-net@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 3B2B69AC055 for ; Tue, 28 Jul 2015 01:24:18 +0000 (UTC) (envelope-from jim@netgate.com) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (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 03F571A37 for ; Tue, 28 Jul 2015 01:24:17 +0000 (UTC) (envelope-from jim@netgate.com) Received: by oigd21 with SMTP id d21so61368123oig.1 for ; Mon, 27 Jul 2015 18:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netgate.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8lF11mm1ZiiiXhWEQYkqiLMZJ7eqOt5LqqvpU+GZioY=; b=CG+YqTu2vmQTA4HBEP77Z01iz8BSvd+TMp2L8bD8MgK6/r72FmeHRArvTsse0ePxS2 mbOrk8+jgU/z/gAKwcJRrP9gbbmYoc+DWfalTE7NbhSIulTZ2/Z2MQinKTQeDJv6Dx8x 6aNFk1GREx45NDD5EDz/C7vTZPR1sOGln54IM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=8lF11mm1ZiiiXhWEQYkqiLMZJ7eqOt5LqqvpU+GZioY=; b=Up36xsJelH2Z7DamirQ8Lp/DqwoSA7IA1fViZHdYZBcDBW+1Kn60DIH7xIXmiqbQyb xS0UNJgsxrwsFHxdIkz+X/7fhi89TZfncPeokzP2aJtMrDdnHbj8p6XXSUlK/28fAxxb L4fDmkWLnJWtX4G7SCm8v7LLXV4aoJrxQUI5MOLxd/9LDcSkMXsQl01FrfQvMygPuU57 lsDYmXpT231ARYjJvC9nv2W7HVIWmtd7ouS/B7CCAw4enpSOEnlwq/xXTjMzQ3Fq8Ndx 8hQVisxKxdd9aMgVWlUxy3x6iuFr4KBBYGEv/9IGUp8AlZLChUNyCx5InT4hecEA/zFv V2EQ== X-Gm-Message-State: ALoCoQlBujmOTX1ykCEYoIqm0YUPAGZJQf34D4K4KVSTCJuTlIHgFLH0LahFmfE/REWdsB7ZTMqx X-Received: by 10.202.48.22 with SMTP id w22mr29762282oiw.95.1438046657043; Mon, 27 Jul 2015 18:24:17 -0700 (PDT) Received: from [172.21.0.83] (65-36-83-120.static.grandenetworks.net. [65.36.83.120]) by smtp.gmail.com with ESMTPSA id w7sm11552902obv.6.2015.07.27.18.24.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jul 2015 18:24:16 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: remove IPsec SKIPJACK support... From: Jim Thompson X-Mailer: iPhone Mail (12H143) In-Reply-To: <20150728005730.GL78154@funkthat.com> Date: Mon, 27 Jul 2015 20:24:15 -0500 Cc: "freebsd-security@FreeBSD.org" , "freebsd-net@FreeBSD.org" Content-Transfer-Encoding: quoted-printable Message-Id: <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> References: <20150728005730.GL78154@funkthat.com> To: John-Mark Gurney X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 01:24:18 -0000 > On Jul 27, 2015, at 7:57 PM, John-Mark Gurney wrote: >=20 > I would like to remove it from HEAD immediately as I don't see a use > for it. Some time ago I proposed removing Skipjack from the OCF in 12, bu= t personally, now that I think about how long 12 is, we deprecate these soon= er rather than later. Are we also going to comply with RFC 7321? https://tools.ietf.org/html/rfc7321 From owner-freebsd-net@freebsd.org Tue Jul 28 03:06:46 2015 Return-Path: Delivered-To: freebsd-net@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 5433498D82D for ; Tue, 28 Jul 2015 03:06:46 +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 4073DCAA for ; Tue, 28 Jul 2015 03:06:46 +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 t6S36kTe029726 for ; Tue, 28 Jul 2015 03:06:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201916] mac address does not update when removing the primary iface from a lagg Date: Tue, 28 Jul 2015 03:06:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 03:06:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201916 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jul 28 03:41:58 2015 Return-Path: Delivered-To: freebsd-net@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 872479AB19A; Tue, 28 Jul 2015 03:41:58 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 682E51E5A; Tue, 28 Jul 2015 03:41:58 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6S3fvQi077558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 27 Jul 2015 20:41:57 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6S3fvrj077557; Mon, 27 Jul 2015 20:41:57 -0700 (PDT) (envelope-from jmg) Date: Mon, 27 Jul 2015 20:41:57 -0700 From: John-Mark Gurney To: Jim Thompson Cc: "freebsd-security@FreeBSD.org" , "freebsd-net@FreeBSD.org" Subject: Re: remove IPsec SKIPJACK support... Message-ID: <20150728034157.GO78154@funkthat.com> References: <20150728005730.GL78154@funkthat.com> <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Mon, 27 Jul 2015 20:41:57 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 03:41:58 -0000 Jim Thompson wrote this message on Mon, Jul 27, 2015 at 20:24 -0500: > > On Jul 27, 2015, at 7:57 PM, John-Mark Gurney wrote: > > > > I would like to remove it from HEAD immediately as I don't see a use > > for it. Some time ago I proposed removing Skipjack from the OCF in 12, but personally, now that I think about how long 12 is, we deprecate these sooner rather than later. > > Are we also going to comply with RFC 7321? > > https://tools.ietf.org/html/rfc7321 Looks like the only thing we need to change to comply w/ RFC7321 is to remove DES support (note to those that don't read closely, DES, not 3DES aka triple-DES), and I am fine removing DES support sooner rather than later... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Tue Jul 28 04:18:43 2015 Return-Path: Delivered-To: freebsd-net@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 BBACA9ABC74 for ; Tue, 28 Jul 2015 04:18:43 +0000 (UTC) (envelope-from jim@netgate.com) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::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 7A3CF1018 for ; Tue, 28 Jul 2015 04:18:43 +0000 (UTC) (envelope-from jim@netgate.com) Received: by oibn4 with SMTP id n4so62733679oib.3 for ; Mon, 27 Jul 2015 21:18:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netgate.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=dZq5Pno1bAlZrpY0M5RM4njVE0IMeMYDWTrsmgrlbdg=; b=kAwF6x7VyqQXqjlt+FHJ7ICGMfMMied9PXpX6RFPzAdyEKhdiQBAvDuhLrHiijvlmz Q7Fv2HZRMIPEIgtTPnZwTHwXNaJsnEdftwNnyPgMFUhlUzoNFCWf1Uis/fgms3Eim6cN rmqj4b0LnOUETyyDwhWML9Ul9Rag+hS0xNNeI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=dZq5Pno1bAlZrpY0M5RM4njVE0IMeMYDWTrsmgrlbdg=; b=QBlpQnm9NIcDlHlPwxJe88uyCbcJ2MU0e6AzywcXCW6SB9ZLU5PvtUpxRtuFZEs52k KL/rpT0FUKaJhFrg+Aw6PYvaRAghb7VwbPowHKT7kcr3SenrMjXQ982yRVDtFDhJj+eQ gPumNmimKRVLEgTEayn3I2rvjsA9aFpKuToIZrZD4NG1lPthZmyZ+U/oo3Slv1qNJYJP dvgs3k33g4p7aDuVveGgf0c8ZT9zGOwheza80OoElsVWC6gsRMqoJYD1+9NwdkRO5z8Y WMFVd3HVR68vUScpdpCB74JM1YdnpLfyt/IVr8n71B5D6iMK503PJukUN6oTKI/ju389 G5Lw== X-Gm-Message-State: ALoCoQkJpL5OwxI6YfErh2qlHyTKLdC2W9W6rxPj87AywcQDRX/E2oe5lfrcJ8i3WcnFK4GR79yk X-Received: by 10.202.212.205 with SMTP id l196mr29710400oig.54.1438057122851; Mon, 27 Jul 2015 21:18:42 -0700 (PDT) Received: from [172.21.0.26] (65-36-83-120.static.grandenetworks.net. [65.36.83.120]) by smtp.gmail.com with ESMTPSA id oy11sm11625499oeb.3.2015.07.27.21.18.41 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jul 2015 21:18:41 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: remove IPsec SKIPJACK support... From: Jim Thompson In-Reply-To: <20150728034157.GO78154@funkthat.com> Date: Mon, 27 Jul 2015 23:18:40 -0500 Cc: "freebsd-security@FreeBSD.org" , "freebsd-net@FreeBSD.org" Content-Transfer-Encoding: quoted-printable Message-Id: <5E419103-3111-4ADC-A49F-B703BBBC9C5F@netgate.com> References: <20150728005730.GL78154@funkthat.com> <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> <20150728034157.GO78154@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 04:18:43 -0000 > On Jul 27, 2015, at 10:41 PM, John-Mark Gurney = wrote: >=20 > Jim Thompson wrote this message on Mon, Jul 27, 2015 at 20:24 -0500: >>> On Jul 27, 2015, at 7:57 PM, John-Mark Gurney = wrote: >>>=20 >>> I would like to remove it from HEAD immediately as I don't see a use >>> for it. Some time ago I proposed removing Skipjack from the OCF in = 12, but personally, now that I think about how long 12 is, we deprecate = these sooner rather than later. >>=20 >> Are we also going to comply with RFC 7321? >>=20 >> https://tools.ietf.org/html/rfc7321 >=20 > Looks like the only thing we need to change to comply w/ RFC7321 is > to remove DES support (note to those that don't read closely, DES, > not 3DES aka triple-DES), and I am fine removing DES support sooner > rather than later... The RFC 7321 requires it. I=E2=80=99m willing to do the work, but I = don=E2=80=99t want it to bikeshed. Jim From owner-freebsd-net@freebsd.org Tue Jul 28 06:07:42 2015 Return-Path: Delivered-To: freebsd-net@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 BE1BF9AC356; Tue, 28 Jul 2015 06:07:42 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 82C321BEF; Tue, 28 Jul 2015 06:07:42 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6S67e8H079001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 27 Jul 2015 23:07:41 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6S67exf079000; Mon, 27 Jul 2015 23:07:40 -0700 (PDT) (envelope-from jmg) Date: Mon, 27 Jul 2015 23:07:40 -0700 From: John-Mark Gurney To: Jim Thompson Cc: "freebsd-security@FreeBSD.org" , "freebsd-net@FreeBSD.org" Subject: Re: remove IPsec SKIPJACK support... Message-ID: <20150728060740.GP78154@funkthat.com> References: <20150728005730.GL78154@funkthat.com> <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> <20150728034157.GO78154@funkthat.com> <5E419103-3111-4ADC-A49F-B703BBBC9C5F@netgate.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5E419103-3111-4ADC-A49F-B703BBBC9C5F@netgate.com> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Mon, 27 Jul 2015 23:07:41 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 06:07:42 -0000 Jim Thompson wrote this message on Mon, Jul 27, 2015 at 23:18 -0500: > > On Jul 27, 2015, at 10:41 PM, John-Mark Gurney wrote: > > > > Jim Thompson wrote this message on Mon, Jul 27, 2015 at 20:24 -0500: > >>> On Jul 27, 2015, at 7:57 PM, John-Mark Gurney wrote: > >>> > >>> I would like to remove it from HEAD immediately as I don't see a use > >>> for it. Some time ago I proposed removing Skipjack from the OCF in 12, but personally, now that I think about how long 12 is, we deprecate these sooner rather than later. > >> > >> Are we also going to comply with RFC 7321? > >> > >> https://tools.ietf.org/html/rfc7321 > > > > Looks like the only thing we need to change to comply w/ RFC7321 is > > to remove DES support (note to those that don't read closely, DES, > > not 3DES aka triple-DES), and I am fine removing DES support sooner > > rather than later... > > The RFC 7321 requires it. I???m willing to do the work, but I don???t want it to bikeshed. Requires what? removing DES? That's basicly three lines of code.. Look at: https://github.com/jmgurney/freebsd/commit/a357a3398d8142d698b65f42367f480ec588171c For how I removed Skipjack... Of course there is more work to do in the various utils, like setkey, but shouldn't be hard.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Tue Jul 28 08:48:02 2015 Return-Path: Delivered-To: freebsd-net@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 83C159AAC7C for ; Tue, 28 Jul 2015 08:48:02 +0000 (UTC) (envelope-from edwards@technologylistz.com) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) (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 1BE78197C for ; Tue, 28 Jul 2015 08:48:00 +0000 (UTC) (envelope-from edwards@technologylistz.com) Received: by wicmv11 with SMTP id mv11so169830059wic.0 for ; Tue, 28 Jul 2015 01:47:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:return-receipt-to:from:to:subject:date :message-id:mime-version:content-type:thread-index:content-language :disposition-notification-to; bh=Tcn7c8xYu78Iu+PJYylbCuTV4a41bdJY8hRyviWYgSo=; b=QdJKrtGBxDfUYkvQHiF+v5IktC0wrcPd5J9pY57om2ID5nw9IfSp8EvnU89ySxecdo qc0mzFuuDFoLIowVzDRshxbmy4Gp9O3uXXlTM6p3ibPCpmqX4Bdnt8cRmU3qjy5R1o+l BfUXWEgbzDagjNtIB9XcXOqFuQTTotxxaSfdHVXGUhi1uguevoygAcBWsi9SLLv29HfJ pYyZBYfcHTxWFja61qVD+wON2mXneCNG64zqOSrf7xkQYfVF+Hv5+5TdVI6ye2MGleCB v3MTLzLpwgqTWtHlYpjD3IXKL95Ushpi+xjEr8Kdzuh/aLnUPGNWm2ZnkowPIN/cv7Ee /v+A== X-Gm-Message-State: ALoCoQlriaSK/jOt+25e22Slvv/nB3x0jDfgjcru3V+DQEeQf2S2QMUPWnoHHxzXfAWVBIcuZIeb X-Received: by 10.194.249.100 with SMTP id yt4mr68030229wjc.0.1438073279157; Tue, 28 Jul 2015 01:47:59 -0700 (PDT) Received: from WSC10 ([125.99.249.7]) by smtp.gmail.com with ESMTPSA id fa8sm17848975wib.14.2015.07.28.01.47.56 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jul 2015 01:47:58 -0700 (PDT) From: "Edwards Jennifer" To: Subject: Red Hat Users Professional Lists...! Date: Tue, 28 Jul 2015 04:44:48 -0400 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdDJERDpWN9PnuzfQoqgNSkjq43Kzw== Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 08:48:02 -0000 Hi, Are you looking to Red Hat Users Lists or similar technology users in different parts of the world? We would be able to provide you list with accurate phone numbers, verified e-mails, contact names, job titles and many more information as per your requirement. If it sounds value for you, please provide us the below information, so that we can send a few samples for your review at no cost. Target Market : ___________________ Target Geography : ___________________ Target Job titles : ___________________ Hope to hear from you soon. Regards, Edwards Jennifer Marketing Manager Other Industries :- Oil & Gas, Energy & Utility, Health Care, Transportation, Manufacturing, Finance, Insurance, Food & Beverage, Hospitality, Construction, Publishing and Printing, Semiconductors Etc. Note: We were specifically sent this email based upon your company profile. If for some reason this was sent in error or you wish not to receive any further messages from us please reply with subject line as "Exclude" and you will be excluded from all future mailings. From owner-freebsd-net@freebsd.org Tue Jul 28 11:04:52 2015 Return-Path: Delivered-To: freebsd-net@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 C6C049ADF0A for ; Tue, 28 Jul 2015 11:04:52 +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 B2893114A for ; Tue, 28 Jul 2015 11:04:52 +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 t6SB4qZs003425 for ; Tue, 28 Jul 2015 11:04:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 185427] [igb] [panic] freebsd 8.4, 9.1 and 9.2 panic Double-Fault with intel 82576 igb driver Date: Tue, 28 Jul 2015 11:04:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: napTu@front.ru X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 11:04:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185427 --- Comment #5 from napTu@front.ru --- I`m sorry, access was filtered, try now please. FreeBSD 9.1-RELEASE and 9.2-RELEASE KDB backtraces and info files: http://icenet.net.ru/crash/core.txt.1 http://icenet.net.ru/crash/core.txt.2 http://icenet.net.ru/crash/core.txt.4 http://icenet.net.ru/crash/core.txt.5 http://icenet.net.ru/crash/core.txt.6 http://icenet.net.ru/crash/core.txt.7 http://icenet.net.ru/crash/core.txt.8 http://icenet.net.ru/crash/core.txt.10 http://icenet.net.ru/crash/info.1 http://icenet.net.ru/crash/info.2 http://icenet.net.ru/crash/info.3 http://icenet.net.ru/crash/info.4 http://icenet.net.ru/crash/info.5 http://icenet.net.ru/crash/info.6 http://icenet.net.ru/crash/info.7 http://icenet.net.ru/crash/info.8 http://icenet.net.ru/crash/info.10 FreeBSD 8.4 crash: http://icenet.net.ru/crash/vmcore.0 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jul 28 11:35:44 2015 Return-Path: Delivered-To: freebsd-net@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 3B00A9AD898; Tue, 28 Jul 2015 11:35:44 +0000 (UTC) (envelope-from Daniel@Plominski.eu) Received: from root1-rz1-hetzner.plitc.eu (root1-rz1-hetzner.plitc.eu [IPv6:2a01:4f8:a0:4283::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "root1-rz1-hetzner.plitc.eu", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA810999; Tue, 28 Jul 2015 11:35:43 +0000 (UTC) (envelope-from Daniel@Plominski.eu) Received: from localhost (localhost [127.0.0.1]) by root1-rz1-hetzner.plitc.eu (Postfix) with ESMTP id 58D35AE007A; Tue, 28 Jul 2015 13:35:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at root1-rz1-hetzner.plitc.eu Received: from root1-rz1-hetzner.plitc.eu ([127.0.0.1]) by localhost (root1-rz1-hetzner.plitc.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MeuKhM7cMnrS; Tue, 28 Jul 2015 13:35:38 +0200 (CEST) Received: from [172.31.253.4] (unknown [46.246.49.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: daniel@plominski.eu) by root1-rz1-hetzner.plitc.eu (Postfix) with ESMTPSA id B23E7AE0074; Tue, 28 Jul 2015 13:35:37 +0200 (CEST) Message-ID: <55B768DC.6020009@Plominski.eu> Date: Tue, 28 Jul 2015 13:34:52 +0200 From: Daniel Plominski MIME-Version: 1.0 To: freebsd-security@freebsd.org, freebsd-net@freebsd.org Subject: Re: remove IPsec SKIPJACK support... References: <20150728005730.GL78154@funkthat.com> <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> <20150728034157.GO78154@funkthat.com> <5E419103-3111-4ADC-A49F-B703BBBC9C5F@netgate.com> <20150728060740.GP78154@funkthat.com> In-Reply-To: <20150728060740.GP78154@funkthat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jGUuK6UbOa00VscmegvsdeIvUkhoLjqv2" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 11:35:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jGUuK6UbOa00VscmegvsdeIvUkhoLjqv2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable instead of code to remove it is a better idea manuals to revise, people depend on old recommendations like https://www.freebsd.org/doc/handbook/ipsec.html would be better: https://blog.plitc.eu/2014/freebsd-10-ipv4-vpn-relay-ipsec-entryopenvpn-m= iddleopenvpn-exit-node-mit-jails/ or the racoon example from: https://blog.plitc.eu/2014/freebsd-10-ipv4-ipsec-net-to-net-vpn-in-der-ja= il/ best regards Daniel --jGUuK6UbOa00VscmegvsdeIvUkhoLjqv2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVt2jhAAoJEHqkZNWiQao77nAP/0difbhZBxTb6h6emlCIbuQ7 5YayC7tIyneiFIfYQMd3DjM4kc4B3NLegX2uG/nSUu3VcGGvHK1xpNMhjYsiK9wX viZFrhLwu8YSQuTfp1na+w9znFru+elEImzCdZw++3BLm5eYRAbAUnx3Z0jmicq5 QdrzeCev2dmrV9hTBxJSlOfoZ56DIztgeE2UuwGOXi+ZmFDBqp4ci9LH180OOfNw vd5Lxd/i02ICd7XnPIdCp7Whk0XYPSXrTKNERT5x5GCnkoeOpire0KeYJjsFSx4h mfg8HhE6X3Gz6R6cZ0kHZRu1UFwDIR8MHoJYJ+idTUk/wwRlmdhKRYvHC7Wz66vc TW29ZCdAYLkOUMNN2ndU9speUIzCRP5hFp/HtboE3CViXK5c14caFXSedupd3q0+ 8BRgv6wRfAlrWtpXYyRycJYTIgbZ1Mebshi5NZhiqzJtJ511PWnAJzjd8Ox0a+V6 FuL6rs+k//roKH6sO8kWGgldaM3pc10hwB461KOVgewX0n8bcHxa5rO7oeNqbMr9 27/P+G6059G10XmNUDe2vktBIGQT+yus/OJBg1Ykk4HXy3vyGpWY2PGWW5sV2DHw crld3e4Ud7bzpWGlZxQEk0vcfa9fGwv2Gj9/7U91jFjI6qk8ZEoTzCgWnzXhVIYU YAPR/xTa8UT6k1FSz1kU =hggU -----END PGP SIGNATURE----- --jGUuK6UbOa00VscmegvsdeIvUkhoLjqv2-- From owner-freebsd-net@freebsd.org Tue Jul 28 12:31:52 2015 Return-Path: Delivered-To: freebsd-net@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 9C5C59ABCAE for ; Tue, 28 Jul 2015 12:31:52 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (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 6A635D6B for ; Tue, 28 Jul 2015 12:31:52 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: by pdbbh15 with SMTP id bh15so70242319pdb.1 for ; Tue, 28 Jul 2015 05:31:51 -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:content-type; bh=pvtCDYS6wmpi7ko03nkl1TqxI7oPWnqaWezGo1bBiGs=; b=J/RGS1trCohtAz1oy9EDt46xksGHSAo8QC+KkFCBF7i3zaWsfGI2pInDnwn40567pN 4bqQ5DDJ0Vq+JKCExyUXPz1PeJXZyWNv+7gerJXJ8qUohm3po9wzbamz9eA+JZx3md+8 vDfpT/rwVp5KEjFeLqsKog5Knnc0skRvi4S2F7Z72A6OLoZfwdj5cGPoUSHMpjRfMVMj 4NWOsPiItH3b0Va8p3iGd+oApDSBThMijyMUowwXvymXcMIm5cmslW+ePO0OikNxalQP nxdZ3nk74nGK7Ho2NVj0htHXk6j1bk3cBbIsXAqhQWp3Avi+wILE6ZzFSSA4qX9SZp+3 zp5w== X-Received: by 10.70.102.209 with SMTP id fq17mr81499695pdb.77.1438086711846; Tue, 28 Jul 2015 05:31:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.189.130 with HTTP; Tue, 28 Jul 2015 05:31:32 -0700 (PDT) In-Reply-To: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> References: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> From: Arseny Nasokin Date: Tue, 28 Jul 2015 15:31:32 +0300 Message-ID: Subject: Re: [RFC] ifconfig description To: Jason Hellenthal Cc: Freddie Cash , FreeBSD Net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 12:31:52 -0000 Separate ifconfig_IF_description will be simpler to use. -- Eir Nym On 27 July 2015 at 22:19, Jason Hellenthal wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Yeah thats pretty much what I=E2=80=99m doing right now. Attempting to ma= tch up > some interfaces and throw a valuable description on each interface. With > vlan interfaces I have not been successful at anything but manual > configuration thus far. > > On Jul 27, 2015, at 14:02, Freddie Cash wrote: > > On Mon, Jul 27, 2015 at 11:56 AM, Jason Hellenthal > wrote: > - -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Matter of fact =E2=80=A6 could someone commit this ? > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D156675 > > > No clue why it was closed for something that is so simple to do. > > > =E2=80=8BIt was already merged (R=E2=80=8B223858). Looking at /etc/netwo= rk.subr on a > 10.0-RELEASE system shows the eval line. So, it looks like one can just > add " description something cool to describe interface" to =E2=80=8Bthe = end of the > ifconfig_IF=3D line. > > Not as neat and organised as having a separate ifconfig_IF_description > variable to set, but still very much workable. > > Thanks for the pointer in the right direction. Now to play with it at > work. :) > > - -- > Freddie Cash > fjwcash@gmail.com > > > - -- > Jason Hellenthal > JJH48-ARIN > > > > > -----BEGIN PGP SIGNATURE----- > > iQEcBAEBCAAGBQJVtoRDAAoJEDLu+wRc4KcIZ98H/i4+B4jiyNzP9yRevwMUgg6t > QH+5fwhyfAFMOwuKmtLuFhdF5yx7KjII0/I8CWhy0SrYa83vHG83kW2TRD6q8iwy > fpl4HJC07ttD+mY/CtOfIhY6gh8aG/eIK7r73ctHJdPbcnIHH+qMLgrGKAA26Zmc > ZKBMHu12KSbmU6B4kv4b4diKptNgFCxeF3BhHxE7edJlSyP8h1N2AFcw89TrnYb+ > HhKoSbj+Qz+D4IjtNt6HXrgTUkEeoDj32QVSOWkNnCIne5/uzkgK37+DA5RnaqoB > 0b4OnO6VKL6kuKjKtkjjMJw8VMK8YmphEbwEUboftmjQhb3dWjW20cdQ+DdH5zA=3D > =3DOpeb > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Tue Jul 28 17:23:59 2015 Return-Path: Delivered-To: freebsd-net@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 9577D9ADFF3; Tue, 28 Jul 2015 17:23:59 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 78E232EA; Tue, 28 Jul 2015 17:23:59 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6SHNwho087955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Jul 2015 10:23:58 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6SHNv0u087954; Tue, 28 Jul 2015 10:23:57 -0700 (PDT) (envelope-from jmg) Date: Tue, 28 Jul 2015 10:23:57 -0700 From: John-Mark Gurney To: Daniel Plominski Cc: freebsd-security@freebsd.org, freebsd-net@freebsd.org Subject: Re: remove IPsec SKIPJACK support... Message-ID: <20150728172357.GT78154@funkthat.com> References: <20150728005730.GL78154@funkthat.com> <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> <20150728034157.GO78154@funkthat.com> <5E419103-3111-4ADC-A49F-B703BBBC9C5F@netgate.com> <20150728060740.GP78154@funkthat.com> <55B768DC.6020009@Plominski.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55B768DC.6020009@Plominski.eu> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Tue, 28 Jul 2015 10:23:58 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 17:23:59 -0000 Daniel Plominski wrote this message on Tue, Jul 28, 2015 at 13:34 +0200: > instead of code to remove it is a better idea manuals to revise, people > depend on old recommendations like > https://www.freebsd.org/doc/handbook/ipsec.html Thanks, I have at least removed the inclusion of des from the cipher suite... If you'd like to generate a patch to update the section w/ references to the below, that would be welcome, and I'll make sure that the changes git committed.. > would be better: > https://blog.plitc.eu/2014/freebsd-10-ipv4-vpn-relay-ipsec-entryopenvpn-middleopenvpn-exit-node-mit-jails/ > > or the racoon example from: > https://blog.plitc.eu/2014/freebsd-10-ipv4-ipsec-net-to-net-vpn-in-der-jail/ > > best regards -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Tue Jul 28 17:26:00 2015 Return-Path: Delivered-To: freebsd-net@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 A83109AC14D; Tue, 28 Jul 2015 17:26:00 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::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 750E17E9; Tue, 28 Jul 2015 17:26:00 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbij6 with SMTP id ij6so125739389igb.1; Tue, 28 Jul 2015 10:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JM5x/IFesFIhB23B3FG4lbQXh22p7435zFFbTO3IJA4=; b=O5bqKeSJfzqUnSURlkCKXXntQn75gFGxiatSSGI5YrSUwGJ+waqdlJjbnRz3bBUEjx ePnS9i1KsxIRUQmlvBqbveBm0QUc5qExFsd9vmIOoSc1NAGqAEadTJP79hbBVGf6X7Z3 GMv8jE2V0n6Idi/1lrWfXGqzSz8OsMO1krIFqJY83l1x0bQRwTBsLs/Dgl1oq67IxdnL RZGx+dEoPUgPt7PGkTbmaZhVS+PVfWyUIUZP1Yz24q4Bi860U+GtNwzxKygSk81qA7sn Wtg/tfgX2sac/3k9KMKTsL5SwUhPvpF3whn6A9cewfCYtpmFjksyp2th+9/q2nwKFd/a IFqw== MIME-Version: 1.0 X-Received: by 10.50.122.40 with SMTP id lp8mr8905850igb.49.1438104359996; Tue, 28 Jul 2015 10:25:59 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Tue, 28 Jul 2015 10:25:59 -0700 (PDT) In-Reply-To: <55B768DC.6020009@Plominski.eu> References: <20150728005730.GL78154@funkthat.com> <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> <20150728034157.GO78154@funkthat.com> <5E419103-3111-4ADC-A49F-B703BBBC9C5F@netgate.com> <20150728060740.GP78154@funkthat.com> <55B768DC.6020009@Plominski.eu> Date: Tue, 28 Jul 2015 10:25:59 -0700 Message-ID: Subject: Re: remove IPsec SKIPJACK support... From: Adrian Chadd To: Daniel Plominski Cc: freebsd-security@freebsd.org, FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 17:26:00 -0000 Hi, I'd put together a deprecation plan, which starts with the kernel warning that this stuff is being removed, MFC that to stable/10 and stable/9 so people aren't surprised when they upgrade, and then have it removed in 11. -adrian On 28 July 2015 at 04:34, Daniel Plominski wrote: > instead of code to remove it is a better idea manuals to revise, people > depend on old recommendations like > https://www.freebsd.org/doc/handbook/ipsec.html > > would be better: > https://blog.plitc.eu/2014/freebsd-10-ipv4-vpn-relay-ipsec-entryopenvpn-middleopenvpn-exit-node-mit-jails/ > > or the racoon example from: > https://blog.plitc.eu/2014/freebsd-10-ipv4-ipsec-net-to-net-vpn-in-der-jail/ > > best regards > > Daniel > From owner-freebsd-net@freebsd.org Tue Jul 28 17:55:43 2015 Return-Path: Delivered-To: freebsd-net@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 03AC69ACC8F for ; Tue, 28 Jul 2015 17:55:43 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward12h.cmail.yandex.net (forward12h.cmail.yandex.net [87.250.230.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 87F221EB2; Tue, 28 Jul 2015 17:55:42 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from web26h.yandex.ru (web26h.yandex.ru [84.201.187.160]) by forward12h.cmail.yandex.net (Yandex) with ESMTP id 8CB4621753; Tue, 28 Jul 2015 20:55:31 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web26h.yandex.ru (Yandex) with ESMTP id AE7846A03DE; Tue, 28 Jul 2015 20:55:30 +0300 (MSK) Received: by web26h.yandex.ru with HTTP; Tue, 28 Jul 2015 20:55:30 +0300 From: Alexander V. Chernikov Envelope-From: melifaro@ipfw.ru To: Arseny Nasokin , Jason Hellenthal , pluknet@freebsd.org Cc: FreeBSD Net , Freddie Cash In-Reply-To: References: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> Subject: Re: [RFC] ifconfig description Message-Id: <674101438106130@web26h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 28 Jul 2015 20:55:30 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 17:55:43 -0000 From owner-freebsd-net@freebsd.org Tue Jul 28 18:00:04 2015 Return-Path: Delivered-To: freebsd-net@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 480709ACD8B for ; Tue, 28 Jul 2015 18:00:04 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::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 0830994 for ; Tue, 28 Jul 2015 18:00:04 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: by igbpg9 with SMTP id pg9so147931318igb.0 for ; Tue, 28 Jul 2015 11:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CaecFKX7LIdSz80X84DK3lqDbeQ0HmIfJlgbwU+ajRc=; b=POS/FdDlsW4/vYbT4IVjjbp/285q4ohE+4We+i9SY2ZO9HU4QHUq8x9cH4rfJQWSFR bcbXp76rB1TOOO9hgDfNeNiJfseEBkKBZkCrgaSevFXcK/CXqaXY6CCfaRua3MnwqvCu jjvPUmv+YKj0leD+FkcNb8ToNO56kni8OI37c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=CaecFKX7LIdSz80X84DK3lqDbeQ0HmIfJlgbwU+ajRc=; b=JfM81q7sm3DLmAvmDELa4mRxeYMS8SHDerpZkc+ilBaUwn/TOedXX8+gC7MzCM0co6 A6VHQ2gXax/uEZV8HIiPzNjNSu4W4h15kUsU5nr6PMWeT7DJFj0w1IEJoL0N5AGvtf+G Y7rxb+4DOlkRWo0BqBod9Kx6xQRsm0JxghOmHIFiIWMXf2ZWIZZypdnFoSUvyoCxupA6 kIV8YyGzZSnPZeqxQm+xSArCX6D76OjQ0ouc6X3JlK48Hn+fCyK1Jf5NCWERx3FrAazj sxF/hkk8bxX1bCwpOktPxYYD5J2lv7kMfDVm+UggKT3GhtCu/FIN1lZcZRx46lSGS/1g SsFA== X-Gm-Message-State: ALoCoQme0E3soaGIVF9VG4t/ypipjgBDXI+OUX+oVGJEEJvyPnUjsaC00AbyYMjx9pL5fNKr9HlX X-Received: by 10.107.37.134 with SMTP id l128mr61169624iol.92.1438106403328; Tue, 28 Jul 2015 11:00:03 -0700 (PDT) Received: from [192.168.8.21] ([66.195.151.70]) by smtp.gmail.com with ESMTPSA id y6sm9061902igl.17.2015.07.28.11.00.02 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jul 2015 11:00:02 -0700 (PDT) Subject: Re: [RFC] ifconfig description Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: text/plain; charset="utf8"; X-Pgp-Agent: GPGMail 2.5 From: Jason Hellenthal In-Reply-To: <674101438106130@web26h.yandex.ru> Date: Tue, 28 Jul 2015 13:00:01 -0500 Cc: Arseny Nasokin , pluknet@freebsd.org, FreeBSD Net , Freddie Cash Content-Transfer-Encoding: 8bit Message-Id: <2302D713-B330-42AA-B3CC-57EC7647990D@dataix.net> References: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> <674101438106130@web26h.yandex.ru> To: "Alexander V. Chernikov" X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 18:00:04 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I would even be satisfied with a ifconfig_${IF}_descr= shorter version of it or both. Thanks guys. On Jul 28, 2015, at 12:55, Alexander V. Chernikov wrote: 28.07.2015, 15:32, "Arseny Nasokin" : Separate ifconfig_IF_description will be simpler to use. I was also insisting on this.. +pluknet@ Sergey, maybe we could reconsider this stuff and add separate _description field? - -- Eir Nym On 27 July 2015 at 22:19, Jason Hellenthal wrote: Yeah thats pretty much what I’m doing right now. Attempting to match up some interfaces and throw a valuable description on each interface. With vlan interfaces I have not been successful at anything but manual configuration thus far. On Jul 27, 2015, at 14:02, Freddie Cash wrote: On Mon, Jul 27, 2015 at 11:56 AM, Jason Hellenthal wrote: - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Matter of fact … could someone commit this ? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=156675 No clue why it was closed for something that is so simple to do. ​It was already merged (R​223858). Looking at /etc/network.subr on a 10.0-RELEASE system shows the eval line. So, it looks like one can just add " description something cool to describe interface" to ​the end of the ifconfig_IF= line. Not as neat and organised as having a separate ifconfig_IF_description variable to set, but still very much workable. Thanks for the pointer in the right direction. Now to play with it at work. :) - -- Freddie Cash fjwcash@gmail.com - -- Jason Hellenthal JJH48-ARIN - -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJVtoRDAAoJEDLu+wRc4KcIZ98H/i4+B4jiyNzP9yRevwMUgg6t QH+5fwhyfAFMOwuKmtLuFhdF5yx7KjII0/I8CWhy0SrYa83vHG83kW2TRD6q8iwy fpl4HJC07ttD+mY/CtOfIhY6gh8aG/eIK7r73ctHJdPbcnIHH+qMLgrGKAA26Zmc ZKBMHu12KSbmU6B4kv4b4diKptNgFCxeF3BhHxE7edJlSyP8h1N2AFcw89TrnYb+ HhKoSbj+Qz+D4IjtNt6HXrgTUkEeoDj32QVSOWkNnCIne5/uzkgK37+DA5RnaqoB 0b4OnO6VKL6kuKjKtkjjMJw8VMK8YmphEbwEUboftmjQhb3dWjW20cdQ+DdH5zA= =Opeb -----END PGP SIGNATURE----- _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" - -- Jason Hellenthal JJH48-ARIN -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJVt8MhAAoJEDLu+wRc4KcImcYH/jJb9yh7fzbiteWVArjTS4NI oKHdunrebwTXRWrfl33/s02osbpMsBRiGfPYqUpEQcHskhFMjflffOyhyn6tlm43 VXX9gyGGUEji9YynYmHv1SZu7zpwCiGsZqBwLHa1eEIsWDmpvY5yoDPmth/Jv3iH jt22XZy0t0k6+g+0+ZKKpcQoPpYdeWPitoEnVFwMJczRlIq/CjKA7OKK+kBMmezx 5LblB5uYUmBFyIO1/3CYexU4/F3kYbf+0UR359VHkxA0aoC+z4z2yfs7Z4eb8rzu ZfeXDMFaRjv7ACTeCB8WPO+a5gC/ID+O+VgcPOczbzJ3XsBteUAnCRlc6ZISnlI= =iobo -----END PGP SIGNATURE----- From owner-freebsd-net@freebsd.org Tue Jul 28 18:06:56 2015 Return-Path: Delivered-To: freebsd-net@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 297F99ACFCD for ; Tue, 28 Jul 2015 18:06:56 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (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 B527E6D2; Tue, 28 Jul 2015 18:06:55 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by wibud3 with SMTP id ud3so191343946wib.1; Tue, 28 Jul 2015 11:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=yrJzCVXj/H895oU99TCWNxaCosfNOeKm6o2V2ZVfWs0=; b=VgSIUPRRqVf6G2lQb9uhUshUTddSVMlNcnajdh1yhe7rcAx6pn0ZzaKkS4WU7RcUAj mjsC5/ymWL19GHbHzPNmnOJqoVnOUSn5fzGwQECERK/PNAvMZ2kgFR6gP2X79VRbWgZn 4b01YQ877QbQ02z5Jq1RB+bce19zZe05CkvdaqIGNOkfx176KXEv4r0eFnmLGqZgqQ+c vNR4LRPeHGk5vLu3t735Hzh5cS+MtH9/cIY3Apw837CA1tA98zNkq4BivOu+aY1hDQPT XfQ9/8zLvPr3ArA+c6MqWdmixxmhmhIG/8Jbs8liRa0OmOvf3pfpP+BxWcakrzqFTod8 yufA== MIME-Version: 1.0 X-Received: by 10.194.82.167 with SMTP id j7mr68176144wjy.123.1438106814221; Tue, 28 Jul 2015 11:06:54 -0700 (PDT) Sender: pluknet@gmail.com Received: by 10.27.224.10 with HTTP; Tue, 28 Jul 2015 11:06:54 -0700 (PDT) In-Reply-To: <674101438106130@web26h.yandex.ru> References: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> <674101438106130@web26h.yandex.ru> Date: Tue, 28 Jul 2015 21:06:54 +0300 X-Google-Sender-Auth: t0zmTWypk0KfftMTqolL7WW0WgE Message-ID: Subject: Re: [RFC] ifconfig description From: Sergey Kandaurov To: "Alexander V. Chernikov" Cc: Arseny Nasokin , Jason Hellenthal , FreeBSD Net , Freddie Cash Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 18:06:56 -0000 On 28 July 2015 at 20:55, Alexander V. Chernikov wrote: > 28.07.2015, 15:32, "Arseny Nasokin" : > > Separate ifconfig_IF_description will be simpler to use. > > I was also insisting on this.. > +pluknet@ > Sergey, maybe we could reconsider this stuff and add separate _description > field? No, thanks. That means that we should also build up ifconfig_IF_group, ifconfig_IF_name and suchalikes for parity. I wouldn't object strongly though if someone will come up with a patch. -- wbr, pluknet From owner-freebsd-net@freebsd.org Tue Jul 28 20:16:38 2015 Return-Path: Delivered-To: freebsd-net@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 01D6D9AD84C for ; Tue, 28 Jul 2015 20:16:38 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (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 BD8EA1FB3; Tue, 28 Jul 2015 20:16:37 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by igk11 with SMTP id 11so122956017igk.1; Tue, 28 Jul 2015 13:16:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=C2mfz7LTWlRebO6x+u3nh5dtWVs3EKMKXW0xRDZI5DY=; b=g6ZEbtHqIoYCdOCiRlKwgV1cYBYgJsxN3oeOxSPSkzEfcp2Cy5f43f47A/cGbwxLWP peV49pdkTn1J5xb2b8cKrF1LZWkGuflqGrOO3vzxkAWGSIXaO91UFiUa2HbE6k71YoC4 o55Qh8uiL2l+//Y8gX9zggnW7+aNiaOJzqTi49bfluGgL0Ys3Zw9TyXaDsFqA9jdC+mZ 8LqYmgx5QSYVPnxqOxLh25rzpJIS0kWJZF09Cq1xgVlwfHI5x7sS8Wdfg2bZbceVMDRW pbd9KHwAV5xv1JzoJrLYvn0YtHmxuUByFFix5tMg1dZNb0vbW3Q/8xwJMVqJXuRS07E8 J4KQ== MIME-Version: 1.0 X-Received: by 10.107.40.147 with SMTP id o141mr57487647ioo.83.1438114597136; Tue, 28 Jul 2015 13:16:37 -0700 (PDT) Received: by 10.107.200.145 with HTTP; Tue, 28 Jul 2015 13:16:36 -0700 (PDT) Received: by 10.107.200.145 with HTTP; Tue, 28 Jul 2015 13:16:36 -0700 (PDT) In-Reply-To: References: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> <674101438106130@web26h.yandex.ru> Date: Tue, 28 Jul 2015 16:16:36 -0400 Message-ID: Subject: Re: [RFC] ifconfig description From: Ryan Stone To: Sergey Kandaurov Cc: Freddie Cash , freebsd-net , Arseny Nasokin , "Alexander V. Chernikov" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 20:16:38 -0000 On Jul 28, 2015 11:07 AM, "Sergey Kandaurov" wrote: > > On 28 July 2015 at 20:55, Alexander V. Chernikov wrote: > > 28.07.2015, 15:32, "Arseny Nasokin" : > > > > Separate ifconfig_IF_description will be simpler to use. > > > > I was also insisting on this.. > > +pluknet@ > > Sergey, maybe we could reconsider this stuff and add separate _description > > field? > > No, thanks. > > That means that we should also build up ifconfig_IF_group, > ifconfig_IF_name and suchalikes for parity. > I wouldn't object strongly though if someone will come up with a patch. > > -- > wbr, > pluknet > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" Doesn't ifconfig_*_name already exist? From owner-freebsd-net@freebsd.org Tue Jul 28 20:21:52 2015 Return-Path: Delivered-To: freebsd-net@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 B135E9ADAC2 for ; Tue, 28 Jul 2015 20:21:52 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::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 7638C619 for ; Tue, 28 Jul 2015 20:21:52 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: by igbpg9 with SMTP id pg9so137894868igb.0 for ; Tue, 28 Jul 2015 13:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PZHO9LgD5ChHOmEJqD8cNkobqlEQxjdBLfblaCCOUd4=; b=SSdqQGn5AVPfFNvXuiIt/Yegk/CwgTXqt/dH7yPDpdyECmmPUil/L+IkUuBa7++b66 KDtvIME+EHaaw1RR+toZ4/gE5UXMIIM8jtvzd2uMDBMwSpgazP4l0ySRMFrSM4MasUyS iyN56g/4SpSmHo0uZD3Pr9ckYwbTsAw0yoXW4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=PZHO9LgD5ChHOmEJqD8cNkobqlEQxjdBLfblaCCOUd4=; b=UxHBgo+Fct6u9+jHiumOa6yea8Piv3B60J6szqBayXbGOO0HSL8WrD2+sWxZ0z/cf4 AU4ch/LvFoopHbmwNdqEQ/PZANgF9HPG/K6tovcVtn98CyjKoP2iPwNr32G4Gt2v4PhB RydQy3nIk++i8TK3XlWuammFHhzs1A7725uuXPmX3CTQ+RTlpqvRPa7sU7tTGqtasgey Tha9gy9GMk1X8k+pQ4HOzjImFMo3pAOAPhGHILitzYljwGkwfmmvivW+3Wo2qqO5SrYI TK6eNILWpOBc9Bhuy6ETH/ZuMIIgmShcmTc1JUD84+IacRBeITa+rCkn3tfihU5EUqtm Al5w== X-Gm-Message-State: ALoCoQkMrFQSuOrdReHFXBUuucQH16ASL0imn3YL1Y0amq+rHtYYbwKLEnzUgNVRBz9+EMRo+6Oa X-Received: by 10.50.88.66 with SMTP id be2mr10508975igb.20.1438114911912; Tue, 28 Jul 2015 13:21:51 -0700 (PDT) Received: from [192.168.8.23] ([66.195.151.70]) by smtp.gmail.com with ESMTPSA id i7sm9327209igt.18.2015.07.28.13.21.50 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jul 2015 13:21:50 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [RFC] ifconfig description From: Jason Hellenthal X-Mailer: iPhone Mail (12H143) In-Reply-To: Date: Tue, 28 Jul 2015 15:21:49 -0500 Cc: Sergey Kandaurov , freebsd-net , "Alexander V. Chernikov" , Arseny Nasokin , Freddie Cash Content-Transfer-Encoding: quoted-printable Message-Id: <12874172-16A5-46C8-8993-7DC38CB3FABE@dataix.net> References: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> <674101438106130@web26h.yandex.ru> To: Ryan Stone X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 20:21:52 -0000 Yes and these functionalities make the config very versatile at a minimal co= st to the language they are written in. I would gladly volunteer the time to= do it but I'm heavily stretched right now. Duplicate the _name functionality and rename to description ? And tie her do= wn... --=20 Jason Hellenthal JJH48-ARIN On Jul 28, 2015, at 15:16, Ryan Stone wrote: > On Jul 28, 2015 11:07 AM, "Sergey Kandaurov" wrote: >=20 > On 28 July 2015 at 20:55, Alexander V. Chernikov wrote: >> 28.07.2015, 15:32, "Arseny Nasokin" : >>=20 >> Separate ifconfig_IF_description will be simpler to use. >>=20 >> I was also insisting on this.. >> +pluknet@ >> Sergey, maybe we could reconsider this stuff and add separate _description >> field? >=20 > No, thanks. >=20 > That means that we should also build up ifconfig_IF_group, > ifconfig_IF_name and suchalikes for parity. > I wouldn't object strongly though if someone will come up with a patch. >=20 > -- > wbr, > pluknet > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" Doesn't ifconfig_*_name already exist? _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Wed Jul 29 14:36:11 2015 Return-Path: Delivered-To: freebsd-net@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 242BC9AE166; Wed, 29 Jul 2015 14:36:11 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from smtp.hungerhost.com (smtp.hungerhost.com [216.38.53.177]) (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 EF847800; Wed, 29 Jul 2015 14:36:10 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from cpe-74-73-224-71.nyc.res.rr.com ([74.73.224.71]:50765 helo=[192.168.0.6]) by vps.hungerhost.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85) (envelope-from ) id 1ZKSSg-0008Ry-K1; Wed, 29 Jul 2015 10:36:02 -0400 From: "George Neville-Neil" To: "Adrian Chadd" Cc: "Daniel Plominski" , freebsd-security@freebsd.org, "FreeBSD Net" Subject: Re: remove IPsec SKIPJACK support... Date: Wed, 29 Jul 2015 10:35:52 -0400 Message-ID: In-Reply-To: References: <20150728005730.GL78154@funkthat.com> <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> <20150728034157.GO78154@funkthat.com> <5E419103-3111-4ADC-A49F-B703BBBC9C5F@netgate.com> <20150728060740.GP78154@funkthat.com> <55B768DC.6020009@Plominski.eu> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailer: MailMate (1.9.2r5107) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 14:36:11 -0000 That's fine so long as its removed in HEAD now, and then the warning can = go into 10 aka 10.3. Best, George On 28 Jul 2015, at 13:25, Adrian Chadd wrote: > Hi, > > I'd put together a deprecation plan, which starts with the kernel > warning that this stuff is being removed, MFC that to stable/10 and > stable/9 so people aren't surprised when they upgrade, and then have > it removed in 11. > > > > -adrian > > > On 28 July 2015 at 04:34, Daniel Plominski = > wrote: >> instead of code to remove it is a better idea manuals to revise, = >> people >> depend on old recommendations like >> https://www.freebsd.org/doc/handbook/ipsec.html >> >> would be better: >> https://blog.plitc.eu/2014/freebsd-10-ipv4-vpn-relay-ipsec-entryopenvp= n-middleopenvpn-exit-node-mit-jails/ >> >> or the racoon example from: >> https://blog.plitc.eu/2014/freebsd-10-ipv4-ipsec-net-to-net-vpn-in-der= -jail/ >> >> best regards >> >> Daniel >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Wed Jul 29 15:59:24 2015 Return-Path: Delivered-To: freebsd-net@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 6D9179AE501 for ; Wed, 29 Jul 2015 15:59:24 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 4E9EA16E0 for ; Wed, 29 Jul 2015 15:59:24 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id 4322C99FF; Wed, 29 Jul 2015 15:59:24 +0000 (UTC) Date: Wed, 29 Jul 2015 15:59:24 +0000 To: freebsd-net@freebsd.org From: "rodrigc (Craig Rodrigues)" Reply-to: D1944+325+8925873bdc96dfc2@reviews.freebsd.org Subject: [Differential] [Commented On] D1944: PF and VIMAGE fixes Message-ID: <9ce1aace18d02ff06c00e3db2df78dc5@localhost.localdomain> X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFW4+Fw= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 15:59:24 -0000 rodrigc added a comment. @glebius: Nikos updated the patch. Can you review it? REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: nvass-gmx.com, bz, trociny, kristof, gnn, zec, rodrigc, glebius, eri Cc: farrokhi, julian, robak, freebsd-virtualization-list, freebsd-pf-list, freebsd-net-list From owner-freebsd-net@freebsd.org Wed Jul 29 16:11:05 2015 Return-Path: Delivered-To: freebsd-net@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 EED499AE836; Wed, 29 Jul 2015 16:11:05 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B66DD1FDD; Wed, 29 Jul 2015 16:11:05 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6TGB5WB007653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Jul 2015 09:11:05 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6TGB4ZO007652; Wed, 29 Jul 2015 09:11:04 -0700 (PDT) (envelope-from jmg) Date: Wed, 29 Jul 2015 09:11:04 -0700 From: John-Mark Gurney To: George Neville-Neil Cc: Adrian Chadd , freebsd-security@freebsd.org, Daniel Plominski , FreeBSD Net Subject: Re: remove IPsec SKIPJACK support... Message-ID: <20150729161103.GJ78154@funkthat.com> References: <20150728005730.GL78154@funkthat.com> <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> <20150728034157.GO78154@funkthat.com> <5E419103-3111-4ADC-A49F-B703BBBC9C5F@netgate.com> <20150728060740.GP78154@funkthat.com> <55B768DC.6020009@Plominski.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Wed, 29 Jul 2015 09:11:05 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 16:11:06 -0000 George Neville-Neil wrote this message on Wed, Jul 29, 2015 at 10:35 -0400: > That's fine so long as its removed in HEAD now, and then the warning can > go into 10 aka 10.3. As I said, setkey doesn't support it.. and I looked at the ports for racoon2 and strongswan (has it in their library, but, and neither support it... Are there any other programs (besides custom software) that can do secdb manipulations that could possibly create a skipjack sdb entry? If not, putting warning into 9 and 10 seems excessive for a feature that people can't even use... > On 28 Jul 2015, at 13:25, Adrian Chadd wrote: > > > I'd put together a deprecation plan, which starts with the kernel > > warning that this stuff is being removed, MFC that to stable/10 and > > stable/9 so people aren't surprised when they upgrade, and then have > > it removed in 11. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Wed Jul 29 17:10:54 2015 Return-Path: Delivered-To: freebsd-net@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 0FD9B9AE068; Wed, 29 Jul 2015 17:10:54 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CA5CD1E07; Wed, 29 Jul 2015 17:10:53 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6THAqAj013028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Jul 2015 10:10:52 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6THAqva013027; Wed, 29 Jul 2015 10:10:52 -0700 (PDT) (envelope-from jmg) Date: Wed, 29 Jul 2015 10:10:52 -0700 From: John-Mark Gurney To: George Neville-Neil Cc: Adrian Chadd , freebsd-security@freebsd.org, Daniel Plominski , FreeBSD Net Subject: Re: remove IPsec SKIPJACK support... Message-ID: <20150729171052.GK78154@funkthat.com> References: <20150728005730.GL78154@funkthat.com> <1DB60250-D362-4115-92F6-E27B7A5897C3@netgate.com> <20150728034157.GO78154@funkthat.com> <5E419103-3111-4ADC-A49F-B703BBBC9C5F@netgate.com> <20150728060740.GP78154@funkthat.com> <55B768DC.6020009@Plominski.eu> <20150729161103.GJ78154@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150729161103.GJ78154@funkthat.com> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Wed, 29 Jul 2015 10:10:53 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 17:10:54 -0000 John-Mark Gurney wrote this message on Wed, Jul 29, 2015 at 09:11 -0700: > George Neville-Neil wrote this message on Wed, Jul 29, 2015 at 10:35 -0400: > > That's fine so long as its removed in HEAD now, and then the warning can > > go into 10 aka 10.3. > > As I said, setkey doesn't support it.. and I looked at the ports for > racoon2 and strongswan (has it in their library, but, and neither support it... Are there any other > programs (besides custom software) that can do secdb manipulations that > could possibly create a skipjack sdb entry? Checked the other two IKE daemons in ports, and ipsec-tools does not use it, and isakmpd has a define in the OpenBSD specific headers (which we don't use), but doesn't use it for anything... > If not, putting warning into 9 and 10 seems excessive for a feature that > people can't even use... > > > On 28 Jul 2015, at 13:25, Adrian Chadd wrote: > > > > > I'd put together a deprecation plan, which starts with the kernel > > > warning that this stuff is being removed, MFC that to stable/10 and > > > stable/9 so people aren't surprised when they upgrade, and then have > > > it removed in 11. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Wed Jul 29 20:06:58 2015 Return-Path: Delivered-To: freebsd-net@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 CD1F39AD9F5 for ; Wed, 29 Jul 2015 20:06:58 +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 B946419BD for ; Wed, 29 Jul 2015 20:06:58 +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 t6TK6wnh027369 for ; Wed, 29 Jul 2015 20:06:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201947] Panics in if_bfe under certain loads types (reproducible with rtorrent) Date: Wed, 29 Jul 2015 20:06:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 20:06:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201947 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 29 21:06:40 2015 Return-Path: Delivered-To: freebsd-net@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 941979AE999 for ; Wed, 29 Jul 2015 21:06:40 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from nm23-vm1.bullet.mail.bf1.yahoo.com (nm23-vm1.bullet.mail.bf1.yahoo.com [98.139.213.141]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A5F6F59 for ; Wed, 29 Jul 2015 21:06:39 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from [98.139.215.143] by nm23.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jul 2015 21:06:37 -0000 Received: from [98.139.212.199] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jul 2015 21:06:37 -0000 Received: from [127.0.0.1] by omp1008.mail.bf1.yahoo.com with NNFMP; 29 Jul 2015 21:06:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 944811.84110.bm@omp1008.mail.bf1.yahoo.com Received: (qmail 71424 invoked by uid 60001); 29 Jul 2015 21:06:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1438203997; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=VPoiash4rci+F4N5aXsQYHmVk76YUJucR0unRKTRpCclXtki2m7fqMKuQO1fwJyjYP5K91X93FCjNqyKRZvQGSwKX+pKMnj0T/DACbk4DU51efSe3gsmPgavv3SxCvGCHK/EpwKBNZ78yjZLc30H/23ROoNjkzpUAPuey+F+eV8= X-YMail-OSG: oRAl.uUVM1kkBtgsWyUiQvOqkBJd2xtynAr02a8GjnXVYpr 3PZpdAgfCzTxVe7lNCkFHufIKgbFt03wkPjUhE36XXKmB1J7fhujFXwOdx6n LL_WXS2Pis4VzVRRez6E9KW0lsGAwS2jfjHdiPKaxQ1OSA.qcVaVxVQ7D4.7 qFI2_ITtERK5fV3sOTGpYbPv6lGWi5x_Q_WtdPGWNm05qN7rUnsu_ljAScxZ j6CCj204Z.FbDmO89yoE6cT2Z1zvNA12CeETJlAxQtmg1xKS4vTY07BF87cR mKl6O_rgF2SFHuOdknfUYqLOn7xQQRFwL8HOBJ2g1zvgEkmpUOWxorn3VEXf 4.OqpzT_nwQ6XRnARtM15DdrNG7yZjqI.J61oTws1590oW9UO1Z5EDzevjGY ivrRX1AO2F6dMqorg2v_eG66EMz26PJcZt13myo7PWlKcS6XcuGMdzjveOgd OuQ0RSG4k83_eEl4.vJxJSlSegLfhUp6.V5UfaaNWLe8rC9iVy8ShD.XoJ5b aci9h_lfkeb1x8pfcgFQEMbs- Received: from [73.0.96.254] by web141506.mail.bf1.yahoo.com via HTTP; Wed, 29 Jul 2015 14:06:37 PDT X-Rocket-MIMEInfo: 002.001,DQoBMAEBAQE- X-Mailer: YahooMailBasic/600 YahooMailWebService/0.8.203.802 Message-ID: <1438203997.96838.YahooMailBasic@web141506.mail.bf1.yahoo.com> Date: Wed, 29 Jul 2015 14:06:37 -0700 From: Laurie Jennings Subject: Locking Memory Question To: John Baldwin Cc: freebsd-net@freebsd.org In-Reply-To: <201310151521.25231.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 21:06:40 -0000 From owner-freebsd-net@freebsd.org Wed Jul 29 22:26:54 2015 Return-Path: Delivered-To: freebsd-net@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 9E5CC9AEAEB for ; Wed, 29 Jul 2015 22:26:54 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from nm5-vm0.bullet.mail.bf1.yahoo.com (nm5-vm0.bullet.mail.bf1.yahoo.com [98.139.213.150]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50F88157 for ; Wed, 29 Jul 2015 22:26:54 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from [66.196.81.174] by nm5.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jul 2015 22:26:47 -0000 Received: from [98.139.215.228] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jul 2015 22:26:47 -0000 Received: from [127.0.0.1] by omp1068.mail.bf1.yahoo.com with NNFMP; 29 Jul 2015 22:26:47 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 106695.40234.bm@omp1068.mail.bf1.yahoo.com Received: (qmail 17989 invoked by uid 60001); 29 Jul 2015 22:26:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1438208807; bh=7WDKzIN1WXF9Cc+I9ez4VrzNMMzieSReGim4+Ue/n9Q=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=OD73Zm7vGS2X8WsLe+lSWm/E+Teb2lvtiGgyq9YszaLtPPSONUbS7sNTnXdpEJbDAS7ghgxHm6CBACLS1NH49zFdRmsqDkk7Bk5vMnuIKykgnn4q5pvp8DdKu8w0o90/PIVxb+a9PX1f3dBNdNTN/qnzLdKq+7nVWznfwnx27Yw= X-YMail-OSG: w75ogAUVM1moCXDM0jakSpizbFLWxat7PPcw4xBYa5dqxYM UgaR_g.g.7vIrcRN323bwue9luYWZRWbX4qjIKnjaQIYVH6d2XeXbdxcqfo7 aPtO5oMq.zMBIZAvREuUyssojP.DrvsX0evcZTfoQiJDBoo.tAOTrKne0Akc iKx.9LjdSK86p_liCTuNdhA7qptOmbg.W_PRGsK_SAIR7GIjX_sZ3FTVOa_w .3cS7Vv.xs05mCF_evSBF79RaFv0H6wAoNGV9GDDGNq83TErdzogSAfWbiw3 HLc.vlwg5NIA32jkOieLpreVcfzErWnpVj6oL7p2p8LSTfPxn7Qtu12Jv4Wr CYnzpSxIFRHsAC76dq9zRdcHqJD_4RyvZLWIS.3.T0414ioUfZ9NDRrdKbmt zp_t4qpXERPCPr9V94mhax8unqw4cVh5ApfP8kYPyOPVmw_zspqprKfZGmYL Wrz7Bm013bfHAcsZyytxUVbcOlsyLRaVknr6feZpwGHL.M8iCyBnGemRkXTY hfgXbtRL59NwZkBy.TGk- Received: from [73.0.96.254] by web141505.mail.bf1.yahoo.com via HTTP; Wed, 29 Jul 2015 15:26:46 PDT X-Rocket-MIMEInfo: 002.001, DQpJIGhhdmUgYSBwcm9ibGVtIGFuZCBJIGNhbid0IHF1aXRlIGZpZ3VyZSBvdXQgd2hlcmUgdG8gbG9vay4gVGhpcyBpcyB3aGF0IEltIGRvaW5nOg0KDQpJIGhhdmUgYW4gSU9DVEwgdG8gcmVhZCBhIGJsb2NrIG9mIGRhdGEsIGJ1dCB0aGUgZGF0YSBpcyB0b28gbGFyZ2UgdG8gcmV0dXJuIHZpYSBpb2N0bC4gU28gdG8gZ2V0IHRoZSBkYXRhLA0KSSBhbGxvY2F0ZSBhIGJsb2NrIGluIGEga2VybmVsIG1vZHVsZToNCg0KZm9vID0gbWFsbG9jKDEwMjQwMDAsTV9ERVZCVUYsTV9XQUlUT0spOw0KDQogSSBwYXMBMAEBAQE- X-Mailer: YahooMailBasic/600 YahooMailWebService/0.8.203.802 Message-ID: <1438208806.66724.YahooMailBasic@web141505.mail.bf1.yahoo.com> Date: Wed, 29 Jul 2015 15:26:46 -0700 From: Laurie Jennings Subject: Locking Memory Question To: John Baldwin Cc: freebsd-net@freebsd.org In-Reply-To: <201310151521.25231.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 22:26:54 -0000 I have a problem and I can't quite figure out where to look. This is what Im doing: I have an IOCTL to read a block of data, but the data is too large to return via ioctl. So to get the data, I allocate a block in a kernel module: foo = malloc(1024000,M_DEVBUF,M_WAITOK); I pass up a pointer and in user space map it using /dev/kmem: fd = open("/dev/kmem",O_RDWR); if (fd > 0){ memp = mmap(0,1024000,PROT_READ,MAP_SHARED,fd,p); and then grab the data from memp (It's a stringified object). The problem is that sometimes it's garbage. 95% of the time it works fine. I figured that the memory wasn't wired and I've been trying to wire it but not having much success. kmem_alloc() and kmem_malloc() panic in vm_map_lock, so Im guessing that you can't do this in an IOCTL call? So my questions: 1) Shouldn't kmem mapped memory be wired? how else could you reliable read kernel memory? 2) Why does kmem_alloc() panic kmem_alloc(kernel_map, 1024000); 3) is there a function to allocate and free a wired block? 4) how could I reliably wire a block allocated with malloc. Can it be done somehow with vm_map_wire()? I can't get it to work. 5) What does MAP_PREFAULT_READ do and would it solve this problem? Thanks, Laurie From owner-freebsd-net@freebsd.org Wed Jul 29 23:25:23 2015 Return-Path: Delivered-To: freebsd-net@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 39D949AE5F1 for ; Wed, 29 Jul 2015 23:25:23 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BC85A36; Wed, 29 Jul 2015 23:25:22 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6TNPMKw017342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Jul 2015 16:25:22 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6TNPML3017341; Wed, 29 Jul 2015 16:25:22 -0700 (PDT) (envelope-from jmg) Date: Wed, 29 Jul 2015 16:25:22 -0700 From: John-Mark Gurney To: Laurie Jennings Cc: John Baldwin , freebsd-net@freebsd.org Subject: Re: Locking Memory Question Message-ID: <20150729232522.GN78154@funkthat.com> References: <201310151521.25231.jhb@freebsd.org> <1438208806.66724.YahooMailBasic@web141505.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438208806.66724.YahooMailBasic@web141505.mail.bf1.yahoo.com> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Wed, 29 Jul 2015 16:25:22 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 23:25:23 -0000 Laurie Jennings via freebsd-net wrote this message on Wed, Jul 29, 2015 at 15:26 -0700: > > I have a problem and I can't quite figure out where to look. This is what Im doing: > > I have an IOCTL to read a block of data, but the data is too large to return via ioctl. So to get the data, > I allocate a block in a kernel module: > > foo = malloc(1024000,M_DEVBUF,M_WAITOK); > > I pass up a pointer and in user space map it using /dev/kmem: An easier solution would be for your ioctl to pass in a userland pointer and then use copyout(9) to push the data to userland... This means the userland process doesn't have to have /dev/kmem access... Is there a reason you need to use kmem? The only reason you list above is that it's too large via ioctl, but a copyout is fine, and would handle all page faults for you.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Thu Jul 30 00:54:56 2015 Return-Path: Delivered-To: freebsd-net@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 06C2A9A670C for ; Thu, 30 Jul 2015 00:54:56 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from nm35-vm7.bullet.mail.bf1.yahoo.com (nm35-vm7.bullet.mail.bf1.yahoo.com [72.30.238.79]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F9BC307 for ; Thu, 30 Jul 2015 00:54:55 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from [66.196.81.170] by nm35.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 00:52:22 -0000 Received: from [98.139.212.245] by tm16.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 00:52:22 -0000 Received: from [127.0.0.1] by omp1054.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 00:52:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 367778.81800.bm@omp1054.mail.bf1.yahoo.com Received: (qmail 51804 invoked by uid 60001); 30 Jul 2015 00:52:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1438217542; bh=YBuVA3XLUYHWbAqvU0LA81bBXlnztyyt4qQzZd4CI4c=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=12RU2SUn/8tntUkn89JSmN2N2kfyQLEaApN8lWBALtNHcWVTmL92zrj0Sr2IQG5Ndqeoicgrfdb5hi2AIgmWOYP8pdrxtSkibt6MIXksE1xrz4ojtE/RAUI4pzou+UAn5AdjXqGPG96+8rz4w2VdZRzpx1ZWBKpmcInOxVGvyq4= X-YMail-OSG: 6gBS41AVM1lhUNxsbxbXZFgRacqhYs2iS7Wgdas8X.n8irj OTGKtNYeXAophdeiYVoJ.SUsW.3KrtBijhOkucQ.GdQOQutLBMQYrjeyj5Zl OfAifkNpqROcugIRZ2WPv1FaWPlye3twvNilJxG.RG2xv7pYXQ5yqoC45xt7 mcwLjZsrCYjS7qx83_6UFu84cnwCbZ.pUdNXhctX3RwZA_LDpviY1lXsEdbw aGSaDOe48158.C6c7HoM382YLFKiwQfWjlNXMr4098pdF6QFLOOVvvXNVXfW fO0JmXQN6FnFBuSyRGX2E_KH8rvHUey3tnhB7hPtP7VT4UtbYVgDGD6hF4MT AWFGFEa1iu1J8PkqVOjMtJpAqH4jdyZIU3ULz7_CHjxtvTqJJ0wF.BeWUCb7 0jUrzItsx5Cs1cpEEyWOODYxmh82LNVyy38JDOWuBEPYvXD3n9ycq3XQ6Xov mY7rxBkwO4IYh.4xm1Lk9RpEhEzkzxaQ.vDAFpbHAvfZyhfMH4ctf90fJaJD UJV1mKd5tTqJOK5DlkLeEB1eHboYLPA_880TVsxMoBoCuzzNj.B1DGRE0qw- - Received: from [73.0.96.254] by web141502.mail.bf1.yahoo.com via HTTP; Wed, 29 Jul 2015 17:52:22 PDT X-Rocket-MIMEInfo: 002.001, DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KT24gV2VkLCA3LzI5LzE1LCBKb2huLU1hcmsgR3VybmV5IDxqbWdAZnVua3RoYXQuY29tPiB3cm90ZToNCg0KIFN1YmplY3Q6IFJlOiBMb2NraW5nIE1lbW9yeSBRdWVzdGlvbg0KIFRvOiAiTGF1cmllIEplbm5pbmdzIiA8bGF1cmllX2plbm5pbmdzXzE5NzdAeWFob28uY29tPg0KIENjOiAiSm9obiBCYWxkd2luIiA8amhiQGZyZWVic2Qub3JnPiwgZnJlZWJzZC1uZXRAZnJlZWJzZC5vcmcNCiBEYXRlOiBXZWRuZXNkYXksIEoBMAEBAQE- X-Mailer: YahooMailBasic/600 YahooMailWebService/0.8.203.802 Message-ID: <1438217542.41867.YahooMailBasic@web141502.mail.bf1.yahoo.com> Date: Wed, 29 Jul 2015 17:52:22 -0700 From: Laurie Jennings Subject: Re: Locking Memory Question To: John-Mark Gurney Cc: John Baldwin , freebsd-net@freebsd.org In-Reply-To: <20150729232522.GN78154@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 00:54:56 -0000 -------------------------------------------- On Wed, 7/29/15, John-Mark Gurney wrote: Subject: Re: Locking Memory Question To: "Laurie Jennings" Cc: "John Baldwin" , freebsd-net@freebsd.org Date: Wednesday, July 29, 2015, 7:25 PM =20 Laurie Jennings via freebsd-net wrote this message on Wed, Jul 29, 2015 at 15:26 -0700: >=20 > I have a problem and I can't quite figure out where to look. This is what Im doing: >=20 > I have an IOCTL to read a block of data, but the data is too large to return via ioctl. So to get the data, > I allocate a block in a kernel module: > =20 > foo =3D malloc(1024000,M_DEVBUF,M_WAITOK); >=20 >=A0 I pass up a pointer and in user space map it using /dev/kmem: =20 An easier solution would be for your ioctl to pass in a userland pointer and then use copyout(9) to push the data to userland...=A0 This means the userland process doesn't have to have /dev/kmem access... =20 Is there a reason you need to use kmem?=A0 The only reason you list above is that it's too large via ioctl, but a copyout is fine, and would handle all page faults for you.. =20 __________________________________ I'm using kmem because the only options I could think of was to 1) use shared memory 2) use kmem 3) use a huge ioctl structure. Im not clear how I'd do that. the data being passed up from the kernel is a= variable size. To use copyout I'd have to pass a pointer with a static buffer, right? Is there a way to malloc user space me= mory from within an ioctl call? Or would I just have to pass down a pointer to a huge buffer large enough for = the largest possible answer? thanks Laurie From owner-freebsd-net@freebsd.org Thu Jul 30 02:04:20 2015 Return-Path: Delivered-To: freebsd-net@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 D74619A71FB for ; Thu, 30 Jul 2015 02:04:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF61261C for ; Thu, 30 Jul 2015 02:04:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (75-48-78-19.lightspeed.cncrca.sbcglobal.net [75.48.78.19]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4F96DB979; Wed, 29 Jul 2015 22:04:19 -0400 (EDT) From: John Baldwin To: Laurie Jennings Cc: freebsd-net@freebsd.org Subject: Re: Locking Memory Question Date: Wed, 29 Jul 2015 19:03:31 -0700 Message-ID: <179784785.yfa5UNM2qp@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-PRERELEASE; KDE/4.14.3; amd64; ; ) In-Reply-To: <1438208806.66724.YahooMailBasic@web141505.mail.bf1.yahoo.com> References: <1438208806.66724.YahooMailBasic@web141505.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 29 Jul 2015 22:04:19 -0400 (EDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 02:04:21 -0000 On Wednesday, July 29, 2015 03:26:46 PM Laurie Jennings wrote: > > I have a problem and I can't quite figure out where to look. This is what Im doing: > > I have an IOCTL to read a block of data, but the data is too large to return via ioctl. So to get the data, > I allocate a block in a kernel module: > > foo = malloc(1024000,M_DEVBUF,M_WAITOK); > > I pass up a pointer and in user space map it using /dev/kmem: > > fd = open("/dev/kmem",O_RDWR); > if (fd > 0){ > memp = mmap(0,1024000,PROT_READ,MAP_SHARED,fd,p); > > and then grab the data from memp (It's a stringified object). > > The problem is that sometimes it's garbage. 95% of the time it works fine. I figured that the memory wasn't wired and I've been trying to wire > it but not having much success. kmem_alloc() and kmem_malloc() panic in vm_map_lock, so Im guessing that you can't do this in an IOCTL call? > > So my questions: > > 1) Shouldn't kmem mapped memory be wired? how else could you reliable read kernel memory? The memory from malloc() is wired, so this should be fine even if a bit hackish by requiring access to /dev/kmem. However, mmap for character devices is a bit special. In particular, character devices cache mappings established via d_mmap forever. This is particularly bad for /dev/kmem. Specifically, once some process mmap's offset X in /dev/kmem, the associated physical address P for 'X' is cached forever and will not be updated even if the kernel memory at address X is free'd and later reallocated for something else using a different physical page. So if your driver created one of these objects at boot and never freed it, then /dev/kmem mappings will probably work fine. However, if your driver creates these and frees them, but then creates another one later, if the second object reuses the same addresses (or some of them) but with different backing pages, your second userland mapping will end up using the physical pages from the first mapping. /dev/kmem isn't really well suited to mmap() for this reason. > 5) What does MAP_PREFAULT_READ do and would it solve this problem? It will not help with this. All that does is pre-create PTEs in the user process for any physical pages that are already in RAM, though I'm not sure it actually does anything for character device mappings (e.g. via /dev/kmem). There are a few ways to do what you want that should work more reliably. In general they all consist of creating a VM object to create/describe the buffer you care about. One option (used by the nvidia driver and that I've used in other drivers) is to allocate wired memory in the kernel either via contigmalloc() or malloc() and then create an sglist that describes the buffer. You can then create an OBJT_SG VM object that is "backed" by the sglist and allow userland to map this object via a d_mmap_single() callback on a character device. For example: /* Error handling elided for simplicity */ struct foo_userbuf { void *mem; vm_object_t obj; }; int foo_create_userbuf(struct foo_userbuf *ub, size_t len) { struct sglist *sg; /* M_ZERO to not leak anything to userland. */ ub->mem = malloc(len, M_DEVBUF, M_WAITOK | M_ZERO); sg = sglist_build(ub->mem, len, M_WAITOK); ub->obj = vm_pager_allocate(OBJT_SG, sg, len, VM_PROT_READ | VM_PROT_WRITE, 0); /* ub->obj now "owns" the sglist via an internal reference. */ } int foo_destroy_userbuf(struct foo_userbuf *ub) { /* * Note well: this does _not_ block waiting for other * references to be dropped, etc. */ vm_object_deallocate(ub->obj); /* * Specifically, this next step is only safe if you * _know_ that there are no other mappings, which * might be quite hard to do. */ free(ub->mem, M_DEVBUF); } int foo_ioctl(....) { switch (cmd) { case GIVE_ME_A_BUFFER: .... foo_create_userbuf(ub); /* * Return some sort of "key" identifying "ub" to * userland. */ } } int foo_mmap_single(struct cdev *dev, vm_ooffset_t *offset, vm_size_t size, vm_object_t *object, int nprot) { /* * You will need some sort of way to identify different * buffers if you use more than one. For example, you * might use the offset passed to mmap as the identifer. * Keep in mind that the address passed to this routine * is page aligned, so you cannot "see" any low bits in * the address and can't use those as part of your key. */ ub = foo_lookup_userbuf(*offset); /* * Clear the offset to zero as it will now be relative to * the object we are returning. */ *offset = 0; vm_object_reference(ub->obj); *object = ub->obj; } A second option you can use is to instead have userland allocate a VM object via shm_open() and then map that into the kernel in your driver. There are helper routines in uipc_shm.c to facilitate this that I've used in some out-of-tree code before. Something like this: Header: struct foo_mapbuf { int fd; size_t len; }; User code: struct foo_mapbuf mb; int devfd; devfd = open("/dev/foo", ....); ioctl(devfd, BUFFER_SIZE, &mb.len); mb.fd = shm_open(SHM_ANON, O_RDWR, 0600); ftruncate(mb.fd, mb.len); ioctl(devfd, MAP_BUFFER, &mb); p = mmap(..., mb.fd, ...); Driver code: struct foo_userbuf { struct file *fp; void *kmem; size_t size; }; int foo_ioctl(...) { struct foo_mapbuf *mb; struct foo_userbuf *ub; switch (cmd) { case BUFFER_SIZE: /* return desired size */ case MAP_BUFFER: mb = (struct foo_mapbuf *)data; ub = ; /* fget takes a few more parameters you'll need to work out */ ub->fp = fget(mb->fd); ub->size = mb->size; /* This assumes a starting offset of 0 */ shm_map(ub->fp, ub->size, 0, &ub->mem); /* * Can now access buffer in kernel via 'ub->mem' * pointer, and pages are wired until released * by a call to shm_unmap(). */ } You will want some way to handle unmapping the buffer either via devfs_priv dtor method, d_close or something else to avoid leaking the kernel mappings. This has the advantage over the first approach that it will keep the pages around until all mappings are gone, though once all the kernel mappings are gone the pages will no longer be wired (though they will be swap-backed). -- John Baldwin From owner-freebsd-net@freebsd.org Thu Jul 30 03:08:39 2015 Return-Path: Delivered-To: freebsd-net@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 A1E0B9AE236 for ; Thu, 30 Jul 2015 03:08:39 +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 8D7EA1479 for ; Thu, 30 Jul 2015 03:08:39 +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 t6U38duF011957 for ; Thu, 30 Jul 2015 03:08:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 197535] [re] [panic] if_re (Realtek 8168) causes memory write after free and kernel panic Date: Thu, 30 Jul 2015 03:08:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marius@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 03:08:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197535 Marius Strobl changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 30 04:46:05 2015 Return-Path: Delivered-To: freebsd-net@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 5C88F9AEFD0 for ; Thu, 30 Jul 2015 04:46:05 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 12D661B61; Thu, 30 Jul 2015 04:46:04 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6U4k3Aj022059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Jul 2015 21:46:03 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6U4k3Uh022058; Wed, 29 Jul 2015 21:46:03 -0700 (PDT) (envelope-from jmg) Date: Wed, 29 Jul 2015 21:46:03 -0700 From: John-Mark Gurney To: Laurie Jennings Cc: John Baldwin , freebsd-net@freebsd.org Subject: Re: Locking Memory Question Message-ID: <20150730044603.GQ78154@funkthat.com> References: <20150729232522.GN78154@funkthat.com> <1438217542.41867.YahooMailBasic@web141502.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1438217542.41867.YahooMailBasic@web141502.mail.bf1.yahoo.com> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Wed, 29 Jul 2015 21:46:03 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 04:46:05 -0000 Laurie Jennings wrote this message on Wed, Jul 29, 2015 at 17:52 -0700: > -------------------------------------------- > On Wed, 7/29/15, John-Mark Gurney wrote: > > Subject: Re: Locking Memory Question > To: "Laurie Jennings" > Cc: "John Baldwin" , freebsd-net@freebsd.org > Date: Wednesday, July 29, 2015, 7:25 PM > > Laurie Jennings via > freebsd-net wrote this message on Wed, Jul 29, 2015 at 15:26 > -0700: > > > > I have a problem and > I can't quite figure out where to look. This is what Im > doing: > > > > I have an > IOCTL to read a block of data, but the data is too large to > return via ioctl. So to get the data, > > I > allocate a block in a kernel module: > > > > > foo = > malloc(1024000,M_DEVBUF,M_WAITOK); > > > > I pass up a pointer and in user space > map it using /dev/kmem: > > An easier solution would be for your ioctl to > pass in a userland > pointer and then use > copyout(9) to push the data to userland... This > means the userland process doesn't have to > have /dev/kmem access... > > Is > there a reason you need to use kmem? The only reason you > list above > is that it's too large via > ioctl, but a copyout is fine, and would > handle all page faults for you.. > > __________________________________ > I'm using kmem because the only options I could think of was to > > 1) use shared memory > 2) use kmem > 3) use a huge ioctl structure. > > Im not clear how I'd do that. the data being passed up from the kernel is a variable size. To use copyout I'd have to pass a > pointer with a static buffer, right? Correct, you can pass along the size, and if it's not large enough try again... Less than ideal... > Is there a way to malloc user space memory from within an ioctl call? Well, it is possible that you could do the equivalent of mmap, and pass the address back along w/ a length, and leave it up to the user to munmap it... This is probably the nicest method if you the size is really largely variable, and it's expensive if the userland process allocated too much memory... The down side is that this is more complex to code... > Or > would I just have to pass down a pointer to a huge buffer large enough for the largest possible answer? This is probably the easiest... This is similar to what sysctl does... As part of sysctl, if the program didn't allocate enough space for the buffer, it will return the require space, so that the next call it will be correct (assuming size doesn't change regularly)... Good luck! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Thu Jul 30 06:28:04 2015 Return-Path: Delivered-To: freebsd-net@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 707AD9ADF9A for ; Thu, 30 Jul 2015 06:28:04 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (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 448ABACC; Thu, 30 Jul 2015 06:28:04 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by pdjr16 with SMTP id r16so19364900pdj.3; Wed, 29 Jul 2015 23:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=F0hnjzhRPNwHAhDS8BWvPAbrxgmdm+SufRDYmI+SONE=; b=WTdTsP6a5qmNZ1Uldr62ZKuEkM1BV60cjGlspg30IeZLawrvb71+gOp2pSvh4d7Dp1 cBhhypND3PQeR0ttRx1loUAlH8cBMc4YRzNBczdWZeNOdcXf8+QomS0ys7elcCjhY4O6 e0FojmdFlvN7nzZYtJZvY3k6cVfZiHEER1EMu53sB18+AJVbYjs4rQVHfQT66Iprwb+b fffE6GZIfsx7H4aCGJ5ZKmy9J7g8PdcJ3sYgtUxFXHmB1KKxdRxjVMIwOdJos1vxMrU7 DdOu3UEhruQvpOTW/uZ5Oyyc2xKOjPYPNjex/wsZaIY1ToWZcANmaRT8kEmtQ4fN4DdM 63+g== MIME-Version: 1.0 X-Received: by 10.70.65.38 with SMTP id u6mr100349431pds.99.1438237683601; Wed, 29 Jul 2015 23:28:03 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.66.236.36 with HTTP; Wed, 29 Jul 2015 23:28:03 -0700 (PDT) In-Reply-To: <20150730044603.GQ78154@funkthat.com> References: <20150729232522.GN78154@funkthat.com> <1438217542.41867.YahooMailBasic@web141502.mail.bf1.yahoo.com> <20150730044603.GQ78154@funkthat.com> Date: Wed, 29 Jul 2015 23:28:03 -0700 X-Google-Sender-Auth: whGHqYNhpo8eq_wgDARiQnW_mj0 Message-ID: Subject: Re: Locking Memory Question From: "K. Macy" To: John-Mark Gurney Cc: Laurie Jennings , "freebsd-net@freebsd.org" , John Baldwin Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 06:28:04 -0000 >> >> Im not clear how I'd do that. the data being passed up from the kernel is a variable size. To use copyout I'd have to pass a >> pointer with a static buffer, right? > > Correct, you can pass along the size, and if it's not large enough > try again... Less than ideal... > >> Is there a way to malloc user space memory from within an ioctl call? > > Well, it is possible that you could do the equivalent of mmap, and pass > the address back along w/ a length, and leave it up to the user to > munmap it... This is probably the nicest method if you the size is > really largely variable, and it's expensive if the userland process > allocated too much memory... The down side is that this is more > complex to code... > Mach has the ability to send large "out of line messages". For smaller messages where it doesn't do VM tricks to avoid copying it does exactly this. In the receive path the kernel calls vm_allocate (which is essentially just a wrapper for mmap) then copies the buffer in to the newly allocated address space. The message itself contains the allocated address and size of the allocation. The receiver is expected to call vm_deallocate (munmap) when it's done with the data. The implementation is mixed in with enough other code that it may not be a useful reference. Nonetheless, I wanted to point at that this isn't as strange as it might sound. -K From owner-freebsd-net@freebsd.org Thu Jul 30 14:39:02 2015 Return-Path: Delivered-To: freebsd-net@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 5A97D9AF72A for ; Thu, 30 Jul 2015 14:39:02 +0000 (UTC) (envelope-from hoomanfazaeli@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::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 068E1B64 for ; Thu, 30 Jul 2015 14:39:02 +0000 (UTC) (envelope-from hoomanfazaeli@gmail.com) Received: by wicgb10 with SMTP id gb10so247053561wic.1 for ; Thu, 30 Jul 2015 07:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=jRADsHpTFAO6RrjDSj9u84yPU77guFUraM2DhuNEH3s=; b=iuGSPP3nnJJwdbTPwFGUFRiEgX6OdBu64slJTVWV6gH8IE4/7Kkbms7I6pJMDI0hgK WOEQkVSba6V/xBhnR84xZNLLaJ2xSyg6gbbn4Sv6u0+wP0m3Ac4JszRjEBFboRoUWYDr APNOCswswzjde4tcIVV0LfjRtKqyxwo7i7NTyl5ixZRlH0fifldXybNFw241lUxVnqWS mSqi+XC3vgSmH2aSR/mCJbPB13Cvo5e/5ItQ1+j0v7yB+3MFsP351CU+LmAo+0YpQnRf nchXce5K0MS7bT+EkUknBu1eh7CQh8f/U/UXKcde686TZwW06bxnK0EsnbUC7VsVzHzF t27g== X-Received: by 10.194.24.196 with SMTP id w4mr87763103wjf.137.1438267140499; Thu, 30 Jul 2015 07:39:00 -0700 (PDT) Received: from [192.168.2.30] ([2.190.246.160]) by smtp.googlemail.com with ESMTPSA id v20sm2201696wjw.17.2015.07.30.07.38.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jul 2015 07:38:59 -0700 (PDT) Message-ID: <55BA36FF.9070405@gmail.com> Date: Thu, 30 Jul 2015 19:08:55 +0430 From: Hooman Fazaeli User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: "freebsd-net@freebsd.org" Subject: tcp window scaling (rfc1323) problem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 14:39:02 -0000 Hi, We connect to the Internet through a TCP proxy running on FreeBSD 8.3-RELEASE. Everything works except that instagram clients frequently fail to get/refresh some images and feeds. I have checked anything that may be the cause of problem and found that setting net.inet.tcp.rfc1323 to zero improves the situation. Googling a bit, I found out that there are reports about window scaling impl. bug in older freebsds (i.e., https://lists.freebsd.org/pipermail/freebsd-hackers/2007-January/019070.html). My question is that which version of freebsd is known to have the bug of window scaling fixed? Is there any known problem related to window scaling in newer (8+) freebsd versions? Thanks in advance. -- Best regards Hooman Fazaeli From owner-freebsd-net@freebsd.org Thu Jul 30 14:42:55 2015 Return-Path: Delivered-To: freebsd-net@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 9FCC99AF876 for ; Thu, 30 Jul 2015 14:42:55 +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 8BDEFEB0 for ; Thu, 30 Jul 2015 14:42:55 +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 t6UEgtDF066867 for ; Thu, 30 Jul 2015 14:42:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200323] BPF userland misuse can crash the system Date: Thu, 30 Jul 2015 14:42:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: loos@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10+ X-Bugzilla-Changed-Fields: resolution cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 14:42:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323 Luiz Otavio O Souza,+55 (14) 99772-1255 changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- CC| |loos@FreeBSD.org Status|Closed |Open --- Comment #19 from Luiz Otavio O Souza,+55 (14) 99772-1255 --- This is not completely correct, BPF must never sleep on the hot path. The problem still happens, because BPF is sleeping with the NIC lock held. I tracked this down to the changes introduced in r244090 and now I'm looking for a better fix for it. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 30 14:52:11 2015 Return-Path: Delivered-To: freebsd-net@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 2DE409AF9E5 for ; Thu, 30 Jul 2015 14:52:11 +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 1A19A15BD for ; Thu, 30 Jul 2015 14:52:11 +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 t6UEqAFT077926 for ; Thu, 30 Jul 2015 14:52:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200323] BPF userland misuse can crash the system Date: Thu, 30 Jul 2015 14:52:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ghelmer@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10+ X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 14:52:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323 Guy Helmer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ghelmer@FreeBSD.org --- Comment #20 from Guy Helmer --- (In reply to Luiz Otavio O Souza,+55 (14) 99772-1255 from comment #19) The hold/store/free buffer sharing two buffers in BPF has been a source of trouble. Should there be a third buffer in BPF so we don't have to wait for access to a buffer in bpfread()? It would waste memory but seems like it could cleanly resolve some problems. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 30 15:00:55 2015 Return-Path: Delivered-To: freebsd-net@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 D7B9C9AFAE3 for ; Thu, 30 Jul 2015 15:00:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B4EC21B32; Thu, 30 Jul 2015 15:00:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (75-48-78-19.lightspeed.cncrca.sbcglobal.net [75.48.78.19]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 9CE2FB9AD; Thu, 30 Jul 2015 11:00:53 -0400 (EDT) From: John Baldwin To: "K. Macy" Cc: John-Mark Gurney , Laurie Jennings , "freebsd-net@freebsd.org" Subject: Re: Locking Memory Question Date: Thu, 30 Jul 2015 07:16:02 -0700 Message-ID: <5314312.Bb3l71uHLc@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-PRERELEASE; KDE/4.14.3; amd64; ; ) In-Reply-To: References: <20150729232522.GN78154@funkthat.com> <20150730044603.GQ78154@funkthat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 30 Jul 2015 11:00:53 -0400 (EDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 15:00:55 -0000 On Wednesday, July 29, 2015 11:28:03 PM K. Macy wrote: > >> > >> Im not clear how I'd do that. the data being passed up from the kernel is a variable size. To use copyout I'd have to pass a > >> pointer with a static buffer, right? > > > > Correct, you can pass along the size, and if it's not large enough > > try again... Less than ideal... > > > >> Is there a way to malloc user space memory from within an ioctl call? > > > > Well, it is possible that you could do the equivalent of mmap, and pass > > the address back along w/ a length, and leave it up to the user to > > munmap it... This is probably the nicest method if you the size is > > really largely variable, and it's expensive if the userland process > > allocated too much memory... The down side is that this is more > > complex to code... > > > > > Mach has the ability to send large "out of line messages". For smaller > messages where it doesn't do VM tricks to avoid copying it does > exactly this. In the receive path the kernel calls vm_allocate (which > is essentially just a wrapper for mmap) then copies the buffer in to > the newly allocated address space. The message itself contains the > allocated address and size of the allocation. The receiver is expected > to call vm_deallocate (munmap) when it's done with the data. > > The implementation is mixed in with enough other code that it may not > be a useful reference. Nonetheless, I wanted to point at that this > isn't as strange as it might sound. You can do this in FreeBSD by calling vm_mmap() with a NULL handle pointer to simulate a MAP_ANON mapping. Something like this: vm_mmap(&curproc->p_vmspace->vm_map, &addr, , VM_PROT_READ | VM_PROT_WRITE, VM_PROT_READ | VM_PROT_WRITE, MAP_SHARED, OBJT_DEFAULT, NULL, 0); It's not great for a true shared memory buffer, but is fine for a one-time copy. -- John Baldwin From owner-freebsd-net@freebsd.org Thu Jul 30 15:34:28 2015 Return-Path: Delivered-To: freebsd-net@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 70F629AE090 for ; Thu, 30 Jul 2015 15:34:28 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from nm11-vm1.bullet.mail.bf1.yahoo.com (nm11-vm1.bullet.mail.bf1.yahoo.com [98.139.213.152]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DF44D5B for ; Thu, 30 Jul 2015 15:34:27 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from [66.196.81.171] by nm11.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 15:34:21 -0000 Received: from [98.139.215.250] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 15:34:21 -0000 Received: from [127.0.0.1] by omp1063.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 15:34:21 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 589401.2751.bm@omp1063.mail.bf1.yahoo.com Received: (qmail 68340 invoked by uid 60001); 30 Jul 2015 15:34:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1438270461; bh=Qhgio2Z/vMQGECinjlKqFaaqminu8Ff8qaW5AOW5Rqk=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aYfD6RyriUfhY0Alb+Vfp7ZNRIxPFQI9VT8S2fnWvQgvpnlTBE2LpUcwGEL4xLnN8NNAWFAwSg+VWLmF9eZoGTU4roIOfNUjjkGM9UCwGajATW3wp/B66mlbgIIomz1hth3+vdRGbTlWBd3THE1i7+1OunKxa3udxrOY5UC2kOg= X-YMail-OSG: 1OgbFdoVM1mvw9HobbpIDoa3PYI4DLbLh85swgttNOs4fb7 tG2lH1G25Hm._Bg5ffpjiCqFVZZgx.VM.D8dBi199iPyA3xQkV.K.xRDDp36 mHXP5hIoWKiFjk3uVBfJgN_50obsJMzsgRR01xSQEiiMkg2wOd8U1.ApaHi4 xyfNxPsIgDLzPqhhVE1AoZ8tMR3aqXUVVpZoWowN1pF8VNSfaLCEt_Atj_lr Csj3KOmeLETn6zjivc1wGtQstOWH2QaItgNPol8gdh8e4IYyxEmDELStGBwb GlVuAbVkXRoe82b30a4Xc0NX1yM5IupvhCwi2QwJWUpHaMGwDSbG0aSaL.Iz oYBT1nT1_8foOaTIQ4vqWs4GZOfSB2QgqsI4KRG8g2jeykh1zlDwsLsQJljU ET8Pq3OlRH_y6YVsfSKM4xC7_IExa9U8j3H2xQPaTIMwh6cIyY8zByI7i_T1 MdJaXICSsvLTZHwLq300Lid7WB6iR7awVDKhdeHPqwPEUHiusXiOmKwOuY7. rgCb6V61CP0461tGagV6JGM4aNZjUdosEMdDZjwgLtfzlcuzLVLVJu7JfQg- - Received: from [73.0.96.254] by web141505.mail.bf1.yahoo.com via HTTP; Thu, 30 Jul 2015 08:34:21 PDT X-Rocket-MIMEInfo: 002.001, DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KT24gVGh1LCA3LzMwLzE1LCBKb2huIEJhbGR3aW4gPGpoYkBmcmVlYnNkLm9yZz4gd3JvdGU6DQoNCiBTdWJqZWN0OiBSZTogTG9ja2luZyBNZW1vcnkgUXVlc3Rpb24NCiBUbzogIksuIE1hY3kiIDxrbWFjeUBmcmVlYnNkLm9yZz4NCiBDYzogImZyZWVic2QtbmV0QGZyZWVic2Qub3JnIiA8ZnJlZWJzZC1uZXRAZnJlZWJzZC5vcmc.LCAiSm9obi1NYXJrIEd1cm5leSIgPGptZ0BmdW5rdGhhdC5jb20.LCAiTGF1cmllIEplbm4BMAEBAQE- X-Mailer: YahooMailBasic/600 YahooMailWebService/0.8.203.802 Message-ID: <1438270461.53350.YahooMailBasic@web141505.mail.bf1.yahoo.com> Date: Thu, 30 Jul 2015 08:34:21 -0700 From: Laurie Jennings Subject: Re: Locking Memory Question To: "K. Macy" , John Baldwin Cc: "freebsd-net@freebsd.org" , John-Mark Gurney In-Reply-To: <5314312.Bb3l71uHLc@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 15:34:28 -0000 -------------------------------------------- On Thu, 7/30/15, John Baldwin wrote: Subject: Re: Locking Memory Question To: "K. Macy" Cc: "freebsd-net@freebsd.org" , "John-Mark Gurney= " , "Laurie Jennings" Date: Thursday, July 30, 2015, 10:16 AM =20 On Wednesday, July 29, 2015 11:28:03 PM K. Macy wrote: > >> > >> Im not clear how I'd do that. the data being passed up from the kernel is a variable size. To use copyout I'd have to pass a > >> pointer with a static buffer, right? > > > > Correct, you can pass along the size, and if it's not large enough > > try again... Less than ideal... > > > >> Is there a way to malloc user space memory from within an ioctl call? > > > > Well, it is possible that you could do the equivalent of mmap, and pass > > the address back along w/ a length, and leave it up to the user to > > munmap it...=A0 This is probably the nicest method if you the size is > > really largely variable, and it's expensive if the userland process > > allocated too much memory...=A0 The down side is that this is more > > complex to code... > > >=20 >=20 > Mach has the ability to send large "out of line messages". For smaller > messages where it doesn't do VM tricks to avoid copying it does > exactly this. In the receive path the kernel calls vm_allocate (which > is essentially just a wrapper for mmap) then copies the buffer in to > the newly allocated address space. The message itself contains the > allocated address and size of the allocation. The receiver is expected > to call vm_deallocate (munmap) when it's done with the data. >=20 > The implementation is mixed in with enough other code that it may not > be a useful reference. Nonetheless, I wanted to point at that this > isn't as strange as it might sound. =20 You can do this in FreeBSD by calling vm_mmap() with a NULL handle pointer to simulate a MAP_ANON mapping.=A0 Something like this: =20 =A0=A0=A0 vm_mmap(&curproc->p_vmspace->vm_map, &addr, , VM_PROT_READ | =A0=A0=A0 =A0 =A0 VM_PROT_WRITE, VM_PROT_READ | VM_PROT_WRITE, MAP_SHARED, OBJT_DEFAULT, =A0=A0=A0 =A0=A0=A0 NULL, 0); =20 It's not great for a true shared memory buffer, but is fine for a one-time copy. =20 -- ------------ Thanks everyone for the help on this. I decided to implement it with copyou= t(), mainly for maintainability going forward. I only have a couple of commands that require a larger than normal buffer, and I c= an always do a double fetch if the initial buffer is too small.=20 the big problem with the VM stuff (aside from making my head spin around) i= s that it's not documented, so it's difficult to debug and someone else working on the code will have no idea what's going on.=20 Thank again, Laurie From owner-freebsd-net@freebsd.org Thu Jul 30 15:35:09 2015 Return-Path: Delivered-To: freebsd-net@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 35B3A9AE0DA for ; Thu, 30 Jul 2015 15:35:09 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from nm10-vm0.bullet.mail.bf1.yahoo.com (nm10-vm0.bullet.mail.bf1.yahoo.com [98.139.213.147]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E892CE05 for ; Thu, 30 Jul 2015 15:35:08 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from [98.139.215.141] by nm10.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 15:35:02 -0000 Received: from [98.139.212.210] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 15:35:02 -0000 Received: from [127.0.0.1] by omp1019.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 15:35:02 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 468517.1293.bm@omp1019.mail.bf1.yahoo.com Received: (qmail 81705 invoked by uid 60001); 30 Jul 2015 15:35:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1438270502; bh=Qhgio2Z/vMQGECinjlKqFaaqminu8Ff8qaW5AOW5Rqk=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BVdcSOyK1iO4f2oSYebPuzfXzLF/jl0NhlVM3bFRv6pSP7sTIpmmIC+ipMt+E645N3niYaUXwiCbRcA/YKEVtW5nRxRDON9HbA03f/uwKAjTPKISbQ+GRtHz4d+4zMMtmwn4hPlrsB5vQfxw2odEVunpD6LJj98O8MUfJhFT7zI= X-YMail-OSG: Rpy0s5gVM1lDoHqhG7ZSzA2KPh6h00P1btw2NcpGqjn2Zbc h5wlyTI..Wsa7C1_cnLG2IHI3.COOKIZzL8UcKcdr4ZoxH7S_8ZoDh2x4S08 UPoxpAnGSocVnTn5zwAQ1gM.3xXPLNKnXT47j3ILT17q8mXxy5wlXHRQaagw Kn7Q_ORiX7dTWX8pHK36AbvWZ5uLji7G6OzZeYI7BXxvSLwnU9frlVyn6uNt cGRsRSt7LbFpthYk.h27uZGSdHz4G9aXfrLXzlXxFGpJZOLGvClZM9HTl2_O 3CwgnQcSErwHgGKJKIRnQ7tLnPK45vzvDBpV0wHvFXXMzj3OLo4ajEWfbLH2 kaKJklSE7.znqzVGMuLVJpZsLHIsHj2bpfwB6rPmj0uAVypC9coaHmLhMcvY 1K6nSIwJfl.pjC.UY9UB6V6.GMJZRyFeLu._CCd87ySpSRFTx2m40cLOaB_A xSp.StWZtN49Wm1JEEVTXcWJ_KqD5_TRNsAkcOEI00Pu66CIMdHdBq5dKbTZ Qd8jJdbVVf5UbyjG3gVmuocCvl04SEa8ORKhYnpze9PIgul00QxXx_HGXng- - Received: from [73.0.96.254] by web141506.mail.bf1.yahoo.com via HTTP; Thu, 30 Jul 2015 08:35:02 PDT X-Rocket-MIMEInfo: 002.001, DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KT24gVGh1LCA3LzMwLzE1LCBKb2huIEJhbGR3aW4gPGpoYkBmcmVlYnNkLm9yZz4gd3JvdGU6DQoNCiBTdWJqZWN0OiBSZTogTG9ja2luZyBNZW1vcnkgUXVlc3Rpb24NCiBUbzogIksuIE1hY3kiIDxrbWFjeUBmcmVlYnNkLm9yZz4NCiBDYzogImZyZWVic2QtbmV0QGZyZWVic2Qub3JnIiA8ZnJlZWJzZC1uZXRAZnJlZWJzZC5vcmc.LCAiSm9obi1NYXJrIEd1cm5leSIgPGptZ0BmdW5rdGhhdC5jb20.LCAiTGF1cmllIEplbm4BMAEBAQE- X-Mailer: YahooMailBasic/600 YahooMailWebService/0.8.203.802 Message-ID: <1438270502.37685.YahooMailBasic@web141506.mail.bf1.yahoo.com> Date: Thu, 30 Jul 2015 08:35:02 -0700 From: Laurie Jennings Subject: Re: Locking Memory Question To: "K. Macy" , John Baldwin Cc: "freebsd-net@freebsd.org" , John-Mark Gurney In-Reply-To: <5314312.Bb3l71uHLc@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 15:35:09 -0000 -------------------------------------------- On Thu, 7/30/15, John Baldwin wrote: Subject: Re: Locking Memory Question To: "K. Macy" Cc: "freebsd-net@freebsd.org" , "John-Mark Gurney= " , "Laurie Jennings" Date: Thursday, July 30, 2015, 10:16 AM =20 On Wednesday, July 29, 2015 11:28:03 PM K. Macy wrote: > >> > >> Im not clear how I'd do that. the data being passed up from the kernel is a variable size. To use copyout I'd have to pass a > >> pointer with a static buffer, right? > > > > Correct, you can pass along the size, and if it's not large enough > > try again... Less than ideal... > > > >> Is there a way to malloc user space memory from within an ioctl call? > > > > Well, it is possible that you could do the equivalent of mmap, and pass > > the address back along w/ a length, and leave it up to the user to > > munmap it...=A0 This is probably the nicest method if you the size is > > really largely variable, and it's expensive if the userland process > > allocated too much memory...=A0 The down side is that this is more > > complex to code... > > >=20 >=20 > Mach has the ability to send large "out of line messages". For smaller > messages where it doesn't do VM tricks to avoid copying it does > exactly this. In the receive path the kernel calls vm_allocate (which > is essentially just a wrapper for mmap) then copies the buffer in to > the newly allocated address space. The message itself contains the > allocated address and size of the allocation. The receiver is expected > to call vm_deallocate (munmap) when it's done with the data. >=20 > The implementation is mixed in with enough other code that it may not > be a useful reference. Nonetheless, I wanted to point at that this > isn't as strange as it might sound. =20 You can do this in FreeBSD by calling vm_mmap() with a NULL handle pointer to simulate a MAP_ANON mapping.=A0 Something like this: =20 =A0=A0=A0 vm_mmap(&curproc->p_vmspace->vm_map, &addr, , VM_PROT_READ | =A0=A0=A0 =A0 =A0 VM_PROT_WRITE, VM_PROT_READ | VM_PROT_WRITE, MAP_SHARED, OBJT_DEFAULT, =A0=A0=A0 =A0=A0=A0 NULL, 0); =20 It's not great for a true shared memory buffer, but is fine for a one-time copy. =20 -- ------------ Thanks everyone for the help on this. I decided to implement it with copyou= t(), mainly for maintainability going forward. I only have a couple of commands that require a larger than normal buffer, and I c= an always do a double fetch if the initial buffer is too small.=20 the big problem with the VM stuff (aside from making my head spin around) i= s that it's not documented, so it's difficult to debug and someone else working on the code will have no idea what's going on.=20 Thank again, Laurie From owner-freebsd-net@freebsd.org Thu Jul 30 15:37:15 2015 Return-Path: Delivered-To: freebsd-net@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 1E7ED9AE1CF for ; Thu, 30 Jul 2015 15:37:15 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from nm46-vm5.bullet.mail.bf1.yahoo.com (nm46-vm5.bullet.mail.bf1.yahoo.com [216.109.115.108]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0CC9EF8 for ; Thu, 30 Jul 2015 15:37:14 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from [66.196.81.171] by nm46.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 15:35:03 -0000 Received: from [98.139.212.226] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 15:35:03 -0000 Received: from [127.0.0.1] by omp1035.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 15:35:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 267281.53021.bm@omp1035.mail.bf1.yahoo.com Received: (qmail 68703 invoked by uid 60001); 30 Jul 2015 15:35:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1438270503; bh=Qhgio2Z/vMQGECinjlKqFaaqminu8Ff8qaW5AOW5Rqk=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zxRakDO67S/ZjbWBwh/be9YLFTmhTHOATbA33Ia/A3I6daa9WxnLVqBp5V3FR2gHTenT7Q3DrBcOZ1JXAmsAqM2fask2+r3gmCV8CxfhWRllXtILq9diCh4+w5zvnkt3Zv3w77S8K9TmI8jSqO/5VWohOXE+7L+xEYJ8Oz0S7OY= X-YMail-OSG: hB0Bfj8VM1nYVbDgDLbblDwMjjmPkUgI2n6JWuQISkuKdwZ xFrxDJLlm464wIFBYouWboxtxFAqYvhRwcHuFy3.VaKaq7K0vlfDCobOC77H 6Zjr1YI7ZRBbAAqDbshwOxpLhXXgafBTwV9gD4_zHZr7bEIr.m9cm6FQ5Y.0 8G67ha9wsGp.KW99zR_t_1Q.bqypIpUwHZCg3DqPr_yE0UmNdL.arJr9QNcb OF14eU.60.Q96AAJdxmXapy1vbK6FayV3cXLU9rJzghbmkxZ99onOII60gLs lVGdgB6xkJF5s7.0bh3XCMfNG7slJSZa9zmw1rsQLM6oXGG2lZki9I_0x39c sh6WTw7brmwK2dP5LKyU6dH.Sl.g0Iju9Cf.Zab21DL_DyL4PX_wnRrBcPKL SBJvtV8jHhj.qy3DZaF51zCV6XZ7FStPKkZpl0LkrikCgVsS8_Kueg3jdy3r CFhHTR4le3uZxPpOMa53Hmj0oRhesHoCdKJIPFUbKXeuGLThuMN4ZwJsa1cG _.oY2vmHzVyGsoMMHZAo9Ng-- Received: from [73.0.96.254] by web141505.mail.bf1.yahoo.com via HTTP; Thu, 30 Jul 2015 08:35:02 PDT X-Rocket-MIMEInfo: 002.001, DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KT24gVGh1LCA3LzMwLzE1LCBKb2huIEJhbGR3aW4gPGpoYkBmcmVlYnNkLm9yZz4gd3JvdGU6DQoNCiBTdWJqZWN0OiBSZTogTG9ja2luZyBNZW1vcnkgUXVlc3Rpb24NCiBUbzogIksuIE1hY3kiIDxrbWFjeUBmcmVlYnNkLm9yZz4NCiBDYzogImZyZWVic2QtbmV0QGZyZWVic2Qub3JnIiA8ZnJlZWJzZC1uZXRAZnJlZWJzZC5vcmc.LCAiSm9obi1NYXJrIEd1cm5leSIgPGptZ0BmdW5rdGhhdC5jb20.LCAiTGF1cmllIEplbm4BMAEBAQE- X-Mailer: YahooMailBasic/600 YahooMailWebService/0.8.203.802 Message-ID: <1438270502.61471.YahooMailBasic@web141505.mail.bf1.yahoo.com> Date: Thu, 30 Jul 2015 08:35:02 -0700 From: Laurie Jennings Subject: Re: Locking Memory Question To: "K. Macy" , John Baldwin Cc: "freebsd-net@freebsd.org" , John-Mark Gurney In-Reply-To: <5314312.Bb3l71uHLc@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 15:37:15 -0000 -------------------------------------------- On Thu, 7/30/15, John Baldwin wrote: Subject: Re: Locking Memory Question To: "K. Macy" Cc: "freebsd-net@freebsd.org" , "John-Mark Gurney= " , "Laurie Jennings" Date: Thursday, July 30, 2015, 10:16 AM =20 On Wednesday, July 29, 2015 11:28:03 PM K. Macy wrote: > >> > >> Im not clear how I'd do that. the data being passed up from the kernel is a variable size. To use copyout I'd have to pass a > >> pointer with a static buffer, right? > > > > Correct, you can pass along the size, and if it's not large enough > > try again... Less than ideal... > > > >> Is there a way to malloc user space memory from within an ioctl call? > > > > Well, it is possible that you could do the equivalent of mmap, and pass > > the address back along w/ a length, and leave it up to the user to > > munmap it...=A0 This is probably the nicest method if you the size is > > really largely variable, and it's expensive if the userland process > > allocated too much memory...=A0 The down side is that this is more > > complex to code... > > >=20 >=20 > Mach has the ability to send large "out of line messages". For smaller > messages where it doesn't do VM tricks to avoid copying it does > exactly this. In the receive path the kernel calls vm_allocate (which > is essentially just a wrapper for mmap) then copies the buffer in to > the newly allocated address space. The message itself contains the > allocated address and size of the allocation. The receiver is expected > to call vm_deallocate (munmap) when it's done with the data. >=20 > The implementation is mixed in with enough other code that it may not > be a useful reference. Nonetheless, I wanted to point at that this > isn't as strange as it might sound. =20 You can do this in FreeBSD by calling vm_mmap() with a NULL handle pointer to simulate a MAP_ANON mapping.=A0 Something like this: =20 =A0=A0=A0 vm_mmap(&curproc->p_vmspace->vm_map, &addr, , VM_PROT_READ | =A0=A0=A0 =A0 =A0 VM_PROT_WRITE, VM_PROT_READ | VM_PROT_WRITE, MAP_SHARED, OBJT_DEFAULT, =A0=A0=A0 =A0=A0=A0 NULL, 0); =20 It's not great for a true shared memory buffer, but is fine for a one-time copy. =20 -- ------------ Thanks everyone for the help on this. I decided to implement it with copyou= t(), mainly for maintainability going forward. I only have a couple of commands that require a larger than normal buffer, and I c= an always do a double fetch if the initial buffer is too small.=20 the big problem with the VM stuff (aside from making my head spin around) i= s that it's not documented, so it's difficult to debug and someone else working on the code will have no idea what's going on.=20 Thank again, Laurie From owner-freebsd-net@freebsd.org Thu Jul 30 18:35:31 2015 Return-Path: Delivered-To: freebsd-net@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 14C0D9AB3DE for ; Thu, 30 Jul 2015 18:35:31 +0000 (UTC) (envelope-from hoomanfazaeli@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::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 A28DF1B14 for ; Thu, 30 Jul 2015 18:35:30 +0000 (UTC) (envelope-from hoomanfazaeli@gmail.com) Received: by wibxm9 with SMTP id xm9so3289029wib.1 for ; Thu, 30 Jul 2015 11:35:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0+AH8p4DhtOtoVysdDND4/gxQtNJcaJ22DN6mkuQQuY=; b=j3ufybBuuUyJ1MjK82VTYUcK0WqXKNYNyw53rp1jclpp1XGCRKoJdcIx0pFw73TZ+n hlu9/g0KxibHmbcrKw29dMQeAwbEG4hYQ/Qr/bF3A1wZw3V2QiHk7lReXEWrYlJNFN1o PlXpw2Lr0HqedsZajuYNTWj43Kp6GyCHZIn2D1dlrUpE6OamPDDF75ggxOI2xgq06MWJ 1Tt6khsXYRjxCsEieU49gHyg8zVCT0ohKWriz/aAeShAhjSbWJ0NE8Gc4rCjGQkYHWY2 vGAxa+h+lZrnc3re1u7viRBBt/f4T4QE8D6CdPPpGf1ptLH7pBbIADch8FmDVdQNNj5R AMMg== X-Received: by 10.194.123.4 with SMTP id lw4mr87991598wjb.94.1438281328976; Thu, 30 Jul 2015 11:35:28 -0700 (PDT) Received: from [192.168.2.30] ([2.190.246.160]) by smtp.googlemail.com with ESMTPSA id gc4sm399930wib.23.2015.07.30.11.35.27 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jul 2015 11:35:28 -0700 (PDT) Message-ID: <55BA6E6C.4080304@gmail.com> Date: Thu, 30 Jul 2015 23:05:24 +0430 From: Hooman Fazaeli User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Laurie Jennings CC: "freebsd-net@freebsd.org" Subject: Re: Locking Memory Question References: <1438217542.41867.YahooMailBasic@web141502.mail.bf1.yahoo.com> In-Reply-To: <1438217542.41867.YahooMailBasic@web141502.mail.bf1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 18:35:31 -0000 On 7/30/2015 5:22 AM, Laurie Jennings via freebsd-net wrote: > -------------------------------------------- > On Wed, 7/29/15, John-Mark Gurney wrote: > > Subject: Re: Locking Memory Question > To: "Laurie Jennings" > Cc: "John Baldwin" , freebsd-net@freebsd.org > Date: Wednesday, July 29, 2015, 7:25 PM > > Laurie Jennings via > freebsd-net wrote this message on Wed, Jul 29, 2015 at 15:26 > -0700: > > > > I have a problem and > I can't quite figure out where to look. This is what Im > doing: > > > > I have an > IOCTL to read a block of data, but the data is too large to > return via ioctl. So to get the data, > > I > allocate a block in a kernel module: > > > > > foo = > malloc(1024000,M_DEVBUF,M_WAITOK); > > > > I pass up a pointer and in user space > map it using /dev/kmem: > > An easier solution would be for your ioctl to > pass in a userland > pointer and then use > copyout(9) to push the data to userland... This > means the userland process doesn't have to > have /dev/kmem access... > > Is > there a reason you need to use kmem? The only reason you > list above > is that it's too large via > ioctl, but a copyout is fine, and would > handle all page faults for you.. > > __________________________________ > I'm using kmem because the only options I could think of was to > > 1) use shared memory > 2) use kmem > 3) use a huge ioctl structure. > > Im not clear how I'd do that. the data being passed up from the kernel is a variable size. To use copyout I'd have to pass a > pointer with a static buffer, right? Is there a way to malloc user space memory from within an ioctl call? Or > would I just have to pass down a pointer to a huge buffer large enough for the largest possible answer? > > thanks > > Laurie You can use two IOCTLs. Get the block size from kernel module with the first ioctl, and malloc(3) a buffer in userland with that size. Then use a second ioctl to pass the address of allocated buffer to kernel module. The module may use copyout(9) to copy in-kernel data to user space buffer. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Best regards Hooman Fazaeli From owner-freebsd-net@freebsd.org Thu Jul 30 19:37:59 2015 Return-Path: Delivered-To: freebsd-net@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 715DC9AC4AB for ; Thu, 30 Jul 2015 19:37:59 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from nm3-vm0.bullet.mail.bf1.yahoo.com (nm3-vm0.bullet.mail.bf1.yahoo.com [98.139.212.154]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C231ECA for ; Thu, 30 Jul 2015 19:37:58 +0000 (UTC) (envelope-from laurie_jennings_1977@yahoo.com) Received: from [66.196.81.174] by nm3.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 19:37:56 -0000 Received: from [98.139.215.230] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 19:37:56 -0000 Received: from [127.0.0.1] by omp1070.mail.bf1.yahoo.com with NNFMP; 30 Jul 2015 19:37:56 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 852242.45392.bm@omp1070.mail.bf1.yahoo.com Received: (qmail 50419 invoked by uid 60001); 30 Jul 2015 19:37:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1438285076; bh=FPyhqsw9HFLnKr4fIGCzNTERWTIzxXZwZVPRoDJH7WE=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nMfAIagQ1gDZrUVOH+Vl5pkMhL5uP9W9HKyfdz2D0gyNzLgQW9xW7khmzLzO5+TjFrnyuFTCWojtPKOYpeUDg3B+DRquZNrvYTQbVP2kdzqajSseq4bICNOQCPiN4wU9n35eLrNzAht2mGPaAo9K2uUmpj9zlO/TzJB9LxY1YH4= X-YMail-OSG: lWPIig0VM1nG.WS2WMop4rdUlzod1n1kmBZNtcZGd944eon KyjrimVP3DbKSQHozGet_eOCMWDf5z0ec.eJLsJhniz1KPgIxenyZ5zDa44h Pi3VDZqlsBXHcVTE..8IoqffrZYzTyUhqfwFLIlJkhVuAn17HFx2VCgzfWEW p30OPO518pmsDi62immMX_wJ4Kbnu1FXzFVkb_rHkucZ6OjkY8aAxOlA8zw2 PB0tyVfrBZMPtroX7h3dRfZozm.OeViNzZRPd9hpo8lXWPHY9joPM8t64bHq U8ZB90LxsqasU_WkX1Pi3Loec8C96jz60B3uBlWIwIiy9QZ7065.k5UQ9bKU PStnurb2yeHyhAC3MBHxaseAFJTSnNcbzQVaZPuIIwijQ6yzP9ZOiVHJsn_C pKkTjY3XdVOYAuv_lky49mkzKwy3WlS4uqgpiF1g3J8XZ.XD330ka4XNRBEg raqzfugqdFMSH9WpJBeo5mBom352jATePyokSX8cdtonx7UBeQVe4LSiMf7s ACRfFvw_5JCwg0nUEpHaE.6PeF_.lqO8fxdgUNCQPXg3X9mB2IR6QnrJMTg- - Received: from [73.0.96.254] by web141505.mail.bf1.yahoo.com via HTTP; Thu, 30 Jul 2015 12:37:56 PDT X-Rocket-MIMEInfo: 002.001, DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KT24gVGh1LCA3LzMwLzE1LCBIb29tYW4gRmF6YWVsaSA8aG9vbWFuZmF6YWVsaUBnbWFpbC5jb20.IHdyb3RlOg0KDQogU3ViamVjdDogUmU6IExvY2tpbmcgTWVtb3J5IFF1ZXN0aW9uDQogVG86ICJMYXVyaWUgSmVubmluZ3MiIDxsYXVyaWVfamVubmluZ3NfMTk3N0B5YWhvby5jb20.DQogQ2M6ICJmcmVlYnNkLW5ldEBmcmVlYnNkLm9yZyIgPGZyZWVic2QtbmV0QGZyZWVic2Qub3JnPg0KIERhdGU6IFRodXJzZGF5LCBKdWwBMAEBAQE- X-Mailer: YahooMailBasic/600 YahooMailWebService/0.8.203.802 Message-ID: <1438285076.38601.YahooMailBasic@web141505.mail.bf1.yahoo.com> Date: Thu, 30 Jul 2015 12:37:56 -0700 From: Laurie Jennings Subject: Re: Locking Memory Question To: Hooman Fazaeli Cc: "freebsd-net@freebsd.org" In-Reply-To: <55BA6E6C.4080304@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 19:37:59 -0000 -------------------------------------------- On Thu, 7/30/15, Hooman Fazaeli wrote: Subject: Re: Locking Memory Question To: "Laurie Jennings" Cc: "freebsd-net@freebsd.org" Date: Thursday, July 30, 2015, 2:35 PM =20 On 7/30/2015 5:22 AM, Laurie Jennings via freebsd-net wrote: > -------------------------------------------- > On Wed, 7/29/15, John-Mark Gurney wrote: > >=A0=A0=A0Subject: Re: Locking Memory Question >=A0=A0=A0To: "Laurie Jennings" >=A0=A0=A0Cc: "John Baldwin" , freebsd-net@freebsd.org >=A0=A0=A0Date: Wednesday, July 29, 2015, 7:25 PM >=A0=A0=A0 >=A0=A0=A0Laurie Jennings via >=A0=A0=A0freebsd-net wrote this message on Wed, Jul 29, 2015 at 15:26 >=A0=A0=A0-0700: >=A0=A0=A0> >=A0=A0=A0> I have a problem and >=A0=A0=A0I can't quite figure out where to look. This is what Im >=A0=A0=A0doing: >=A0=A0=A0> >=A0=A0=A0> I have an >=A0=A0=A0IOCTL to read a block of data, but the data is too large to >=A0=A0=A0return via ioctl. So to get the data, >=A0=A0=A0> I >=A0=A0=A0allocate a block in a kernel module: >=A0=A0=A0> >=A0=A0=A0 >=A0=A0=A0> foo =3D >=A0=A0=A0malloc(1024000,M_DEVBUF,M_WAITOK); >=A0=A0=A0> >=A0=A0=A0>=A0 I pass up a pointer and in user space >=A0=A0=A0map it using /dev/kmem: >=A0=A0=A0 >=A0=A0=A0An easier solution would be for your ioctl to >=A0=A0=A0pass in a userland >=A0=A0=A0pointer and then use >=A0=A0=A0copyout(9) to push the data to userland...=A0 This >=A0=A0=A0means the userland process doesn't have to >=A0=A0=A0have /dev/kmem access... >=A0=A0=A0 >=A0=A0=A0Is >=A0=A0=A0there a reason you need to use kmem?=A0 The only reason you >=A0=A0=A0list above >=A0=A0=A0is that it's too large via >=A0=A0=A0ioctl, but a copyout is fine, and would >=A0=A0=A0handle all page faults for you.. >=A0=A0=A0 >=A0=A0=A0__________________________________ > I'm using kmem because the only options I could think of was to > > 1) use shared memory > 2) use kmem > 3) use a huge ioctl structure. > > Im not clear how I'd do that. the data being passed up from the kernel is a variable size. To use copyout I'd have to pass a > pointer with a static buffer, right? Is there a way to malloc user space memory from within an ioctl call? Or > would I just have to pass down a pointer to a huge buffer large enough for the largest possible answer? > > thanks > > Laurie =20 You can use two IOCTLs. Get the block size from kernel module with the first ioctl, and malloc(3) a buffer in userland with that size. Then use a second ioctl to pass the address of allocated buffer to kernel module. The module may use copyout(9) to copy in-kernel data to user space buffer. =20 =20 __________________ I sort of did that. I pass a buffer large enough for 99% of the cases, and = if its too small I return the required size and pass a bigger buffer. Its a low volume operation so I'm not too co= ncerned about performance, but doing 2 IOCTLs every time would be particular inefficient. Its cleaner than kmem = for sure. Laurie From owner-freebsd-net@freebsd.org Thu Jul 30 21:33:39 2015 Return-Path: Delivered-To: freebsd-net@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 9F5EA9AEF02 for ; Thu, 30 Jul 2015 21:33:39 +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 8B8471DA0 for ; Thu, 30 Jul 2015 21:33:39 +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 t6ULXd2Q038858 for ; Thu, 30 Jul 2015 21:33:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201916] [patch] mac address does not update when removing the primary iface from a lagg Date: Thu, 30 Jul 2015 21:33:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 21:33:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201916 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|mac address does not update |[patch] mac address does |when removing the primary |not update when removing |iface from a lagg |the primary iface from a | |lagg --- Comment #1 from Hiren Panchasara --- shahark@ : if possible, create phabricator review at reviews.freebsd.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Jul 31 08:26:15 2015 Return-Path: Delivered-To: freebsd-net@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 7A3EE9AFBC4 for ; Fri, 31 Jul 2015 08:26:15 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (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 32A79134 for ; Fri, 31 Jul 2015 08:26:15 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZL5dt-000GX1-SG for freebsd-net@freebsd.org; Fri, 31 Jul 2015 10:26:13 +0200 Date: Fri, 31 Jul 2015 10:26:13 +0200 From: Kurt Jaeger To: freebsd-net@freebsd.org Subject: BACnet on FreeBSD ? Message-ID: <20150731082613.GU49099@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2015 08:26:15 -0000 Hi! Has anyone ever worked with BACnet on FreeBSD ? The Organisation: http://www.bacnet.org/ The ISO norm: ISO 16484-5 There's a European SIG: http://www.big-eu.org/ There's a protocol stack (which needs more massaging to build on FreeBSD): http://sourceforge.net/projects/bacnet/ https://github.com/stargieg/bacnet-stack Thanks for any pointers! -- pi@opsec.eu +49 171 3101372 5 years to go ! From owner-freebsd-net@freebsd.org Fri Jul 31 12:12:33 2015 Return-Path: Delivered-To: freebsd-net@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 463B89AF074 for ; Fri, 31 Jul 2015 12:12:33 +0000 (UTC) (envelope-from glebius@FreeBSD.org) 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 2FFE91097 for ; Fri, 31 Jul 2015 12:12:33 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2B2BD9AF072; Fri, 31 Jul 2015 12:12:33 +0000 (UTC) Delivered-To: net@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 2952E9AF070; Fri, 31 Jul 2015 12:12:33 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F115108E; Fri, 31 Jul 2015 12:12:28 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.15.2/8.15.2) with ESMTPS id t6VCCQd3007859 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 31 Jul 2015 15:12:26 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.15.2/8.15.2/Submit) id t6VCCQKN007858; Fri, 31 Jul 2015 15:12:26 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 31 Jul 2015 15:12:26 +0300 From: Gleb Smirnoff To: current@FreeBSD.org, net@FreeBSD.org Subject: CFT: ndis(4) testers needed! Message-ID: <20150731121226.GJ889@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2015 12:12:33 -0000 Hi! I need to make couple of non-functional but rather large changes to the if_ndis driver and will appreciate if anyone signs up to test my changes. Please contact me if you can provide help. -- Totus tuus, Glebius. From owner-freebsd-net@freebsd.org Fri Jul 31 21:27:51 2015 Return-Path: Delivered-To: freebsd-net@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 A6B619B0C6A for ; Fri, 31 Jul 2015 21:27:51 +0000 (UTC) (envelope-from pmneveshi5@gmail.com) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 9517A1CF3 for ; Fri, 31 Jul 2015 21:27:51 +0000 (UTC) (envelope-from pmneveshi5@gmail.com) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id D5274125A01B for ; Fri, 31 Jul 2015 14:28:20 -0700 (PDT) Date: Fri, 31 Jul 2015 14:27:51 -0700 (MST) From: petersnows To: freebsd-net@freebsd.org Message-ID: <1438378071155-6029579.post@n5.nabble.com> Subject: netmap fails to send packets: on unbuntu 14.04 kernel 3.16.7 with virtio MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2015 21:27:51 -0000 Hi, Net map fails to send more than 255 packets. My set up is: netmap (latest) unbuntu 14.04 kernel 3.16.7 (rebuild) virtio On this site they have the opposite problem. Receiving fails. http://stackoverflow.com/questions/27071992/for-linux-3-10-what-what-changes-do-i-need-to-make-to-get-netmap-virtio-net-work I would apreciate any help. I have another question. I am using the latest code wget https://github.com/luigirizzo/netmap/archive/master.zip But since is not working with tcpreplay, I want to get a older release, Is 11.1 (Oct 29, 2014) the most recent release ? https://github.com/luigirizzo/netmap/releases/tag/v11.1 Thanks, Pedro ** configure root@ronin02:~/netmap-master/LINUX# ./configure --mod-name=netmap_lin --kernel-sources=/mnt/data/kernel/linux-lts-utopic-3.16.0 --driver-suffix=_nm kernel directory /lib/modules/3.16.7-ckt14pneves/build linux version 31007 [3.16.7] module file netmap_lin.ko subsystems generic monitor pipe vale kernel sources /mnt/data/kernel/linux-lts-utopic-3.16.0 drivers ixgbe igb e1000e e1000 veth.c forcedeth.c virtio_net.c r8169.c Contents of the drivers.mak file: ######################################## # configure generated values # ######################################## e1000-src := /mnt/data/kernel/linux-lts-utopic-3.16.0/drivers/net/ethernet/intel/e1000 e1000-patch := patches/diff--e1000--20620--31200 e1000e-src := /mnt/data/kernel/linux-lts-utopic-3.16.0/drivers/net/ethernet/intel/e1000e e1000e-patch := patches/diff--e1000e--30f00--40000 forcedeth.c-src := /mnt/data/kernel/linux-lts-utopic-3.16.0/drivers/net/ethernet/nvidia/forcedeth.c forcedeth.c-patch := patches/diff--forcedeth.c--20626--99999 igb-src := /mnt/data/kernel/linux-lts-utopic-3.16.0/drivers/net/ethernet/intel/igb igb-patch := patches/diff--igb--30f00--40100 ixgbe-src := /mnt/data/kernel/linux-lts-utopic-3.16.0/drivers/net/ethernet/intel/ixgbe ixgbe-patch := patches/diff--ixgbe--30f00--31300 veth.c-src := /mnt/data/kernel/linux-lts-utopic-3.16.0/drivers/net/veth.c veth.c-patch := patches/diff--veth.c--30f00--99999 virtio_net.c-src := /mnt/data/kernel/linux-lts-utopic-3.16.0/drivers/net/virtio_net.c virtio_net.c-patch := patches/diff--virtio_net.c--30b00--31100 root@ronin02:~/netmap-master/LINUX# ** linux info root@ronin02:~/netmap-master/LINUX# lsmod | grep netmap netmap_lin 114840 1 virtio_net_nm root@ronin02:~/netmap-master/LINUX# uname -a Linux ronin02 3.16.7-ckt14pneves #5 SMP Thu Jul 30 04:15:10 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux root@ronin02:~/netmap-master/LINUX# ethtool -i eth0 driver: virtio_net_nm version: 1.0.0 firmware-version: bus-info: 0000:00:03.0 supports-statistics: no supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no root@ronin02:~/netmap-master/LINUX# ** sending tcpreplay -i eth0 -tK --loop 5 --netmap \root\smallFlows.pcap root@ronin02:~/netmap-master/examples# root@ronin02:~/netmap-master/examples# ./pkt-gen -i eth0 -f tx -l 1500 -d 192.168.1.130 -s 192.168.1.131 083.032277 main [1767] interface is eth0 083.032332 main [1878] running on 1 cpus (have 2) 083.032439 extract_ip_range [299] range is 192.168.1.131:0 to 192.168.1.131:0 083.032443 extract_ip_range [299] range is 192.168.1.130:0 to 192.168.1.130:0 083.032569 main [1976] mapped 334980KB at 0x7f3e659b2000 Sending on netmap:eth0: 1 queues, 1 threads and 1 cpus. 192.168.1.131 -> 192.168.1.130 (00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff) 083.032581 main [2061] Sending 512 packets every 0.000000000 s 083.032583 main [2063] Wait 2 secs for phy reset 085.034360 main [2065] Ready... 085.034787 sender_body [1076] start, fd 3 main_fd 3 086.035247 main_thread [1557] 255.000 pps (255.000 pkts 3.060 Mbps in 1000614 usec) 255.00 avg_batch 087.037303 main_thread [1557] 0.000 pps (0.000 pkts 0.000 bps in 1002057 usec) 0.00 avg_batch 087.037354 sender_body [1141] poll error/timeout on queue 0: Success 088.039375 main_thread [1557] 0.000 pps (0.000 pkts 0.000 bps in 1002072 usec) 0.00 avg_batch 089.040984 sender_body [1141] poll error/timeout on queue 0: Success 089.041024 main_thread [1557] 0.000 pps (0.000 pkts 0.000 bps in 1001649 usec) 0.00 avg_batch 090.041845 main_thread [1557] 0.000 pps (0.000 pkts 0.000 bps in 1000821 usec) 0.00 avg_batch 091.043756 main_thread [1557] 0.000 pps (0.000 pkts 0.000 bps in 1001911 usec) 0.00 avg_batch 091.044278 sender_body [1141] poll error/timeout on queue 0: Success 092.046214 main_thread [1557] 0.000 pps (0.000 pkts 0.000 bps in 1002459 usec) 0.00 avg_batch 093.047400 sender_body [1141] poll error/timeout on queue 0: Success ** receiving root@ronin02:~/netmap-master/examples# root@ronin02:~/netmap-master/examples# ./pkt-gen -i eth0 -f rx 811.717995 main [1767] interface is eth0 811.718114 main [1878] running on 1 cpus (have 2) 811.718264 extract_ip_range [299] range is 10.0.0.1:0 to 10.0.0.1:0 811.718273 extract_ip_range [299] range is 10.1.0.1:0 to 10.1.0.1:0 811.718449 main [1976] mapped 334980KB at 0x7f02d7228000 Receiving from netmap:eth0: 1 queues, 1 threads and 1 cpus. 811.718470 main [2063] Wait 2 secs for phy reset 813.719597 main [2065] Ready... 813.719783 receiver_body [1267] reading from netmap:eth0 fd 3 main_fd 3 814.719920 main_thread [1557] 94.000 pps (94.000 pkts 417.416 Kbps in 1000198 usec) 9.40 avg_batch 815.722346 main_thread [1557] 16.000 pps (16.000 pkts 20.832 Kbps in 1002426 usec) 1.45 avg_batch 816.725977 main_thread [1557] 97.000 pps (97.000 pkts 199.568 Kbps in 1003631 usec) 2.42 avg_batch 817.727087 main_thread [1557] 13.000 pps (13.000 pkts 9.264 Kbps in 1001111 usec) 1.18 avg_batch 818.728785 main_thread [1557] 24.000 pps (24.000 pkts 164.504 Kbps in 1001697 usec) 3.43 avg_batch 819.730331 main_thread [1557] 23.000 pps (23.000 pkts 30.256 Kbps in 1001545 usec) 1.28 avg_batch -- View this message in context: http://freebsd.1045724.n5.nabble.com/netmap-fails-to-send-packets-on-unbuntu-14-04-kernel-3-16-7-with-virtio-tp6029579.html Sent from the freebsd-net mailing list archive at Nabble.com. From owner-freebsd-net@freebsd.org Fri Jul 31 22:31:28 2015 Return-Path: Delivered-To: freebsd-net@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 C56B19AF776 for ; Fri, 31 Jul 2015 22:31:28 +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 B1CAA1FD0 for ; Fri, 31 Jul 2015 22:31:28 +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 t6VMVSkl088186 for ; Fri, 31 Jul 2015 22:31:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200323] BPF userland misuse can crash the system Date: Fri, 31 Jul 2015 22:31:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: loos@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2015 22:31:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323 --- Comment #21 from Luiz Otavio O Souza,+55 (14) 99772-1255 --- (In reply to Guy Helmer from comment #20) I studied this code (a lot) and found that some of sleeps are unnecessary. The cases we have to protect are: setting a new filter, setting a new interface and the flush/reset of buffers. The other cases can be dealt with some extra caution while handling the buffers (under the descriptor lock). This should cover your previous issues while still permit that we eliminate some of the sleeps. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sat Aug 1 08:32:22 2015 Return-Path: Delivered-To: freebsd-net@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 3502A9B0D37 for ; Sat, 1 Aug 2015 08:32:22 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) Received: from nm18-vm4.access.bullet.mail.bf1.yahoo.com (nm18-vm4.access.bullet.mail.bf1.yahoo.com [216.109.115.83]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB9C9A4D for ; Sat, 1 Aug 2015 08:32:21 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s2048; t=1438417516; bh=HaixuPBG+vIB9lj+OPBE3WvSA2e3wpzX0YCWqRQuo3w=; h=Date:From:To:CC:Subject:References:From:Subject; b=ZdZEpMtjife5JHw3n4aN0kL+48pT4WV0emPja/qeckopDz8Nxobnk8aQayDL7wxSB/eWaWB4UokyKDwh1w7Xjw/noGz8N0XNVQUOfzwcGIjqxs6pzScVyNd4kE6LyAnKnbpDzmDm9fhLlkp8sKk3Yd4KJpeLkU5SkQensxP0qstxJeLljwcjTDVUm5Oy0y4z/12kWTRJHN0rWaQAdi7KCGkw+7ltUt+0hBSXarT48Fn2gywc0Goq3UokLjub7OW7J0WXeyQhL9QESnwNl9vpQvnv4TQ8r6YoV7RZK8LM0DJMfIYh9vQuBcgXgmXrGOQ3uQYqwnzXGrzDRzaXkiVG9w== Received: from [66.196.81.163] by nm18.access.bullet.mail.bf1.yahoo.com with NNFMP; 01 Aug 2015 08:25:16 -0000 Received: from [98.138.104.97] by tm9.access.bullet.mail.bf1.yahoo.com with NNFMP; 01 Aug 2015 08:25:16 -0000 Received: from [127.0.0.1] by smtp117.sbc.mail.ne1.yahoo.com with NNFMP; 01 Aug 2015 08:25:16 -0000 X-Yahoo-Newman-Id: 776723.76234.bm@smtp117.sbc.mail.ne1.yahoo.com Message-ID: <776723.76234.bm@smtp117.sbc.mail.ne1.yahoo.com> X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ajPvwygVM1m1kMTw2mLicokL.Huu0tId4prNNjcEjlFIO0p fuZsFMUHSCBCxTXrOVCFiwccYEPwWL0ZqgjASy_0R7IstAQhf9RMj_ofEbGQ EJJLFC0Hv72J0ElTU6G9d7jtnWRnvURg0enqH6OMxuqGsf0F67y1C.23AK3z n4Z6tZBLjPnI9v0J48H7vdTLnqZGuR6qEKGM7k3Ix_t43n54AJcrS3hVz1cv PHeOaHleapjJFHT09E.tjN72Oivk8bWeZl.Kk2NYxBv2HzGXFJ6x3zgzipew vtLQDzb_GZZ1njbVF.5jBVEgiNLR7raVmdjxLkcx1lBSlwq_gthyjatD7MEO c2oaEFH08_4f1QtQZ.gq.rHRzAVVNl9AIR1ZOlSAbOOrUD3crW1InsZhVmhY 6ZjT.eED0OKv6.NvYM8LPfomzwg9jQgxir_YgAYolSRA1P6VSb6zXk0.o1xP nbUyYQ4JA_UYFlDGwRI9Ew9aWFftrK3FZCxSTALh_kkdkqVpAsXYwz9cEWH9 Ya7Hmbt_88Ir5NqDqu2Megjt3fnAud10ajhkcp63hN74VPtvsIiWY_g4vYlQ - X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- Date: Sat, 01 Aug 2015 08:24:09 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org CC: freebsd-net@freebsd.org Subject: Re: CFT: ndis(4) testers needed! References: <20150731121226.GJ889@FreeBSD.org> X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2015 08:32:22 -0000 > I need to make couple of non-functional but rather large changes > to the if_ndis driver and will appreciate if anyone signs up to > test my changes. Please contact me if you can provide help. > Totus tuus, Glebius. I have two possible candidates for testing: Hiro H50191 USB wi-fi adapter, but this seems to work as rsu in FreeBSD-current but not 10-STABLE. Atheros AR9271 on-motherboard quasi-USB wi-fi, sometimes works in NetBSD-current but most of the time fails to load firmware. I have .inf and .sys files for Hiro but not for Atheros AR9271 ("install" under wine and get .inf and .sys that way?). Are these suitable for testing ndis? My Realtek re(4) Ethernet now works with recent updates in current, I think also 10-STABLE but have to check that again. I only sporadically do anything with FreeBSD 10-STABLE, nothing with FreeBSD < 10.0. Tom