From owner-freebsd-net@freebsd.org Sun Jan 21 07:00:09 2018 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 6828AEBCE8B for ; Sun, 21 Jan 2018 07:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F21E7E92A for ; Sun, 21 Jan 2018 07:00:09 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 42C5625113 for ; Sun, 21 Jan 2018 07:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0L709Zu091984 for ; Sun, 21 Jan 2018 07:00:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0L709Br091976 for freebsd-net@FreeBSD.org; Sun, 21 Jan 2018 07:00:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225340] Ethernet Connection X553 1GbE not detected Date: Sun, 21 Jan 2018 07:00:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org 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: 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.25 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, 21 Jan 2018 07:00:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225340 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jan 21 14:58:49 2018 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 3BF99ECE000 for ; Sun, 21 Jan 2018 14:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 226B36F077 for ; Sun, 21 Jan 2018 14:58:49 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 17ABB1479 for ; Sun, 21 Jan 2018 14:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0LEwmso027950 for ; Sun, 21 Jan 2018 14:58:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0LEwm9w027949 for freebsd-net@FreeBSD.org; Sun, 21 Jan 2018 14:58:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225340] Ethernet Connection X553 1GbE not detected Date: Sun, 21 Jan 2018 14:58:49 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc component resolution 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.25 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, 21 Jan 2018 14:58:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225340 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed CC| |freebsd-net@FreeBSD.org Component|misc |kern Resolution|--- |Works As Intended Assignee|freebsd-net@FreeBSD.org |eugen@freebsd.org --- Comment #1 from Eugene Grosbein --- Support for this NIC was merged from head branch with 3.2.12-k version of t= he drives too late during release cycle of 11.1-RELEASE, so the release had not get it. It is present in 11.1-STABLE and will be available in the future 11.2-RELEASE. Meantime, you can use 11.1-STABLE or try to manually build newer ixgbe(4) drives sources taken from 11.1-STABLE branch using your 11.1-RELEASE system. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun Jan 21 20:19:03 2018 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 E1435EB88B8 for ; Sun, 21 Jan 2018 20:19:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C59607A7B0 for ; Sun, 21 Jan 2018 20:19:03 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BA5D24598 for ; Sun, 21 Jan 2018 20:19:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0LKJ3ox090700 for ; Sun, 21 Jan 2018 20:19:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0LKJ3H0090699 for freebsd-net@FreeBSD.org; Sun, 21 Jan 2018 20:19:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225362] error creating VLAN Date: Sun, 21 Jan 2018 20:19:03 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org 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: 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.25 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, 21 Jan 2018 20:19:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225362 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Creating VLAN |error creating VLAN Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jan 22 18:44:28 2018 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 12A91ECF4F4 for ; Mon, 22 Jan 2018 18:44:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EDF8F684F9 for ; Mon, 22 Jan 2018 18:44:27 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E33AD181E8 for ; Mon, 22 Jan 2018 18:44:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0MIiRfM076715 for ; Mon, 22 Jan 2018 18:44:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0MIiRpM076714 for freebsd-net@FreeBSD.org; Mon, 22 Jan 2018 18:44:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225312] panic: Assertion if_getdrvflags(ifp) == i failed at /usr/src/sys/net/iflib.c:2201 Date: Mon, 22 Jan 2018 18:44:27 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: shurd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 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, 22 Jan 2018 18:44:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225312 --- Comment #3 from Stephen Hurd --- @erj correct. iflib handles the driver flags. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jan 22 20:57:10 2018 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 46E95ED532C for ; Mon, 22 Jan 2018 20:57:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D8256E56F for ; Mon, 22 Jan 2018 20:57:10 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 190E5193FF for ; Mon, 22 Jan 2018 20:57:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0MKv9Si012578 for ; Mon, 22 Jan 2018 20:57:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0MKv9U2012575 for freebsd-net@FreeBSD.org; Mon, 22 Jan 2018 20:57:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225312] panic: Assertion if_getdrvflags(ifp) == i failed at /usr/src/sys/net/iflib.c:2201 Date: Mon, 22 Jan 2018 20:57: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 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, 22 Jan 2018 20:57:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225312 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: erj Date: Mon Jan 22 20:56:21 UTC 2018 New revision: 328265 URL: https://svnweb.freebsd.org/changeset/base/328265 Log: ixv(4): Stop setting editing ifnet flags in ixv_if_init() In iflib, the device-specific init() function isn't supposed to edit the struct ifnet driver flags. If it does, it'll cause an MPASS() assert in iflib to fail. PR: 225312 Reported by: bhughes@ Changes: head/sys/dev/ixgbe/if_ixv.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jan 22 22:06:45 2018 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 5E028ED80F8 for ; Mon, 22 Jan 2018 22:06:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44C2071329 for ; Mon, 22 Jan 2018 22:06:45 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 33AC119DE2 for ; Mon, 22 Jan 2018 22:06:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0MM6j6k062457 for ; Mon, 22 Jan 2018 22:06:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0MM6jVc062455 for freebsd-net@FreeBSD.org; Mon, 22 Jan 2018 22:06:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225325] RealTek 8169 network devices don't seem to work with memory mapped registers Date: Mon, 22 Jan 2018 22:06:45 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marius@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.25 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, 22 Jan 2018 22:06:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225325 Marius Strobl changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marius@FreeBSD.org --- Comment #2 from Marius Strobl --- (In reply to aaron.styx from comment #1) Unfortunately, RT_DEVICEID_8169 is rather broad and there definitely are members of that family which are know to work just fine when using the SYS_RES_MEMORY-type BAR. What are the exact chip and MAC revisions as reported in the re(4) attach message that is failing for you? Please post all lines emitted by re(4) during attach so we also see all resources assigned. Also what exactly do you mean by "doesn't work"? In case this is an add-on card, have you tried it in a different kind of machine? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jan 22 22:11:13 2018 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 98015ED852E; Mon, 22 Jan 2018 22:11:13 +0000 (UTC) (envelope-from David.Somayajulu@cavium.com) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0606.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe45::606]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 454C2715FC; Mon, 22 Jan 2018 22:11:13 +0000 (UTC) (envelope-from David.Somayajulu@cavium.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=002u1Z6VNsX30F//J1sxrCmTHEidzM/VkxCfnPvaf4M=; b=fyZrgRQM7Xhi+1fXz8O2DHCY7slflVETL0w7NNB5j4i/h+XGrZ07dVhcA8+fGRUQ5FK8zsi/9vAJLjNrADX4RBTtTRMNEexkhnsm9+XhPiX5GuAB7l4C4a41impKWz6Ka/dA+p7fyDNE9YsJk48IG2K0/hTYi8Jd+3X1vLQDMbI= Received: from BY2PR07MB1474.namprd07.prod.outlook.com (10.162.76.152) by BY2PR07MB1474.namprd07.prod.outlook.com (10.162.76.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Mon, 22 Jan 2018 22:11:11 +0000 Received: from BY2PR07MB1474.namprd07.prod.outlook.com ([10.162.76.152]) by BY2PR07MB1474.namprd07.prod.outlook.com ([10.162.76.152]) with mapi id 15.20.0428.019; Mon, 22 Jan 2018 22:11:11 +0000 From: "Somayajulu, David" To: Meny Yossefi , "freebsd-net@FreeBSD.org" , "freebsd-drivers@freebsd.org" Subject: RE: Questions on OFED in FreeBSD Thread-Topic: Questions on OFED in FreeBSD Thread-Index: AdOJc7a+98khuLNQTECXfqqy4dh8zADjo7gQAEfgqvAAAYpMgAAkt4bwAUS1wIA= Date: Mon, 22 Jan 2018 22:11:10 +0000 Message-ID: References: , <76b44ed7365a49ebb427f4c27ef752ed@AM5PR0502MB2916.eurprd05.prod.outlook.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=David.Somayajulu@cavium.com; x-originating-ip: [198.186.1.5] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BY2PR07MB1474; 7:1RISnSt2Y8071Xpcqji1uknEgi8/+ELX+ISxx8GB3any+a/ofmgNfReRah47ok1wMo25TqwUsv6B9pQ+Q4KzPUl3OoPD4KyLxd2kcB3wzj0uiYf9P+frtFOQa1+68hpemCuvbourTCAQNO/S52HxJ86oZGrcYh9cvU1SKUkW5fJ+2D6Jo/gacjmPd+8gGOuTScL53R9W5jkv1XQymYYg8pOEsq4n9HTMP9EBunm419vpGg+kqpGndHxgxdPQxDG1 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 2518893d-ad6d-4a78-5a4e-08d561e50b7f x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:BY2PR07MB1474; x-ms-traffictypediagnostic: BY2PR07MB1474: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(189930954265078)(45079756050767); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231023)(2400081)(944501161)(6041288)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:BY2PR07MB1474; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BY2PR07MB1474; x-forefront-prvs: 0560A2214D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(346002)(376002)(396003)(366004)(13464003)(199004)(189003)(99286004)(102836004)(97736004)(53546011)(76176011)(2906002)(66066001)(110136005)(74316002)(9686003)(5660300001)(7736002)(68736007)(53936002)(7696005)(59450400001)(6506007)(8936002)(106356001)(26005)(77096007)(6436002)(81166006)(8676002)(305945005)(55016002)(316002)(3846002)(229853002)(6116002)(6306002)(6246003)(93886005)(3660700001)(478600001)(45080400002)(966005)(33656002)(105586002)(72206003)(81156014)(3280700002)(2501003)(2201001)(2950100002)(86362001)(2900100001)(25786009)(14454004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB1474; H:BY2PR07MB1474.namprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 1Ojj3VjbU72MmQk8YFkwPOhkCVvtzo5FscKOzm7ohZnlP0o1tu7bJcIkrC0aJduUARhHXvB0JPw66Z8jaTSaIg== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2518893d-ad6d-4a78-5a4e-08d561e50b7f X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2018 22:11:10.9843 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB1474 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 22 Jan 2018 22:11:13 -0000 Hi Meny, Does OFED in FreeBSD currently support NvMe over Fabrics ? Thanks David S. -----Original Message----- From: Meny Yossefi [mailto:menyy@mellanox.com]=20 Sent: Tuesday, January 16, 2018 5:27 AM To: Somayajulu, David ; freebsd-net@FreeBSD.or= g Subject: RE: Questions on OFED in FreeBSD Hi David,=20 I think there's a misunderstanding here. Let me try and clear it. First OFED version introduced in FreeBSD9 was indeed ofed-1.5.3.=20 Future updates were based on Linux kernel and not the OpenFabrics versionin= g system. FreeBSD11 should currently have something similar to Linux v3.10 if I'm not= mistaken. Last big update in FreeBSD12 was based on Linux v4.9. Hopefully we can MFC it completely to FreeBSD11-STABLE. Last but not least - Yes, HEAD supports RoCEv2. Meny Hi Meny, Thanks a lot for the reply and the information. I have couple of additional questions. > 4. Am I correct that the OFED version on FreeBSD 11 is 1.5.3 ? >[MY] No. We did an upgrade in FreeBSD11 a while back. If I'm not mistaken,= FreeBSD11's OFED is currently based on version 2.0+ As per https://emea01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2F= downloads.openfabrics.org%2FOFED%2F&data=3D02%7C01%7Cfreebsd-commits-tracke= r%40mellanox.com%7Ca9533172edf24431e8a308d55c3f128f%7Ca652971c7d2e4d9ba6a4d= 149256f461b%7C0%7C1%7C636516348321604768&sdata=3Dit2anKZ%2FjPBnUJl%2FH3cfaN= 15h%2Fps12F4CR%2B3zETyNIE%3D&reserved=3D0 the version following OFED versi= on 1.5.4 is 3.2. Just curious what 2.0+ version is ? Am I correct that HEAD supports RoCE v2 ? Thanks David S. (davidcs@freebsd.org) -----Original Message----- From: Meny Yossefi [mailto:menyy@mellanox.com] Sent: Sunday, January 14, 2018 2:11 AM To: Somayajulu, David ; freebsd-net@freebsd.or= g Subject: RE: Questions on OFED in FreeBSD Hi David, Answers embedded below. -Meny -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] = On Behalf Of Somayajulu, David Sent: Tuesday, January 09, 2018 8:08 PM To: freebsd-net@freebsd.org Subject: Questions on OFED in FreeBSD Hi, 1. Is RoCE v2 supported of FreeBSD 11 release or 11_stable ? [MY] Not currently, though we do have plans adding it in the near future 2. How does one figure out the OFED version in a FreeBSD kernel? [MY] Unfortunately, OFED version is not maintained. Some files do state a v= ersion, but I wouldn't trust that too much 3. Since OFED on HEAD is synced to Linux 4.9 in kernel.org, I presume th= at it is OFED version 4.8. Am I correct ? [MY] 4.9+ 4. Am I correct that the OFED version on FreeBSD 11 is 1.5.3 ? [MY] No. We did an upgrade in FreeBSD11 a while back. If I'm not mistaken, = FreeBSD11's OFED is currently based on version 2.0+ 5. Are there any plans to backport OFED from HEAD to Stable_11? [MY] Yes. Thanks David S. (davidcs@freebsd.org) _______________________________________________ freebsd-net@freebsd.org mailing list https://emea01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.= freebsd.org%2Fmailman%2Flistinfo%2Ffreebsd-net&data=3D02%7C01%7Cfreebsd-com= mits-tracker%40mellanox.com%7C1efc8fb3a42547b6e6cd08d5578bf8e5%7Ca652971c7d= 2e4d9ba6a4d149256f461b%7C0%7C0%7C636511181052323549&sdata=3D3Ct%2BqOx3U8Xv8= %2F4Zm2nlVOQb1CCX8qrNkwzsKB9RmMU%3D&reserved=3D0 To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" _______________________________________________ freebsd-net@freebsd.org mailing list https://emea01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.= freebsd.org%2Fmailman%2Flistinfo%2Ffreebsd-net&data=3D02%7C01%7Cfreebsd-com= mits-tracker%40mellanox.com%7Ca9533172edf24431e8a308d55c3f128f%7Ca652971c7d= 2e4d9ba6a4d149256f461b%7C0%7C1%7C636516348321604768&sdata=3DHhml1ZYp%2BDNdN= CYmGI%2BE07AD8dFUEp%2F73INU1q7W6eI%3D&reserved=3D0 To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Tue Jan 23 00:36:03 2018 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 3DC3FEBA671 for ; Tue, 23 Jan 2018 00:36:03 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::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 B74BF76BB9; Tue, 23 Jan 2018 00:36:02 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x235.google.com with SMTP id o89so12858742lfg.10; Mon, 22 Jan 2018 16:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=M31skJPpJUcpYYvOaalbtYPvaeWJ4XRebENwrFwVY3s=; b=nVnPViBSXDkSf7BwKyrsvWfYsoTLziAbdCP87BbXuNqLUSiMBnAV0YZuW+X/1ylXkJ ub6EuUWOWa/MWCppty5pGRSzyQr3hxDzBxQVNz8xV1a+HATUTf/TaAKh4aCUUy8B24Oa QQpAdauhWH9d0QZP1jip99f+hOsQZ5qunuo+/C9dkUV9Fo9XWO1Fo65pP61wugczXlBu vGbz9Egjj8t7W+VzakpigRFJ6Y2tsRknrYwR4aM03k4WYiLZlqAqIzDQX7NAVo9HPcrj Dk7jrg6evCnql/M0Y3SNsZxHfXCBqVOqkagmVA+QE3X+UfKtLWKSBVSSmrxE7z78aAcq 9NBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=M31skJPpJUcpYYvOaalbtYPvaeWJ4XRebENwrFwVY3s=; b=YT8a2tPJNIo8WVo69b8DXSl3Z+JT7RW4SEhE90vrGTob0gGuuJjQH+/YSSXIoi75pJ 8WkilQDWFeJgG3aevjObXUZzMAJi8ney97rQSlca1KnLuU2RMO+GFkhDrDtcvkZP8FTz om6cZh7HIhxmN3Qm4JvEpPdyatEVUlWJzjHswLgIG+qPn1Zd760x8yI4vD+/4gwoZw+c hMhlpR1/lS8WyncVapOecmiV8aFsw4xb/ywsnDy7mj677DayFuUWGbM+/0HX6twPoMu1 HFwAcc4AGsY6r9H4BeZNAiW34GGcsj53Ywp9Iv+iidqw4K7kA+g1zw6shQRoCShOvXFa UkZg== X-Gm-Message-State: AKwxytemMRJtiDo/qjMepiY0zX20hRJxK4y2kyL7dsQum/mCn3pO9FNr 1lJZ7vh1ph2g+Oc1gP3TA61+2luf3yYjeNWgO8EnSg== X-Google-Smtp-Source: AH8x2249wxSilVncoSrBFfrWfrW3QtJoSyDSdugAMdU36SH1Sj5vC49EgxUlGGHusqWmYsiLElZtXXmqb9kjwZDmo1M= X-Received: by 10.25.225.215 with SMTP id l84mr290216lfk.110.1516667760329; Mon, 22 Jan 2018 16:36:00 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.87.131 with HTTP; Mon, 22 Jan 2018 16:35:59 -0800 (PST) From: Alan Somers Date: Mon, 22 Jan 2018 17:35:59 -0700 X-Google-Sender-Auth: emnvWY-KKnzy-k9jCwBU9skkNpo Message-ID: Subject: pf: redirect a packet's port but not its address? To: FreeBSD Net , Kristof Provost Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 00:36:03 -0000 I'm using pf with rules like the following: rdr inet proto tcp from any to any port 80 -> localhost port 8080 rdr inet6 proto tcp from any to any port 80 -> ::1 port 8080 It works for IPv4. But for IPv6 it fails because the redirected packet violates IPv6's scoping rules. I've got a patch to hack around that, but it's a hack. There are three things wrong with the concept of both of these rules: 1) They both violate scoping rules. Even with IPv4, 127.0.0.1 isn't supposed to receive packets from outside the local machine. However, r73626 and r125785 hack around that. 2) They violate a security expectation. Some daemons are bound to localhost specifically so that they can't communicate with the outside world. But this expectation is violated by the above pf rules. 3) They don't work on multihomed hosts. They work fine for LAN traffic, but when a daemon's reply requires routing, it doesn't know which source address to use. It will try to use the default route, but that may be different than the IP address on which the packet arrived. pf won't be able to translate the reply's source address, and won't be able to send the packet out of the correct interface. All of these problems could be solved if pf were able to redirect a packet's destination port but not its address. You could bind the daemon to INADDR_ANY instead of localhost, and the packet it receives would be destined to the same address that the sender intended. Unfortunately, pf currently lacks this capability. But it looks like it could be added without breaking existing pf.conf syntax. Would this be a good idea? I don't use ipfw, but from reading the man page I believe that it has the same problem. -Alan From owner-freebsd-net@freebsd.org Tue Jan 23 11:37:17 2018 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 9C398ECD212 for ; Tue, 23 Jan 2018 11:37:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81795768E1 for ; Tue, 23 Jan 2018 11:37:17 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 738A632EF for ; Tue, 23 Jan 2018 11:37:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0NBbHuU063704 for ; Tue, 23 Jan 2018 11:37:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0NBbH26063703 for freebsd-net@FreeBSD.org; Tue, 23 Jan 2018 11:37:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225325] RealTek 8169 network devices don't seem to work with memory mapped registers Date: Tue, 23 Jan 2018 11:37:17 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: aaron.styx@baesystems.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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.25 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, 23 Jan 2018 11:37:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225325 aaron.styx@baesystems.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #189913|0 |1 is obsolete| | --- Comment #3 from aaron.styx@baesystems.com --- Created attachment 189996 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189996&action= =3Dedit /var/log/messages re1 output After submitting the bug, I did some digging and saw how common this chip i= s, so I would agree that simply forcing all of them to use IO mapped registers= is not the right solution. The attached is the relevant output of /var/log/messages. (Note that this is from a 10.1 Live CD).=20 I clearly need to do some more testing with this. I'll try this card in a different machine, and I'd also like to compile with RE_DIAG to see if this= is simply a known problem with this device, but that will take me a bit. I'm n= ot sure if the 10.1 live cd build is compiled with this or not... As for the meaning of "doesn't work," I'm able to set the address and bring= the device up with ifconfig, which reports the device is up and active. However, any attempts to ping another host on the network results in 'sendto: Host is down.' Wireshark shows no packets coming from the 1869 re device.=20 Other network devices on this machine work as expected, so I know it's not a network issue. Setting hw.re.prefer_iomap=3D1 also works. The device works = on Linux in this machine, though I haven't taken a close look at their driver = yet, or figured out if they're using Memory or IO mapped registers. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Jan 23 12:02:03 2018 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 94D4CECF131 for ; Tue, 23 Jan 2018 12:02:03 +0000 (UTC) (envelope-from menyy@mellanox.com) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0627.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::627]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D97A077BCB for ; Tue, 23 Jan 2018 12:02:02 +0000 (UTC) (envelope-from menyy@mellanox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=G7dlGvaksZxmrnkNuM6H2fmaJg9Mwly/3QzG3p0YYC0=; b=tBmFlxLdzHHLIstbIfrXKRRSSDRNGj34QfTX90offMT2zC+nzueccDFzNdWvPdBUL+Og4ykDg6lrfRY93BiyvYXZDCuPx7DWw7Y/s6pgglrAAgZbN2FJtSAM8oIxnvQMAcETxfVNqdFES3sWP7o5UzVJNyMYNgkf8wD6EoPty0s= Received: from VI1PR0501MB2863.eurprd05.prod.outlook.com (10.172.12.8) by VI1PR0501MB2014.eurprd05.prod.outlook.com (10.167.195.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Tue, 23 Jan 2018 12:01:59 +0000 Received: from VI1PR0501MB2863.eurprd05.prod.outlook.com ([fe80::804c:a5e0:d962:5c26]) by VI1PR0501MB2863.eurprd05.prod.outlook.com ([fe80::804c:a5e0:d962:5c26%18]) with mapi id 15.20.0428.019; Tue, 23 Jan 2018 12:01:59 +0000 From: Meny Yossefi To: "freebsd-net@FreeBSD.org" , "Somayajulu, David" Subject: RE: Questions on OFED in FreeBSD Thread-Topic: Questions on OFED in FreeBSD Thread-Index: AdOJc7a+98khuLNQTECXfqqy4dh8zADjo7gQAEfgqvAAAYpMgAAkt4bwAUS1wIAAABMiAAAc/Jng Date: Tue, 23 Jan 2018 12:01:59 +0000 Message-ID: References: , <76b44ed7365a49ebb427f4c27ef752ed@AM5PR0502MB2916.eurprd05.prod.outlook.com> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=menyy@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0501MB2014; 7:UAGmUOQ3fSEuxf2/mXOWhncyDqTQ3sB5ok9JqzgoA0oDnZ/TT1IacD7l5iA6lvwtVvp7lSX5/7D2QQKUca/RKLk4dk0s2PGuv1hWDOanQnUDrI7Xgzq1qzP5r1cO7eOpWbrsgm/1tA5GsSYCMSb4H8cw8SSYg1y/uBRIX06s6H5AWwI4Wq01zxJ5Jhz7KBWgBhYUCYKHwzcNW2UILb6qDUrkoKFusvRQfKAR2/DD+5Lh97sgL/9HpLzHGDFfjl/6 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 4f618719-a65d-4560-c399-08d562591b8a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603307)(7153060)(7193020); SRVR:VI1PR0501MB2014; x-ms-traffictypediagnostic: VI1PR0501MB2014: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(189930954265078)(45079756050767); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041288)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:VI1PR0501MB2014; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR0501MB2014; x-forefront-prvs: 05610E64EE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(39380400002)(39860400002)(366004)(376002)(13464003)(189003)(199004)(6306002)(102836004)(59450400001)(97736004)(53546011)(53936002)(76176011)(105586002)(3280700002)(3660700001)(6506007)(9686003)(99286004)(7736002)(74316002)(81166006)(8936002)(33656002)(55016002)(8676002)(81156014)(316002)(7696005)(2950100002)(106356001)(2501003)(305945005)(6246003)(66066001)(5250100002)(6436002)(25786009)(478600001)(45080400002)(2906002)(2900100001)(229853002)(68736007)(5660300001)(110136005)(93886005)(14454004)(3846002)(6116002)(86362001)(575784001)(966005)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2014; H:VI1PR0501MB2863.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: HNIw4w7piTWnBCX2dx5vGShjpb0P2w7g+pb66Fk52/wOFxLWqnGac496Vo15jHpp704MeOxYJEK9n63XCbK46Q== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f618719-a65d-4560-c399-08d562591b8a X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jan 2018 12:01:59.5858 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2014 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 12:02:03 -0000 AFAIK, No. -Meny -----Original Message----- From: freebsd-commits-tracker=20 Sent: Tuesday, January 23, 2018 12:11 AM To: Meny Yossefi ; Slava Shwartsman ; Hans Petter Selasky ; Konstantin Belousov Subject: FW: Questions on OFED in FreeBSD ________________________________________ From: owner-freebsd-drivers@freebsd.orgOn Behalf OfSomayajulu, David Sent: Monday, January 22, 2018 10:11:10 PM (UTC+00:00) Monrovia, Reykjavik To: Meny Yossefi; freebsd-net@FreeBSD.org; freebsd-drivers@freebsd.org Subject: RE: Questions on OFED in FreeBSD Hi Meny, Does OFED in FreeBSD currently support NvMe over Fabrics ? Thanks David S. -----Original Message----- From: Meny Yossefi [mailto:menyy@mellanox.com] Sent: Tuesday, January 16, 2018 5:27 AM To: Somayajulu, David ; freebsd-net@FreeBSD.or= g Subject: RE: Questions on OFED in FreeBSD Hi David, I think there's a misunderstanding here. Let me try and clear it. First OFED version introduced in FreeBSD9 was indeed ofed-1.5.3. Future updates were based on Linux kernel and not the OpenFabrics versionin= g system. FreeBSD11 should currently have something similar to Linux v3.10 if I'm not= mistaken. Last big update in FreeBSD12 was based on Linux v4.9. Hopefully we can MFC it completely to FreeBSD11-STABLE. Last but not least - Yes, HEAD supports RoCEv2. Meny Hi Meny, Thanks a lot for the reply and the information. I have couple of additional questions. > 4. Am I correct that the OFED version on FreeBSD 11 is 1.5.3 ? >[MY] No. We did an upgrade in FreeBSD11 a while back. If I'm not mistaken,= FreeBSD11's OFED is currently based on version 2.0+ As per https://emea01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2F= downloads.openfabrics.org%2FOFED%2F&data=3D02%7C01%7Cfreebsd-commits-tracke= r%40mellanox.com%7Ca9533172edf24431e8a308d55c3f128f%7Ca652971c7d2e4d9ba6a4d= 149256f461b%7C0%7C1%7C636516348321604768&sdata=3Dit2anKZ%2FjPBnUJl%2FH3cfaN= 15h%2Fps12F4CR%2B3zETyNIE%3D&reserved=3D0 the version following OFED versi= on 1.5.4 is 3.2. Just curious what 2.0+ version is ? Am I correct that HEAD supports RoCE v2 ? Thanks David S. (davidcs@freebsd.org) -----Original Message----- From: Meny Yossefi [mailto:menyy@mellanox.com] Sent: Sunday, January 14, 2018 2:11 AM To: Somayajulu, David ; freebsd-net@freebsd.or= g Subject: RE: Questions on OFED in FreeBSD Hi David, Answers embedded below. -Meny -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] = On Behalf Of Somayajulu, David Sent: Tuesday, January 09, 2018 8:08 PM To: freebsd-net@freebsd.org Subject: Questions on OFED in FreeBSD Hi, 1. Is RoCE v2 supported of FreeBSD 11 release or 11_stable ? [MY] Not currently, though we do have plans adding it in the near future 2. How does one figure out the OFED version in a FreeBSD kernel? [MY] Unfortunately, OFED version is not maintained. Some files do state a v= ersion, but I wouldn't trust that too much 3. Since OFED on HEAD is synced to Linux 4.9 in kernel.org, I presume th= at it is OFED version 4.8. Am I correct ? [MY] 4.9+ 4. Am I correct that the OFED version on FreeBSD 11 is 1.5.3 ? [MY] No. We did an upgrade in FreeBSD11 a while back. If I'm not mistaken, = FreeBSD11's OFED is currently based on version 2.0+ 5. Are there any plans to backport OFED from HEAD to Stable_11? [MY] Yes. Thanks David S. (davidcs@freebsd.org) _______________________________________________ freebsd-net@freebsd.org mailing list https://emea01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.= freebsd.org%2Fmailman%2Flistinfo%2Ffreebsd-net&data=3D02%7C01%7Cfreebsd-com= mits-tracker%40mellanox.com%7C1efc8fb3a42547b6e6cd08d5578bf8e5%7Ca652971c7d= 2e4d9ba6a4d149256f461b%7C0%7C0%7C636511181052323549&sdata=3D3Ct%2BqOx3U8Xv8= %2F4Zm2nlVOQb1CCX8qrNkwzsKB9RmMU%3D&reserved=3D0 To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" _______________________________________________ freebsd-net@freebsd.org mailing list https://emea01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.= freebsd.org%2Fmailman%2Flistinfo%2Ffreebsd-net&data=3D02%7C01%7Cfreebsd-com= mits-tracker%40mellanox.com%7Ca9533172edf24431e8a308d55c3f128f%7Ca652971c7d= 2e4d9ba6a4d149256f461b%7C0%7C1%7C636516348321604768&sdata=3DHhml1ZYp%2BDNdN= CYmGI%2BE07AD8dFUEp%2F73INU1q7W6eI%3D&reserved=3D0 To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" _______________________________________________ freebsd-drivers@freebsd.org mailing list https://emea01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.= freebsd.org%2Fmailman%2Flistinfo%2Ffreebsd-drivers&data=3D02%7C01%7Cfreebsd= -commits-tracker%40mellanox.com%7Cb7b0b3a4f5e54fcb499108d561e51446%7Ca65297= 1c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636522558876318035&sdata=3DQw9mGI%2FPP= 8tzFpbVV6UYjDIEoh2deQUbjYsZw3jh3o4%3D&reserved=3D0 To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Tue Jan 23 14:16:36 2018 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 3C7D8ED602F for ; Tue, 23 Jan 2018 14:16:36 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::600]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDE747D5CC; Tue, 23 Jan 2018 14:16:35 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback5o.mail.yandex.net (mxback5o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1f]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 2AB0C2A221BB; Tue, 23 Jan 2018 17:16:23 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback5o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id q46aT7bhEq-GN6eUbLx; Tue, 23 Jan 2018 17:16:23 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516716983; bh=xI9epgxBPey5d2ZMzF+WdCqx7YLSS/SuGHcHsI0C3k8=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=MxOSpOcrlihdjckyg73OMx/B4Z0eBr77+adsU43yXGM631sHjB5L+7OeXhgTiA9K4 vlezKpglealNe9y7hts1CJ+tFPKbJ5uwcurhcpJGABfjSGEJTf0Ui1uBATU0Vz1JLq E1l3AKZmCTZ5G3TfAWz2qmZsXJdP+nHT3BZXUg/s= Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id KVHf8IW2p7-GMBOulof; Tue, 23 Jan 2018 17:16:22 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516716982; bh=xI9epgxBPey5d2ZMzF+WdCqx7YLSS/SuGHcHsI0C3k8=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=qaPd4wxr6lmYUsrKcNMMXSvHPTPC9V6EtlP/907ZbspfOa5A+55jJU2tXfntfLP2P yje4RWc1LkJILxawshvZ90TiOgpQo9Tkd2/z7R/nkL8S56NIW5nVfUEoUs57I7mZVx kTh4BYlpOVKYBv2hK/6MqmJg5twZAr6qPIz59UPs= Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: pf: redirect a packet's port but not its address? To: Alan Somers , FreeBSD Net , Kristof Provost References: From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: Date: Tue, 23 Jan 2018 17:16:04 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hMNh5Xie9TomrWJ5jLgspyeaPDLaatlqs" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 14:16:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hMNh5Xie9TomrWJ5jLgspyeaPDLaatlqs Content-Type: multipart/mixed; boundary="0VdhQtfovFYlgMGhna8UDbhMu4cf6DTdq"; protected-headers="v1" From: "Andrey V. Elsukov" To: Alan Somers , FreeBSD Net , Kristof Provost Message-ID: Subject: Re: pf: redirect a packet's port but not its address? References: In-Reply-To: --0VdhQtfovFYlgMGhna8UDbhMu4cf6DTdq Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 23.01.2018 03:35, Alan Somers wrote: > All of these problems could be solved if pf were able to redirect a > packet's destination port but not its address. You could bind the daem= on > to INADDR_ANY instead of localhost, and the packet it receives would be= > destined to the same address that the sender intended. >=20 > Unfortunately, pf currently lacks this capability. But it looks like i= t > could be added without breaking existing pf.conf syntax. Would this be= a > good idea? >=20 > I don't use ipfw, but from reading the man page I believe that it has t= he > same problem. I think ipfw should work with such configuration using "fwd" action, since TCP/UDP has special handling for this. --=20 WBR, Andrey V. Elsukov --0VdhQtfovFYlgMGhna8UDbhMu4cf6DTdq-- --hMNh5Xie9TomrWJ5jLgspyeaPDLaatlqs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlpnQ6QACgkQAcXqBBDI oXov9Af+MEAeLmnONxLMCV8oQTQXe5i256ey0JIT5DwuuMS8ISYG0APYaMo5EhXY cfdXv1J8PyB7QV8Fgiq8uMTOopYhz7KFGcPizToDT1foqtYBvD86DmPNN5k/Hbbj fPmc+bkWaLl5gQtRD4PfCxmlSQ6nMF7F36BowfbwXruV1YtPpLJheEy+Ui1aOMhC MW3HbCaLjkI3h1AEeW8warYdns4upaNr0/usrmGCGgVQuXb9tpM+pTjRLtFqdykR D7VCOeA26MUaM4PGrCPl8rFcX/caHFGSmdjSn9JLGiCBf6a4cplY1Et242Hezcit VrQwZ4Qn7gjPddRCbDZl3qPCjVP4jw== =SOSu -----END PGP SIGNATURE----- --hMNh5Xie9TomrWJ5jLgspyeaPDLaatlqs-- From owner-freebsd-net@freebsd.org Tue Jan 23 16:17:10 2018 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 4209FEB5D2C for ; Tue, 23 Jan 2018 16:17:10 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8A0784443; Tue, 23 Jan 2018 16:17:09 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id t79so1324123lfe.3; Tue, 23 Jan 2018 08:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=wPe4AB+jmOqhbwAxrw0/EZZzVhOv3wLZeMVsBerzbbo=; b=sARyWiTojWN7IaAYjIkdq/LxhS67OuqXE524PwUM3wvQbwmq4t7Hbgv2fZ996mNtN7 S43+t6UDL0a9pyOhXCj+qZ1x9EDsbASEa2RVY8+rDdQT6LBn+165xywxwZ5tQ8f+lO+c BMs6qKl3RQkkgB0fO2qYERYB3NCb9EM73chCY5sTEvDnqQM0JtIO/D8Xl1vlWMxKKogT R5w2htoaFJpnjZUG1MdLGxdErK/5j3e8JY4JHxNRVPg6dL6zJx5h/Mu02smPe1U4h8p7 Az1m9noFVYmLucxJYtsni9uI4M1VyIjQ7Quy2YvXmYhVUrBWEyxZ31C1Yus7O9yq+hs1 KVNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=wPe4AB+jmOqhbwAxrw0/EZZzVhOv3wLZeMVsBerzbbo=; b=JrHdcnzcIdwuXOJJxk8TqTbpPWl+SdEvdh/Iv62jU8UVAasr6VFdt0XoRKcAepZmGU 3w08QOrbJn6oJymUX6Si/PI9HoFvAimQoRs3uZCaWtCb2W0Y6rF+Z+1l03dSGoT8n07A BP0c05sK4Cc0wCyWKocfx55PIB9gwjn+gylYBTsRiFlffZWR0b+GRdpXJD39gGyk3XtD 72n7YfvHiTpslxp6aWoTpc2q0Ef6WYqIjIIQJC5ejqiUQcVQbRRkPR6UOeNFMkZ3NxXA kmWk5Oi+0o0kQwb5yf2Pcyr64SirSYVm6iX8BNBYT49W9Ndz65egxb/kbTytREw+ubTw HwbA== X-Gm-Message-State: AKwxytfL4M8/EWJTdMNZXox2dgGdBVgTeJrUs6vjYWxt1TAyx/pSVY6+ KEYFqd0omVxkL4cxlh5LO1SO7xSZGsqrudfrzNw= X-Google-Smtp-Source: AH8x227dVo6zl/0uGssVvCCGaThtSXErbHAnm3Jpn3R8alN96QbkQbU/8VW981tvydHy7DSwxvwEe3OgJb0+lr3Pymk= X-Received: by 10.46.115.22 with SMTP id o22mr1636099ljc.89.1516724227759; Tue, 23 Jan 2018 08:17:07 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.87.131 with HTTP; Tue, 23 Jan 2018 08:17:07 -0800 (PST) In-Reply-To: References: From: Alan Somers Date: Tue, 23 Jan 2018 09:17:07 -0700 X-Google-Sender-Auth: d_0sJ_kZFYTYlJ2zGccluXHHHFI Message-ID: Subject: Re: pf: redirect a packet's port but not its address? To: "Andrey V. Elsukov" Cc: FreeBSD Net , Kristof Provost Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 16:17:10 -0000 On Tue, Jan 23, 2018 at 7:16 AM, Andrey V. Elsukov wrote: > On 23.01.2018 03:35, Alan Somers wrote: > > All of these problems could be solved if pf were able to redirect a > > packet's destination port but not its address. You could bind the daemon > > to INADDR_ANY instead of localhost, and the packet it receives would be > > destined to the same address that the sender intended. > > > > Unfortunately, pf currently lacks this capability. But it looks like it > > could be added without breaking existing pf.conf syntax. Would this be a > > good idea? > > > > I don't use ipfw, but from reading the man page I believe that it has the > > same problem. > > I think ipfw should work with such configuration using "fwd" action, > since TCP/UDP has special handling for this. The man page says that the fwd directive always takes an IP address. What I need is a way to forward the port without changing the IP address. Is that possible in ipfw? From owner-freebsd-net@freebsd.org Tue Jan 23 17:39:38 2018 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 BE247EB9ECE for ; Tue, 23 Jan 2018 17:39:38 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6188429A0; Tue, 23 Jan 2018 17:39:38 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward106p.mail.yandex.net (Yandex) with ESMTP id BF9332D834EF; Tue, 23 Jan 2018 20:39:34 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id XxuSWIbrXt-dYQGTGFx; Tue, 23 Jan 2018 20:39:34 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516729174; bh=yhqjGoRH2tsZ7I7bPUmkhXWOkWoc+PEri5GJO/OC2e4=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=IQCM2hOcMScSCwui8pGFZdyLnTDv8uG5mC827VieQH1t0ajUrB7p/qKP1WNTKnKJN pcbyN62LrLARg9TGNtE8KumsmxunyArQvRFJB39cCXxPWi334yoNBRMHp6/w+kZ0Cw d2E8h0RPsf4SgarHb1Y5div1bf9qWvXY2t4igCZs= Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jL8nRqjUSC-dXD8Z7PZ; Tue, 23 Jan 2018 20:39:34 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516729174; bh=yhqjGoRH2tsZ7I7bPUmkhXWOkWoc+PEri5GJO/OC2e4=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=IQCM2hOcMScSCwui8pGFZdyLnTDv8uG5mC827VieQH1t0ajUrB7p/qKP1WNTKnKJN pcbyN62LrLARg9TGNtE8KumsmxunyArQvRFJB39cCXxPWi334yoNBRMHp6/w+kZ0Cw d2E8h0RPsf4SgarHb1Y5div1bf9qWvXY2t4igCZs= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: pf: redirect a packet's port but not its address? To: Alan Somers Cc: FreeBSD Net , Kristof Provost References: From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> Date: Tue, 23 Jan 2018 20:39:14 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EUnG8SM6FWjFLianwnxIh9seDmuPZouaX" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 17:39:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EUnG8SM6FWjFLianwnxIh9seDmuPZouaX Content-Type: multipart/mixed; boundary="xHGt9vztKETuFlHnR5aksi6wgQMhFXgBZ"; protected-headers="v1" From: "Andrey V. Elsukov" To: Alan Somers Cc: FreeBSD Net , Kristof Provost Message-ID: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> Subject: Re: pf: redirect a packet's port but not its address? References: In-Reply-To: --xHGt9vztKETuFlHnR5aksi6wgQMhFXgBZ Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 23.01.2018 19:17, Alan Somers wrote: >>> Unfortunately, pf currently lacks this capability. But it looks like= it >>> could be added without breaking existing pf.conf syntax. Would this = be a >>> good idea? >>> >>> I don't use ipfw, but from reading the man page I believe that it has= the >>> same problem. >> >> I think ipfw should work with such configuration using "fwd" action, >> since TCP/UDP has special handling for this. >=20 >=20 > The man page says that the fwd directive always takes an IP address. W= hat > I need is a way to forward the port without changing the IP address. I= s > that possible in ipfw? "fwd" rule does not changing nor IP address, nor port. It uses some magic with PCB lookup in the TCP/UDP code. Just tried this: # ipfw add fwd ::1,5678 tcp from any to any 4000 # nc -6 -l ::1 5678 And from another host tried: # telnet -6 fc00::1 4000 And this works. --=20 WBR, Andrey V. Elsukov --xHGt9vztKETuFlHnR5aksi6wgQMhFXgBZ-- --EUnG8SM6FWjFLianwnxIh9seDmuPZouaX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlpnc0MACgkQAcXqBBDI oXp0wwgAkC77OtyQBGdnsCV85UN8CUqbRQPn7MhReYP04X909l5nFERlsmI8muSB XV9Y527OU1A6cGvkuGs3lFl2rkKY9Rzo76inygQC5YjSrFl1jfktdwr8kArFQtcs ycRvlaD1SokiPb61V83YuxtO6w9bgywb0hTFMpRvfD04reJI5ktJVwMpFUkX2uzp aC2s+787YH6w28BBVDexH+3Y/SylReSNCUXSLCQTBXL2hJO3wPvlQph+IElbD3dY w9m++Q7iqot2nG/ukgiDFwsFoyJf1TX6BDLP6D7jeDPUVyw0cv3URWO7CREA+VEa 8W01284t2DmEACnKnkimaac9q5+AsA== =+2Ij -----END PGP SIGNATURE----- --EUnG8SM6FWjFLianwnxIh9seDmuPZouaX-- From owner-freebsd-net@freebsd.org Tue Jan 23 18:11:40 2018 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 0808EEBDC55 for ; Tue, 23 Jan 2018 18:11:40 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B60D637D7; Tue, 23 Jan 2018 18:11:38 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w0NIBTvX005281 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Jan 2018 19:11:30 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: asomers@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w0NIBPVq067391 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 24 Jan 2018 01:11:25 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: pf: redirect a packet's port but not its address? To: Alan Somers References: Cc: FreeBSD Net , Kristof Provost From: Eugene Grosbein Message-ID: <5A677AC9.10500@grosbein.net> Date: Wed, 24 Jan 2018 01:11:21 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 18:11:40 -0000 23.01.2018 23:17, Alan Somers wrote: > The man page says that the fwd directive always takes an IP address. What > I need is a way to forward the port without changing the IP address. Is > that possible in ipfw? Yes. "ipfw fwd 127.0.0.1,8080 tcp from any to any 80" delivers packets to local socket listening at port 8080 not touching packet addresses and ports. And replies are "fixed" so that they are sent from same port (80) and same address that original incoming packet was sent to. From owner-freebsd-net@freebsd.org Tue Jan 23 18:26:22 2018 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 6D2D0EBEAF6 for ; Tue, 23 Jan 2018 18:26:22 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4032684DA; Tue, 23 Jan 2018 18:26:21 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id q17so1813716lfa.9; Tue, 23 Jan 2018 10:26:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=SLNgs9muxezVsCz4+oO1+smPyLNbSVRWSYOhMAcq4Uk=; b=MbBGarTSQjedS0N0pW7bmz0kbZ2bT/puQB08iDVJsDkr72iyssyJBpue7LrNqOTwe6 0SJfjqEDcqBX0/Unm7somSakZ9GdWvw0bBgK0OeRH01c/3JNusrOnUdYWV2Zl520RJvj 7q3rqb6iRXFMGMnKib6LN4/oAvL6Go+sGnAyCDxuldz0mxm5RFHEMnFRicLiDVSu+vCX y92a51McAFCBSTzxZRUkdWQmVKF6rnuWlXAlSYdGP97MxMVhx42OO3Mrz5uDS3VGuhpI o5ihLrZXa65sOcVaGVnfd3T6qhK+pSPGCk1alc6vBJBMnLsVMbK1E4MyCeqbSXI5qSI9 Ckbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=SLNgs9muxezVsCz4+oO1+smPyLNbSVRWSYOhMAcq4Uk=; b=lo1hDbXYaq5CZIe/RgT8bnJ78U/T5vUAzp0o65Wqu9zV/79RnEemZBWMrfGLXWHXYz ms+g7WHaJIfmvr4nFV2FqMYAvmblG/YmmOpRRY5FL5iLGEHp6cRyF/HVKbV2iPm7lva2 Njy0i6aQPp6tDrRX0ptjO9bC3HzK855DQIWMHpnlaI8Ior1xY+3wySS2v3tHOHiMiHPi sE8n1X5cMpnnzsSl5xjc0bieAol44/js3MdwB35/IZ3NbQLq1gXdArjK386aTWemnkt7 2ZwaN6L8GbK6lYft4TKpq62JfB/V+GxlmgbkVbP3sbdvKZpYoxD3FBM3obsd0PBazNzi 5hzQ== X-Gm-Message-State: AKwxytcmHJbOJDjyYkOCIMhdnolE570CBbNmTSDkhSYJ9oJK+BbAlSvQ ECkhrAt9UOeGIt36lz0GTw+sqpsjnXNWyCFVZd8= X-Google-Smtp-Source: AH8x2277RWFqB46zWbdH4/HJCUBEjNqnLi7LyESjbuBnM6sL2yLwtxvemTht9kIzu9OwPbGUd23w3TSX7yPL2qahxRw= X-Received: by 10.25.228.146 with SMTP id x18mr1695193lfi.115.1516731979893; Tue, 23 Jan 2018 10:26:19 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.87.131 with HTTP; Tue, 23 Jan 2018 10:26:19 -0800 (PST) In-Reply-To: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> References: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> From: Alan Somers Date: Tue, 23 Jan 2018 11:26:19 -0700 X-Google-Sender-Auth: euUsrvp-BKnDmrUrNDho6g1Gr3A Message-ID: Subject: Re: pf: redirect a packet's port but not its address? To: "Andrey V. Elsukov" Cc: FreeBSD Net , Kristof Provost Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 18:26:22 -0000 On Tue, Jan 23, 2018 at 10:39 AM, Andrey V. Elsukov wrote: > On 23.01.2018 19:17, Alan Somers wrote: > >>> Unfortunately, pf currently lacks this capability. But it looks like > it > >>> could be added without breaking existing pf.conf syntax. Would this > be a > >>> good idea? > >>> > >>> I don't use ipfw, but from reading the man page I believe that it has > the > >>> same problem. > >> > >> I think ipfw should work with such configuration using "fwd" action, > >> since TCP/UDP has special handling for this. > > > > > > The man page says that the fwd directive always takes an IP address. > What > > I need is a way to forward the port without changing the IP address. Is > > that possible in ipfw? > > "fwd" rule does not changing nor IP address, nor port. It uses some > magic with PCB lookup in the TCP/UDP code. > Just tried this: > > # ipfw add fwd ::1,5678 tcp from any to any 4000 > # nc -6 -l ::1 5678 > > And from another host tried: > # telnet -6 fc00::1 4000 > > And this works. > This does not work for me. When I try, tcpdump shows that the host running ipfw returns an RST packet when it receives a SYN for port 4000. That sounds like the fwd rule isn't working. And it's probably not working because I'm a total ipfw n00b. Is there anything else I need to configure in ipfw first? My rc.conf file looks like: firewall_enable="YES" firewall_type="open" From owner-freebsd-net@freebsd.org Tue Jan 23 18:42:15 2018 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 A40A7EBF915 for ; Tue, 23 Jan 2018 18:42:15 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F8F468E0E; Tue, 23 Jan 2018 18:42:14 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w0NIfx2i005459 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Jan 2018 19:42:00 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: asomers@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w0NIfn2A076293 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 24 Jan 2018 01:41:49 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: pf: redirect a packet's port but not its address? To: Alan Somers , "Andrey V. Elsukov" References: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> Cc: FreeBSD Net , Kristof Provost From: Eugene Grosbein Message-ID: <5A6781E9.5060405@grosbein.net> Date: Wed, 24 Jan 2018 01:41:45 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 18:42:15 -0000 24.01.2018 1:26, Alan Somers wrote : >> # ipfw add fwd ::1,5678 tcp from any to any 4000 >> # nc -6 -l ::1 5678 >> >> And from another host tried: >> # telnet -6 fc00::1 4000 >> >> And this works. >> > > This does not work for me. When I try, tcpdump shows that the host running > ipfw returns an RST packet when it receives a SYN for port 4000. That > sounds like the fwd rule isn't working. And it's probably not working > because I'm a total ipfw n00b. Is there anything else I need to configure > in ipfw first? My rc.conf file looks like: > > firewall_enable="YES" > firewall_type="open" ipfw rules are always numbered and while ipfw allows you to not specify rule number when adding, it is wise to always specify it, or else it adds rules to the end of the list and that is not what you want dealing with pre-defined "open" ruleset. In short, use "ipfw add 2000 fwd ::1,5678 tcp from any to any 4000" Use "ipfw show" to check it out before and after running this command. From owner-freebsd-net@freebsd.org Tue Jan 23 20:15:57 2018 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 7A556EC4931 for ; Tue, 23 Jan 2018 20:15:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6175F6CE32 for ; Tue, 23 Jan 2018 20:15:57 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5624B1004E for ; Tue, 23 Jan 2018 20:15:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0NKFviu019796 for ; Tue, 23 Jan 2018 20:15:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0NKFv1S019795 for freebsd-net@FreeBSD.org; Tue, 23 Jan 2018 20:15:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 209682] [panic] [netinet] arptimer race Date: Tue, 23 Jan 2018 20:15:57 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: daveb@spectralogic.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.25 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, 23 Jan 2018 20:15:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209682 Dave Baukus changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daveb@spectralogic.com --- Comment #4 from Dave Baukus --- I have hit this 2x in the last 4 days on stable 11.1: I'm still looking for a reliable way to recreate. #7 0xffffffff807835de in trap (frame=3D0xfffffe000038a7b0) at pcpu.h:222 #8 0xffffffff80767781 in calltrap () at /usr/home/daveb/p4work/SpectraBSD_stable/sys/amd64/amd64/exception.S:236 #9 0xffffffff804ba395 in _rw_wlock_cookie (c=3D0xdeadc0dedeadc2de, file=3D0xffffffff808839e0 "/usr/home/daveb/p4work/SpectraBSD_stable/sys/netinet/if_ether.c", line=3D2= 87) at /usr/home/daveb/p4work/SpectraBSD_stable/sys/kern/kern_rwlock.c:272 #10 0xffffffff805d348f in arptimer (arg=3D0xfffff8014c37a200) at /usr/home/daveb/p4work/SpectraBSD_stable/sys/netinet/if_ether.c:287 #11 0xffffffff804d5fb8 in softclock_call_cc (c=3D0xfffff8014c37a2b8, cc=3D<= value optimized out>, direct=3D) at /usr/home/daveb/p4work/SpectraBSD_stable/sys/kern/kern_timeout.c:729 #12 0xffffffff804d639c in softclock (arg=3D0xffffffff80ed1100) at /usr/home/daveb/p4work/SpectraBSD_stable/sys/kern/kern_timeout.c:867 #13 0xffffffff80483fc9 in intr_event_execute_handlers (p=3D, ie=3D0xfffff8011f130000) at /usr/home/daveb/p4work/SpectraBSD_stable/sys/kern/kern_intr.c:1262 #14 0xffffffff80484666 in ithread_loop (arg=3D0xfffff8011f0fd5c0) at /usr/home/daveb/p4work/SpectraBSD_stable/sys/kern/kern_intr.c:1275 #15 0xffffffff804816b4 in fork_exit (callout=3D0xffffffff804845b0 , arg=3D0xfffff8011f0fd5c0, frame=3D0xfffffe000038aac0) at /usr/home/daveb/p4work/SpectraBSD_stable/sys/kern/kern_fork.c:1042 #16 0xffffffff80767cbe in fork_trampoline () at /usr/home/daveb/p4work/SpectraBSD_stable/sys/amd64/amd64/exception.S:611 #17 0x0000000000000000 in ?? () (kgdb) frame 10 #10 0xffffffff805d348f in arptimer (arg=3D0xfffff8014c37a200) at /usr/home/daveb/p4work/SpectraBSD_stable/sys/netinet/if_ether.c:287 287 IF_AFDATA_LOCK(ifp); (kgdb) set $lle =3D (struct llentry *)arg (kgdb) p $lle $6 =3D (struct llentry *) 0xfffff8014c37a200 (kgdb) p *$lle $7 =3D { lle_next =3D { le_next =3D 0x0,=20 le_prev =3D 0xfffff80c29487a00 },=20 r_l3addr =3D { addr4 =3D { s_addr =3D 0 },=20 addr6 =3D { __u6_addr =3D { __u6_addr8 =3D 0xfffff8014c37a210 "",=20 __u6_addr16 =3D 0xfffff8014c37a210,=20 __u6_addr32 =3D 0xfffff8014c37a210 } } },=20 r_linkdata =3D 0xfffff8014c37a220 "$\001=EF=BF=BD#\234=EF=BF=BD",=20 r_hdrlen =3D 14 '\016',=20 spare0 =3D 0xfffff8014c37a239 "",=20 r_flags =3D 1,=20 r_skip_req =3D 1,=20 lle_tbl =3D 0xfffff80c6a454d00,=20 lle_head =3D 0xfffff80c29487a00,=20 lle_free =3D 0xffffffff805db670 ,=20 la_hold =3D 0x0,=20 la_numheld =3D 0,=20 la_expire =3D 11654,=20 la_flags =3D 1,=20 la_asked =3D 0,=20 la_preempt =3D 5,=20 ln_state =3D 2,=20 ln_router =3D 0,=20 ln_ntick =3D 0,=20 lle_remtime =3D 0,=20 lle_hittime =3D 0,=20 lle_refcnt =3D 1,=20 ll_addr =3D 0xfffff8014c37a220 "$\001=EF=BF=BD#\234=EF=BF=BD",=20 lle_chain =3D { le_next =3D 0x0,=20 le_prev =3D 0x0 },=20 lle_timer =3D { c_links =3D { le =3D { le_next =3D 0x0,=20 le_prev =3D 0xffffffff80ed1218 },=20 sle =3D { sle_next =3D 0x0 },=20 tqe =3D { tqe_next =3D 0x0,=20 tqe_prev =3D 0xffffffff80ed1218 } },=20 c_time =3D 50057632637741,=20 c_precision =3D 268435437,=20 c_arg =3D 0xfffff8014c37a200,=20 c_func =3D 0xffffffff805d31f0 ,=20 c_lock =3D 0x0,=20 c_flags =3D 0,=20 c_iflags =3D 144,=20 c_cpu =3D 0 },=20 lle_lock =3D { lock_object =3D { lo_name =3D 0xffffffff8087f95e "lle",=20 lo_flags =3D 90374144,=20 lo_data =3D 0,=20 lo_witness =3D 0xfffffe00009fe180 },=20 rw_lock =3D 1 },=20 req_mtx =3D { lock_object =3D { lo_name =3D 0xffffffff808848ce "lle req",=20 lo_flags =3D 16973824,=20 lo_data =3D 0,=20 lo_witness =3D 0xfffffe00009fe200 },=20 mtx_lock =3D 4 } } (kgdb) p *$lle->lle_tbl $9 =3D { llt_link =3D { sle_next =3D 0xdeadc0dedeadc0de },=20 llt_af =3D -559038242,=20 llt_hsize =3D -559038242,=20 lle_head =3D 0xdeadc0dedeadc0de,=20 llt_ifp =3D 0xdeadc0dedeadc0de,=20 llt_lookup =3D 0xdeadc0dedeadc0de,=20 llt_alloc_entry =3D 0xdeadc0dedeadc0de,=20 llt_delete_entry =3D 0xdeadc0dedeadc0de,=20 llt_prefix_free =3D 0xdeadc0dedeadc0de,=20 llt_dump_entry =3D 0xdeadc0dedeadc0de,=20 llt_hash =3D 0xdeadc0dedeadc0de,=20 llt_match_prefix =3D 0xdeadc0dedeadc0de,=20 llt_free_entry =3D 0xdeadc0dedeadc0de,=20 llt_foreach_entry =3D 0xdeadc0dedeadc0de,=20 llt_link_entry =3D 0xdeadc0dedeadc0de,=20 llt_unlink_entry =3D 0xdeadc0dedeadc0de,=20 llt_fill_sa_entry =3D 0xdeadc0dedeadc0de,=20 llt_free_tbl =3D 0xdeadc0dedeadc0de } (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Jan 23 21:01:10 2018 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 2FF76EC71F5 for ; Tue, 23 Jan 2018 21:01:10 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::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 A52766ED65; Tue, 23 Jan 2018 21:01:09 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id g72so2371425lfg.5; Tue, 23 Jan 2018 13:01:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CpFFpX/P4kicMerIavPVzUd5F+yBexeg8N5S6ekDJ4I=; b=Pz7sDvQxSxcP3cJ8UGD1dWvr4FPWE2EirtaGTm2sePCqKPEEarUpEQx97l4Jy3rBv0 di/0+jsZo676oa3DHO8/2/wISPZlSbphKwNpBJVx1AMZ97EE7ddetg85rcLQ311f7DEr izpwmEQOGd0ekAUkpISRTBUQyuMPYq1wUnDji+k3CNcmY57rYHR37Bii+bDzt6f5ekLe z9NCSbS/PeuqiymgZuYHq16LJkkO4Afm9Gcv9WJVSSenr776jIbemty50pDphsxYFC74 0tGiY7wCTHKFz+qKoV7Ed8I3b8/5w/8nnvb1c7ftkns1B1O+/Bj4onMZvBbqJYTJy/Gf 1OLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CpFFpX/P4kicMerIavPVzUd5F+yBexeg8N5S6ekDJ4I=; b=FR5ENClh6xOedSaWWtcsA95KgsrSOuf/vuH7meXdFVsdzj2W45nc5b3Ell/0q55SaO ZB23OdohnoCDksLsj49L+nCbWsI4bjytkiWHWSc1G93SRQX6qkulQw/PVoPAQLKvpFbq nNw3dCaBG2GMROq/Ga82exPG1iJ1faLGSSKhO9K4+VAjP4tjX+vA9yDe2WH3uCljAUiM 6soFXJ6sFd+c0QYAfg9D2dmOT1CyJJ5XT6bzWOyB1Zkr/BqpZrQzLvMfkzLUqfMBFMf7 ZRziPJTzWjXKlooEbb94gy/Zpk2f5uzcz2PylSsCvpokmEFphOKG7SXVVdt2/tytZzEW Ssbg== X-Gm-Message-State: AKwxytcg9bLOon8NvJF3X3BqJbLPWG3zeA27B+VasAjIA8KuOdbHQWUC 3dIaXSTsqADINIL869Ql3mpZWLurtd2/EKahzwPsTw== X-Google-Smtp-Source: AH8x224GAYUnBaK/GMNZYnHTrWeQIEPkhwyiuWHmXeADK0UbZtGJzqbSxqXFAWACXMAleFZs+dOn9lbbkW6NGMaThrw= X-Received: by 10.25.151.209 with SMTP id z200mr1937471lfd.41.1516741267708; Tue, 23 Jan 2018 13:01:07 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.87.131 with HTTP; Tue, 23 Jan 2018 13:01:07 -0800 (PST) In-Reply-To: <5A6781E9.5060405@grosbein.net> References: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> <5A6781E9.5060405@grosbein.net> From: Alan Somers Date: Tue, 23 Jan 2018 14:01:07 -0700 X-Google-Sender-Auth: 2Y5mLdVXdM_RQ0wjsIDW0rLIkRw Message-ID: Subject: Re: pf: redirect a packet's port but not its address? To: Eugene Grosbein Cc: "Andrey V. Elsukov" , FreeBSD Net , Kristof Provost Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 21:01:10 -0000 On Tue, Jan 23, 2018 at 11:41 AM, Eugene Grosbein wrote: > 24.01.2018 1:26, Alan Somers wrote : > > >> # ipfw add fwd ::1,5678 tcp from any to any 4000 > >> # nc -6 -l ::1 5678 > >> > >> And from another host tried: > >> # telnet -6 fc00::1 4000 > >> > >> And this works. > >> > > > > This does not work for me. When I try, tcpdump shows that the host > running > > ipfw returns an RST packet when it receives a SYN for port 4000. That > > sounds like the fwd rule isn't working. And it's probably not working > > because I'm a total ipfw n00b. Is there anything else I need to > configure > > in ipfw first? My rc.conf file looks like: > > > > firewall_enable="YES" > > firewall_type="open" > > ipfw rules are always numbered and while ipfw allows you to not specify > rule number > when adding, it is wise to always specify it, or else it adds rules to the > end of the list > and that is not what you want dealing with pre-defined "open" ruleset. > > In short, use "ipfw add 2000 fwd ::1,5678 tcp from any to any 4000" > Use "ipfw show" to check it out before and after running this command Thanks. It works now, at least for global addresses. But the fwd rule does not work for link-local addresses. When I try, the ACK packet gets dropped because it violates IPv6 scope rules. A custom dtrace probe shows that ipfw is apparently not setting the embedded scope identifier on the forwarded packet. The address should be "fe80:2:0:0:215:17ff:fee9:3079" but it's actually "fe80:0:0:0:215:17ff:fee9:3079". This is similar to the problems I ran into with pf. In fact, I never did get pf working with link-local addresses either. -Alan From owner-freebsd-net@freebsd.org Tue Jan 23 22:42:40 2018 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 34DCCECD177 for ; Tue, 23 Jan 2018 22:42:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1793D73D22 for ; Tue, 23 Jan 2018 22:42: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 014D511562 for ; Tue, 23 Jan 2018 22:42:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0NMgdMe048234 for ; Tue, 23 Jan 2018 22:42:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0NMgdKb048233 for freebsd-net@FreeBSD.org; Tue, 23 Jan 2018 22:42:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 209682] [panic] [netinet] arptimer race Date: Tue, 23 Jan 2018 22:42: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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 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, 23 Jan 2018 22:42:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209682 --- Comment #5 from Hans Petter Selasky --- I think you can reproduce like this: DEF_ROUTE=3Dx.x.x.x # replace with IP of your default route vmstat -m | grep llt arp -d $DEF_ROUTE ping $DEF_ROUTE vmstat -m | grep llt arp -d $DEF_ROUTE ping $DEF_ROUTE --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Jan 23 23:27:11 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13FE3ED06A2 for ; Tue, 23 Jan 2018 23:27:10 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C2866B045; Tue, 23 Jan 2018 23:27:10 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 66AA35104282; Wed, 24 Jan 2018 02:27:02 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id TbHtUTMQyA-R25WtENh; Wed, 24 Jan 2018 02:27:02 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516750022; bh=Cw8/KraEp0u4bx1Um0sZ+Fy1ZTdDFBRaakTXA4IDufM=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=pB09J2d8mbefVMcIj0WMfNejEov2eaxbW2zaKR8Ahwj+Z5rjB2b8vKVvm/77W8/C2 cSaAfVSeNVvyfXNxgk2plxZ7ZUoKLSKzbtwZ5OWvSKZA01J9nx0e7EP0JEiQ3oQkD4 gvEorjyoiksgUzO6RC9eeYf7DSAx03Sr4zXH3KWo= Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5W5YKXHKzB-R10aG0Xi; Wed, 24 Jan 2018 02:27:01 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516750021; bh=Cw8/KraEp0u4bx1Um0sZ+Fy1ZTdDFBRaakTXA4IDufM=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=T43dWv+okP81Wn+CgAdoxdoXTNsO4UyOy/0b7E/mZA1Ltg6PgbqXwyqbzG9yqSGS4 6cFNKZjYtXumRGcSUVovOIDSXx+GH5Y/kuTDePW5M96tRf76sW3vnKJA0FCchJ6xm0 0wAH7rfBH+3J90/QYhlFL/4h5mxI359WD5iAkxWE= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: pf: redirect a packet's port but not its address? To: Alan Somers , Eugene Grosbein Cc: FreeBSD Net , Kristof Provost References: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> <5A6781E9.5060405@grosbein.net> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: <6d367aa6-948a-8dd6-cfc9-dd6017722591@yandex.ru> Date: Wed, 24 Jan 2018 02:26:40 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="M33VrJ4XnBCWeuqrL6KxowN1sR0WJODOR" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 23 Jan 2018 23:27:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --M33VrJ4XnBCWeuqrL6KxowN1sR0WJODOR Content-Type: multipart/mixed; boundary="HhnvYKNKupRstPoMnKJ0MmDI6MJOD229y"; protected-headers="v1" From: "Andrey V. Elsukov" To: Alan Somers , Eugene Grosbein Cc: FreeBSD Net , Kristof Provost Message-ID: <6d367aa6-948a-8dd6-cfc9-dd6017722591@yandex.ru> Subject: Re: pf: redirect a packet's port but not its address? References: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> <5A6781E9.5060405@grosbein.net> In-Reply-To: --HhnvYKNKupRstPoMnKJ0MmDI6MJOD229y Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 24.01.2018 00:01, Alan Somers wrote: > Thanks. It works now, at least for global addresses. But the fwd rule= > does not work for link-local addresses. When I try, the ACK packet get= s > dropped because it violates IPv6 scope rules. A custom dtrace probe > shows that ipfw is apparently not setting the embedded scope identifier= > on the forwarded packet. The address should be > "fe80:2:0:0:215:17ff:fee9:3079" but it's actually > "fe80:0:0:0:215:17ff:fee9:3079". This is similar to the problems I ran= > into with pf. In fact, I never did get pf working with link-local > addresses either. I think it is correct behavior if you try to forward to loopback address. In case when you listen on the LLA and fwd to this LLA there is seems the bug. # ipfw add fwd fe80::e6a7:a0ff:fe8e:16bf%lagg0,5678 tcp from any to any dst-port 4000 # nc -6 -l fe80::e6a7:a0ff:fe8e:16bf%lagg0 5678 This doesn't work, because ip6_input() doesn't embed scope zone index into IPv6 header's addresses before TCP segment will be handled by tcp_input(). I think the bug is in ipfw_check_packet() function. Since it changes destination address and sets M_FASTFWD_OURS flag, it also should embed scope zone id into ip6_src/ip6_dst and check for scope violation like ip6_input() does just after "passin" label. With this patch I'm able to use above commands and they work. --- a/sys/netpfil/ipfw/ip_fw_pfil.c +++ b/sys/netpfil/ipfw/ip_fw_pfil.c @@ -211,8 +211,20 @@ again: ret =3D EACCES; break; } - if (in6_localip(&sa6->sin6_addr)) + if (in6_localip(&sa6->sin6_addr)) { + struct ip6_hdr *ip6 =3D mtod(*m0, struct ip6_hdr *); + (*m0)->m_flags |=3D M_FASTFWD_OURS; + if (in6_clearscope(&ip6->ip6_src) || in6_clearscope(&ip6->ip6_dst)) { + ret =3D EACCES; + break; + } + if (in6_setscope(&ip6->ip6_src, (*m0)->m_pkthdr.rcvif, NULL) || + in6_setscope(&ip6->ip6_dst, (*m0)->m_pkthdr.rcvif, NULL)) { + ret =3D EACCES; + break; + } + } (*m0)->m_flags |=3D M_IP6_NEXTHOP; } #endif --=20 WBR, Andrey V. Elsukov --HhnvYKNKupRstPoMnKJ0MmDI6MJOD229y-- --M33VrJ4XnBCWeuqrL6KxowN1sR0WJODOR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlpnxLAACgkQAcXqBBDI oXpj1wf/SyFia91NDXbW8unsNGDoZetfv3GUDxf9xmK6GkDLPIu9m86KEM2d/Q32 ezpE2ieozE1BNf/sE/tEol/x7r+x61I4wiQ2OPJQfKbO0r9b+70DsYiA/2cVVgp0 d8j46fTSbjPHusqORlFUlLO8HnEyBRGi4uNW3Lqz+2D/aX+SkHzdX3kSGOLNAF/8 yHdrDPf5qNdkyqklSyyoUtsXO3gTl6UtP7Fudz5PuOsbFJVFhar/Kd5g3o9B7zTv welRcXdNiy+aVGlgHFRE5AaTu0BqgjvEYAvcOUcFzqnPnltKVyDUsKKvPY2hGHy8 Swa2wUW7OiXn6YfRaAtl9ReLyfuwWQ== =3qf/ -----END PGP SIGNATURE----- --M33VrJ4XnBCWeuqrL6KxowN1sR0WJODOR-- From owner-freebsd-net@freebsd.org Wed Jan 24 10:16:56 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71853ECB6C8 for ; Wed, 24 Jan 2018 10:16:56 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DAE6B819A1; Wed, 24 Jan 2018 10:16:55 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 54C7D560188A; Wed, 24 Jan 2018 13:16:44 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id wUZlR5dqrK-GitaYGZD; Wed, 24 Jan 2018 13:16:44 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516789004; bh=d96ed3dEbfXUs2pVz0f7VfkB2PsrmEd3s4pptMKgkUg=; h=Subject:From:To:Cc:References:Message-ID:Date:In-Reply-To; b=hHpDTSvdaBqAnJTFMVkTGHjPm5PXr5ZgItzb4XQ0Xvy9iLIQezPyuWUgS3OqUTvoO 5JditIER6z4Vab4Vk0clFfF6cwGE5q0e8mnxf7K7MygwG94JPQjcUe6tq6Zcbsmk5W PcmXEA3JP40jgQhoeYnBGZq+uyxpikASs96t5UR4= Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id z5EBLFjFpD-Gh3a8UYa; Wed, 24 Jan 2018 13:16:43 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1516789003; bh=d96ed3dEbfXUs2pVz0f7VfkB2PsrmEd3s4pptMKgkUg=; h=Subject:From:To:Cc:References:Message-ID:Date:In-Reply-To; b=snPkPh07VH4CRLIKFL8/2ksDo0pcBhdXMelTtT2zeqMSTvlua2e92eVqpwvH63tdg BjvkzzEPEbwVG5FUAR2813D+SnJd56Prit7qPnwbM+T07Px6/8YTYDTNeoEcXQDG/T HP4i0h4+g6KavoRjOuhDrljoK9k1pfTHtg4qoyoA= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: pf: redirect a packet's port but not its address? From: "Andrey V. Elsukov" To: Alan Somers , Eugene Grosbein Cc: FreeBSD Net , Kristof Provost References: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> <5A6781E9.5060405@grosbein.net> <6d367aa6-948a-8dd6-cfc9-dd6017722591@yandex.ru> Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: Date: Wed, 24 Jan 2018 13:16:21 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <6d367aa6-948a-8dd6-cfc9-dd6017722591@yandex.ru> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mo4J6MSNWfwIaw6u5kOZh7juzUNEqm3rA" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 24 Jan 2018 10:16:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mo4J6MSNWfwIaw6u5kOZh7juzUNEqm3rA Content-Type: multipart/mixed; boundary="lIkshy1yjqVo1MDXgFRa7VI0tUJR8b1jx"; protected-headers="v1" From: "Andrey V. Elsukov" To: Alan Somers , Eugene Grosbein Cc: FreeBSD Net , Kristof Provost Message-ID: Subject: Re: pf: redirect a packet's port but not its address? References: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> <5A6781E9.5060405@grosbein.net> <6d367aa6-948a-8dd6-cfc9-dd6017722591@yandex.ru> In-Reply-To: <6d367aa6-948a-8dd6-cfc9-dd6017722591@yandex.ru> --lIkshy1yjqVo1MDXgFRa7VI0tUJR8b1jx Content-Type: multipart/mixed; boundary="------------18A366C6193334F62975056D" Content-Language: en-US This is a multi-part message in MIME format. --------------18A366C6193334F62975056D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 24.01.2018 02:26, Andrey V. Elsukov wrote: > I think it is correct behavior if you try to forward to loopback > address. In case when you listen on the LLA and fwd to this LLA there i= s > seems the bug. >=20 > # ipfw add fwd fe80::e6a7:a0ff:fe8e:16bf%lagg0,5678 tcp from any to any= > dst-port 4000 > # nc -6 -l fe80::e6a7:a0ff:fe8e:16bf%lagg0 5678 >=20 > This doesn't work, because ip6_input() doesn't embed scope zone index > into IPv6 header's addresses before TCP segment will be handled by > tcp_input(). >=20 > I think the bug is in ipfw_check_packet() function. Since it changes > destination address and sets M_FASTFWD_OURS flag, it also should embed > scope zone id into ip6_src/ip6_dst and check for scope violation like > ip6_input() does just after "passin" label. >=20 > With this patch I'm able to use above commands and they work. After some thought I think it is not quite correct to embed scope zone id into IP header in the pfil hook, because several hooks can be chained and this can break another check. Instead, can you test this patch? I moved M_FASTFWD_OURS check below of scope check, now if fwd address is our local, scope zone index will be correctly embedded into IP header if this is needed. And thus tcp_input() will correctly handle this case. --=20 WBR, Andrey V. Elsukov --------------18A366C6193334F62975056D Content-Type: text/x-patch; name="ip6_input.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ip6_input.diff" diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 167193a3758..ea65c1da814 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -769,13 +769,7 @@ ip6_input(struct mbuf *m) return; ip6 =3D mtod(m, struct ip6_hdr *); srcrt =3D !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst); - - if (m->m_flags & M_FASTFWD_OURS) { - m->m_flags &=3D ~M_FASTFWD_OURS; - ours =3D 1; - goto hbhcheck; - } - if ((m->m_flags & M_IP6_NEXTHOP) && + if ((m->m_flags & (M_IP6_NEXTHOP | M_FASTFWD_OURS)) =3D=3D M_IP6_NEXTHO= P && m_tag_find(m, PACKET_TAG_IPFORWARD, NULL) !=3D NULL) { /* * Directly ship the packet on. This allows forwarding @@ -806,6 +800,11 @@ passin: IP6STAT_INC(ip6s_badscope); goto bad; } + if (m->m_flags & M_FASTFWD_OURS) { + m->m_flags &=3D ~M_FASTFWD_OURS; + ours =3D 1; + goto hbhcheck; + } /* * Multicast check. Assume packet is for us to avoid * prematurely taking locks. --------------18A366C6193334F62975056D-- --lIkshy1yjqVo1MDXgFRa7VI0tUJR8b1jx-- --mo4J6MSNWfwIaw6u5kOZh7juzUNEqm3rA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlpoXPUACgkQAcXqBBDI oXrrnwgAnjXD6h213ub8jkz9vmY3rudbvS4I5Xwh4KACZi/0fJB2iEQUypqwofhM paG245/KVydb04TkVf5lrMDD9Zhxh3wpBN930tlY2FqIvcrNvlSufqfZT4K+QtJj zIGQvZjzwVJ/GlYkBru4y1Xp+zzzZ4Fev6JYmmkTvokwFA9P+VQEdOcPOsqSz5PW Ihr9MqjdigPSiHdqu+6RdX/huFAFP75l4k5MVdw30SDCgEdhBSc94fPil75cOl3p QgzhdlxsvX2wds/3nLIzTVUwenLXq+/1qaRMpPwkG8ucvsJPipbwPJLA3A0tJz9g PHtL2XyM7RXTB5UlfnRPF0AkZpEWHw== =gHEk -----END PGP SIGNATURE----- --mo4J6MSNWfwIaw6u5kOZh7juzUNEqm3rA-- From owner-freebsd-net@freebsd.org Wed Jan 24 12:56:22 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E0AAED2A58 for ; Wed, 24 Jan 2018 12:56:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AEB3588222 for ; Wed, 24 Jan 2018 12:56: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D1E6118F9A for ; Wed, 24 Jan 2018 12:56:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0OCuK7E056983 for ; Wed, 24 Jan 2018 12:56:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0OCuKwj056982 for freebsd-net@FreeBSD.org; Wed, 24 Jan 2018 12:56:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225325] RealTek 8169 network devices don't seem to work with memory mapped registers Date: Wed, 24 Jan 2018 12:56: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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: aaron.styx@baesystems.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity 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.25 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, 24 Jan 2018 12:56:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225325 aaron.styx@baesystems.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Some People |Affects Only Me --- Comment #4 from aaron.styx@baesystems.com --- Tested this card on an older machine and it worked fine with memory mapped registers. The problem system is with an Asus p8h67-m pro. Investigation ongoing... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jan 24 18:18:07 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 151CBEB9F52 for ; Wed, 24 Jan 2018 18:18:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A58396DB0B for ; Wed, 24 Jan 2018 18:18:06 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C41CA1BC4C for ; Wed, 24 Jan 2018 18:18:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0OII5sH088909 for ; Wed, 24 Jan 2018 18:18:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0OII5jl088907 for freebsd-net@FreeBSD.org; Wed, 24 Jan 2018 18:18:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 209682] [panic] [netinet] arptimer race Date: Wed, 24 Jan 2018 18:18:05 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: daveb@spectralogic.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 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, 24 Jan 2018 18:18:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209682 --- Comment #6 from Dave Baukus --- (In reply to Hans Petter Selasky from comment #5) I am unable to reproduce with that test. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jan 24 18:36:59 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9454EBD2B3 for ; Wed, 24 Jan 2018 18:36:58 +0000 (UTC) (envelope-from alarig@swordarmor.fr) Received: from togepi.gozmail.bzh (togepi.gozmail.bzh [IPv6:2a00:5884:124::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 68C5E6EF8E for ; Wed, 24 Jan 2018 18:36:58 +0000 (UTC) (envelope-from alarig@swordarmor.fr) Received: from mew.swordarmor.fr (mew.swordarmor.fr [IPv6:2a00:5884:102:1::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: alarig@swordarmor.fr) by togepi.gozmail.bzh (Postfix) with ESMTPSA id 762491A00FA for ; Wed, 24 Jan 2018 19:36:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=swordarmor.fr; s=default; t=1516819014; bh=oAMXOxQQoaxN8TbU4T6WKMYOUqGp68k3UUkK81orseE=; h=Date:From:To:Subject:From; b=YqedQwFY9VRDoA+19qOfrhhVWysvmNP6t7+fw+SoadLULRtD7tvOMzRiAnP6vw5jI PjIz1hEf+qy0erqnNgStUg733OkwNYXRXPd+I/U+q5YnZTkl6W3U3Gjz1kS0NUjHZl 2UqNhb2o8+d7R+kU6qmsTVqCYZi/gv8WZyYNPrMk= Date: Wed, 24 Jan 2018 19:36:54 +0100 From: Alarig Le Lay To: freebsd-net@FreeBSD.org Subject: CARP link-local address not responding to neighbor solicitations comming from public address Message-ID: <20180124183653.yvnfra2lkktalozi@mew.swordarmor.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dorauk5ockqou43g" Content-Disposition: inline User-Agent: NeoMutt/20171208 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 24 Jan 2018 18:36:59 -0000 --dorauk5ockqou43g Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, All the machines listed below are 11.1-RELEASE. I have a setup with a LAN of VMs routed by two routers configured with CARP. If I reboot a VM, the NDP for the default route is unknown: root@:~ # ndp -n fe80::204:92:100:1%em0 Neighbor Linklayer Address Netif Expire S = Flags fe80::204:92:100:1%em0 (fe80::204:92:100:1%em0) -- no entry So, a neighbor solicitation is send, but from the VM public IP: 19:13:50.766822 IP6 2a00:5884:8211::1 > ff02::1:ff00:1: ICMP6, neighbor so= licitation, who has fe80::204:92:100:1, length 32 And my router doesn=E2=80=99t answer to it. But, if I ping the default route from the VM, the neighbor solicitation is send from the VM link-local address: 19:14:51.441884 IP6 fe80::14f8:7aff:fedf:4453 > ff02::1:ff00:1: ICMP6, nei= ghbor solicitation, who has fe80::204:92:100:1, length 32 And then, my router answers it: 19:14:51.441920 IP6 fe80::215:17ff:fe39:f01b > fe80::14f8:7aff:fedf:4453: = ICMP6, neighbor advertisement, tgt is fe80::204:92:100:1, length 32 And the VM add it in cache: root@:~ # ping6 fe80::204:92:100:1%em0 PING6(56=3D40+8+8 bytes) fe80::14f8:7aff:fedf:4453%em0 --> fe80::204:92:10= 0:1%em0 16 bytes from fe80::204:92:100:1%em0, icmp_seq=3D0 hlim=3D64 time=3D1.040 = ms ^C --- fe80::204:92:100:1%em0 ping6 statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev =3D 1.040/1.040/1.040/0.000 ms root@:~ # ndp -n fe80::204:92:100:1%em0 Neighbor Linklayer Address Netif Expire S = Flags fe80::204:92:100:1%em0 00:00:5e:00:01:02 em0 28s R R The router is configured as follow: root@nominoe:~ # ifconfig em1.30 em1.30: flags=3D8943 metric= 0 mtu 1500 description: MacGrif options=3D103 ether 00:15:17:39:f0:1b inet 89.234.186.7 netmask 0xffffff80 broadcast 89.234.186.127 inet 80.67.190.194 netmask 0xffffffe0 broadcast 80.67.190.223 inet 89.234.186.1 netmask 0xffffffff broadcast 89.234.186.1 vhid 1 inet 80.67.190.193 netmask 0xffffffff broadcast 80.67.190.193 vhid 3 inet6 fe80::215:17ff:fe39:f01b%em1.30 prefixlen 64 scopeid 0xa inet6 2a00:5884::1 prefixlen 64 inet6 fe80::204:92:100:1%em1.30 prefixlen 128 scopeid 0xa vhid 2 nd6 options=3D21 media: Ethernet autoselect (1000baseT ) status: active vlan: 30 vlanpcp: 0 parent interface: em1 carp: MASTER vhid 1 advbase 1 advskew 0 carp: MASTER vhid 2 advbase 1 advskew 0 carp: MASTER vhid 3 advbase 1 advskew 0 groups: vlan And the VM as follow: root@:~ # ifconfig em0 em0: flags=3D8843 metric 0 mtu 1500 options=3D209b ether 16:f8:7a:df:44:53 hwaddr 16:f8:7a:df:44:53 inet 89.234.186.118 netmask 0xffffffe0 broadcast 89.234.186.127=20 inet6 fe80::14f8:7aff:fedf:4453%em0 prefixlen 64 scopeid 0x1=20 inet6 2a00:5884:8211::1 prefixlen 64=20 nd6 options=3D21 media: Ethernet autoselect (1000baseT ) status: active Both public and fe80 routes are in the kernel table: root@nominoe:~ # route -n -6 get 2a00:5884:8211::1 route to: 2a00:5884:8211::1 destination: 2a00:5884:8211:: mask: ffff:ffff:ffff:: gateway: fe80::14f8:7aff:fedf:4453%em1.30 fib: 0 interface: em1.30 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 root@nominoe:~ # route -n -6 get fe80::14f8:7aff:fedf:4453%em1.30 route to: fe80::14f8:7aff:fedf:4453%em1.30 destination: fe80::%em1.30 mask: ffff:ffff:ffff:ffff:: fib: 0 interface: em1.30 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 Does anyone have a clue about it? Thanks, --=20 alarig --dorauk5ockqou43g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE+2yGwT0H0n57WkRbrzhKwWsgK4gFAlpo0kIACgkQrzhKwWsg K4j7dQgAmK/xEell5Ia7UeSnOJ5lA+Js9q5TUj/5Tchrz//Dua24Gpk+rX8EaG3q 8XPimPB+MMmtmibkhdwLY3paZqe54R/T4LPswDUZtqGEXonN6ZEfxzkR4p6MgXiB VplMeQ9gEZ5erRZut9eKbX+JQ1H8gk74jnvZ3VzwtM4miVrCeOLTHU1qCkjBpYwd jzMsDjNLAzxYejh5O8LBlYcIGOsgbsRmeCq/UyjWL8s+JCtRGEiZHoozYCPZpEjT uymAI+q40UpyM38xJ4nYzJ9sqajyxZp40DgBfebmF/A/HB6XELHfQKadhQl29fo2 cLuT+LemtMYf4cVZ+quXwh5rgzOxqA== =/mTC -----END PGP SIGNATURE----- --dorauk5ockqou43g-- From owner-freebsd-net@freebsd.org Wed Jan 24 18:41:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D342EBD6C1 for ; Wed, 24 Jan 2018 18:41:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E7986F344 for ; Wed, 24 Jan 2018 18:41:25 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DDC471BF56 for ; Wed, 24 Jan 2018 18:41:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0OIfOCU047396 for ; Wed, 24 Jan 2018 18:41:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0OIfOiF047395 for freebsd-net@FreeBSD.org; Wed, 24 Jan 2018 18:41:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 209682] [panic] [netinet] arptimer race Date: Wed, 24 Jan 2018 18:41:24 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 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, 24 Jan 2018 18:41:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209682 --- Comment #7 from Hans Petter Selasky --- OK, but do you see the memory leakage. Try to run some other software which causes kernel memory to be allocated and freed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jan 24 18:41:58 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A9C8EBD8F9 for ; Wed, 24 Jan 2018 18:41:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AAF216F402 for ; Wed, 24 Jan 2018 18:41:57 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 083231BF76 for ; Wed, 24 Jan 2018 18:41:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0OIfuIe050122 for ; Wed, 24 Jan 2018 18:41:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0OIfuVN050112 for freebsd-net@FreeBSD.org; Wed, 24 Jan 2018 18:41:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 209682] [panic] [netinet] arptimer race Date: Wed, 24 Jan 2018 18:41:57 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 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, 24 Jan 2018 18:41:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209682 --- Comment #8 from Hans Petter Selasky --- ... while running the script above. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jan 25 07:48:18 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F5FBEC6F39 for ; Thu, 25 Jan 2018 07:48:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CE9E7048D for ; Thu, 25 Jan 2018 07:48: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 67FCD22D36 for ; Thu, 25 Jan 2018 07:48:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0P7mHbA000413 for ; Thu, 25 Jan 2018 07:48:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0P7mHwZ000412 for freebsd-net@FreeBSD.org; Thu, 25 Jan 2018 07:48:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225438] panic in6_unlink_ifa() due to race Date: Thu, 25 Jan 2018 07:48:16 +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.1-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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.25 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, 25 Jan 2018 07:48:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225438 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jan 25 20:11:53 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B929ECA82E for ; Thu, 25 Jan 2018 20:11:53 +0000 (UTC) (envelope-from tmiller@pipeline4data.com) Received: from mail-pg0-x229.google.com (mail-pg0-x229.google.com [IPv6:2607:f8b0:400e: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 CC02C6F3FB for ; Thu, 25 Jan 2018 20:11:52 +0000 (UTC) (envelope-from tmiller@pipeline4data.com) Received: by mail-pg0-x229.google.com with SMTP id u1so5762398pgr.0 for ; Thu, 25 Jan 2018 12:11:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pipeline4data-com.20150623.gappssmtp.com; s=20150623; h=return-receipt-to:from:to:subject:date:message-id:mime-version :thread-index:content-language:disposition-notification-to; bh=tRsUHXNv0lttCXQL5brh+vxjAz5Be14wB0nQ2Zq+Qng=; b=Pb6cGuawugyFBGMR/M60fraWNw8fSV7JyMUXmWt+QxDsvwZo9Yt3mbVGioy3RvD7FW KektNaAFfNGLh/acX5K97COuAWabD+tTEfFOiJ3xGdXz3iiAVw09W6Wy/rMTW0AVv6bU kv9IK0QEUEyikkyTOlYIAeyBX06ynnHmWWGkVi/q1yTJkxSLEYRUn0nqaKeX8jAjVgsA ydvwuREfGyP4J+TedL/7TLT06XLx5pN0pWhXAKjqll+RSZga7tiCwYZvXPLXqWy1eyES icsFcDaTON4a37cyvhnp29EZa28gj7LZfYDOYubKiSywCaorr6dNzcFr02DAP8qi5/vH UN9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:return-receipt-to:from:to:subject:date :message-id:mime-version:thread-index:content-language :disposition-notification-to; bh=tRsUHXNv0lttCXQL5brh+vxjAz5Be14wB0nQ2Zq+Qng=; b=CKCXrB+ATbCJesLOXF8mvPXxaKz2EtsLOBIF0qwz6ja3oNjf/0jsmeQHKCHqPMtEaZ oL/1rlziBueKWiBZvIkqEWSPZj2sSrxnb3BG4+BMxS037DOkDZMQZRZ85fu0OJ7aix5z msT50QVqqoVg5HxLmq4Qw4jtdGBFO9uAuv21cIVSlB5CtyLyLf6zN2iwieNbFiH31I83 qzSBeLjUTrbbIbH8EC18fuTlt2kt2Ec3ZDYK5AEERdfwx9lPCgoxRSJtuimxmJtpwkRV MoYZZkPJ6goJxd5Zi5UXPZofR0fL8E6d+mMj4XQ8AKx+wrk0TPI/hzGN2mUKXg64Ke3K 58gw== X-Gm-Message-State: AKwxytcvuj76D7h+cyARAvR8IYqjrYL6vnYfRYjR66CxG0NSO8PwdOW4 SLxkZ+pv4ndh2xEkda7vgGxJHYrf X-Google-Smtp-Source: AH8x225AUxt4Zeg/25u6UdbEkNFCbRiOOdvfZnA2LmXFakn7ZZvgFIulRyprHHpuelFiOjfLvE3bcQ== X-Received: by 10.101.69.199 with SMTP id m7mr13918158pgr.444.1516911111840; Thu, 25 Jan 2018 12:11:51 -0800 (PST) Received: from userPC ([49.205.217.237]) by smtp.gmail.com with ESMTPSA id n21sm857451pfi.9.2018.01.25.12.11.50 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Jan 2018 12:11:51 -0800 (PST) From: "Tom Miller" To: Subject: Defence and Security Professionals Database Date: Thu, 25 Jan 2018 15:11:45 -0500 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdOWGLaT+MxtaiLVTJGOO+vrKSuxTw== Content-Language: en-us X-Antivirus: Avast (VPS 180125-6, 01/25/2018), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 25 Jan 2018 20:11:53 -0000 Hi, Hope this email finds you well. Would you be interested in a list of key decision makers from Defence, Safety and Security Industry? For your marketing activities and business development. Target Audience: Law Enforcement Professionals, Military Officers, Government Officials, Emergency Service Professionals, Environmental Protection Officers, Life Rescue Services, Security Consultants, Safety Directors, Fire Services, Oil And Gas Refineries, Finance Managers, Transport Companies, Safety Engineers, Supply Chain Directors, Healthcare Professionals, Fire And Rescue Professionals, Cyber Security Analysts, Cyber Security Professionals, IT Service Providers, Systems Integrators And Other As Per Your Requirement. Other Industries: Utilities / Water, aviation, Communications, Energy / Food, Chemicals and more. The list comes with complete contact information like Contact name, Email address, Title, Company name, Phone number, Mailing address, etc. I'd be happy to send over few sample records on your request, and set up a time to discuss further. If there is someone else in your organization that I need to speak with, I'd be grateful if you would forward this email to the appropriate contact and help me with the introduction. Thank you and I look forward to hearing from you. Regards, Tom Miller Database Professional PL Data Inc. If you don't wish to receive emails from us reply back with "Unsubscribe". --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From owner-freebsd-net@freebsd.org Thu Jan 25 21:30:27 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9A04ECE927 for ; Thu, 25 Jan 2018 21:30:26 +0000 (UTC) (envelope-from freebsd@disroot.org) Received: from disroot.org (bs-one.disroot.org [178.21.23.139]) (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 82FA1726CE for ; Thu, 25 Jan 2018 21:30:26 +0000 (UTC) (envelope-from freebsd@disroot.org) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A7EF32B3A1 for ; Thu, 25 Jan 2018 22:21:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1516915319; bh=4Lco8ScCNurBx0TVeksHyO3h7ADT9rJY+UzXOGrzBpo=; h=From:Subject:To:Date; b=OBCQ50MKfJJUjTG/w7TWZqDI6q+KF+SeR05ObjMNPC6G0b9s592GH07kL6iqttBXU kPpjaahIUYYoIfxejE7kjPwUXQgenQHBvEL620P0Y6dhB0n5VVanS83+0daQtDsh9x lP9JKh5+szqJAG6vvCFvXkAlviuiycETaG8xN2+g= X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from disroot.org ([127.0.0.1]) by localhost (mail01.disroot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G1jq0Nf37gUF for ; Thu, 25 Jan 2018 22:21:51 +0100 (CET) From: "Peter G." DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1516915311; bh=4Lco8ScCNurBx0TVeksHyO3h7ADT9rJY+UzXOGrzBpo=; h=From:Subject:To:Date; b=aHmD6odfvFeH5Me5V4MXqFc0kogapdbnpx08JU8BLGVdiG2O3ZK6KGFv5SG1enjz+ XMfLBTVbDaEeQ6IcscJx2IybwIKcCY8YB6uIhVR7KGk3JRUmd60y5kTsxwdNhITSPq 6V7Ys3+hFAwvN1M2Kfsa8N+qWSUBMakbZ4Odz1Wg= Subject: Multipath TCP, what's the progress, if there is any? To: freebsd-net@FreeBSD.org Message-ID: <7d4f6244-6b97-0634-c963-207de732ab97@disroot.org> Date: Thu, 25 Jan 2018 22:21:42 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 25 Jan 2018 21:30:27 -0000 A few years back a working group announced their work on MPTCP for FreeBSD, http://caia.swin.edu.au/newtcp/mptcp/. Around that time also a QR mentioned the project, https://www.freebsd.org/news/status/report-2013-01-2013-03.html#Multipath-TCP-(MPTCP)-for-FreeBSD Since then all of this seems to have gone silent. The only recent mention is this page, https://www.freebsdfoundation.org/project/multipath-tcp-for-freebsd/ Is the development truly ongoing against HEAD? Where can I find any up-to-date info regarding this? Can't find anything. Many thanks! PG From owner-freebsd-net@freebsd.org Thu Jan 25 23:54:07 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9729DED6321 for ; Thu, 25 Jan 2018 23:54:07 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (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 EE88A78A2C; Thu, 25 Jan 2018 23:54:06 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x234.google.com with SMTP id q17so12056296lfa.9; Thu, 25 Jan 2018 15:54:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=zG1pfove6/wBq8LRgKhfAkGluGGcJyccSdofVoYbXRo=; b=qPNQ/vFJs2IhLt+Tvh52JvJT++8NAtHnI5gMw8vxZwFwIw56TgDxSCvEt/+SFe8hCW C2cmnS40KWMKmWT+UXbKiCmMZz0s4opjsB/5hszdHh2H8AAGm4KeA2Jv1KDViWjNRa4f bCjB0LgH+x441kcH4Sw+frspJGC0tibbDhku7+VnfqmZLT3c2K22ONl52j3QzekV2hVr kK2ZIml5WPy97Uxi1G1wrLQgXljgVGDUaEm4WTssPKRB8uAfKQ3q7l/e4NwMhJHLFSfK zhGVfX2M4WjNQHNh0NXPWwVNLK9Om1SZAQCJTdgPRHPrF6nOAeKLD9WY71fmCWlAjp2w RrhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=zG1pfove6/wBq8LRgKhfAkGluGGcJyccSdofVoYbXRo=; b=Tl2DZoITcSREUS71kPTR1YJB98g6iS+42jGdBiDCs0Gs9v5B+rV+dFVWp2f85wsUUd JF/INUx7qHd7qVPFRTeWdndfcU1LoUlyz27ViL7VshoIwOjkMDYO3phddcwWRxsyEXeI ATGShGA5ZnYgpouhqGD0veytpuSBdACtY+rD1BWhcalwUdnwhNknBy6gm/RQwxJAAFdU 1qN4TqgpHs2NfrPC//O/6dCFycfi1qGD+kizjijs6CJq1DE33Rg7LTCioTcTItMucJAt w0SCMbo8ZDZZ2HkqeqUV1GAbgcIJH2VZ+EtcZ2FvSH/vQhwutoovsaLavzJqorRIq++K 2B/A== X-Gm-Message-State: AKwxytdaMo6t0ndhcq4cTsiNVI8Ve2IyoqWumolQqifek+IackIUCZhc z7dNAbSTTzwQ25OTAuNQYRuOuu4Dv8OrmcvbKRE= X-Google-Smtp-Source: AH8x2271+9Vd2UrGEJt+Y5ejSuGIvudYFb1T/boWLpV+r3zIgMmdgg9NL63uTXNNECc+rPEeS9EXVICEOoQEFoj26uU= X-Received: by 10.25.229.80 with SMTP id c77mr6885866lfh.106.1516924445497; Thu, 25 Jan 2018 15:54:05 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.87.131 with HTTP; Thu, 25 Jan 2018 15:54:04 -0800 (PST) In-Reply-To: References: <759792be-189f-bdaf-04c9-b01d26fa9e00@yandex.ru> <5A6781E9.5060405@grosbein.net> <6d367aa6-948a-8dd6-cfc9-dd6017722591@yandex.ru> From: Alan Somers Date: Thu, 25 Jan 2018 16:54:04 -0700 X-Google-Sender-Auth: 54YDGwKvApwYhIW7_R1eis2WrBI Message-ID: Subject: Re: pf: redirect a packet's port but not its address? To: "Andrey V. Elsukov" Cc: Eugene Grosbein , FreeBSD Net , Kristof Provost Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 25 Jan 2018 23:54:07 -0000 On Wed, Jan 24, 2018 at 3:16 AM, Andrey V. Elsukov wrote: > On 24.01.2018 02:26, Andrey V. Elsukov wrote: > > I think it is correct behavior if you try to forward to loopback > > address. In case when you listen on the LLA and fwd to this LLA there is > > seems the bug. > > > > # ipfw add fwd fe80::e6a7:a0ff:fe8e:16bf%lagg0,5678 tcp from any to any > > dst-port 4000 > > # nc -6 -l fe80::e6a7:a0ff:fe8e:16bf%lagg0 5678 > > > > This doesn't work, because ip6_input() doesn't embed scope zone index > > into IPv6 header's addresses before TCP segment will be handled by > > tcp_input(). > > > > I think the bug is in ipfw_check_packet() function. Since it changes > > destination address and sets M_FASTFWD_OURS flag, it also should embed > > scope zone id into ip6_src/ip6_dst and check for scope violation like > > ip6_input() does just after "passin" label. > > > > With this patch I'm able to use above commands and they work. > After some thought I think it is not quite correct to embed scope zone > id into IP header in the pfil hook, because several hooks can be chained > and this can break another check. Instead, can you test this patch? > > I moved M_FASTFWD_OURS check below of scope check, now if fwd address is > our local, scope zone index will be correctly embedded into IP header if > this is needed. And thus tcp_input() will correctly handle this case. > > -- > WBR, Andrey V. Elsukov > Yep. With that patch I can receive the redirected packet whether listening on the unspecified address or on the LLA. -Alan From owner-freebsd-net@freebsd.org Fri Jan 26 00:17:48 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1760CED77E4 for ; Fri, 26 Jan 2018 00:17:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 536FC798B9 for ; Fri, 26 Jan 2018 00:17:47 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 926422B6FE for ; Fri, 26 Jan 2018 00:17:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0Q0Hkkd000862 for ; Fri, 26 Jan 2018 00:17:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0Q0Hktp000854 for freebsd-net@FreeBSD.org; Fri, 26 Jan 2018 00:17:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 209682] [panic] [netinet] arptimer race Date: Fri, 26 Jan 2018 00:17: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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: daveb@spectralogic.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 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, 26 Jan 2018 00:17:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209682 --- Comment #9 from Dave Baukus --- (In reply to Hans Petter Selasky from comment #8) I've tried your test and more in an infinite loop; all I get is various cra= shes in the IPv6 code (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D22543= 8). I even recompiled without INET6; no arptimer() crashes yet. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Jan 26 00:25:06 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3B40ED7DE3 for ; Fri, 26 Jan 2018 00:25:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3484679D67 for ; Fri, 26 Jan 2018 00:25:06 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 73A412B856 for ; Fri, 26 Jan 2018 00:25:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0Q0P5H0077957 for ; Fri, 26 Jan 2018 00:25:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0Q0P53r077951 for freebsd-net@FreeBSD.org; Fri, 26 Jan 2018 00:25:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225438] panic in6_unlink_ifa() due to race Date: Fri, 26 Jan 2018 00:25:05 +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.1-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: daveb@spectralogic.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 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, 26 Jan 2018 00:25:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225438 --- Comment #2 from Dave Baukus --- Admittedly, the test case listed is specious, but the following a bit less = so: while : do setfib 1 arp -d $ADDR & setfib 1 ping -c 4 $ADDR & setfib 1 arp -d $ADDR & /etc/rc.d/netif restart igb1 & setfib 1 ping -c 4 $ADDR & setfib 1 arp -d $ADDR & wait sleep 5 done panic: in6_ifattach_linklocal: ia =3D=3D NULL, ifp=3D0xfffff8012150f800 (struct thread *)0xfffff8171e964560, tid 102323 ifconfig :: (struct proc *)0xfffff8171e298588, pid 48226 args: /sbin/ifconfig igb1 up #9 0xffffffff804ffacb in kdb_enter (why=3D0xffffffff80862eef "panic", msg= =3D) at cpufunc.h:63 #10 0xffffffff804bf0c3 in vpanic (fmt=3D, ap=3D0xfffffe1b8ef285c0) at sys/kern/kern_shutdown.c:752 #11 0xffffffff804bef16 in kassert_panic (fmt=3D) at sys/kern/kern_shutdown.c:649 #12 0xffffffff80682613 in in6_ifattach (ifp=3D0xfffff8012150f800, altifp=3D= ) at sys/netinet6/in6_ifattach.c:506 #13 0xffffffff805ade5a in if_up (ifp=3D0xfffff8012150f800) at sys/net/if.c:= 2155 #14 0xffffffff805af399 in ifioctl (so=3D, cmd=3D, data=3D0xfffffe1b8ef28880 "igb1", td=3D) at sys/net/if.c:2459 #15 0xffffffff80524ad4 in kern_ioctl (td=3D, fd=3D, com=3D, data=3D) = at file.h:323 #16 0xffffffff8052478e in sys_ioctl (td=3D0xfffff8171e964560, uap=3D0xfffffe1b8ef28a30) at sys/kern/sys_generic.c:745 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Jan 26 07:43:10 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 717FCEC7850 for ; Fri, 26 Jan 2018 07:43:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CACF87CFA for ; Fri, 26 Jan 2018 07:43:10 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 15A7F2F560 for ; Fri, 26 Jan 2018 07:43:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0Q7h8fB089853 for ; Fri, 26 Jan 2018 07:43:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0Q7h8cr089851 for freebsd-net@FreeBSD.org; Fri, 26 Jan 2018 07:43:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 209682] [panic] [netinet] arptimer race Date: Fri, 26 Jan 2018 07:43:08 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 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, 26 Jan 2018 07:43:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209682 --- Comment #10 from Hans Petter Selasky --- Does applying the fix at: https://reviews.freebsd.org/D4605 resolve those IPv6 based panics? It might be you're just lucky that the IPv4 arptimer is not panicing. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Jan 26 08:38:35 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9041EC9D4B for ; Fri, 26 Jan 2018 08:38:35 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 397D1694B3 for ; Fri, 26 Jan 2018 08:38:33 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by mail-wr0-x235.google.com with SMTP id s5so8769688wra.0 for ; Fri, 26 Jan 2018 00:38:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7O+LlkRyWecox0eVVgkmGPnN70FPAGo9nTL7e8vYYuQ=; b=j9Mi82OR/2L7JnUK5FaF/MYOhr8YM8I+wFrJqg8nxXbi1acTO/3zMZVJ2lPYpu5cos +Japsd2/IPdxy8FFH9ozr8O5Ntnykh0hYFKb+74SztBaZVQ0rzAg5SDS0Vbel/ot9pT+ q6tdsAL+XO0QuuySfly3in7RzXCGSwjjFhBNu0SgkSEkb2DhvV0eDJzY9uWI0MA4Zv4B emXj9ziRAWsob8AA7EW8IRhgxy/TxCcEdaBfE7VxUh+B1GUzPU9nB2Y+vJ/ZkIPAGihN zklUHSmDEHGKHKbfE5A4tKoix5JvA1X2k9D8FbEDLBB5BLcsbVwF46f9Vqq+tW7+DZhA WYDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7O+LlkRyWecox0eVVgkmGPnN70FPAGo9nTL7e8vYYuQ=; b=Q+NhMehnOwFGkeN+1lFDno8B7NmqhVBWdagnc/tSXRQw+2VRCx8z7pHplI3dMwhywd L+Oy4eJXx9dibtBQL7WOV7q4xDeQC9JUa6YTIhBaKo3t6mYjcwslHApKxe0gNjgaVuHL waTbcGYypVZRMSQVph+6NiPeRw58LkWj5RKjyH5y1uuZqnQWiREAg+bqDsX56aYTOivC 0k59vVVnwIVzfcw6Ax3YwV3CCvChjIy9lESx7XUu5FKCWW1eWy373ELIjLK4xcjftzIU fa7XhnEvZBSEnVz2wt+iBjWeCDydkuyOSGmkO0jiggYDRGlFAD9+fjeab/XvcLlKK5AI R1jA== X-Gm-Message-State: AKwxytefZe7wA+rUNRxviHBtmjEK7rorFCcnTrxtMgtsQ9Q2AmBzpl8T YhyhiV9VT97Pfx5Z9ZWBy+94TKJvQz9iDsc6XN0= X-Google-Smtp-Source: AH8x226xl5RzGA71XRvJvOiiqhaYbM0llzPwHq42mJlaMBCjvvZCrrhw/7xDBD9+POmdKXhiFMcMv0nzlfxp+7NfEVI= X-Received: by 10.223.142.38 with SMTP id n35mr10584238wrb.97.1516955911680; Fri, 26 Jan 2018 00:38:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.195.205 with HTTP; Fri, 26 Jan 2018 00:37:51 -0800 (PST) In-Reply-To: <7d4f6244-6b97-0634-c963-207de732ab97@disroot.org> References: <7d4f6244-6b97-0634-c963-207de732ab97@disroot.org> From: Outback Dingo Date: Fri, 26 Jan 2018 03:37:51 -0500 Message-ID: Subject: Re: Multipath TCP, what's the progress, if there is any? To: "Peter G." Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 26 Jan 2018 08:38:35 -0000 On Thu, Jan 25, 2018 at 4:21 PM, Peter G. wrote: > A few years back a working group announced their work on MPTCP for FreeBSD, > http://caia.swin.edu.au/newtcp/mptcp/. Around that time also a QR mentioned > the project, > https://www.freebsd.org/news/status/report-2013-01-2013-03.html#Multipath-TCP-(MPTCP)-for-FreeBSD > > Since then all of this seems to have gone silent. The only recent mention is > this page, > https://www.freebsdfoundation.org/project/multipath-tcp-for-freebsd/ > > Is the development truly ongoing against HEAD? Where can I find any > up-to-date info regarding this? Can't find anything. > > Many thanks! their bitbucket of the code base is here, though nothing since 2016, and i believe CAIA working group itself is now merged with something else at uni of Swinborne https://bitbucket.org/nw-swin/caia-mptcp-freebsd > > PG > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Sat Jan 27 16:49:41 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E503ECAF85 for ; Sat, 27 Jan 2018 16:49:41 +0000 (UTC) (envelope-from freebsd@disroot.org) Received: from disroot.org (bs-one.disroot.org [178.21.23.139]) (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 2329C6FD5B for ; Sat, 27 Jan 2018 16:49:40 +0000 (UTC) (envelope-from freebsd@disroot.org) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6430F2B23E for ; Sat, 27 Jan 2018 17:49:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1517071763; bh=f877EgibQfNUaHGIzCvqd1KS2hK7hU0sfxM6bydDMHM=; h=Subject:To:References:From:Date:In-Reply-To; b=i8LAHMYZ3NcV2prA3MZtInpxsTl/CIP+DKuTT0WYqjneuPuKtj2Q+CFpP8XHSOeuz 5AdAFuwmIrCsqDYu3H0CcGdqBlit91jBFeklsg6RUFC331tRqAUjj727Yrz5xJTAHb w84fCdj2IJxzH+yQRVSJp0cNqtFLw5JtDhwiyMoM= X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from disroot.org ([127.0.0.1]) by localhost (mail01.disroot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JndvBspsTE8c for ; Sat, 27 Jan 2018 17:49:07 +0100 (CET) Subject: Re: Multipath TCP, what's the progress, if there is any? DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1517071732; bh=f877EgibQfNUaHGIzCvqd1KS2hK7hU0sfxM6bydDMHM=; h=Subject:To:References:From:Date:In-Reply-To; b=dw9FSjUVtMCPihCguKaF5OSihlcqZI4QLGMZ+jlPFsnqi8RoLeNMv/gJ2nhbC8D++ cHBbLKBuQdD5zLdajrFNiQpoFqV3EVP50T80VKc5bcjaGJLVG253UAxEf30CQUKE/J hUgHgwxKq27KuDJc1kMDFiCUe1f38NArI0L/F0GM= To: freebsd-net@freebsd.org References: <7d4f6244-6b97-0634-c963-207de732ab97@disroot.org> From: "Peter G." Message-ID: Date: Sat, 27 Jan 2018 17:48:32 +0100 Mime-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 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, 27 Jan 2018 16:49:41 -0000 On 26/01/2018 09:37, Outback Dingo wrote: > On Thu, Jan 25, 2018 at 4:21 PM, Peter G. wrote: >> A few years back a working group announced their work on MPTCP for FreeBSD, >> http://caia.swin.edu.au/newtcp/mptcp/. Around that time also a QR mentioned >> the project, >> https://www.freebsd.org/news/status/report-2013-01-2013-03.html#Multipath-TCP-(MPTCP)-for-FreeBSD >> >> Since then all of this seems to have gone silent. The only recent mention is >> this page, >> https://www.freebsdfoundation.org/project/multipath-tcp-for-freebsd/ >> >> Is the development truly ongoing against HEAD? Where can I find any >> up-to-date info regarding this? Can't find anything. > > their bitbucket of the code base is here, though nothing since 2016, > and i believe CAIA working group itself is now merged with something > else at uni of Swinborne > https://bitbucket.org/nw-swin/caia-mptcp-freebsd Ya, I found that. Even checked if anything they did has been included in HEAD so far. Nada. Looks like this is all there ever was. I emailed the guy seemingly in charge back then asking for details. It's a shame this has stuck. I've been quite very much looking toward this. PG