From owner-freebsd-net@freebsd.org Sun Sep 2 09:32: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 A14E2FEA351 for ; Sun, 2 Sep 2018 09:32:22 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 36E4B71CB1 for ; Sun, 2 Sep 2018 09:32:22 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id F229FFEA350; Sun, 2 Sep 2018 09:32:21 +0000 (UTC) Delivered-To: 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 CE5BFFEA34F for ; Sun, 2 Sep 2018 09:32:21 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qt0-x22c.google.com (mail-qt0-x22c.google.com [IPv6:2607:f8b0:400d:c0d::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6724F71CB0 for ; Sun, 2 Sep 2018 09:32:21 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qt0-x22c.google.com with SMTP id d4-v6so19022408qtn.13 for ; Sun, 02 Sep 2018 02:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=0jwhnYS0r5bV05qI9uGqBwX/DGJ0FR0ShGrvwcjSkrg=; b=biNQFrqtM+ItmURrGr20g0SYVKlqoIV4TPM1t2IXvO/qdUEAO78S6aG2lFgFoSFnIe plvyhJVmAzhfcE3LJAQiJqx9q/8tpm3op/7X3RqxUfiseLo2tg/QbZG5UrA664K+EQyp AgiBnlu6NbJhPpihkop8m2y2jSi227+z/DoE2+jxeGnLaR/mN8AwKp2G4sX3M7YSIVw7 CS8+YlAwZnPKjkF/FwJmO2uTF5ftOJeqpVcoK2WZzOgCFVIUq9jP8OBhgk+CaeQhF/v8 n2eHhcw/jvXeX9xwXag0+EtFvWZgdi40Dzm28mKQxoKE4UB/YyoPX21pD9aj9d8zS1Tw 9ecA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=0jwhnYS0r5bV05qI9uGqBwX/DGJ0FR0ShGrvwcjSkrg=; b=ZYWT/yn8LLaWFYtLjio5pijHNP4kNGKLWC/gFTfnnGfZ323lm0g/tQd8aTJVL6Z7Z6 5qDMWmfIXRqb1H21wm8fCHcjjhAxGjvfnk3iJXmFRhsiZDGHeN7ZkucGPf92QVtycj39 uMOREAd7Jb8igFuSp1xt2rX4nCiNUqRAWCBWDCcKLWaS8tY/Azo+Xsap3MnQUAMNWmPR A3oC63WULRUBGdF/3eFLgYaLRcMjW5qrLjP3SUWFr57rbLb1bz7CDsjvmf6SgR7GBK5D yTYpJ4DqEVXAf8QX2T3R4P5ljlqXFD7mh5aS2T/DsYmNTAKr9UeMnWCb5Q/jJU/CSTly wAbA== X-Gm-Message-State: APzg51BWn+gq9B2o+2RiIobSYXR0TL3PzH7RYpCBO9dkfpNLi5HrHEzp lb/5yfGm4icJt8U5Ko3cmRmlWEF5HNlX1bm0RfE/PQ== X-Google-Smtp-Source: ANB0VdbHvse78XmAtq+0InrLfJC3cyc6gS1fwvtkqe1CQEwRe2rekl5I/ZxtSuKRbV4PYXar8LrYQjyy1JnyY5egeYU= X-Received: by 2002:ac8:27dc:: with SMTP id x28-v6mr22986253qtx.61.1535880740766; Sun, 02 Sep 2018 02:32:20 -0700 (PDT) MIME-Version: 1.0 References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> In-Reply-To: <20180901211123.GZ45503@funkthat.com> From: Vincenzo Maffione Date: Sun, 2 Sep 2018 11:30:00 +0200 Message-ID: Subject: Re: vale and netmap module questions To: "freebsd-net@freebsd.org" , Luigi Rizzo Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 02 Sep 2018 09:32:22 -0000 Il giorno sab 1 set 2018 alle ore 23:11 John-Mark Gurney ha scritto: > Vincenzo Maffione wrote this message on Sat, Sep 01, 2018 at 22:25 +0200: > > Il giorno sab 1 set 2018 alle ore 03:50 John-Mark Gurney < > jmg@funkthat.com> > > ha scritto: > > > > > First, does vale work for anyone? At least one of the documented > > > commands in vale(4) does not work. > > > > > > After manually building the netmap module and loading it: > > > # tcpdump -ni vale-a:1 > > > 313.748851 nm_open [947] invalid bridge name vale-a:1 > > > tcpdump: netmap open: cannot access vale-a:1: Invalid argument > > > > That name is invalid. See netmap(4). > > Are there plans to update the documentation then? It seems like > vale(4) should be a more authoratative reference for vale's naming > than netmap(4)... > You are right. I just updated the man page in the netmap github. I will commit this to FreeBSD soon. > > > > If I run tcpdump with a more correct looking name of vale1:a, I get a > > > null deref panic in ifunit_ref. Full trace is at the end. > > > > Yes, this is a known bug, already posted to this mailing list. Don't > build > > netmap as a module, but link it in the kernel image and it will work. > > (Add "dev netmap" to the kernel config). > > > > > Second, is there a good reason why the netmap module is still > > > disconnected from being built as a module? I guess not working > > > would be one, but I figure the above might be an aarch64 specific > > > problem, and not a general issue. > > > > On x86_64 netmap is not built as a module, so everything works fine. I > > don't see any reason why it should be a module in aarch64. > > Well, sys/modules/netmap exists... If it isn't planned on ever being > made to work, it should be removed so people don't get confused, or > at least marked broken so it doesn't get built... > > I built it manually because it was quicker than recompiling an entire > kernel and rebooting... > That's right. It used to work fine, then something must have changed in the way ifunit_ref() must be used from modules (CURVNET related?). I have not had the time to dig into this, so if anyone has any suggestion please tell me. Is there a standard way to mark a module as broken so that it does not get built as a module, but it still gets built statically? > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > -- Vincenzo From owner-freebsd-net@freebsd.org Sun Sep 2 21:00:24 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 74441FF981C for ; Sun, 2 Sep 2018 21:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0CBF487127 for ; Sun, 2 Sep 2018 21:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id BC274FF9811; Sun, 2 Sep 2018 21:00:23 +0000 (UTC) Delivered-To: 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 9A5FBFF9810 for ; Sun, 2 Sep 2018 21:00:23 +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 42A2F87121 for ; Sun, 2 Sep 2018 21:00:23 +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 83CFE173E6 for ; Sun, 2 Sep 2018 21:00:22 +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 w82L0M40092990 for ; Sun, 2 Sep 2018 21:00:22 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w82L0MQp092987 for net@FreeBSD.org; Sun, 2 Sep 2018 21:00:22 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201809022100.w82L0MQp092987@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: net@FreeBSD.org Subject: Problem reports for net@FreeBSD.org that need special attention Date: Sun, 2 Sep 2018 21:00:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 02 Sep 2018 21:00:24 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 213410 | [carp] service netif restart causes hang only whe Open | 165622 | [ndis][panic][patch] Unregistered use of FPU in k Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 227720 | Kernel panic in ppp server 9 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun Sep 2 21:57: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 14583FFB4B5 for ; Sun, 2 Sep 2018 21:57:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AB5598A0ED for ; Sun, 2 Sep 2018 21:57:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 681D5FFB4B4; Sun, 2 Sep 2018 21:57:40 +0000 (UTC) Delivered-To: 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 56BFBFFB4B3 for ; Sun, 2 Sep 2018 21:57: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 EA14E8A0E3 for ; Sun, 2 Sep 2018 21:57:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3282A17D3D for ; Sun, 2 Sep 2018 21:57: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 w82LvdeU081095 for ; Sun, 2 Sep 2018 21:57:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w82LvdU9081094 for net@FreeBSD.org; Sun, 2 Sep 2018 21:57: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: net@FreeBSD.org Subject: [Bug 231023] ip6_savecontrol_v4 panic Date: Sun, 02 Sep 2018 21:57: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: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 02 Sep 2018 21:57:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231023 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #1 from Sean Bruno --- I can't seem to get this to happen at r338426 I'll keep an eye out for it as we progress, but I think we'll close it for = the time being. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 3 07:02: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 B2293FE04C0 for ; Mon, 3 Sep 2018 07:02:41 +0000 (UTC) (envelope-from run00er@gmail.com) Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36E6178136 for ; Mon, 3 Sep 2018 07:02:41 +0000 (UTC) (envelope-from run00er@gmail.com) Received: by mail-lf1-x12b.google.com with SMTP id v77-v6so4715309lfa.6 for ; Mon, 03 Sep 2018 00:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=Kdly3onh5ZjtrYT23t+L6PKu180cCDdtNhTSZon1cvc=; b=V7zVQA24TDT4jA4nzH5iPtXyo8rZSGUNIOBa+3zvh3V6N+lUHYTePecORBpF9YiaKf nidEuiiv/4IkVepKGnT2u88FWGi8eWw0hIif06GTAy6+p5A4G4zqSg42XpDhFQeLvCz3 xB82taRzbskOPBTmH7KAeui0WZsxR23R+1Sc4WkXg4vh1hAU1p/84pf1HlqBcHMx5UEw r2dfHg8tXGFk7VW/p+vHKejUGFkNjaK76ttccOYPy/tw+4B1/MPzaZQC3W/rc7EFiXBB 1Lcun4OtLTrAsTbD4VxLhrR7waLyrFKkjJICHX3cAMU+Z4GGorQyxuRC4LZpW7AgD584 77Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=Kdly3onh5ZjtrYT23t+L6PKu180cCDdtNhTSZon1cvc=; b=jWTUVwAxQ/ryJYHEft4ZtxK2xS+9PKvsPK/bl2WiPy2gnAC0UkOpv5Yb3fnbNH8eF9 kazbH45Apqy6AbAtUoF1jsYPXFBEQJ5MPm0IEu5I2iyBn9RNR9sheClcr7eN0wRW9Nzf 7AIirScih/jOJJN//fhHIcAKLMthSGPi5rFimyPUQe0d9gu1CIgrj+K2xID/KMrUTkZc KSJ/R/PQG8+Wgq/blxss+pShp/rIT9r7wz07sgZeIP1XyWE2aFgn9Igh4hChhXDj33CY eDayxp4a08z0FU6o2YJQZEKGwMhX7Aw5Y8+CjOQNjNIwes42XxQIHh95MOBZT8qrAYNm xtuA== X-Gm-Message-State: APzg51CrT1izj+QTCSRQ4/eT0YgkhDDMvUsI2nKgkg4AcpXDTPNPO2hz jEBu+SY8M5DtwsB2JjqjmwGl1elx X-Google-Smtp-Source: ANB0VdbosRkSTpvOsyg8gsSunvYRinEMyRoeI+bZHgt4JQCoDENvICxLDPI29bjOSnaTXAVIvI4FyQ== X-Received: by 2002:a19:2287:: with SMTP id i129-v6mr16372577lfi.20.1535958159505; Mon, 03 Sep 2018 00:02:39 -0700 (PDT) Received: from [10.0.0.59] ([193.111.156.141]) by smtp.gmail.com with ESMTPSA id x20-v6sm3361754lfi.8.2018.09.03.00.02.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 00:02:38 -0700 (PDT) To: freebsd-net@freebsd.org From: Runer Subject: Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 Message-ID: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> Date: Mon, 3 Sep 2018 10:02:37 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: ru Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 03 Sep 2018 07:02:41 -0000 *Hello Community! A situation has arisen in which ipfw fwd stops working when RTF_BLACKHOLE or RTF_REJECT, ROUTE (8), is enabled on Freebsd 11 release. ** FreeBSD 11.2-RELEASE-p1 route add default 127.0.0.1 -blackhole –iface ipfw show00100 30 4056 fwd 10.0.0.5 ip from table(1) to not 10.0.0.0/8 in via em0 The packet counter changes, but forwarding does not work.On FreeBSD 10 everything works fine. I suppose this is due to changes to forwarding -> fast forwarding by default in FreeBSD 11 and man ROUTE (8), “BUGS - unless IP fast forwarding is enabled, in which case the meaning of the flag will always be honored.” I want to know if it's possible to implement the work ipfw fwd together with RTF_BLACKHOLE on FreeBSD 11 as before in FreeBSD 10? Thank you in advance! *** From owner-freebsd-net@freebsd.org Mon Sep 3 07:27:02 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 531F3FE0DF4 for ; Mon, 3 Sep 2018 07:27:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EE56179392 for ; Mon, 3 Sep 2018 07:27:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A9ACCFE0DF3; Mon, 3 Sep 2018 07:27:01 +0000 (UTC) Delivered-To: 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 9889BFE0DF2 for ; Mon, 3 Sep 2018 07:27:01 +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 437507938F for ; Mon, 3 Sep 2018 07:27:01 +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 81DD91CBE7 for ; Mon, 3 Sep 2018 07:27:00 +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 w837R0sO094234 for ; Mon, 3 Sep 2018 07:27:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w837R0Up094233 for net@FreeBSD.org; Mon, 3 Sep 2018 07:27:00 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: net@FreeBSD.org Subject: [Bug 231051] [IXL] driver assert when locks checks are enabled Date: Mon, 03 Sep 2018 07:27:00 +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: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alexandre.martins@stormshield.eu X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 03 Sep 2018 07:27:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231051 --- Comment #2 from Alexandre martins --- I'm sorry, I forget that we manually upgrade our kernel module to the Intel version 1.9.12 on a FreeBSD 11.2. So, I close this ticket. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 3 07:27:20 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 DA9AEFE0E20 for ; Mon, 3 Sep 2018 07:27:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 820A6793C1 for ; Mon, 3 Sep 2018 07:27:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3D1A2FE0E1F; Mon, 3 Sep 2018 07:27:20 +0000 (UTC) Delivered-To: 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 2BD46FE0E1E for ; Mon, 3 Sep 2018 07:27:20 +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 C9787793BD for ; Mon, 3 Sep 2018 07:27:19 +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 1A1E21CBE9 for ; Mon, 3 Sep 2018 07:27:19 +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 w837RI5A094556 for ; Mon, 3 Sep 2018 07:27:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w837RIha094555 for net@FreeBSD.org; Mon, 3 Sep 2018 07:27:18 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: net@FreeBSD.org Subject: [Bug 231051] [IXL] driver assert when locks checks are enabled Date: Mon, 03 Sep 2018 07:27:19 +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: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alexandre.martins@stormshield.eu X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Rejected X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 03 Sep 2018 07:27:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231051 Alexandre martins changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Rejected --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 3 08:57:40 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 F09BCFE3005 for ; Mon, 3 Sep 2018 08:57:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9CB7D7BE10 for ; Mon, 3 Sep 2018 08:57:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 50127FE3004; Mon, 3 Sep 2018 08:57:39 +0000 (UTC) Delivered-To: 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 3EACEFE3003 for ; Mon, 3 Sep 2018 08:57:39 +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 E23B07BE0B for ; Mon, 3 Sep 2018 08:57:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D97AF1D85D for ; Mon, 3 Sep 2018 08:57:37 +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 w838vbL6097709 for ; Mon, 3 Sep 2018 08:57:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w838vbJ7097708 for net@FreeBSD.org; Mon, 3 Sep 2018 08:57:37 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: net@FreeBSD.org Subject: [Bug 231045] ipv6 fragment reassembly broken Date: Mon, 03 Sep 2018 08:57:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@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.27 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, 03 Sep 2018 08:57:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231045 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Mon Sep 3 08:57:09 UTC 2018 New revision: 338442 URL: https://svnweb.freebsd.org/changeset/base/338442 Log: MFC r338406: frag6: Fix fragment reassembly r337776 started hashing the fragments into buckets for faster lookup. The hashkey is larger than intended. This results in random stack data be= ing included in the hashed data, which in turn means that fragments of the sa= me packet might end up in different buckets, causing the reassembly to fail. Set the correct size for hashkey. PR: 231045 Changes: _U stable/11/ stable/11/sys/netinet6/frag6.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 3 09:33:32 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 E6B6DFE3D3F for ; Mon, 3 Sep 2018 09:33:31 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (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 7D8777CEC5; Mon, 3 Sep 2018 09:33:31 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w839XO7H067246 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Sep 2018 11:33:25 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: run00er@gmail.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w839XJYG065023 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 3 Sep 2018 16:33:19 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 To: Runer , freebsd-net@freebsd.org, "Andrey V. Elsukov" References: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> From: Eugene Grosbein Message-ID: <3439070c-a4cd-1f9b-a02b-dace4ed29bf3@grosbein.net> Date: Mon, 3 Sep 2018 16:33:15 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains 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.27 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, 03 Sep 2018 09:33:32 -0000 03.09.2018 14:02, Runer wrote: > *Hello Community! > > A situation has arisen in which ipfw fwd stops working when > RTF_BLACKHOLE or RTF_REJECT, ROUTE (8), is enabled on Freebsd 11 release. > ** > > FreeBSD 11.2-RELEASE-p1 route add default 127.0.0.1 -blackhole –iface ipfw show00100 30 4056 fwd 10.0.0.5 ip from table(1) to not 10.0.0.0/8 in via em0 The packet counter changes, but forwarding does not work.On FreeBSD 10 everything works fine. I suppose this is due to changes to forwarding -> fast forwarding by default in FreeBSD 11 and man ROUTE (8), “BUGS - unless IP fast forwarding is enabled, in which case the meaning of the flag will always be honored.” > I want to know if it's possible to implement the work ipfw fwd together with RTF_BLACKHOLE on FreeBSD 11 as before in FreeBSD 10? Thank you in advance! > > *** Can you fill a Problem Report using https://bugs.freebsd.org/bugzilla/enter_bug.cgi please? And drop me PR's number in reply. From owner-freebsd-net@freebsd.org Mon Sep 3 10:12:38 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 4B141FE49C6 for ; Mon, 3 Sep 2018 10:12:38 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (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 CD0B47DEBF for ; Mon, 3 Sep 2018 10:12:37 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w83ACToV067522 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Sep 2018 12:12:30 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: run00er@gmail.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w83ACLgQ065391 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 3 Sep 2018 17:12:21 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 To: Runer , freebsd-net@freebsd.org References: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> From: Eugene Grosbein Message-ID: <10c4591a-3d82-bddb-093d-a73da1d9b2b8@grosbein.net> Date: Mon, 3 Sep 2018 17:12:17 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains 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.27 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, 03 Sep 2018 10:12:38 -0000 03.09.2018 14:02, Runer wrote: > *Hello Community! > > A situation has arisen in which ipfw fwd stops working when > RTF_BLACKHOLE or RTF_REJECT, ROUTE (8), is enabled on Freebsd 11 release. > ** > > FreeBSD 11.2-RELEASE-p1 route add default 127.0.0.1 -blackhole –iface ipfw show00100 30 4056 fwd 10.0.0.5 ip from table(1) to not 10.0.0.0/8 in via em0 The packet counter changes, but forwarding does not work.On FreeBSD 10 everything works fine. I suppose this is due to changes to forwarding -> fast forwarding by default in FreeBSD 11 and man ROUTE (8), “BUGS - unless IP fast forwarding is enabled, in which case the meaning of the flag will always be honored.” > I want to know if it's possible to implement the work ipfw fwd together with RTF_BLACKHOLE on FreeBSD 11 as before in FreeBSD 10? Thank you in advance! > > *** As temporary workaround, you still can disable fast forwarding path: - make sure you use GENERIC kernel or your custom kernel has "options IPSEC_SUPPORT" like GENERIC has; - load ipsec kernel module by means of /boot/loader.conf or /etc/rc.conf; - add dummy security policy: printf "flush;\nspdflush;\n\nspdadd 100.64.0.1/32 100.64.0.2/32 esp -P out none;\n" > /etc/ipsec.conf It does nothing but prevents a kernel from using fast forwarding path for 11.2 From owner-freebsd-net@freebsd.org Mon Sep 3 10:24:12 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 E7935FE4E88 for ; Mon, 3 Sep 2018 10:24:11 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (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 7A0307E545 for ; Mon, 3 Sep 2018 10:24:11 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w83AO4IR067601 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Sep 2018 12:24:05 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: run00er@gmail.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w83AO1L1065469 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 3 Sep 2018 17:24:01 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 To: Runer , freebsd-net@freebsd.org References: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> <10c4591a-3d82-bddb-093d-a73da1d9b2b8@grosbein.net> From: Eugene Grosbein Message-ID: <4f401425-f162-7949-5496-29dc7d269f1a@grosbein.net> Date: Mon, 3 Sep 2018 17:23:57 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <10c4591a-3d82-bddb-093d-a73da1d9b2b8@grosbein.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains 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.27 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, 03 Sep 2018 10:24:12 -0000 > As temporary workaround, you still can disable fast forwarding path: > > - make sure you use GENERIC kernel or your custom kernel has "options IPSEC_SUPPORT" like GENERIC has; > - load ipsec kernel module by means of /boot/loader.conf or /etc/rc.conf; > - add dummy security policy: > > printf "flush;\nspdflush;\n\nspdadd 100.64.0.1/32 100.64.0.2/32 esp -P out none;\n" > /etc/ipsec.conf - finally, do: echo ipsec_enable=YES >> /etc/rc.conf > It does nothing but prevents a kernel from using fast forwarding path for 11.2 From owner-freebsd-net@freebsd.org Mon Sep 3 14:30: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 39116FEB7E7 for ; Mon, 3 Sep 2018 14:30:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C800C86D0E for ; Mon, 3 Sep 2018 14:30:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9011BFEB7E2; Mon, 3 Sep 2018 14:30:21 +0000 (UTC) Delivered-To: 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 7EBDAFEB7DF for ; Mon, 3 Sep 2018 14:30:21 +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 1CD5D86D08 for ; Mon, 3 Sep 2018 14:30: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 6A00A20615 for ; Mon, 3 Sep 2018 14:30: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 w83EUKn0051806 for ; Mon, 3 Sep 2018 14:30:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w83EUKJD051805 for net@FreeBSD.org; Mon, 3 Sep 2018 14:30: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: net@FreeBSD.org Subject: [Bug 166724] [re] if_re watchdog timeout Date: Mon, 03 Sep 2018 14:30:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zjk7@wp.pl X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: yongari@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.27 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, 03 Sep 2018 14:30:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 --- Comment #33 from zjk --- Created attachment 196815 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196815&action= =3Dedit System load average and usage - monitorix --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 3 14:33:14 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 A949CFEBA43 for ; Mon, 3 Sep 2018 14:33:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 430648709E for ; Mon, 3 Sep 2018 14:33:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 07D26FEBA42; Mon, 3 Sep 2018 14:33:14 +0000 (UTC) Delivered-To: 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 DA0C3FEBA41 for ; Mon, 3 Sep 2018 14:33:13 +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 639A487099 for ; Mon, 3 Sep 2018 14:33:13 +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 C2F6120783 for ; Mon, 3 Sep 2018 14:33:12 +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 w83EXC8W064216 for ; Mon, 3 Sep 2018 14:33:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w83EXCA6064215 for net@FreeBSD.org; Mon, 3 Sep 2018 14:33:12 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: net@FreeBSD.org Subject: [Bug 166724] [re] if_re watchdog timeout Date: Mon, 03 Sep 2018 14:33:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zjk7@wp.pl X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: yongari@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.27 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, 03 Sep 2018 14:33:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 --- Comment #34 from zjk --- A. After longer tests - I must cancel the previous optimistic news. We are talking about the 11.2-RELEASE + 1.93-realtek driver: 1. Suspensions, computer stops - still occur. They are only shorter - though still cumbersome.=20 See attachment above. Generally at the beginning the interface works quickly, after some time it slows down and shows signs of loss. 2. There are still messages about the interface suspension. Because I use l= agg it looks like this: + [20445] re1: Interface stopped DISTRIBUTING, possible flapping + [48114] re0: Interface stopped DISTRIBUTING, possible flapping B. Regarding Alex's statements. This is a real problem. Of course, the "watchdog timeout" message itself is not harmful. The important thing is that the message in the function follows the reset a= nd re-initialisation of the interface - this unfortunately results in the loss= or partial destruction of transmitted files / frames (which unfortunately I ha= ve experienced many times). The application of version 1.93-1.94: is therefore of such a improvement t= hat not only does the message disappear (commented out from function - as Alex correctly writes), but the files are not damaged during the transmission (y= et to be checked!). Version 11.2-RELEASE - for me it certainly generates hundreds of messages "watchdog timeout" - but today I do not know if it prevents damage or loss = of transmitted data (to be checked).=20 I see: /* Cancel pending I/O and free all RX/TX buffers. */ re_stop(sc); /* Put controller into known state. */ re_reset(sc); It means: drop, loss transmitted information. C. However, I will not agree with Alex that it is good. Perhaps it is good = for a laptop, too little for the server. It is still terrible. D. Test 11.2 + 1.94 - I have not started yet. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 3 14:34: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 257E3FEBB49 for ; Mon, 3 Sep 2018 14:34:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9F245872A6 for ; Mon, 3 Sep 2018 14:34:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 676A3FEBB48; Mon, 3 Sep 2018 14:34:40 +0000 (UTC) Delivered-To: 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 44F06FEBB47 for ; Mon, 3 Sep 2018 14:34: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 D5951872A1 for ; Mon, 3 Sep 2018 14:34:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 437BC2079E for ; Mon, 3 Sep 2018 14:34: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 w83EYd5X065698 for ; Mon, 3 Sep 2018 14:34:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w83EYdkN065697 for net@FreeBSD.org; Mon, 3 Sep 2018 14:34: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: net@FreeBSD.org Subject: [Bug 208205] re0 watchdog timeout Date: Mon, 03 Sep 2018 14:34:37 +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: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zjk7@wp.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 03 Sep 2018 14:34:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208205 --- Comment #31 from zjk --- A. After longer tests - I must cancel the previous optimistic news. We are talking about the 11.2-RELEASE + 1.93-realtek driver: 1. Suspensions, computer stops - still occur. They are only shorter - though still cumbersome. Generally at the beginning the interface works quickly, after some time it slows down and shows signs of loss. 2. There are still messages about the interface suspension. Because I use l= agg it looks like this: + [20445] re1: Interface stopped DISTRIBUTING, possible flapping + [48114] re0: Interface stopped DISTRIBUTING, possible flapping B. Regarding Alex's statements. This is a real problem. Of course, the "watchdog timeout" message itself is not harmful. The important thing is that the message in the function follows the reset a= nd re-initialisation of the interface - this unfortunately results in the loss= or partial destruction of transmitted files / frames (which unfortunately I ha= ve experienced many times). The application of version 1.93-1.94: is therefore of such a improvement t= hat not only does the message disappear (commented out from function - as Alex correctly writes), but the files are not damaged during the transmission (y= et to be checked!). Version 11.2-RELEASE - for me it certainly generates hundreds of messages "watchdog timeout" - but today I do not know if it prevents damage or loss = of transmitted data (to be checked).=20 I see: /* Cancel pending I/O and free all RX/TX buffers. */ re_stop(sc); /* Put controller into known state. */ re_reset(sc); It means: drop, loss transmitted information. C. However, I will not agree with Alex that it is good. Perhaps it is good = for a laptop, too little for the server. It is still terrible. D. Test 11.2 + 1.94 - I have not started yet. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 3 16:27:15 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 169CFFEDF78 for ; Mon, 3 Sep 2018 16:27:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AFF858B221 for ; Mon, 3 Sep 2018 16:27:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6C46EFEDF75; Mon, 3 Sep 2018 16:27:14 +0000 (UTC) Delivered-To: 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 5AEB2FEDF74 for ; Mon, 3 Sep 2018 16:27:14 +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 041498B21E for ; Mon, 3 Sep 2018 16:27:14 +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 3191A216D5 for ; Mon, 3 Sep 2018 16:27:13 +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 w83GRDXI082829 for ; Mon, 3 Sep 2018 16:27:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w83GRDWq082828 for net@FreeBSD.org; Mon, 3 Sep 2018 16:27:13 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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Mon, 03 Sep 2018 16:27:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: king.c.david@googlemail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.27 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, 03 Sep 2018 16:27:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 --- Comment #7 from David King --- Created attachment 196816 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196816&action= =3Dedit 11.2-STABLE Patch for EADDRINUSE --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 3 16:29:03 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 5F152FEE033 for ; Mon, 3 Sep 2018 16:29:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F33CD8B312 for ; Mon, 3 Sep 2018 16:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AC3A5FEE031; Mon, 3 Sep 2018 16:29:02 +0000 (UTC) Delivered-To: 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 9B1B2FEE030 for ; Mon, 3 Sep 2018 16:29:02 +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 3DC948B30F for ; Mon, 3 Sep 2018 16:29:02 +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 7CB49216DC for ; Mon, 3 Sep 2018 16:29:01 +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 w83GT19n084589 for ; Mon, 3 Sep 2018 16:29:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w83GT10m084586 for net@FreeBSD.org; Mon, 3 Sep 2018 16:29:01 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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Mon, 03 Sep 2018 16:29:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: king.c.david@googlemail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 03 Sep 2018 16:29:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 --- Comment #8 from David King --- I've tested this patch on 11.1 and 11.2 and it solves the EADDRINUSE error = we were seeing with multiple jails with the same IP address Have also been running jails with different IP's on the same box and didn't= see any new errors at all Attached the updated patch for 11.2-STABLE if someone could try to merge this back it would be great! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 3 21:06:54 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 488EDFF6ADF for ; Mon, 3 Sep 2018 21:06:54 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCB9376C8F for ; Mon, 3 Sep 2018 21:06:53 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: by mail-wm0-x241.google.com with SMTP id s12-v6so2324660wmc.0 for ; Mon, 03 Sep 2018 14:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=CFoDGqfyALSK13ClVAs+DCpD8EqgWAuXjdL+K5NbgbM=; b=ipNdSCNxxnjGHD1/KogFtSRITOYoE2YNyQnng1DLQh4/OHyMS6qRzFzVn/Lkj5HvZa EPJfWTRe4HEnc+5+fu1MP8gmzQRYyJgxprH7VtW+v1Ye9OMPRXLq0trkDmkS5iuRMxWs 59FRu4nr8Edfo4XvuygAfPggqChd+iyDHNUDZ8WX4JYBAQqftQvaBTHYEOE7IlwNS63c gjiY++4ajRg9jf8ky4L/MTCd9Hk6AIc2hGDmzG/7RsVqbDm8gqy7pPuukP+yQhqZKufi VUvUBk/jWEUmmpO0E8a4+s/SBqFm1lgkTD2IM8l+Ua0MDB03QKK/vCTK4vEY8YpHVuXm 5E7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=CFoDGqfyALSK13ClVAs+DCpD8EqgWAuXjdL+K5NbgbM=; b=PlTKKTCkNBrcJjx2QvOOkJQfUQSWmvLoqQVz8eh+I6IydhIxuL+tK8tbOni9w1lvRz vx6K1vnWAcy78t5Mn2hFeY7RXeneMvZxZFAHVfyMnwZGaSBKfxvea+Gu34eTx+1oRa/u uQXSvb8Dn7QL8RTyZWK30VKIYzGuUtJa0aH7rQlwRqIwf6sgZ5e+NFfInMecTy2muoFR kFwfWGEE4f/KAsUxxBS24ft32HUFgDtwgwvSSoSDs1lMBbdiXAYXQO6dadfrf4+HDolr eNek/G4mbYSOYpqNAam3XqvhnaT5k9/WcEPQG1SzAD413A3tMB97XvlwmUNgCDkJ/4eX dkXA== X-Gm-Message-State: APzg51D3HIOa3R8GtMcAR8+6623/ig+wloO9UBQFQnwiv5/jmqt5Caxr ZP3/TTeVqFHrd7mv//Um2M+MySvE X-Google-Smtp-Source: ANB0VdYe5YShRXhq4Is5A+0DGQIEsnfGtqytSGFf4y+VVB2D9iUypTGxOAXXfsU/39OxbZW3XS7NTw== X-Received: by 2002:a1c:c283:: with SMTP id s125-v6mr5679859wmf.158.1536008812297; Mon, 03 Sep 2018 14:06:52 -0700 (PDT) Received: from Sting-Ray.optiplex-networks.com (optiplexnetworks.plus.com. [212.159.80.17]) by smtp.gmail.com with ESMTPSA id w3-v6sm13557003wrn.16.2018.09.03.14.06.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 14:06:51 -0700 (PDT) To: freebsd-net@freebsd.org From: Kaya Saman Subject: iSCSI issues after upgrading to 11.2 x64 RELEASE Message-ID: <541494c3-d275-dee2-ff5e-8b276ef8d9d6@gmail.com> Date: Mon, 3 Sep 2018 22:06:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US-large X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 03 Sep 2018 21:06:54 -0000 Hi, I'm not sure what's going on but after running an upgrade from 11.1 to 11.2 I'm getting many iscsi errors. It actually gets so severe that it freezes the system. Dmesg is flooded with lines like this: (da25:iscsi2:0:0:1): WRITE(10). CDB: 2a 00 28 76 02 50 00 00 08 00 (da25:iscsi2:0:0:1): CAM status: SCSI Status Error (da25:iscsi2:0:0:1): SCSI status: Check Condition (da25:iscsi2:0:0:1): SCSI sense: UNIT ATTENTION asc:29,7 (I_T nexus loss occurred) (da25:iscsi2:0:0:1): Retrying command (per sense data) (da27:iscsi1:0:0:0): READ(16). CDB: 88 00 00 00 00 04 41 df 82 78 00 00 01 00 00 00 (da27:iscsi1:0:0:0): CAM status: SCSI Status Error (da27:iscsi1:0:0:0): SCSI status: Check Condition (da27:iscsi1:0:0:0): SCSI sense: UNIT ATTENTION asc:29,7 (I_T nexus loss occurred) (da27:iscsi1:0:0:0): Retrying command (per sense data) The upgrade actually turned into a fresh install since my zroot got corrupted after one of my mirrored disks died and I replaced the remaining original with a new one. The system originally was on 11.1 so the 'clean' reinstall went to 11.2. There is also quite high cpu interrupt I'm noticing too at a steady 25% though can go up to 75% with system load averages getting to above 40 from 'top' output. A little bit of digging around I came across this: https://lists.freebsd.org/pipermail/freebsd-net/2017-June/048293.html however, as mentioned below the 'loader' variables cause a complete system lockup. In 11.1 I had these variables set in /boot/loader.conf: #net.isr.numthreads=4 #net.isr.maxthreads=4 #net.isr.bindthreads=1 #net.isr.dispatch=deferred #hw.igb.max_interrupt_rate=64000 #net.inet.tcp.tcbhashsize=32000 #kern.ipc.nmbjumbo9=1280000 #kern.ipc.nmbjumbo16=1280000 #kern.ipc.nmbclusters=2000000 #kern.ipc.nmbjumbop=128000 after going to 11.2 the system will freeze and become totally unusable after a few hours of boot if I enable these values....?? Another thing I noticed in the dmesg a few times was this error: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219866 "ctl_datamove: tag 0x174e97 on (28:34:0) aborted" It has been reported though I am not sure if a fix has been pushed yet? My setup is as follows: routed network (LAN) -> lagg0 (lacp 4gb) -> server -> lagg1 (lacp 2gb) -> iscsi target 1                                                   |-> iscsi target 2 The NIC's are Intel based using igb kernel driver: igb0: flags=8843 metric 0 mtu 9000 options=6403bb The iscsi network is running on a separate isolated vlan which is not routed. Can anyone suggest anything to stop my system from completely locking up and becoming unresponsive? At the moment I'm not sure if switching to 'Stable' or 'Current' branches is a good solution? Regards, Kaya From owner-freebsd-net@freebsd.org Tue Sep 4 07:47:01 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 38DA4FE5C42 for ; Tue, 4 Sep 2018 07:47:01 +0000 (UTC) (envelope-from run00er@gmail.com) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FFAF8BDF0; Tue, 4 Sep 2018 07:47:00 +0000 (UTC) (envelope-from run00er@gmail.com) Received: by mail-lj1-x234.google.com with SMTP id p10-v6so2321112ljg.2; Tue, 04 Sep 2018 00:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=wk2XCZl80d7ldmM90dCWh9GOc+nNzG3/Qz0Yu+Yu76I=; b=h9xVVE8dbQ2lMv9bWuNdB7cjqNr4MpTTPQMBxfVY1L1oktPiCFGnNbIbu6LXhpXYrA kQrRVgZhs+zTXok20dOHV4Nh9W2qCbfSura8Fw0Nwpn6+23pmshzYQXgAKvGwUDZ8vpr 5iCf7J3bzk2ysr7Ew656814Twuagd9CpYOPQ4xh4c4F1cfrMCjrnpMmSDheFJe/NVD48 ayerM7CcvePy1McGKkpmVSfHEwspufe0tLD830NYkbhKtg6yMWiepN3XxrDDssHK8d9i aM8ZPzag6CaJygh10Sv6x8LRXHEb8iPLgF3r9zD3XuMzANeNM9Kr+gdIr9iRZcCBezKj HLdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=wk2XCZl80d7ldmM90dCWh9GOc+nNzG3/Qz0Yu+Yu76I=; b=UxqICZoOvlU2Ohmfk09eHlqWkdFFMaVx/WoMcmHZzhSvAGXu92XccDqjzD6vCWImmQ bZSzlGmRtUlwkAGLaZCHR5NU7LazodBRDKx28N5zYHVg8pS0mCTDQ3V8/Z+z7WIWjN+I +Fsrp2fIN0Q1p1dkkturxgsiziB/9NMTy3RvUlvUNMs6kgYOwNphOfT9nfThwjpWxvQr /mfg5f/GlYxsh9pA4/yukcbF++6IGm5f4IZ6om8PdxlA/PRdZ9Dkiwu06WIQhTP0Wmrv xsN3GHiDgRJ7A1feQZkuXuaJ4C2zT9mO5ioGurLfTJpNU8AvaafpYyTTf1fB9A9M17+6 yDXA== X-Gm-Message-State: APzg51CpFcuYQi+TVOUAzbLvKI783Ysw2C6jHBTS0FyuCcdNeaSKCnv1 Wn0hO197hm6gjNlRWaBMx3Pv2Fyp X-Google-Smtp-Source: ANB0VdYIVdL79jza4mUagRdbrhmBs10ERgzE2h9CDAXw1cHwRamtm2M1yb6fRe6UJrS37qeA7gSM+Q== X-Received: by 2002:a2e:7d10:: with SMTP id y16-v6mr18996155ljc.29.1536047219075; Tue, 04 Sep 2018 00:46:59 -0700 (PDT) Received: from [10.0.0.59] ([193.111.156.141]) by smtp.gmail.com with ESMTPSA id g133-v6sm3956536lfg.81.2018.09.04.00.46.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 00:46:58 -0700 (PDT) Subject: Re: Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 To: Eugene Grosbein , freebsd-net@freebsd.org, "Andrey V. Elsukov" References: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> <3439070c-a4cd-1f9b-a02b-dace4ed29bf3@grosbein.net> From: Runer Message-ID: Date: Tue, 4 Sep 2018 10:46:57 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <3439070c-a4cd-1f9b-a02b-dace4ed29bf3@grosbein.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Sep 2018 07:47:01 -0000 At your request Eugen, I fill in the Problem Report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231143 03.09.2018 12:33, Eugene Grosbein пишет: > 03.09.2018 14:02, Runer wrote: > >> *Hello Community! >> >> A situation has arisen in which ipfw fwd stops working when >> RTF_BLACKHOLE or RTF_REJECT, ROUTE (8), is enabled on Freebsd 11 release. >> ** >> >> FreeBSD 11.2-RELEASE-p1 route add default 127.0.0.1 -blackhole –iface ipfw show00100 30 4056 fwd 10.0.0.5 ip from table(1) to not 10.0.0.0/8 in via em0 The packet counter changes, but forwarding does not work.On FreeBSD 10 everything works fine. I suppose this is due to changes to forwarding -> fast forwarding by default in FreeBSD 11 and man ROUTE (8), “BUGS - unless IP fast forwarding is enabled, in which case the meaning of the flag will always be honored.” >> I want to know if it's possible to implement the work ipfw fwd together with RTF_BLACKHOLE on FreeBSD 11 as before in FreeBSD 10? Thank you in advance! >> >> *** > Can you fill a Problem Report using https://bugs.freebsd.org/bugzilla/enter_bug.cgi please? > And drop me PR's number in reply. > > From owner-freebsd-net@freebsd.org Tue Sep 4 07:53:13 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 E5B88FE605D for ; Tue, 4 Sep 2018 07:53:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7E90F8C303 for ; Tue, 4 Sep 2018 07:53:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 42C6FFE6054; Tue, 4 Sep 2018 07:53:12 +0000 (UTC) Delivered-To: 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 31BB7FE6053 for ; Tue, 4 Sep 2018 07:53:12 +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 C85538C2FA for ; Tue, 4 Sep 2018 07:53:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2149D1921 for ; Tue, 4 Sep 2018 07:53:11 +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 w847rAQD009363 for ; Tue, 4 Sep 2018 07:53:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w847rAuf009360 for net@FreeBSD.org; Tue, 4 Sep 2018 07:53:10 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: net@FreeBSD.org Subject: [Bug 231143] Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 Date: Tue, 04 Sep 2018 07:53:11 +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.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 04 Sep 2018 07:53:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 08:00:42 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 1F348FE6744 for ; Tue, 4 Sep 2018 08:00:42 +0000 (UTC) (envelope-from run00er@gmail.com) Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F6238C6B6 for ; Tue, 4 Sep 2018 08:00:41 +0000 (UTC) (envelope-from run00er@gmail.com) Received: by mail-lj1-x236.google.com with SMTP id 203-v6so2297347ljj.13 for ; Tue, 04 Sep 2018 01:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=tjo7TviUGBZATxhxjcqKvaThco+Eq6eRbTpn7cYke4I=; b=UtbssYgbRAVHdO/OgnYwCgKDbF95TZ7lQcLCav8w32gnsuhwvwACy8N+RhwwyMTaZT txevk4rn9Tffo92IQOzdsALNKYkM9xYTz+NyAB9fAklz1n2PDqHqdwKT7PQcS3A+RfyA F6MkXLjzKpDyuhUK2OLjeI6AB5gqq8VDpq2fKwVU6iz63T1ORJ2KWBXDMcjnZC24fKhd sE9lYizmxSSoI+ScNMMeM6A1TXpwGXvmmrzNiVzR4/FpME0EujIaCwcmK0Gn9GnZyxG4 cW4WZfRGZRRzMUdzH1eotdMVF07deZ73pq0gcNwJV1L5iErLn1S10bpOgzqIxjA25bVp g5vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=tjo7TviUGBZATxhxjcqKvaThco+Eq6eRbTpn7cYke4I=; b=IfRfpdlCvi0hJrzNbCzxuWgSaf5/69NYHc1uaBa4w4Uz+mOQVjhhhS1/eomBOBaQCx l2PSypnHXbcMzBcuymUVDVBjYqeOGYO5VlxC9RXrs+j/Y58GP8/wzgSvNTCv4X6qEIYr OjG6o5smZlCeBh+VKDVOM6SFYhOxETvG79BOn4e3/7nbKJx4paqq3421YKRNdUSxgBO8 m5sG0298IN/TfVKsBWrOz9qRiwPRjXB98YWL5nSRj7xhr1+qUPnYFyoPVUCTzUb7Lp40 ZoSZ9GrSSRdTv5WiUwoGMA+IFV2Q6Bxh3W0INQuqlpQlW79yqQn29nnGdGmghkAGIncO 7x6w== X-Gm-Message-State: APzg51B6ieJIK1z4nwHVHd1VDfAmv2e9x67wXh3OiUbx+KKnyhfI02FM etMT9MNdAfG/YSVnc7/qXHtocDIN X-Google-Smtp-Source: ANB0VdZ5J1owsRXXvLMzz8KCmhYDxpy8vJWAmDvauJ6+f4MbB1lMxL9G/9oY67x1/R0eOnDpiCrI5Q== X-Received: by 2002:a2e:350b:: with SMTP id z11-v6mr20432127ljz.55.1536048039724; Tue, 04 Sep 2018 01:00:39 -0700 (PDT) Received: from [10.0.0.59] ([193.111.156.141]) by smtp.gmail.com with ESMTPSA id b15-v6sm3981601lfg.18.2018.09.04.01.00.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 01:00:38 -0700 (PDT) Subject: Re: Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 To: Eugene Grosbein , freebsd-net@freebsd.org References: <99f99bf0-59ef-11e7-d1a4-c34a40492308@gmail.com> <10c4591a-3d82-bddb-093d-a73da1d9b2b8@grosbein.net> From: Runer Message-ID: Date: Tue, 4 Sep 2018 11:00:38 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <10c4591a-3d82-bddb-093d-a73da1d9b2b8@grosbein.net> Content-Language: ru Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Sep 2018 08:00:42 -0000 Thank you Еugen for your reply. You have very clearly explained how to disable fast forwarding via kernel ipsec. From myself I will add. On this object (Server), the priority is in favor of fast forwarding. Filtering ICMP packets I will make ipfw rules.I think that even with the use of ipfw filter rules ICMP type, the speed of forwarding packets will not be lower than using "old forwarding". But still!Always want to use the most "ideal )" scheme for solving a specific problem. And in My specific case ipfw fwd + RTF_BLACKHOLE + fast forwarding would be very useful. I hope you Eugen understood what I mean! Once again many thanks for your time and help. 03.09.2018 13:12, Eugene Grosbein пишет: > 03.09.2018 14:02, Runer wrote: >> *Hello Community! >> >> A situation has arisen in which ipfw fwd stops working when >> RTF_BLACKHOLE or RTF_REJECT, ROUTE (8), is enabled on Freebsd 11 release. >> ** >> >> FreeBSD 11.2-RELEASE-p1 route add default 127.0.0.1 -blackhole –iface ipfw show00100 30 4056 fwd 10.0.0.5 ip from table(1) to not 10.0.0.0/8 in via em0 The packet counter changes, but forwarding does not work.On FreeBSD 10 everything works fine. I suppose this is due to changes to forwarding -> fast forwarding by default in FreeBSD 11 and man ROUTE (8), “BUGS - unless IP fast forwarding is enabled, in which case the meaning of the flag will always be honored.” >> I want to know if it's possible to implement the work ipfw fwd together with RTF_BLACKHOLE on FreeBSD 11 as before in FreeBSD 10? Thank you in advance! >> >> *** > As temporary workaround, you still can disable fast forwarding path: > > - make sure you use GENERIC kernel or your custom kernel has "options IPSEC_SUPPORT" like GENERIC has; > - load ipsec kernel module by means of /boot/loader.conf or /etc/rc.conf; > - add dummy security policy: > > printf "flush;\nspdflush;\n\nspdadd 100.64.0.1/32 100.64.0.2/32 esp -P out none;\n" > /etc/ipsec.conf > > It does nothing but prevents a kernel from using fast forwarding path for 11.2 > > From owner-freebsd-net@freebsd.org Tue Sep 4 12:25:00 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 A1CF1FED752 for ; Tue, 4 Sep 2018 12:25:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3EDBA95135 for ; Tue, 4 Sep 2018 12:25:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 03E2CFED751; Tue, 4 Sep 2018 12:25:00 +0000 (UTC) Delivered-To: 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 E6C6CFED74E for ; Tue, 4 Sep 2018 12:24:59 +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 883F895133 for ; Tue, 4 Sep 2018 12:24:59 +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 D6ED14318 for ; Tue, 4 Sep 2018 12:24:58 +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 w84COwdh077282 for ; Tue, 4 Sep 2018 12:24:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84COwTf077281 for net@FreeBSD.org; Tue, 4 Sep 2018 12:24:58 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: net@FreeBSD.org Subject: [Bug 231143] Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 Date: Tue, 04 Sep 2018 12:24:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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.27 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, 04 Sep 2018 12:25:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |ae@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 12:26:38 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 21CC2FED84D for ; Tue, 4 Sep 2018 12:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B311795292 for ; Tue, 4 Sep 2018 12:26:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 785ECFED849; Tue, 4 Sep 2018 12:26:37 +0000 (UTC) Delivered-To: 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 6725EFED848 for ; Tue, 4 Sep 2018 12:26:37 +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 084B895288 for ; Tue, 4 Sep 2018 12:26:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 566EB431D for ; Tue, 4 Sep 2018 12:26:36 +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 w84CQaqL079140 for ; Tue, 4 Sep 2018 12:26:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84CQacq079139 for net@FreeBSD.org; Tue, 4 Sep 2018 12:26:36 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: net@FreeBSD.org Subject: [Bug 231143] Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 Date: Tue, 04 Sep 2018 12:26:36 +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.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.27 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, 04 Sep 2018 12:26:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 --- Comment #2 from Eugene Grosbein --- Created attachment 196851 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196851&action= =3Dedit proposed fix Please test the patch fixing the problem: fetch it, run "cd /usr/src && pat= ch < /path/to/patch", rebuild and reinstall the kernel, reboot and re-test. It should just work. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 12: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 7A571FEDB2B for ; Tue, 4 Sep 2018 12:30:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1741E95629 for ; Tue, 4 Sep 2018 12:30:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CCD5BFEDB2A; Tue, 4 Sep 2018 12:30:26 +0000 (UTC) Delivered-To: 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 BB730FEDB29 for ; Tue, 4 Sep 2018 12:30: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 47F5C95625 for ; Tue, 4 Sep 2018 12:30:26 +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 A4FE8432C for ; Tue, 4 Sep 2018 12:30:25 +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 w84CUP4i090781 for ; Tue, 4 Sep 2018 12:30:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84CUPpM090770 for net@FreeBSD.org; Tue, 4 Sep 2018 12:30:25 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: net@FreeBSD.org Subject: [Bug 231143] Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 Date: Tue, 04 Sep 2018 12:30:25 +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.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 04 Sep 2018 12:30:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196851|0 |1 is obsolete| | --- Comment #3 from Eugene Grosbein --- Created attachment 196852 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196852&action= =3Dedit proposed fix re-add same patch with proper paths added --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 13:51:08 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 88EF5FEF78B for ; Tue, 4 Sep 2018 13:51:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 24882701C5 for ; Tue, 4 Sep 2018 13:51:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DCFADFEF788; Tue, 4 Sep 2018 13:51:07 +0000 (UTC) Delivered-To: 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 CA153FEF787 for ; Tue, 4 Sep 2018 13:51: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 6BAD0701BE for ; Tue, 4 Sep 2018 13:51:07 +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 C9B164E89 for ; Tue, 4 Sep 2018 13:51:06 +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 w84Dp6N7022229 for ; Tue, 4 Sep 2018 13:51:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84Dp6V1022228 for net@FreeBSD.org; Tue, 4 Sep 2018 13:51:06 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: net@FreeBSD.org Subject: [Bug 231143] Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 Date: Tue, 04 Sep 2018 13:51:06 +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.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ipfw@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords 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.27 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, 04 Sep 2018 13:51:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |ipfw@FreeBSD.org Keywords| |patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 13:51:33 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 6D14AFEF7C8 for ; Tue, 4 Sep 2018 13:51:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5CE70297 for ; Tue, 4 Sep 2018 13:51:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C4401FEF7C5; Tue, 4 Sep 2018 13:51:32 +0000 (UTC) Delivered-To: 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 B30C7FEF7C4 for ; Tue, 4 Sep 2018 13:51:32 +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 5685B7028F for ; Tue, 4 Sep 2018 13:51:32 +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 B55414E9F for ; Tue, 4 Sep 2018 13:51:31 +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 w84DpVA2024614 for ; Tue, 4 Sep 2018 13:51:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84DpVkF024613 for net@FreeBSD.org; Tue, 4 Sep 2018 13:51:31 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: net@FreeBSD.org Subject: [Bug 231144] fragmented IPv6 drops Date: Tue, 04 Sep 2018 13:51:31 +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.2-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: 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.27 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, 04 Sep 2018 13:51:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231144 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 13:53:00 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 69D7FFEFA81 for ; Tue, 4 Sep 2018 13:53:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 07B4C7057E for ; Tue, 4 Sep 2018 13:53:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C046DFEFA7D; Tue, 4 Sep 2018 13:52:59 +0000 (UTC) Delivered-To: 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 AEFE3FEFA7C for ; Tue, 4 Sep 2018 13:52:59 +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 515607057B for ; Tue, 4 Sep 2018 13:52:59 +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 AF8A24FD3 for ; Tue, 4 Sep 2018 13:52:58 +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 w84Dqwqi032225 for ; Tue, 4 Sep 2018 13:52:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84DqwSH032224 for net@FreeBSD.org; Tue, 4 Sep 2018 13:52:58 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: net@FreeBSD.org Subject: [Bug 231151] ifconfig: unable to disable rxcsum, rxcsum6 and vlanhwcsum on em driver Date: Tue, 04 Sep 2018 13:52:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking 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: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.27 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, 04 Sep 2018 13:53:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231151 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbruno@FreeBSD.org Keywords| |IntelNetworking Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 14:14:55 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 3D443FF06F8 for ; Tue, 4 Sep 2018 14:14:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CFC81714EC for ; Tue, 4 Sep 2018 14:14:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 93DE2FF06F6; Tue, 4 Sep 2018 14:14:54 +0000 (UTC) Delivered-To: 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 82BFFFF06F5 for ; Tue, 4 Sep 2018 14:14:54 +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 25D92714E5 for ; Tue, 4 Sep 2018 14:14:54 +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 737FA5291 for ; Tue, 4 Sep 2018 14:14:53 +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 w84EEr8I097061 for ; Tue, 4 Sep 2018 14:14:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84EErh5097060 for net@FreeBSD.org; Tue, 4 Sep 2018 14:14:53 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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Tue, 04 Sep 2018 14:14:53 +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.2-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pi@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version 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.27 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, 04 Sep 2018 14:14:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 Kurt Jaeger changed: What |Removed |Added ---------------------------------------------------------------------------- Version|10.3-STABLE |11.2-STABLE --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 14:15:13 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 17C07FF0756 for ; Tue, 4 Sep 2018 14:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AA18271526 for ; Tue, 4 Sep 2018 14:15:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6E07BFF0755; Tue, 4 Sep 2018 14:15:12 +0000 (UTC) Delivered-To: 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 5CD17FF074B for ; Tue, 4 Sep 2018 14:15:12 +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 F3EE571525 for ; Tue, 4 Sep 2018 14:15:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4D328529A for ; Tue, 4 Sep 2018 14:15:11 +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 w84EFBne097746 for ; Tue, 4 Sep 2018 14:15:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84EFBUZ097745 for net@FreeBSD.org; Tue, 4 Sep 2018 14:15:11 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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Tue, 04 Sep 2018 14:15: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: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pi@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version 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.27 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, 04 Sep 2018 14:15:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 Kurt Jaeger changed: What |Removed |Added ---------------------------------------------------------------------------- Version|11.2-STABLE |CURRENT --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 14:44:17 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 C69F4FF16E1 for ; Tue, 4 Sep 2018 14:44:17 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6BD6D726BD for ; Tue, 4 Sep 2018 14:44:17 +0000 (UTC) (envelope-from zec@fer.hr) Received: by mailman.ysv.freebsd.org (Postfix) id 2C8A8FF16DF; Tue, 4 Sep 2018 14:44:17 +0000 (UTC) Delivered-To: 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 1B42AFF16DD for ; Tue, 4 Sep 2018 14:44:17 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mail.fer.hr (mail.fer.hr [161.53.72.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.fer.hr", Issuer "TERENA SSL CA 3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99148726BC for ; Tue, 4 Sep 2018 14:44:16 +0000 (UTC) (envelope-from zec@fer.hr) Received: from x23 (31.147.123.108) by MAIL.fer.hr (161.53.72.233) with Microsoft SMTP Server (TLS) id 14.3.399.0; Tue, 4 Sep 2018 16:43:04 +0200 Date: Tue, 4 Sep 2018 16:43:03 +0200 From: Marko Zec To: John-Mark Gurney CC: Vincenzo Maffione , Luigi Rizzo , "freebsd-net@freebsd.org" Subject: Re: vale and netmap module questions Message-ID: <20180904164303.68c43b6e@x23> In-Reply-To: <20180901211123.GZ45503@funkthat.com> References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [31.147.123.108] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Sep 2018 14:44:17 -0000 On Sat, 1 Sep 2018 14:11:23 -0700 John-Mark Gurney wrote: > Vincenzo Maffione wrote this message on Sat, Sep 01, 2018 at 22:25 > +0200: ... > > On x86_64 netmap is not built as a module, so everything works > > fine. I don't see any reason why it should be a module in aarch64. > > Well, sys/modules/netmap exists... If it isn't planned on ever being > made to work, it should be removed so people don't get confused, or > at least marked broken so it doesn't get built... > > I built it manually because it was quicker than recompiling an entire > kernel and rebooting... Hi John-Mark, out of curiosity I tested all four kernel config combinations with "device netmap" and "options VIMAGE" being on and off (both are on by default now in GENERIC) on amd64 @r338446, and found that kldloading netmap.ko can't provoke a panic. Was there a particular sequence of commands issued after kldloading netmap which led to the crash you reported earlier? Nevertheless, note that building the kernel without "device netmap" is borderline pointless even if netmap core built as a kld module works, as this will result in all the drivers being built without the required netmap bits, which means they will only work in the painfully slow "emulation" mode with netmap. Perhaps the panic you stepped into was related to the emulation mode being used with netmap, instead of using the native netmap hooks in device drivers? Or maybe was it vale + VNET related? Marko From owner-freebsd-net@freebsd.org Tue Sep 4 16:46:55 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 2B001FF4C2F for ; Tue, 4 Sep 2018 16:46:55 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BD36876BAB for ; Tue, 4 Sep 2018 16:46:54 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: by mailman.ysv.freebsd.org (Postfix) id 80D68FF4C2E; Tue, 4 Sep 2018 16:46:54 +0000 (UTC) Delivered-To: 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 5EC55FF4C2D for ; Tue, 4 Sep 2018 16:46:54 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1ED4976BAA for ; Tue, 4 Sep 2018 16:46:52 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id w84GSGIt085939 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 4 Sep 2018 09:28:17 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id w84GSFFh085938; Tue, 4 Sep 2018 09:28:15 -0700 (PDT) (envelope-from jmg) Date: Tue, 4 Sep 2018 09:28:15 -0700 From: John-Mark Gurney To: Marko Zec Cc: Vincenzo Maffione , Luigi Rizzo , "freebsd-net@freebsd.org" Subject: Re: vale and netmap module questions Message-ID: <20180904162815.GA75530@funkthat.com> Mail-Followup-To: Marko Zec , Vincenzo Maffione , Luigi Rizzo , "freebsd-net@freebsd.org" References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> <20180904164303.68c43b6e@x23> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180904164303.68c43b6e@x23> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Tue, 04 Sep 2018 09:28:17 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Sep 2018 16:46:55 -0000 Marko Zec wrote this message on Tue, Sep 04, 2018 at 16:43 +0200: > On Sat, 1 Sep 2018 14:11:23 -0700 > John-Mark Gurney wrote: > > Vincenzo Maffione wrote this message on Sat, Sep 01, 2018 at 22:25 > > +0200: > ... > > > On x86_64 netmap is not built as a module, so everything works > > > fine. I don't see any reason why it should be a module in aarch64. > > > > Well, sys/modules/netmap exists... If it isn't planned on ever being > > made to work, it should be removed so people don't get confused, or > > at least marked broken so it doesn't get built... > > > > I built it manually because it was quicker than recompiling an entire > > kernel and rebooting... > > Hi John-Mark, > > out of curiosity I tested all four kernel config combinations with > "device netmap" and "options VIMAGE" being on and off (both are on by > default now in GENERIC) on amd64 @r338446, and found that kldloading > netmap.ko can't provoke a panic. Was there a particular sequence of > commands issued after kldloading netmap which led to the crash you > reported earlier? Nope. I would kldload netmap, and then run the tcpdump command listed in the original report, and it would just panic... Also note that my panic was on arm64, NOT amd64.. so it could be something platform specific... > Nevertheless, note that building the kernel without "device netmap" is > borderline pointless even if netmap core built as a kld module works, as > this will result in all the drivers being built without the required > netmap bits, which means they will only work in the painfully slow > "emulation" mode with netmap. I was only doing it to test something out quickly.. > Perhaps the panic you stepped into was related to the emulation mode > being used with netmap, instead of using the native netmap hooks in > device drivers? Or maybe was it vale + VNET related? All I know was that it was the arm64 GENERIC kernel + module netmap + running tcpdump w/ that command... Nothing special configured, just a single ethernet interface configured w/ DHCP. No firewall configured, just sshd and ntpd enabled.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Tue Sep 4 16:57:04 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 D8D45FF5225 for ; Tue, 4 Sep 2018 16:57:03 +0000 (UTC) (envelope-from ryan@ixsystems.com) Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 377DE77518 for ; Tue, 4 Sep 2018 16:57:03 +0000 (UTC) (envelope-from ryan@ixsystems.com) Received: by mail-pl1-x642.google.com with SMTP id f6-v6so1919725plo.1 for ; Tue, 04 Sep 2018 09:57:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixsystems-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=feaZceK6syH0AD3wLB+VtwpEO5ziI6s1WtwYxzKdcTo=; b=m1+btNYdfMGwWEzjh9t+xo6Xxkwl/xh2evN7o7abch/NXWqVT+XiHSwqVWI9k4ht+4 GJNpFdSDPjaWsZ0m8As6HXORz3xaM9IOCHpOOv1MwpkV3nsvh9CBrEbApIAj52RyHrGX uUlvnwGr5qWlKFOWyHDuT4Z7Sl1Y5DYJemToCAHNKitKN82949D3h0puCmbmCEumIpiH 0GAT4T2MA5qOtRrvluaiRWy0Pi7MxMBsk/Fz729YLJ5f7Qyrguo63gxrMrCS+MfKIqxM 02ijVpBUxS2LPRBGdwmsBgYwE0rFKQ0+t+gsxZ8g1i/DVVkKici4yq6DwyAg38kXWHRg uXQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=feaZceK6syH0AD3wLB+VtwpEO5ziI6s1WtwYxzKdcTo=; b=CuP7jB+1F7HvHOKRakYbiU8x0XjIQnGlt6AtdO/Gv3w4Fliz7z5JvjTvLaPfeghsT8 MBwezVjOlXvjYqbzS2pCjHvHY1wa9yQOTXsNWMMDu7oG8M4BV84evXQy/d9QEKCVjj0o eu9GHHgjLuC/D8HE4VG+EVN8sknxplBMyQ3Xqp4JxDraNje+rzpfIoSs/SsgxD6LNkQe LpNywPY+xhu/nQtfRWWBamByXiWupYt1ZSA8u3HboYK3Zqwwx/jKYbMA/3Lk1oGxwmud tCbrg8d56QxJa0t415A+mvbuxq8oZ8aTvpuZ5g2mS8v8ItJIw76zAwgX62AxHOv3R21H YvGQ== X-Gm-Message-State: APzg51A+KD1mQJaf+vUs35L1C/G/8RZlaSYWG6QScPH6/kJA3eNGaemx AIvSbls8cIn+wBjNQ4/FthgmV+DhA3HedzMAqT6O0Kq6yFewGV6qHv65Dfv8aHwcylx26GHcsMM gkH4AUVJEDYKdlsD2AvdHsGQEE7h+S3a/yRmpUA3ztTWOsFkcAmI69meJPN7D5IJCzw== X-Google-Smtp-Source: ANB0VdY1PiqM45EZ226evdPB9fRRAY4S7A1pz5rAsVlNmpD6JTM7+Tup5QvGbBAtSWItHWRIjUb6EA== X-Received: by 2002:a17:902:24d:: with SMTP id 71-v6mr26355413plc.91.1536080222176; Tue, 04 Sep 2018 09:57:02 -0700 (PDT) Received: from [10.0.0.116] (c-67-160-253-209.hsd1.ca.comcast.net. [67.160.253.209]) by smtp.gmail.com with ESMTPSA id s16-v6sm28564053pfm.114.2018.09.04.09.57.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 09:57:01 -0700 (PDT) From: Ryan Moeller Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: iSCSI issues after upgrading to 11.2 x64 RELEASE Date: Tue, 4 Sep 2018 09:57:00 -0700 References: <541494c3-d275-dee2-ff5e-8b276ef8d9d6@gmail.com> To: freebsd-net@freebsd.org In-Reply-To: <541494c3-d275-dee2-ff5e-8b276ef8d9d6@gmail.com> Message-Id: <0C437CBE-E525-4277-9315-6205206CDBB7@ixsystems.com> X-Mailer: Apple Mail (2.3445.9.1) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Sep 2018 16:57:04 -0000 > The NIC's are Intel based using igb kernel driver: >=20 > igb0: flags=3D8843 metric 0 = mtu 9000 > = options=3D6403bb I see your MTU is 9000, and as described by the other thread you linked = to, there are issues with 9k jumbo cluster allocation. Some detailed notes are here, but the quick summary is: set MTU < 4096 https://gist.github.com/freqlabs/eba9b755f17a223260246becfbb150a1 > Can anyone suggest anything to stop my system from completely locking = up and becoming unresponsive? > At the moment I'm not sure if switching to 'Stable' or 'Current' = branches is a good solution? The problem has been mitigated for a while on 12-CURRENT, so that might = be worth trying. Otherwise I=E2=80=99ve been hoping a committer will put = this fix in 11-STABLE, but in the meantime you could manually apply the = patch: https://reviews.freebsd.org/D16534 - Ryan= From owner-freebsd-net@freebsd.org Tue Sep 4 17:08:57 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 47E38FF57DD for ; Tue, 4 Sep 2018 17:08:57 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (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 C6F7577B67 for ; Tue, 4 Sep 2018 17:08:56 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w84H8dg1081149 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 4 Sep 2018 19:08:40 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: ryan@ixsystems.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w84H8Q7S081391 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 5 Sep 2018 00:08:26 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: iSCSI issues after upgrading to 11.2 x64 RELEASE To: Ryan Moeller , freebsd-net@freebsd.org References: <541494c3-d275-dee2-ff5e-8b276ef8d9d6@gmail.com> <0C437CBE-E525-4277-9315-6205206CDBB7@ixsystems.com> From: Eugene Grosbein Message-ID: Date: Wed, 5 Sep 2018 00:08:22 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <0C437CBE-E525-4277-9315-6205206CDBB7@ixsystems.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains 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.27 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, 04 Sep 2018 17:08:57 -0000 04.09.2018 23:57, Ryan Moeller wrote: >> The NIC's are Intel based using igb kernel driver: >> >> igb0: flags=8843 metric 0 mtu 9000 >> options=6403bb > > I see your MTU is 9000, and as described by the other thread you linked to, there are issues with 9k jumbo cluster allocation. > Some detailed notes are here, but the quick summary is: set MTU < 4096 > https://gist.github.com/freqlabs/eba9b755f17a223260246becfbb150a1 > >> Can anyone suggest anything to stop my system from completely locking up and becoming unresponsive? >> At the moment I'm not sure if switching to 'Stable' or 'Current' branches is a good solution? > > The problem has been mitigated for a while on 12-CURRENT, so that might be worth trying. Otherwise I’ve been hoping a committer will put this fix in 11-STABLE, but in the meantime you could manually apply the patch: > https://reviews.freebsd.org/D16534 Intel NIC users also should be aware of chip hardware problems while dealing with 9k MTU, like documented here: https://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/i218-i219-ethernet-connection-spec-update.pdf In short, Intel does not recommend MTU over 8500. From owner-freebsd-net@freebsd.org Tue Sep 4 18:00: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 4E28EFF6D7E for ; Tue, 4 Sep 2018 18:00:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DD93879AE6 for ; Tue, 4 Sep 2018 18:00:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A2D19FF6D7C; Tue, 4 Sep 2018 18:00:52 +0000 (UTC) Delivered-To: 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 91B6CFF6D7B for ; Tue, 4 Sep 2018 18:00:52 +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 3104979ADC for ; Tue, 4 Sep 2018 18:00:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 57B997183 for ; Tue, 4 Sep 2018 18:00:51 +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 w84I0pFx096833 for ; Tue, 4 Sep 2018 18:00:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84I0pbN096824 for net@FreeBSD.org; Tue, 4 Sep 2018 18:00:51 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: net@FreeBSD.org Subject: [Bug 148807] [panic] "panic: sbdrop" and "panic: sbsndptr: sockbuf _ and mbuf _ clashing" (8.1-RELEASE/10.1-STABLE/11-CURRENT) Date: Tue, 04 Sep 2018 18:00:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not Enough Information X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: see_also 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.27 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, 04 Sep 2018 18:00:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D148807 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 182 | |70 CC| |emaste@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 18:00:55 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 BA031FF6D83 for ; Tue, 4 Sep 2018 18:00:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 56DC579AFC for ; Tue, 4 Sep 2018 18:00:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1BFC8FF6D82; Tue, 4 Sep 2018 18:00:55 +0000 (UTC) Delivered-To: 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 0AE1EFF6D81 for ; Tue, 4 Sep 2018 18:00:55 +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 A06F979AF7 for ; Tue, 4 Sep 2018 18:00:54 +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 EF1BC7193 for ; Tue, 4 Sep 2018 18:00:53 +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 w84I0r5T098170 for ; Tue, 4 Sep 2018 18:00:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w84I0rjs098160 for net@FreeBSD.org; Tue, 4 Sep 2018 18:00:53 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: net@FreeBSD.org Subject: [Bug 218270] panic: sbsndptr: sockbuf (...) and mbuf (...) clashing Date: Tue, 04 Sep 2018 18:00:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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.27 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, 04 Sep 2018 18:00:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218270 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D1= 488 | |07 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 4 18:20: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 79FA1FF7A40 for ; Tue, 4 Sep 2018 18:20:53 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 12F0A7AB36 for ; Tue, 4 Sep 2018 18:20:53 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id CC37DFF7A3F; Tue, 4 Sep 2018 18:20:52 +0000 (UTC) Delivered-To: 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 90B3DFF7A3D for ; Tue, 4 Sep 2018 18:20:52 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com [IPv6:2607:f8b0:400d:c0d::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E1117AB32 for ; Tue, 4 Sep 2018 18:20:52 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qt0-x22b.google.com with SMTP id h4-v6so5102583qtj.7 for ; Tue, 04 Sep 2018 11:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ftpU4I5MCFF0fKJXfQbBxWm+xNOboRmhVe6/ayIMCKI=; b=T6wNWZGa3YrprGcJlKkaXq4XYwVAqJI8FB0UvSu9B5NaVTHwQr3jvyRnq5AiPHwNDs kXQv08bGUuPF1VdOu+XHJhzKDf0mMJVo5y5VHS5/WNxGuY8kZxQaOGYW8aGVpPZnLaPu wb4WDzrZeF+URBvzUVkW3h9kDeJY/sZ30+SxbImAavslEkWCuefWQNsZi4+H3aQoKUQ+ ZTNzDPBvOka2U79WfthcH6NDeqs6vnxOkRTRsWJ0ObaGePmvo7w0uwa1eFjSHt4S2fva utwr4moWwaYq0NYpycEiMnN+HMevnSVSa+y1CDvnrg5mFmN0oCH4VueHcutyySN8BN3V 9mww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ftpU4I5MCFF0fKJXfQbBxWm+xNOboRmhVe6/ayIMCKI=; b=fN1IB+GhEIV8UbOHULZVD54YndPbpPJHGB1kBRP43uHaiXGR70Gk0dwS9mTrAfh+uP CUFZYbrdyV4A205CMPjT+/gYlvY1ZGZB7YhqD5h3B3izTKPGwfsEL40Li5T30OI+jYn+ FZnf0VcdGS4AmmLGS2PbINW4KhXxAVlU5s0mRmzmRsyM4kq2KJr/kZ/vfmYH2trRI7qj 1OHIAIzLri0FRzbpbPrmhmPuED+p0RuvtjCGJ3G4oOvy3gjRCX5OW3FmpsurbGmfid72 XHBdSiOe1O+bMTsbPM2FdFtrMljunmLQ7NwihoFgmnKOujdoJp+hjTVaxJeO7tUV2VdO xgSg== X-Gm-Message-State: APzg51DjN7PVi+JmiTgsOz9vg0AcYM6vm8Tus7LHEivX0x7kwQhvlVUB hGjXEYof/GyuSXZWz05RJ4UQWoAkWd++GzaQSvMc8FLB X-Google-Smtp-Source: ANB0VdYl4ZS52AWQUrL5CDrWqgvHnOYy/zY+9x62wt0y6jgGfdFaJglFtvEP/5bgp+sG654TsJ9QYSlvG7Hw6Z5VVpQ= X-Received: by 2002:a0c:fa08:: with SMTP id q8-v6mr28720650qvn.179.1536085251516; Tue, 04 Sep 2018 11:20:51 -0700 (PDT) MIME-Version: 1.0 References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> <20180904164303.68c43b6e@x23> <20180904162815.GA75530@funkthat.com> In-Reply-To: <20180904162815.GA75530@funkthat.com> From: Vincenzo Maffione Date: Tue, 4 Sep 2018 20:18:29 +0200 Message-ID: Subject: Re: vale and netmap module questions To: Marko Zec , Luigi Rizzo , "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Sep 2018 18:20:53 -0000 Hi, I don't think the panic depends on the architecture. Also, it does not depend on using emulated mode or not. We have seen this happening on x86_64 on FreeBSD 12 head. As John-Mark says, kdloading netmap.ko is not enough. You need to open a netmap port corresponding to any network interface, e.g. # pkt-gen -i eth0 because this will trigger ifunit_ref() in the kernel (netmap tries to grab the interface called "eth0"). The ifunit_ref() panics and we still need to figure out why. Cheers, Vincenzo Il giorno mar 4 set 2018 alle ore 18:28 John-Mark Gurney ha scritto: > Marko Zec wrote this message on Tue, Sep 04, 2018 at 16:43 +0200: > > On Sat, 1 Sep 2018 14:11:23 -0700 > > John-Mark Gurney wrote: > > > Vincenzo Maffione wrote this message on Sat, Sep 01, 2018 at 22:25 > > > +0200: > > ... > > > > On x86_64 netmap is not built as a module, so everything works > > > > fine. I don't see any reason why it should be a module in aarch64. > > > > > > Well, sys/modules/netmap exists... If it isn't planned on ever being > > > made to work, it should be removed so people don't get confused, or > > > at least marked broken so it doesn't get built... > > > > > > I built it manually because it was quicker than recompiling an entire > > > kernel and rebooting... > > > > Hi John-Mark, > > > > out of curiosity I tested all four kernel config combinations with > > "device netmap" and "options VIMAGE" being on and off (both are on by > > default now in GENERIC) on amd64 @r338446, and found that kldloading > > netmap.ko can't provoke a panic. Was there a particular sequence of > > commands issued after kldloading netmap which led to the crash you > > reported earlier? > > Nope. I would kldload netmap, and then run the tcpdump command listed > in the original report, and it would just panic... > > Also note that my panic was on arm64, NOT amd64.. so it could be > something platform specific... > > > Nevertheless, note that building the kernel without "device netmap" is > > borderline pointless even if netmap core built as a kld module works, as > > this will result in all the drivers being built without the required > > netmap bits, which means they will only work in the painfully slow > > "emulation" mode with netmap. > > I was only doing it to test something out quickly.. > > > Perhaps the panic you stepped into was related to the emulation mode > > being used with netmap, instead of using the native netmap hooks in > > device drivers? Or maybe was it vale + VNET related? > > All I know was that it was the arm64 GENERIC kernel + module netmap > + running tcpdump w/ that command... Nothing special configured, just > a single ethernet interface configured w/ DHCP. No firewall configured, > just sshd and ntpd enabled.. > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > -- Vincenzo From owner-freebsd-net@freebsd.org Wed Sep 5 05:15:01 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 649EBFE3AE4 for ; Wed, 5 Sep 2018 05:15:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 02112718A4 for ; Wed, 5 Sep 2018 05:15:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BBA87FE3AE3; Wed, 5 Sep 2018 05:15:00 +0000 (UTC) Delivered-To: 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 AA911FE3AE1 for ; Wed, 5 Sep 2018 05:15:00 +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 4C516718A2 for ; Wed, 5 Sep 2018 05:15:00 +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 9A7111526C for ; Wed, 5 Sep 2018 05:14:59 +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 w855ExT9049007 for ; Wed, 5 Sep 2018 05:14:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w855ExSb049006 for net@FreeBSD.org; Wed, 5 Sep 2018 05:14:59 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: net@FreeBSD.org Subject: [Bug 231143] Ipfw fwd with route(8) RTF_BLACKHOLE and fast forwarding on FreeBSD 11 Date: Wed, 05 Sep 2018 05:14:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@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.27 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, 05 Sep 2018 05:15:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 05:46:51 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 97C73FE45E9 for ; Wed, 5 Sep 2018 05:46:51 +0000 (UTC) (envelope-from james.blachly@gmail.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26DF0726EC for ; Wed, 5 Sep 2018 05:46:51 +0000 (UTC) (envelope-from james.blachly@gmail.com) Received: by mail-it0-x230.google.com with SMTP id p79-v6so8336022itp.3 for ; Tue, 04 Sep 2018 22:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=DEl22AHM0fCsFuWETROzcYa272nKElcsAHj+68/kVI8=; b=NjCO9F4I+qWh54bRN+bC8MK+o8EFHenaiKJyeTPlG+EP5/ZlNaFBYk+8T23mCl1g3Y 1l7wP7KN3KKVYC3Xu+5g9WITU9qpP5bdpEXFfiGlRlIrgp642CEr0+DyJ4ZYSUfhm4G2 DqIyApDGQo3NKoWJ2cN2dNFjvZ0rB2qnJYXYs4fcSOLRT8OPHVrxq6DwnblDnLYS2yoo xgt2MLNZlheIaXt40csQImwGHFZctXNODCOMcsFx3AGB8Q+lIev2N+zOOK5jYVePPDnF sLCvgmmyr4MJYDd48fEkNF4+19UU9c2Y8n/rrWnNVbPR+0tN4wNK91DARVoucypPuwxr lxcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=DEl22AHM0fCsFuWETROzcYa272nKElcsAHj+68/kVI8=; b=cp03M1xSlLHcuHLTzlskM5XJlISED4N9b+dFYIB8WQJ7GHZtv29vYddBYx0RHC6Nhm 0M+SmUc3o0CLtr7ZlcaVodDC77ysOQ7eE9vS9hvxUmK3lVwjvrX1Td2BeafDq6o0Jtsf 4G/i/brIjcUcSpGsqmChLS5zoVrnwwp0BHFaMWzNIA5GVwbVxAQyVTzjTEVViN1UxNwV pw2QvEvOinCuMIviO/4bd1tvSQDRNH6cFL8KutQ8qJJ8lnb1Fp9aw4l/MIchSPqsO1xP UzLg9JBTfvqjkPfdIQXqddcIwOAaa9foEprQhXzPdN2Kheh/mUOlWvpBuqti+lOucgt4 ee7w== X-Gm-Message-State: APzg51BDSP67iuFrdL5U0dF9rMV67ejL6vdz7ZpyIWncrfgxmgnuGhSi CORDJfqTZA704Jrz5UYcyQiJZNYf X-Google-Smtp-Source: ANB0VdZJQQXJwVdbUxmtxB9MXLJzOWS7Thd4IEcZHGm8krIy73Ez1+PCflhmgKrazz/ZAtNB7NL7iQ== X-Received: by 2002:a24:d9d6:: with SMTP id p205-v6mr2744278itg.89.1536126410305; Tue, 04 Sep 2018 22:46:50 -0700 (PDT) Received: from [192.168.1.40] ([67.149.75.249]) by smtp.gmail.com with ESMTPSA id 84-v6sm547939ita.35.2018.09.04.22.46.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 22:46:49 -0700 (PDT) From: James Blachly Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: multicast packets not seen on PHY bridge member Message-Id: <5F7908EB-0240-476F-9EED-5EEBFA5547C4@gmail.com> Date: Wed, 5 Sep 2018 01:46:48 -0400 To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 05 Sep 2018 05:46:51 -0000 I am new to FreeBSD so please forgive (and correct) wrong terminology = and concepts. I=E2=80=99ve installed FreeBSD 11.2 as a VM host and run in to a problem = with multicast packets over a bridge not being seen by programs [on the = host] listening on the bridge=E2=80=99s physical interface constituent = (igb1), which I discovered when running avahi-daemon. Briefly, my setup is as follows: FreeBSD 11.2 host, bare metal, eth PHY igb1 bridge0 with members igb1, tap0, tap1 VM linux guest virtio-net to tap0 to bridge on FreeBSD VM freebsd guest virtio-net to tap1 to bridge on FreeBSD=20 Mac, 802.11 to AP to same switch as FreeBSD mDNS query/response operates properly between the mac and any of the = others (both physical and virtual), and all work in the converse = direction with the mac. The guests, all of which are constituents of = the bridge, are able to communicate via mDNS with one another. However, = the guests are _unable_ to communicate with the host via mDNS. tcpdump = shows the query packets appearing on igb1, but truss on avahi-daemon = shows they are not received. This means multicast packets are forwarded out all members of the = bridge, but not IN (at least, to physical interfaces =E2=80=94 they do = seem to go both directions on the taps) If I add an IP address to the bridge, avahi-daemon on the host binds to = the bridge interface directly and then receives incoming packets, = responding with the IP of the bridge. All then operates correctly, = except that the host now has two IPs on the same subnet of course. My question is: given that if_bridge(4) is described as a virtual = switch: A bridge works like a switch, forwarding traffic from one interface = to another. Multicast and broadcast packets are always forwarded to = all interfaces that are part of the bridge. For unicast traffic, the = bridge learns which MAC addresses are associated with which interfaces and = will forward the traffic selectively. and given that unicast packets originating on one of the bridge=E2=80=99s = taps are received by host programs bound to igb1, it seems to me that = anything bound to igb1 should also be receiving the multicast packets.=20= Is this an error specifically related to multicast and bridging, or is = it an accident that unicast connections work? (or, none of the above) Kind regards and thanks in advance. jsb From owner-freebsd-net@freebsd.org Wed Sep 5 06:04:03 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 A0EFAFE4ABA for ; Wed, 5 Sep 2018 06:04:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3DB6672E17 for ; Wed, 5 Sep 2018 06:04:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 00261FE4AB6; Wed, 5 Sep 2018 06:04:03 +0000 (UTC) Delivered-To: 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 E3230FE4AB5 for ; Wed, 5 Sep 2018 06:04:02 +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 84E1872E0C for ; Wed, 5 Sep 2018 06:04:02 +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 D3E1A15959 for ; Wed, 5 Sep 2018 06:04:01 +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 w85641W0070147 for ; Wed, 5 Sep 2018 06:04:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w856414J070145 for net@FreeBSD.org; Wed, 5 Sep 2018 06:04:01 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: net@FreeBSD.org Subject: [Bug 166724] [re] if_re watchdog timeout Date: Wed, 05 Sep 2018 06:03:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ale@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: yongari@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.27 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, 05 Sep 2018 06:04:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 --- Comment #35 from Alex Dupre --- I don't think I've ever said this issue is good :-) What I said is that in my environment when I switched to 11.2-RELEASE it was happening less frequently. With the FreeBSD driver is easy to detect it, because it prints the timeout message and resets the interface after 5 tick= s, effectively interrupting any connections for a few seconds. The Realtek dri= ver doesn't reset the interface and doesn't print the message, so a short timeo= ut might go unnoticed. To add new info to the thread, recently I've tried to increase the watchdog timeout of the FreeBSD driver, changing it from 5 to 50 ticks. Well, the re= sult was that the connection interruption lasted longer, so the interface seems really stuck and the reset the only solution. In the last months I've also tried Realtek drivers 1.94.01 and 1.95 (the one I'm currently running) and I'm not seeing differences from the 1.93, in my scenario it seems to work good enough (=3D=3D I'm not able to detect any co= nnection drop during normal usage, that doesn't mean they are not happening at all). --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 06:07:08 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 BCB35FE4B23 for ; Wed, 5 Sep 2018 06:07:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5855772F01 for ; Wed, 5 Sep 2018 06:07:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 19343FE4B21; Wed, 5 Sep 2018 06:07:08 +0000 (UTC) Delivered-To: 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 07C4AFE4B20 for ; Wed, 5 Sep 2018 06:07:08 +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 9B0AC72EFF for ; Wed, 5 Sep 2018 06:07:07 +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 E03F415962 for ; Wed, 5 Sep 2018 06:07:06 +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 w85676fu088436 for ; Wed, 5 Sep 2018 06:07:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8567608088426 for net@FreeBSD.org; Wed, 5 Sep 2018 06:07:06 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: net@FreeBSD.org Subject: [Bug 231143] [regression] ipfw fwd wrong behaviour with fast forwarding Date: Wed, 05 Sep 2018 06:07:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 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.27 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, 05 Sep 2018 06:07:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Ipfw fwd with route(8) |[regression] ipfw fwd wrong |RTF_BLACKHOLE and fast |behaviour with fast |forwarding on FreeBSD 11 |forwarding --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 06:07:25 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 ECCDAFE4B49 for ; Wed, 5 Sep 2018 06:07:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 86B7A72F2C for ; Wed, 5 Sep 2018 06:07:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4A1CCFE4B46; Wed, 5 Sep 2018 06:07:24 +0000 (UTC) Delivered-To: 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 387DDFE4B45 for ; Wed, 5 Sep 2018 06:07:24 +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 CB8F872F25 for ; Wed, 5 Sep 2018 06:07:23 +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 2420015963 for ; Wed, 5 Sep 2018 06:07:23 +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 w8567N0Y093821 for ; Wed, 5 Sep 2018 06:07:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8567Nqd093816 for net@FreeBSD.org; Wed, 5 Sep 2018 06:07:23 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: net@FreeBSD.org Subject: [Bug 231143] [regression] ipfw fwd wrong behaviour with fast forwarding Date: Wed, 05 Sep 2018 06:07:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: patch, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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.27 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, 05 Sep 2018 06:07:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 06:08:02 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 478EDFE4B6F for ; Wed, 5 Sep 2018 06:08:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D08B172F71 for ; Wed, 5 Sep 2018 06:08:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 93A8FFE4B6E; Wed, 5 Sep 2018 06:08:01 +0000 (UTC) Delivered-To: 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 81F66FE4B6D for ; Wed, 5 Sep 2018 06:08:01 +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 21F6772F6F for ; Wed, 5 Sep 2018 06:08:01 +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 5266B15967 for ; Wed, 5 Sep 2018 06:08:00 +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 w856809D005694 for ; Wed, 5 Sep 2018 06:08:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8568096005692 for net@FreeBSD.org; Wed, 5 Sep 2018 06:08:00 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: net@FreeBSD.org Subject: [Bug 231143] [regression] ipfw fwd wrong behaviour with fast forwarding Date: Wed, 05 Sep 2018 06:08:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: patch, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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.27 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, 05 Sep 2018 06:08:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://reviews.freebsd.org | |/D17039 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 08:44:34 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 5313BFE8D50 for ; Wed, 5 Sep 2018 08:44:34 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EAA9777D4F for ; Wed, 5 Sep 2018 08:44:33 +0000 (UTC) (envelope-from zec@fer.hr) Received: by mailman.ysv.freebsd.org (Postfix) id AC36BFE8D4E; Wed, 5 Sep 2018 08:44:33 +0000 (UTC) Delivered-To: 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 9B078FE8D4D for ; Wed, 5 Sep 2018 08:44:33 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mail.fer.hr (mail.fer.hr [161.53.72.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.fer.hr", Issuer "TERENA SSL CA 3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2015477D4C; Wed, 5 Sep 2018 08:44:32 +0000 (UTC) (envelope-from zec@fer.hr) Received: from x23 (161.53.19.9) by MAIL.fer.hr (161.53.72.233) with Microsoft SMTP Server (TLS) id 14.3.399.0; Wed, 5 Sep 2018 10:44:30 +0200 Date: Wed, 5 Sep 2018 10:44:33 +0200 From: Marko Zec To: Vincenzo Maffione CC: Luigi Rizzo , "freebsd-net@freebsd.org" , "Bjoern A. Zeeb" Subject: Re: vale and netmap module questions Message-ID: <20180905104433.08ad13b8@x23> In-Reply-To: References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> <20180904164303.68c43b6e@x23> <20180904162815.GA75530@funkthat.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [161.53.19.9] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 05 Sep 2018 08:44:34 -0000 On Tue, 4 Sep 2018 20:18:29 +0200 Vincenzo Maffione wrote: > Hi, > I don't think the panic depends on the architecture. Also, it does > not depend on using emulated mode or not. > We have seen this happening on x86_64 on FreeBSD 12 head. > > As John-Mark says, kdloading netmap.ko is not enough. You need to > open a netmap port corresponding > to any network interface, e.g. > # pkt-gen -i eth0 > because this will trigger ifunit_ref() in the kernel (netmap tries to > grab the interface called "eth0"). > The ifunit_ref() panics and we still need to figure out why. After more carefully rereading jmg's original report, on amd64 I reproduced exactly the same panic he reported on arm64, the summary follows: - the problem can be observed as VNET related, and can be triggered only on kernels built with "options VIMAGE" but without "device netmap". - netmap.ko built using make buildkernel works fine. - netmap.ko built separately (cd sys/modules/netmap; make) panics on a first reference to vale interface, such as "tcpdump -ni vale1:a" - the problem is that the separately built module is compiled without "options VIMAGE", and as such does not set curvnet prior to calling into network stack functions, therefore we have a null pointer dereference in ifunit_ref() and voila... - hence, there's nothing to fix in the netmap code, and there's nothing to fix in the network stack either related to this particular problem, but rather we need a general mechanism which would prevent kldloading non-VNETized .ko modules into a VNETized kernel. I have no idea how to approach this, besides adding bz@ to the cc: list, perhaps he could chime in with some thoughts? Cheers, Marko From owner-freebsd-net@freebsd.org Wed Sep 5 10:39:28 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 A44CFFEB8C8 for ; Wed, 5 Sep 2018 10:39:28 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF897B570 for ; Wed, 5 Sep 2018 10:39:28 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id E5A32FEB8C7; Wed, 5 Sep 2018 10:39:27 +0000 (UTC) Delivered-To: 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 AB60AFEB8C6 for ; Wed, 5 Sep 2018 10:39:27 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BD017B56E; Wed, 5 Sep 2018 10:39:27 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-ed1-x52f.google.com with SMTP id f38-v6so5660235edd.8; Wed, 05 Sep 2018 03:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n/mBTdH3Lh/SJR0wlKjnVXJ1b8H7ezrP+LTsbiGAXkE=; b=RJbDeqWiMHp9ywYzl8KWp89EM5zEBvE88Z3GMd4tA78PGMbrNIFZZok7ac0zvc/Kzo j7eA7t2slbSB9OXVM7d3WpzcFfwLILg/fkaetSWE71wImMqZRTFIAJgS5k2BdgghZWQp ZApApU2OH0Iw8PJH14FgyIzFth6bmsRXoDpljEHwol2zd3ap87hlhjqcE9H/U2JURoT8 GHu0Zvsl6vvxzlLJEwBQYWIEJ53xYLlyEIsTwFKl0VQrPluG62K9sym+W1ebx3mBx8XG qY2AeNssjVk45ikXeDtlQvXGH7gRW3ODvSgNi+O87d7UrK3N5mZVxbnhsaG5L3sLcoP6 UyeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n/mBTdH3Lh/SJR0wlKjnVXJ1b8H7ezrP+LTsbiGAXkE=; b=Z7IYrpG3mxDU59MqxDS0Qpak+UwF0Hcu/iZrwWWcPYNzmRnICbHbeXtNCWSH9zHv+k ZZ0+PcvednHVpaiUZJlk6b+a8e9XFYzOmLLwVgWXOrQo7x9b0cn+l/2npM4geb/vVl2L ybxDcM03B28TD2AEbyCYEqt3Mrpc3S7QxU6THSOl8O+RPYviWGJvSkEJEyR4zOC+3rkz 7JmuzWs0Q9q84BOTvki3WZ4LnUN3VTPqkh7JHz7fGVb3PB3jPE+umuso+w48ebGTn6P1 7HyXyFQoo6qvcC8uUEOTh6Bc8M9AkWNwjdhKTpqLkvpLJmvy0WDkPG1n9jPr0og4Gi2F SH1A== X-Gm-Message-State: APzg51DeQGVhBaBmTd17JVUSfCtKRrTxQ2hr1Pq8EdGzaSwZyorYUgUI MChatBKWyEnBz/HD0gJQgu/1MFaimxnxQNoe+f0= X-Google-Smtp-Source: ANB0VdajnI3Y+YiyT87R9MyUD5RMBlfxzK9ginCYowfEx2aVzks7Qy8mmg9fn4uaJBLBbX4Oj2jRpFno5TMdq3sr4sE= X-Received: by 2002:a50:b2c6:: with SMTP id p64-v6mr40931131edd.293.1536143965329; Wed, 05 Sep 2018 03:39:25 -0700 (PDT) MIME-Version: 1.0 References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> <20180904164303.68c43b6e@x23> <20180904162815.GA75530@funkthat.com> <20180905104433.08ad13b8@x23> In-Reply-To: <20180905104433.08ad13b8@x23> From: Vincenzo Maffione Date: Wed, 5 Sep 2018 12:36:38 +0200 Message-ID: Subject: Re: vale and netmap module questions To: Marko Zec Cc: Luigi Rizzo , "freebsd-net@freebsd.org" , bz@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 05 Sep 2018 10:39:29 -0000 Hi Marko, Thanks a lot for identifying the problem. If I understand correctly, simply adding -D VIMAGE here https://github.com/luigirizzo/netmap/blob/master/sys/modules/netmap/Makefile#L11 would at least mitigate the issue. If you think I'm right I'll just add it. Thanks, Vincenzo Il giorno mer 5 set 2018 alle ore 10:44 Marko Zec ha scritto: > On Tue, 4 Sep 2018 20:18:29 +0200 > Vincenzo Maffione wrote: > > > Hi, > > I don't think the panic depends on the architecture. Also, it does > > not depend on using emulated mode or not. > > We have seen this happening on x86_64 on FreeBSD 12 head. > > > > As John-Mark says, kdloading netmap.ko is not enough. You need to > > open a netmap port corresponding > > to any network interface, e.g. > > # pkt-gen -i eth0 > > because this will trigger ifunit_ref() in the kernel (netmap tries to > > grab the interface called "eth0"). > > The ifunit_ref() panics and we still need to figure out why. > > After more carefully rereading jmg's original report, on amd64 I > reproduced exactly the same panic he reported on arm64, the summary > follows: > > - the problem can be observed as VNET related, and can be triggered only > on kernels built with "options VIMAGE" but without "device netmap". > > - netmap.ko built using make buildkernel works fine. > > - netmap.ko built separately (cd sys/modules/netmap; make) panics on a > first reference to vale interface, such as "tcpdump -ni vale1:a" > > - the problem is that the separately built module is compiled without > "options VIMAGE", and as such does not set curvnet prior to calling > into network stack functions, therefore we have a null pointer > dereference in ifunit_ref() and voila... > > - hence, there's nothing to fix in the netmap code, and there's nothing > to fix in the network stack either related to this particular problem, > but rather we need a general mechanism which would prevent kldloading > non-VNETized .ko modules into a VNETized kernel. I have no idea how > to approach this, besides adding bz@ to the cc: list, perhaps he > could chime in with some thoughts? > > Cheers, > > Marko > -- Vincenzo From owner-freebsd-net@freebsd.org Wed Sep 5 10:47:32 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 D93CAFEBD78 for ; Wed, 5 Sep 2018 10:47:31 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 608617BB65 for ; Wed, 5 Sep 2018 10:47:31 +0000 (UTC) (envelope-from zec@fer.hr) Received: by mailman.ysv.freebsd.org (Postfix) id 22582FEBD77; Wed, 5 Sep 2018 10:47:31 +0000 (UTC) Delivered-To: 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 10CD3FEBD75 for ; Wed, 5 Sep 2018 10:47:31 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mail.fer.hr (mail.fer.hr [161.53.72.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.fer.hr", Issuer "TERENA SSL CA 3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8493A7BB62; Wed, 5 Sep 2018 10:47:30 +0000 (UTC) (envelope-from zec@fer.hr) Received: from x23 (161.53.19.9) by MAIL.fer.hr (161.53.72.233) with Microsoft SMTP Server (TLS) id 14.3.399.0; Wed, 5 Sep 2018 12:47:28 +0200 Date: Wed, 5 Sep 2018 12:47:30 +0200 From: Marko Zec To: Vincenzo Maffione CC: Luigi Rizzo , "freebsd-net@freebsd.org" , Subject: Re: vale and netmap module questions Message-ID: <20180905124730.0f266c37@x23> In-Reply-To: References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> <20180904164303.68c43b6e@x23> <20180904162815.GA75530@funkthat.com> <20180905104433.08ad13b8@x23> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [161.53.19.9] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 05 Sep 2018 10:47:32 -0000 On Wed, 5 Sep 2018 12:36:38 +0200 Vincenzo Maffione wrote: > Hi Marko, > Thanks a lot for identifying the problem. > If I understand correctly, simply adding -D VIMAGE here > https://github.com/luigirizzo/netmap/blob/master/sys/modules/netmap/Makefile#L11 > would at least mitigate the issue. > If you think I'm right I'll just add it. Right, go for it... Marko > > Thanks, > Vincenzo > > Il giorno mer 5 set 2018 alle ore 10:44 Marko Zec ha > scritto: > > > On Tue, 4 Sep 2018 20:18:29 +0200 > > Vincenzo Maffione wrote: > > > > > Hi, > > > I don't think the panic depends on the architecture. Also, it > > > does not depend on using emulated mode or not. > > > We have seen this happening on x86_64 on FreeBSD 12 head. > > > > > > As John-Mark says, kdloading netmap.ko is not enough. You need to > > > open a netmap port corresponding > > > to any network interface, e.g. > > > # pkt-gen -i eth0 > > > because this will trigger ifunit_ref() in the kernel (netmap > > > tries to grab the interface called "eth0"). > > > The ifunit_ref() panics and we still need to figure out why. > > > > After more carefully rereading jmg's original report, on amd64 I > > reproduced exactly the same panic he reported on arm64, the summary > > follows: > > > > - the problem can be observed as VNET related, and can be triggered > > only on kernels built with "options VIMAGE" but without "device > > netmap". > > > > - netmap.ko built using make buildkernel works fine. > > > > - netmap.ko built separately (cd sys/modules/netmap; make) panics > > on a first reference to vale interface, such as "tcpdump -ni > > vale1:a" > > > > - the problem is that the separately built module is compiled > > without "options VIMAGE", and as such does not set curvnet prior to > > calling into network stack functions, therefore we have a null > > pointer dereference in ifunit_ref() and voila... > > > > - hence, there's nothing to fix in the netmap code, and there's > > nothing to fix in the network stack either related to this > > particular problem, but rather we need a general mechanism which > > would prevent kldloading non-VNETized .ko modules into a VNETized > > kernel. I have no idea how to approach this, besides adding bz@ to > > the cc: list, perhaps he could chime in with some thoughts? > > > > Cheers, > > > > Marko > > > > From owner-freebsd-net@freebsd.org Wed Sep 5 14:00:23 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 2FA60FF0D73 for ; Wed, 5 Sep 2018 14:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BF32282194 for ; Wed, 5 Sep 2018 14:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 80E01FF0D6D; Wed, 5 Sep 2018 14:00:22 +0000 (UTC) Delivered-To: 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 6F940FF0D6C for ; Wed, 5 Sep 2018 14:00: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 8BD078218C for ; Wed, 5 Sep 2018 14:00:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 90D4D19AC9 for ; Wed, 5 Sep 2018 14:00: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 w85E0KRj086428 for ; Wed, 5 Sep 2018 14:00:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85E0KZo086423 for net@FreeBSD.org; Wed, 5 Sep 2018 14:00:20 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: net@FreeBSD.org Subject: [Bug 231143] [regression] ipfw fwd wrong behaviour with fast forwarding Date: Wed, 05 Sep 2018 14:00:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: patch, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@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.27 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, 05 Sep 2018 14:00:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231143 --- Comment #6 from commit-hook@freebsd.org --- A commit references this bug: Author: eugen Date: Wed Sep 5 13:59:36 UTC 2018 New revision: 338468 URL: https://svnweb.freebsd.org/changeset/base/338468 Log: Fix "ipfw fwd" to work for incoming IPv4 packets when ip_tryforward() cho= oses fast forwarding path, as it already works for IPv6 and for both of them on old slow path. PR: 231143 Reviewed by: ae Approved by: re (gjb) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D17039 Changes: head/sys/netinet/ip_fastfwd.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 14:22:25 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 56E5FFF18C0 for ; Wed, 5 Sep 2018 14:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E719383038 for ; Wed, 5 Sep 2018 14:22:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id ABCF7FF18BF; Wed, 5 Sep 2018 14:22:24 +0000 (UTC) Delivered-To: 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 89FBCFF18BE for ; Wed, 5 Sep 2018 14:22:24 +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 2AC898302F for ; Wed, 5 Sep 2018 14:22:24 +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 790F719EE6 for ; Wed, 5 Sep 2018 14:22:23 +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 w85EMNGV055830 for ; Wed, 5 Sep 2018 14:22:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85EMNaZ055829 for net@FreeBSD.org; Wed, 5 Sep 2018 14:22:23 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: net@FreeBSD.org Subject: [Bug 166724] [re] if_re watchdog timeout Date: Wed, 05 Sep 2018 14:22:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zjk7@wp.pl X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: yongari@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.27 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, 05 Sep 2018 14:22:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 --- Comment #35 from Alex Dupre --- I don't think I've ever said this issue is good :-) What I said is that in my environment when I switched to 11.2-RELEASE it was happening less frequently. With the FreeBSD driver is easy to detect it, because it prints the timeout message and resets the interface after 5 tick= s, effectively interrupting any connections for a few seconds. The Realtek dri= ver doesn't reset the interface and doesn't print the message, so a short timeo= ut might go unnoticed. To add new info to the thread, recently I've tried to increase the watchdog timeout of the FreeBSD driver, changing it from 5 to 50 ticks. Well, the re= sult was that the connection interruption lasted longer, so the interface seems really stuck and the reset the only solution. In the last months I've also tried Realtek drivers 1.94.01 and 1.95 (the one I'm currently running) and I'm not seeing differences from the 1.93, in my scenario it seems to work good enough (=3D=3D I'm not able to detect any co= nnection drop during normal usage, that doesn't mean they are not happening at all). --- Comment #36 from zjk --- Ok, ok Alex - I understand. Therefore, for doubters - I added 2 posts earlier chart from monitorix. For a 24/7 server - you can see how the link hangs (and this happens on a server that has not too heavy load...), only the reset restores a longer go= od response. For problem solvers - I must add: on most computers I use lagg. Evidently t= his "overlay" on the driver increases the frequency of hanging (compared to computers with re without lagg). But this is a separate problem for a separ= ate thread. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 14:28:24 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 CE1BCFF1B99 for ; Wed, 5 Sep 2018 14:28:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 66D668337A for ; Wed, 5 Sep 2018 14:28:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2C172FF1B96; Wed, 5 Sep 2018 14:28:24 +0000 (UTC) Delivered-To: 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 1AC7AFF1B95 for ; Wed, 5 Sep 2018 14:28:24 +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 B091383378 for ; Wed, 5 Sep 2018 14:28:23 +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 0939119F00 for ; Wed, 5 Sep 2018 14:28:23 +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 w85ESM80061942 for ; Wed, 5 Sep 2018 14:28:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85ESMiH061941 for net@FreeBSD.org; Wed, 5 Sep 2018 14:28:22 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: net@FreeBSD.org Subject: [Bug 231166] 11.1->11.2 Update brings em network link state flapping Date: Wed, 05 Sep 2018 14:28:21 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, regression 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: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.27 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, 05 Sep 2018 14:28:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231166 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbruno@FreeBSD.org Keywords| |IntelNetworking, regression Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 14:29:03 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 7541EFF1C35 for ; Wed, 5 Sep 2018 14:29:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 127A08341E for ; Wed, 5 Sep 2018 14:29:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CBFD3FF1C32; Wed, 5 Sep 2018 14:29:02 +0000 (UTC) Delivered-To: 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 BAE02FF1C31 for ; Wed, 5 Sep 2018 14:29:02 +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 5CE8D83410 for ; Wed, 5 Sep 2018 14:29:02 +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 AA14919F04 for ; Wed, 5 Sep 2018 14:29:01 +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 w85ET1Hs062712 for ; Wed, 5 Sep 2018 14:29:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85ET1MY062709 for net@FreeBSD.org; Wed, 5 Sep 2018 14:29:01 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: net@FreeBSD.org Subject: [Bug 231169] ix0: link state changed to DOWN Date: Wed, 05 Sep 2018 14:29:01 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, regression 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: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.27 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, 05 Sep 2018 14:29:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231169 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbruno@FreeBSD.org Keywords| |IntelNetworking, regression Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 15:26:08 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 5D37BFF3B5D for ; Wed, 5 Sep 2018 15:26:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EC93885E34 for ; Wed, 5 Sep 2018 15:26:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B1588FF3B5C; Wed, 5 Sep 2018 15:26:07 +0000 (UTC) Delivered-To: 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 A014CFF3B5B for ; Wed, 5 Sep 2018 15:26: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 42EA185E2E for ; Wed, 5 Sep 2018 15:26:07 +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 915B21A793 for ; Wed, 5 Sep 2018 15:26:06 +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 w85FQ6WV054744 for ; Wed, 5 Sep 2018 15:26:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85FQ6e8054743 for net@FreeBSD.org; Wed, 5 Sep 2018 15:26:06 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: net@FreeBSD.org Subject: [Bug 230858] Vlan Interface on ix1 doesn't pass any traffic on 12.0-ALPHA2 r338240 Date: Wed, 05 Sep 2018 15:26:06 +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 Only Me X-Bugzilla-Who: piotr.pietruszewski@intel.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 05 Sep 2018 15:26:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230858 Piotr Pietruszewski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.pietruszewski@intel.c | |om --- Comment #4 from Piotr Pietruszewski --- Hello, does this problem persist? If so, have you had a chance to check it on 12.0-ALPHA4? What NIC are you using? Would you please show your configuration of parent interface (ix1)? Is the machine connected to switch or do you use back-to-back configuration= ? If the former, would you please check if the problem occurs also with a back-to-back connection? Peter --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 15:30:19 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 7FCD1FF3CDC for ; Wed, 5 Sep 2018 15:30:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1D63D85F99 for ; Wed, 5 Sep 2018 15:30:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D32E7FF3CDB; Wed, 5 Sep 2018 15:30:18 +0000 (UTC) Delivered-To: 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 C1D0EFF3CDA for ; Wed, 5 Sep 2018 15:30: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 4DE1585F96 for ; Wed, 5 Sep 2018 15:30: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 92D0B1A79A for ; Wed, 5 Sep 2018 15:30: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 w85FUHKZ059023 for ; Wed, 5 Sep 2018 15:30:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85FUHva059020 for net@FreeBSD.org; Wed, 5 Sep 2018 15:30: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: net@FreeBSD.org Subject: [Bug 231169] ix0: link state changed to DOWN Date: Wed, 05 Sep 2018 15:30: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: 11.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: piotr.pietruszewski@intel.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 05 Sep 2018 15:30:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231169 Piotr Pietruszewski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.pietruszewski@intel.c | |om --- Comment #1 from Piotr Pietruszewski --- Hello, what NIC are you using? And with what type of connection (RJ-45, SFP, Twina= x)? Peter --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 16:12: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 E498AFF5524 for ; Wed, 5 Sep 2018 16:12:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6BA9F884F7 for ; Wed, 5 Sep 2018 16:12:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 308C5FF5523; Wed, 5 Sep 2018 16:12:47 +0000 (UTC) Delivered-To: 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 0EACFFF5521 for ; Wed, 5 Sep 2018 16:12:47 +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 A4CAB884F4 for ; Wed, 5 Sep 2018 16:12:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F2E1E1AE83 for ; Wed, 5 Sep 2018 16:12: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 w85GCjEL076432 for ; Wed, 5 Sep 2018 16:12:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85GCj7G076431 for net@FreeBSD.org; Wed, 5 Sep 2018 16:12: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: net@FreeBSD.org Subject: [Bug 231169] ix0: link state changed to DOWN Date: Wed, 05 Sep 2018 16:12:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tomek@compri.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 05 Sep 2018 16:12:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231169 --- Comment #2 from Compri --- Type of connection RJ-45 and everything is alright. The server works in ovh. The problem appeared after the upgrade to 11.2-p2 ix0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3De407bb ether ac:1f:6b:6a:xx:xx hwaddr ac:1f:6b:6a:xx:xx inet 51.68.XXX.XXX netmask 0xffffff00 broadcast 51.68.XXX.XXX=20 inet 54.38.XXX.XXX netmask 0xffffffff broadcast 54.38.XXX.XXX=20 inet 54.38.XXX.XXX netmask 0xffffffff broadcast 54.38.XXX.XXX=20 inet 54.38.XXX.XXX netmask 0xffffffff broadcast 54.38.XXX.XXX=20 inet 54.38.XXX.XXX netmask 0xffffffff broadcast 54.38.XXX.XXX=20 inet 54.38.XXX.XXX netmask 0xffffffff broadcast 54.38.XXX.XXX=20 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active ix0: mem 0xfbc00000-0xfbdfffff,0xfbe04000-0xfbe07fff irq 11 at device 0.0 on pci4 ix0: Using MSI-X interrupts with 9 vectors ix0: Ethernet address: ac:1f:6b:6a:xx:xx ix0: netmap queues/slots: TX 8/2048, RX 8/2048 ix0@pci0:3:0:0: class=3D0x020000 card=3D0x15ad15d9 chip=3D0x15ad8086 rev=3D= 0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Ethernet Connection X552/X557-AT 10GBASE-T' class =3D network subclass =3D ethernet THX --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 16:31:50 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 121D1FF5CB1 for ; Wed, 5 Sep 2018 16:31:50 +0000 (UTC) (envelope-from celina.clarke@inforesearchsolutions.com) Received: from IND01-MA1-obe.outbound.protection.outlook.com (mail-ma1ind01on0122.outbound.protection.outlook.com [104.47.100.122]) (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 F198C89189 for ; Wed, 5 Sep 2018 16:31:48 +0000 (UTC) (envelope-from celina.clarke@inforesearchsolutions.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORGFT3453886.onmicrosoft.com; s=selector1-inforesearchsolutions-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=loZmv/9ajSzk7rVxa0a4pejlp/hIhXP2Q8bwpa98Kas=; b=XQcwlEZLulFtc6WkzXzTSNEnJf8dLajVUeHV7dI3YDRCLlY03FUpatMlD78yZDHYd6lszWix56+KQHEIkzUkxxEJIKfJQFISIphLxU6QzgSMDR6i6y60Rqe3rerU0O7Dp6qjK856YlF29z6FrqA6FjbQvuEgKbcndv4Mf1Wd5AU= Received: from BM1PR0101MB1394.INDPRD01.PROD.OUTLOOK.COM (10.174.222.149) by BM1PR0101MB1427.INDPRD01.PROD.OUTLOOK.COM (10.174.223.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.18; Wed, 5 Sep 2018 16:31:28 +0000 Received: from BM1PR0101MB1394.INDPRD01.PROD.OUTLOOK.COM ([fe80::60ae:c6b1:c280:3d36]) by BM1PR0101MB1394.INDPRD01.PROD.OUTLOOK.COM ([fe80::60ae:c6b1:c280:3d36%7]) with mapi id 15.20.1101.019; Wed, 5 Sep 2018 16:31:28 +0000 From: Celina Clarke To: "freebsd-net@freebsd.org" Subject: UNIX Users list Thread-Topic: UNIX Users list Thread-Index: AdRFNVdYtqlRJyrpRPCcCLwNwIumYA== Date: Wed, 5 Sep 2018 16:31:27 +0000 Message-ID: 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=celina.clarke@inforesearchsolutions.com; x-originating-ip: [183.82.21.236] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BM1PR0101MB1427; 6:UA2FZ5XH3crws/k2+tQ4aXaR24lhi6fqe8iSd09yvID+R6Un0doW6LScximTSoknF5DcnihC8nXwqQY9hIXywCqiji1QGHnzP6jnUvDkJ4/RlflcMyutmOkOGFtHPfgeXA4syKUxvOiezLVDndoCQZEeGJoeri4kWXAKSjS519gAFGU+H7Z3fwb+SM5qkJRxe/UtT7k3+0a9OxW7AOCo/PUV96pKxfg5WjNqobzy9QKLNWGavDyVy2ov+yZIUOjxO+QMPFVKybeigXyohJiNBxgvKKcJu384dGWsgo8gw1DDlUAB6RYXpKQ083VK9buYr/Z1M4bRW4A45oZ1p0g7EW53Fy5/c2P7sKQuVWRPCLmZab55slhqNIDyUiz+vBWOYElAbWTEJGnVmwC4+EMUvNwm1aIUJenyvkLCpfwG11r8DPutBbfQJgF+MEdsHtTqNHnwFX8wJH26+F5m4B3EJg==; 5:mHIyAs36YkJVlaKOABWeBq6oAEBxpLl2Mo/tjBMcST3eSPsnooLMswltbfejGHGz56Ldv6XbC21JE6rPcL3Eh3KEq6RD9GJZeB1sltPNbYtNb8pPtEZrO8oQPfR++qPoGKcMqwYUmXLR1pwxnjq6bw/zgttuCOZ+dkUMahzDjG0=; 7:qh+zGwy6LFLDFv/xTMEizhzzmd/8rS2jVFzqmWGto0v7skUcZDiZ3Jc6V1u9j35PPI05/KgSq/hWeFxdsDdjKWFTMsMw6ehdaZCKZEEIPMsyMpnx6mEi6Wh0h2a5rvnUisJfexKWO4v2dFLZuq8aH0ZWUwYlTsWGccKuapDnjWOEkChRqufAhe8esJheD+94AdhmI8Z50LGfwymP0O2+iLEiSHYN6uGP9yMNl5CjJb1ISQ8LeYtUxs9CNaAbGi34 x-ms-office365-filtering-correlation-id: ac3df322-f799-4224-e959-08d6134d0795 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(7021125)(8989137)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7028125)(7023125)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BM1PR0101MB1427; x-ms-traffictypediagnostic: BM1PR0101MB1427: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(116415991822766)(21748063052155); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123558120)(20161123560045)(2016111802025)(20161123564045)(20161123562045)(6043046)(201708071742011)(7699016); SRVR:BM1PR0101MB1427; BCL:0; PCL:0; RULEID:; SRVR:BM1PR0101MB1427; x-forefront-prvs: 078693968A x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(346002)(366004)(376002)(396003)(39850400004)(199004)(189003)(45080400002)(26005)(5250100002)(478600001)(626008)(6916009)(316002)(5630700001)(8936002)(25786009)(102836004)(68736007)(81156014)(6506007)(790700001)(81166006)(256004)(66066001)(44832011)(486006)(6116002)(3846002)(476003)(2900100001)(186003)(97736004)(8676002)(6306002)(5640700003)(33656002)(6436002)(53936002)(7736002)(3480700004)(74316002)(9686003)(54896002)(55016002)(7696005)(105586002)(99286004)(86362001)(2351001)(2906002)(2501003)(14454004)(5660300001)(7520500002)(106356001)(7116003)(19870200002); DIR:OUT; SFP:1102; SCL:1; SRVR:BM1PR0101MB1427; H:BM1PR0101MB1394.INDPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: inforesearchsolutions.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: jey9RPHJT0mOFyVTCrH+rEicyXC7ZToEXA+csziHoB1VBOwxGvYEg3lR2yBha1K1VKP3ssUAY3svqEGfOxKU5hwnp78DzMUKmEFPmP4OqMxVbyigFeWdR16/rd4dbrsnrH59skdqBeoHXYdg6/R3NlWyUC5fsQCRlWO8ArXbCy0dpW30Dk2hF+im7sPgSnSt0+yVzKVAqQKg0sNMaPtg47GxceTKAwcA4ud1oAylbGxO0yqgubWzujdxYHcf1UyrbhJT1oamodR67/mehvGbakeMFyR7xru2XLwEJivj9cOzlGToczov1dvUZ+emOj0mpcbkfD5vFt+w69mosPfcNWWKCG25ZlDwGfdlIv/k1dw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: inforesearchsolutions.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac3df322-f799-4224-e959-08d6134d0795 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2018 16:31:27.9397 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 13babfe8-560f-48bf-afee-d8a0e58d7ebc X-MS-Exchange-Transport-CrossTenantHeadersStamped: BM1PR0101MB1427 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 05 Sep 2018 16:31:50 -0000 Hello there, I would like to know if you are interested in acquiring UNIX Users list. Information fields: Names, Title, Email, Phone, Company Name, Company URL, = Company physical address, SIC Code, Industry, Company Size (Revenue and Emp= loyee), LinkedIn profile link and kind of technology using/solution in plac= e. If this is not relevant to you please get back to me with your Target Marke= t, we cater to all types of target market available. Let me know your thoughts on this and I will get back with more information= for your review. Await your response! Regards, Celina Clarke Demand Generation Manager If you do not wish to receive further emails, please respond with "Leave Ou= t" or "Unsubscribe" in subject line From owner-freebsd-net@freebsd.org Wed Sep 5 17:05:33 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 B11CEFF734C for ; Wed, 5 Sep 2018 17:05:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4E4D78AB0C for ; Wed, 5 Sep 2018 17:05:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 130CFFF734B; Wed, 5 Sep 2018 17:05:33 +0000 (UTC) Delivered-To: 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 01B8CFF7349 for ; Wed, 5 Sep 2018 17:05:33 +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 96CA08AB09 for ; Wed, 5 Sep 2018 17:05:32 +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 EF59F1B57B for ; Wed, 5 Sep 2018 17:05:31 +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 w85H5VBh005135 for ; Wed, 5 Sep 2018 17:05:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85H5Vmu005133 for net@FreeBSD.org; Wed, 5 Sep 2018 17:05:31 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: net@FreeBSD.org Subject: [Bug 231169] ix0: link state changed to DOWN Date: Wed, 05 Sep 2018 17:05:32 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tomek@compri.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 05 Sep 2018 17:05:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231169 --- Comment #3 from Compri --- I updated NIC driver from 3.2.12-k to 3.2.18 and=20 set mtu to 9000 and=20 hw.intr_storm_threshold=3D0 I will report what will happen next. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 5 18:17:44 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 0EAC7FF9043 for ; Wed, 5 Sep 2018 18:17:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4478D338 for ; Wed, 5 Sep 2018 18:17:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6106FFF9042; Wed, 5 Sep 2018 18:17:43 +0000 (UTC) Delivered-To: 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 4FB48FF9041 for ; Wed, 5 Sep 2018 18:17:43 +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 E59568D335 for ; Wed, 5 Sep 2018 18:17:42 +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 4F73F1BF2A for ; Wed, 5 Sep 2018 18:17:42 +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 w85IHgDP067917 for ; Wed, 5 Sep 2018 18:17:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85IHgbD067911 for net@FreeBSD.org; Wed, 5 Sep 2018 18:17:42 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: net@FreeBSD.org Subject: [Bug 231166] 11.1->11.2 Update brings em network link state flapping Date: Wed, 05 Sep 2018 18:17:42 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: steven_nikkel@ertyu.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 05 Sep 2018 18:17:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231166 --- Comment #3 from steven_nikkel@ertyu.org --- Weird behaviour today. I left the cable unplugged over night. Plugged it in this morning and the interface worked properly. It worked fine for an hour while I watched and poked at it, passed IPv6 packets fine, picked up IPv4 D= HCP, forgot to test otherwise. Then I downed the realtek interface and things se= emed to stop working on the intel interface as well. Downed and upped the intel interface and it came back to life, but the link state flapping started aga= in. Trying all the usual things isn't making it go away again either. Per Compri, I am using 64bit OS, not seeing Interrupt Storm messages, don't think it's interrupt rate related as there is hardly any traffic flowing wh= en this starts, but I did try upping the setting, which had no effect. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 00:42:24 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 891C6FCF917 for ; Thu, 6 Sep 2018 00:42:24 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 25F1D7C46F for ; Thu, 6 Sep 2018 00:42:24 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: by mailman.ysv.freebsd.org (Postfix) id DEA72FCF916; Thu, 6 Sep 2018 00:42:23 +0000 (UTC) Delivered-To: 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 BCADCFCF915 for ; Thu, 6 Sep 2018 00:42:23 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 581BD7C46B; Thu, 6 Sep 2018 00:42:23 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id w860g8d3022568 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 5 Sep 2018 17:42:08 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id w860g6KF022567; Wed, 5 Sep 2018 17:42:06 -0700 (PDT) (envelope-from jmg) Date: Wed, 5 Sep 2018 17:42:06 -0700 From: John-Mark Gurney To: Marko Zec Cc: Vincenzo Maffione , bz@freebsd.org, Luigi Rizzo , "freebsd-net@freebsd.org" Subject: Re: vale and netmap module questions Message-ID: <20180906004206.GB75530@funkthat.com> Mail-Followup-To: Marko Zec , Vincenzo Maffione , bz@freebsd.org, Luigi Rizzo , "freebsd-net@freebsd.org" References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> <20180904164303.68c43b6e@x23> <20180904162815.GA75530@funkthat.com> <20180905104433.08ad13b8@x23> <20180905124730.0f266c37@x23> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180905124730.0f266c37@x23> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Wed, 05 Sep 2018 17:42:08 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 06 Sep 2018 00:42:24 -0000 Marko Zec wrote this message on Wed, Sep 05, 2018 at 12:47 +0200: > On Wed, 5 Sep 2018 12:36:38 +0200 > Vincenzo Maffione wrote: > > > Hi Marko, > > Thanks a lot for identifying the problem. > > If I understand correctly, simply adding -D VIMAGE here > > https://github.com/luigirizzo/netmap/blob/master/sys/modules/netmap/Makefile#L11 > > would at least mitigate the issue. > > If you think I'm right I'll just add it. > > Right, go for it... Why not just hook up netmap to the build? Because if you add -DVIMAGE to the Makefile, you'll now break people who have kernels w/o VIMAGE.. And the only reason to build netmap module manually is because it's not hooked up. > > Il giorno mer 5 set 2018 alle ore 10:44 Marko Zec ha > > scritto: > > > > > On Tue, 4 Sep 2018 20:18:29 +0200 > > > Vincenzo Maffione wrote: > > > > > > > Hi, > > > > I don't think the panic depends on the architecture. Also, it > > > > does not depend on using emulated mode or not. > > > > We have seen this happening on x86_64 on FreeBSD 12 head. > > > > > > > > As John-Mark says, kdloading netmap.ko is not enough. You need to > > > > open a netmap port corresponding > > > > to any network interface, e.g. > > > > # pkt-gen -i eth0 > > > > because this will trigger ifunit_ref() in the kernel (netmap > > > > tries to grab the interface called "eth0"). > > > > The ifunit_ref() panics and we still need to figure out why. > > > > > > After more carefully rereading jmg's original report, on amd64 I > > > reproduced exactly the same panic he reported on arm64, the summary > > > follows: > > > > > > - the problem can be observed as VNET related, and can be triggered > > > only on kernels built with "options VIMAGE" but without "device > > > netmap". > > > > > > - netmap.ko built using make buildkernel works fine. > > > > > > - netmap.ko built separately (cd sys/modules/netmap; make) panics > > > on a first reference to vale interface, such as "tcpdump -ni > > > vale1:a" > > > > > > - the problem is that the separately built module is compiled > > > without "options VIMAGE", and as such does not set curvnet prior to > > > calling into network stack functions, therefore we have a null > > > pointer dereference in ifunit_ref() and voila... > > > > > > - hence, there's nothing to fix in the netmap code, and there's > > > nothing to fix in the network stack either related to this > > > particular problem, but rather we need a general mechanism which > > > would prevent kldloading non-VNETized .ko modules into a VNETized > > > kernel. I have no idea how to approach this, besides adding bz@ to > > > the cc: list, perhaps he could chime in with some thoughts? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Thu Sep 6 06:35: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 CCA21FEEB5D for ; Thu, 6 Sep 2018 06:35:41 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6F2F888AD4 for ; Thu, 6 Sep 2018 06:35:41 +0000 (UTC) (envelope-from zec@fer.hr) Received: by mailman.ysv.freebsd.org (Postfix) id 31547FEEB54; Thu, 6 Sep 2018 06:35:41 +0000 (UTC) Delivered-To: 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 1FF53FEEB53 for ; Thu, 6 Sep 2018 06:35:41 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mail.fer.hr (mail.fer.hr [161.53.72.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.fer.hr", Issuer "TERENA SSL CA 3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 980FC88AD2; Thu, 6 Sep 2018 06:35:40 +0000 (UTC) (envelope-from zec@fer.hr) Received: from x23 (161.53.19.9) by MAIL.fer.hr (161.53.72.233) with Microsoft SMTP Server (TLS) id 14.3.399.0; Thu, 6 Sep 2018 08:35:31 +0200 Date: Thu, 6 Sep 2018 08:35:35 +0200 From: Marko Zec To: John-Mark Gurney CC: Vincenzo Maffione , , Luigi Rizzo , "freebsd-net@freebsd.org" Subject: Re: vale and netmap module questions Message-ID: <20180906083535.36ac39ce@x23> In-Reply-To: <20180906004206.GB75530@funkthat.com> References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> <20180904164303.68c43b6e@x23> <20180904162815.GA75530@funkthat.com> <20180905104433.08ad13b8@x23> <20180905124730.0f266c37@x23> <20180906004206.GB75530@funkthat.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [161.53.19.9] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 06 Sep 2018 06:35:42 -0000 On Wed, 5 Sep 2018 17:42:06 -0700 John-Mark Gurney wrote: > Marko Zec wrote this message on Wed, Sep 05, 2018 at 12:47 +0200: > > On Wed, 5 Sep 2018 12:36:38 +0200 > > Vincenzo Maffione wrote: > > > > > Hi Marko, > > > Thanks a lot for identifying the problem. > > > If I understand correctly, simply adding -D VIMAGE here > > > https://github.com/luigirizzo/netmap/blob/master/sys/modules/netmap/Makefile#L11 > > > would at least mitigate the issue. > > > If you think I'm right I'll just add it. > > > > Right, go for it... > > Why not just hook up netmap to the build? I have no idea why it is on by default only on amd64... Perhaps due to the lack of adopters / testers on other platforms? Perhaps the code has some assumptions re. memory coherence model, or unaligned accesses, which hold the water on amd64 but not necessarily elsewhere? > Because if you add -DVIMAGE to the Makefile, you'll now break people > who have kernels w/o VIMAGE.. No, and this is certifiable. At least in this particular case, we have only two macro instances which set / restore curvnet prior to calling into the network stack. If the network stack is of the non-VNET kind, and thus doesn't care about curvnet, that won't do any harm. > And the only reason to build netmap module manually is because it's not hooked up. There's still a reason to retain the possibility to build netmap as module, as this speeds up the development cycles for netmap-internal hackers / experimenters. But beyond that, running netmap without native support in device drivers is pretty much pointless. From owner-freebsd-net@freebsd.org Thu Sep 6 08:15:21 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 BE8EBFF32CB for ; Thu, 6 Sep 2018 08:15:21 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 537B58C503 for ; Thu, 6 Sep 2018 08:15:21 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 15AAEFF32CA; Thu, 6 Sep 2018 08:15:21 +0000 (UTC) Delivered-To: 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 E7EF4FF32C9 for ; Thu, 6 Sep 2018 08:15:20 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82DA48C501; Thu, 6 Sep 2018 08:15:20 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qt0-x229.google.com with SMTP id t39-v6so11261588qtc.8; Thu, 06 Sep 2018 01:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=soaEHkxXEanM9kpsmJ3aqlurS02W2x9vo/z/5KOEL50=; b=hjUtuB5NHAMCxWqsZVvtpETFwAeTdI7vJ0uUR+r6Lhrw1ZTq+Qge8hzixiv7gH6C9a M6E6UAYjCDGD6p0xXxIZpfI/syX7N9RlvmnKaTwkZlYxQVyiV48DzymlKqI0kXGZPMht 0eBxLWb9pZGZwiPgSS57gUtWKUogSg+D3biRaE5WYmfx9nR6IHznrWog6TBxnZax9brN vHE2asHGfKyQMeUs/ZUUpDV4T/ICjbeibPR284xTCYR1sda3iWl20GNh+/xHPRGjuPbg tYd5iNuBjaZtuysXWMy1a4r0GKyqtTUETXT8AeKTTr9g+/IPrlY8eEK+HxFCge/8WV8k zEUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=soaEHkxXEanM9kpsmJ3aqlurS02W2x9vo/z/5KOEL50=; b=ofQ/tfth9LGIZj4rQmtGGOcDMXFbW8vNKoFylTArWfvH5tq/dXhBoeCErEZFLozFGX HqfzirryRSk5s19jJx5SG5GJKMltmiT5E9H8M7/TUOZpJZzfG/vSig3a8pfrW6BZS50d RwBzmaJgBiTgJkodxt3Pk9Vm6O2MzdRXmcXreivjfymgFus/T1S0gOxvl2+naIMZjngx 5DQ6aL4uys+dSgLHSHmGwPZlfhaXG/N2lPXqrDazzIsaONWRCZIq/SIkG1EEhZ62Yof0 6OhO23wJzS6LBhcvXpwcS0rMzpZaAMIHIzScb2GSWCIu0p0I51dTFR3B/Kx+TAyUL8D1 paSQ== X-Gm-Message-State: APzg51CVkFKiOJieqSOzUp3OmedShSZysUHwwZa0Frgi7BqaM5UdeyXU MGI5SMYggXojMc5QnDGcs34Bj03XW1AXbJMW9Ffs/Q== X-Google-Smtp-Source: ANB0VdZuSVfHAKIsbKRI+piRRPnri1EM9OttnaO47mfNtx++4Er5ITYZC7BHNiiS5JnqSaXPuG9G+o3MWhLhnfz5kAc= X-Received: by 2002:ac8:2b01:: with SMTP id 1-v6mr1119891qtu.119.1536221719943; Thu, 06 Sep 2018 01:15:19 -0700 (PDT) MIME-Version: 1.0 References: <20180901014953.GV45503@funkthat.com> <20180901211123.GZ45503@funkthat.com> <20180904164303.68c43b6e@x23> <20180904162815.GA75530@funkthat.com> <20180905104433.08ad13b8@x23> <20180905124730.0f266c37@x23> <20180906004206.GB75530@funkthat.com> <20180906083535.36ac39ce@x23> In-Reply-To: <20180906083535.36ac39ce@x23> From: Vincenzo Maffione Date: Thu, 6 Sep 2018 10:12:57 +0200 Message-ID: Subject: Re: vale and netmap module questions To: Marko Zec Cc: jmg@funkthat.com, bz@freebsd.org, Luigi Rizzo , "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 06 Sep 2018 08:15:22 -0000 Il giorno gio 6 set 2018 alle ore 08:35 Marko Zec ha scritto: > On Wed, 5 Sep 2018 17:42:06 -0700 > John-Mark Gurney wrote: > > > Marko Zec wrote this message on Wed, Sep 05, 2018 at 12:47 +0200: > > > On Wed, 5 Sep 2018 12:36:38 +0200 > > > Vincenzo Maffione wrote: > > > > > > > Hi Marko, > > > > Thanks a lot for identifying the problem. > > > > If I understand correctly, simply adding -D VIMAGE here > > > > > https://github.com/luigirizzo/netmap/blob/master/sys/modules/netmap/Makefile#L11 > > > > would at least mitigate the issue. > > > > If you think I'm right I'll just add it. > > > > > > Right, go for it... > > > > Why not just hook up netmap to the build? > > I have no idea why it is on by default only on amd64... Perhaps due to > the lack of adopters / testers on other platforms? Perhaps the code has > some assumptions re. memory coherence model, or unaligned accesses, > which hold the water on amd64 but not necessarily elsewhere? > We used netmap on aarch64 (on Linux) with no problems. There can certainly be bugs on untested platforms, but there are no assumptions about the cache coherence model. And we do not use unaligned access, of course, which would slow down the whole thing. > > > Because if you add -DVIMAGE to the Makefile, you'll now break people > > who have kernels w/o VIMAGE.. > > No, and this is certifiable. At least in this particular case, we have > only two macro instances which set / restore curvnet prior to calling > into the network stack. If the network stack is of the non-VNET kind, > and thus doesn't care about curvnet, that won't do any harm. > Yes indeed. I just tried on FreeBSD 10.3 (with VIMAGE off) and netmap works when compiled with -DVIMAGE. > > > And the only reason to build netmap module manually is because it's not > hooked up. > > There's still a reason to retain the possibility to build netmap as > module, as this speeds up the development cycles for netmap-internal > hackers / experimenters. > > But beyond that, running netmap without native support in device > drivers is pretty much pointless. > Not really. Netmap exports software-only ports, like pipes, monitor, VALE ports, etc, that you can use with profit even without native support. The real problem, if I recall correctly, is that FreeBSD modules introduce a significant overhead every time you need to invoke a module function from the kernel core image. I guess it is a matter of reference counters and locks. So running netmap as a module leads to significantly lower performance. But it is ok for regression testing and experimentation. -- Vincenzo From owner-freebsd-net@freebsd.org Thu Sep 6 13:15:34 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 2392EFFAE4C for ; Thu, 6 Sep 2018 13:15:34 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAAAA766EE; Thu, 6 Sep 2018 13:15:33 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id A8AC81D509; Thu, 6 Sep 2018 13:15:33 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [172.28.128.1] (d5152df30.static.telenet.be [81.82.223.48]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 31AC8B036; Thu, 6 Sep 2018 15:15:31 +0200 (CEST) From: "Kristof Provost" To: "Bjoern A. Zeeb" Cc: "FreeBSD Net" Subject: vnet shutdown / ifnet_departure_event Date: Thu, 06 Sep 2018 15:15:30 +0200 X-Mailer: MailMate (2.0BETAr6119) Message-ID: <3F130DF9-40CA-45C9-944E-91E1CA2BF445@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; markup=markdown Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 06 Sep 2018 13:15:34 -0000 Hi Bjoern, I’m running into an issue with vnet shutdown. It manifests consistently with pfsync, but if I understand the problem fully it’s not really related to pfsync. The issue is that we end up with a use-after-free of the struct ifnet of the pfsync interface. When the jail shuts down the pfsync interface is destroyed, but because this is during vnet shutdown we skip a lot of the cleanup. Including the `EVENTHANDLER_INVOKE(ifnet_departure_event, ifp);`, which means pf doesn’t get notified that the interface went away, so it keeps its struct pfi_kif for that interface, which it tries to clean up when we get round to doing the vnet shutdown for pf. At that point it tries to clear the if_pf_kif and pfg_pf_kif pointers, for an ifp which has already been freed. Invoking the event handler from the ‘if (shutdown)’ code in if_detach_internal() fixes the problem, but I’m not totally confident that won’t have any unexpected side effects. Best regards, Kristof From owner-freebsd-net@freebsd.org Thu Sep 6 13:17:34 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 D95F1FFAF48 for ; Thu, 6 Sep 2018 13:17:33 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Received: from x-ray.optiplex-networks.com (mail.optiplex-networks.com [212.159.80.20]) (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 3E6BD76800 for ; Thu, 6 Sep 2018 13:17:32 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Received: from localhost (localhost [127.0.0.1]) by x-ray.optiplex-networks.com (Postfix) with ESMTP id CA035A200E8; Thu, 6 Sep 2018 14:17:23 +0100 (BST) Received: from x-ray.optiplex-networks.com ([127.0.0.1]) by localhost (x-ray.optiplex-networks.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id yfZlbvE0K4kU; Thu, 6 Sep 2018 14:17:20 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by x-ray.optiplex-networks.com (Postfix) with ESMTP id D87EDA204EF; Thu, 6 Sep 2018 14:17:20 +0100 (BST) X-Virus-Scanned: amavisd-new at x-ray.optiplex-networks.com Received: from x-ray.optiplex-networks.com ([127.0.0.1]) by localhost (x-ray.optiplex-networks.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6WpEYnNmZwyT; Thu, 6 Sep 2018 14:17:20 +0100 (BST) Received: from Sting-Ray.optiplex-networks.com (unknown [192.168.20.30]) by x-ray.optiplex-networks.com (Postfix) with ESMTPSA id B59AEA200E8; Thu, 6 Sep 2018 14:17:20 +0100 (BST) Subject: Re: iSCSI issues after upgrading to 11.2 x64 RELEASE To: Eugene Grosbein , Ryan Moeller , freebsd-net@freebsd.org References: <541494c3-d275-dee2-ff5e-8b276ef8d9d6@gmail.com> <0C437CBE-E525-4277-9315-6205206CDBB7@ixsystems.com> From: Kaya Saman Message-ID: <351b8574-d936-7efc-782c-bd50e28fa784@optiplex-networks.com> Date: Thu, 6 Sep 2018 14:17:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US-large Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 06 Sep 2018 13:17:34 -0000 So, the system semi hung again.... ctrl + alt + F(n) only thing that was=20 working. :-( On 9/4/18 6:08 PM, Eugene Grosbein wrote: > 04.09.2018 23:57, Ryan Moeller wrote: > >>> The NIC's are Intel based using igb kernel driver: >>> >>> igb0: flags=3D8843 metric 0 m= tu 9000 >>> options=3D6403bb >> I see your MTU is 9000, and as described by the other thread you linke= d to, there are issues with 9k jumbo cluster allocation. >> Some detailed notes are here, but the quick summary is: set MTU < 4096 >> https://gist.github.com/freqlabs/eba9b755f17a223260246becfbb150a1 Yes MTU 9000, though it seems the 9k issues are related to FreeBSD=20 only?? - my other OS's (OpenBSD and Linux based) seem to be able to=20 handle the setting fine as I haven't experienced any issues with them.=20 However, their driver implementation or handling of things maybe quite=20 different so I cannot form a direct comparison. Taking your advice and reading through the link I reset the MTU to 4000=20 after the 'hang' mentioned above, so far no issues: 24652/3428/28080 mbufs in use (current/cache/total) 0/1358/1358/1525810 mbuf clusters in use (current/cache/total/max) 0/1081 mbuf+clusters out of packet secondary zone in use (current/cache) 24648/129/24777/762905 4k (page size) jumbo clusters in use (current/cach= e/total/max) 0/0/0/226045 9k jumbo clusters in use (current/cache/total/max) 0/0/0/127150 16k jumbo clusters in use (current/cache/total/max) 104755K/4089K/108844K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 sendfile syscalls 0 sendfile syscalls completed without I/O request 0 requests for I/O initiated by sendfile 0 pages read by sendfile as part of a request 0 pages were valid at time of a sendfile request 0 pages were requested for read ahead by applications 0 pages were read ahead by sendfile 0 times sendfile encountered an already busy page 0 requests for sfbufs denied 0 requests for sfbufs delayed >> >>> Can anyone suggest anything to stop my system from completely locking= up and becoming unresponsive? >>> At the moment I'm not sure if switching to 'Stable' or 'Current' bran= ches is a good solution? >> The problem has been mitigated for a while on 12-CURRENT, so that migh= t be worth trying. Otherwise I=E2=80=99ve been hoping a committer will pu= t this fix in 11-STABLE, but in the meantime you could manually apply the= patch: >> https://reviews.freebsd.org/D16534 > Intel NIC users also should be aware of chip hardware problems while de= aling with 9k MTU, like documented here: > https://www.intel.com/content/dam/www/public/us/en/documents/specificat= ion-updates/i218-i219-ethernet-connection-spec-update.pdf > > In short, Intel does not recommend MTU over 8500. That's really interesting! The card in the system is one of these 4 port ones:=20 https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/e= thernet-controller-i350-datasheet.pdf For now I'll keep the mtu at 4000 then when 12 becomes RELEASE, I'll try=20 cranking it up again to see if the problem has been fixed; however, I=20 set up a cron job to mail me the output of 'netstat -m' so I can keep=20 track of the mbufs though it's probably going to be more useful at full=20 whack - meaning 9k then now were it seems the issue has been temporarily=20 alleviated.... > > _______________________________________________ > 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" Kaya From owner-freebsd-net@freebsd.org Thu Sep 6 15:20:47 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 19226FFE018 for ; Thu, 6 Sep 2018 15:20:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A9F6E7B6C6 for ; Thu, 6 Sep 2018 15:20:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6ED65FFE017; Thu, 6 Sep 2018 15:20:46 +0000 (UTC) Delivered-To: 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 5D8C5FFE016 for ; Thu, 6 Sep 2018 15:20:46 +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 005377B6C1 for ; Thu, 6 Sep 2018 15:20:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4ECEE26DB2 for ; Thu, 6 Sep 2018 15:20: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 w86FKjqq007867 for ; Thu, 6 Sep 2018 15:20:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86FKjd6007860 for net@FreeBSD.org; Thu, 6 Sep 2018 15:20: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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Thu, 06 Sep 2018 15:20:44 +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: sbruno@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 06 Sep 2018 15:20:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org, | |markj@FreeBSD.org, | |sbruno@FreeBSD.org --- Comment #9 from Sean Bruno --- The analysis of this bug and the patch provided seem correct to my eye. Ad= ding some folks who have been poking around in the network stack at the moment to advise. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 15:30:14 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 202B3FFE6B1 for ; Thu, 6 Sep 2018 15:30:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AA4087C196 for ; Thu, 6 Sep 2018 15:30:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6F3A6FFE6AE; Thu, 6 Sep 2018 15:30:13 +0000 (UTC) Delivered-To: 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 5DF2FFFE6AD for ; Thu, 6 Sep 2018 15:30:13 +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 F1A647C18A for ; Thu, 6 Sep 2018 15:30:12 +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 2C38126F08 for ; Thu, 6 Sep 2018 15:30:12 +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 w86FUCUM041521 for ; Thu, 6 Sep 2018 15:30:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86FUCdH041520 for net@FreeBSD.org; Thu, 6 Sep 2018 15:30:12 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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Thu, 06 Sep 2018 15:30:11 +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: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 06 Sep 2018 15:30:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 --- Comment #10 from Bjoern A. Zeeb --- Stupid question: can someone write the short test case for this to reprodu= ce the problem? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 15:39: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 205C6FFEC24 for ; Thu, 6 Sep 2018 15:39:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B22917CB16 for ; Thu, 6 Sep 2018 15:39:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 74206FFEC22; Thu, 6 Sep 2018 15:39:25 +0000 (UTC) Delivered-To: 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 62CB1FFEC21 for ; Thu, 6 Sep 2018 15:39:25 +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 025317CB0F for ; Thu, 6 Sep 2018 15:39: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 49A4E27062 for ; Thu, 6 Sep 2018 15:39: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 w86FdOEP060740 for ; Thu, 6 Sep 2018 15:39:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86FdOn1060739 for net@FreeBSD.org; Thu, 6 Sep 2018 15:39: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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Thu, 06 Sep 2018 15:39:23 +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: king.c.david@googlemail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 06 Sep 2018 15:39:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 --- Comment #11 from David King --- Not a script as such, however, to reproduce i create 2 jails with same IP, reduce the ephemeral port range to increase the probability of hitting the issue net.inet.ip.portrange.hifirst: 51000 net.inet.ip.portrange.hilast: 5200 and run the following script in each jail and compare the logs, i'm sure th= ere is an easy way to do this with shell, but I couldn't get the low level error with curl #!/usr/local/bin/python import requests import logging import threading logging.basicConfig(filename=3D'/tmp/python.log',level=3Dlogging.INFO) def makerequests(): try: r =3D requests.get(<% choose a local URL %>) except Exception as e: logging.info(e) for i in range(0,10000): t =3D threading.Thread(target=3Dmakerequests) t.start() --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 15:40:43 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 3FDDAFFECC6 for ; Thu, 6 Sep 2018 15:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CF0217CBCE for ; Thu, 6 Sep 2018 15:40:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 93E4EFFECC5; Thu, 6 Sep 2018 15:40:42 +0000 (UTC) Delivered-To: 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 82CE4FFECC4 for ; Thu, 6 Sep 2018 15:40:42 +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 245167CBC5 for ; Thu, 6 Sep 2018 15:40:42 +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 82EB327072 for ; Thu, 6 Sep 2018 15:40:41 +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 w86FefOg062115 for ; Thu, 6 Sep 2018 15:40:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86Fef7C062114 for net@FreeBSD.org; Thu, 6 Sep 2018 15:40:41 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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Thu, 06 Sep 2018 15:40:41 +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: king.c.david@googlemail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 06 Sep 2018 15:40:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 --- Comment #12 from David King --- missed a zero on net.inet.ip.portrange.hilast: 52000 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 15:58: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 1244FFFF4B3 for ; Thu, 6 Sep 2018 15:58:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A3F137D6CA for ; Thu, 6 Sep 2018 15:58:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 68B74FFF4B1; Thu, 6 Sep 2018 15:58:47 +0000 (UTC) Delivered-To: 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 57740FFF4AF for ; Thu, 6 Sep 2018 15:58:47 +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 EDF967D6C3 for ; Thu, 6 Sep 2018 15:58:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 41B5F2733B for ; Thu, 6 Sep 2018 15:58: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 w86FwkhB098376 for ; Thu, 6 Sep 2018 15:58:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86Fwkrm098375 for net@FreeBSD.org; Thu, 6 Sep 2018 15:58: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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Thu, 06 Sep 2018 15:58: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: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 06 Sep 2018 15:58:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tuexen@freebsd.org --- Comment #13 from Michael Tuexen --- What is the semantic of the last argument of in_pcblookup_local()? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 16:45: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 39592FCC8C6 for ; Thu, 6 Sep 2018 16:45:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CAB967F831 for ; Thu, 6 Sep 2018 16:45:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8C6C0FCC8C5; Thu, 6 Sep 2018 16:45:55 +0000 (UTC) Delivered-To: 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 7B4B7FCC8C4 for ; Thu, 6 Sep 2018 16:45:55 +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 1D0757F82E for ; Thu, 6 Sep 2018 16:45:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 52C2B27A36 for ; Thu, 6 Sep 2018 16:45:54 +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 w86GjsPW021752 for ; Thu, 6 Sep 2018 16:45:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86GjsSq021751 for net@FreeBSD.org; Thu, 6 Sep 2018 16:45:54 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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Thu, 06 Sep 2018 16:45:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 06 Sep 2018 16:45:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 --- Comment #14 from Bjoern A. Zeeb --- Ok, trying to summarise to get the exact case right as the suggested patch looks not quite right. There are too many (corner) cases to consider. two jails, same single IP address. In each jail a program tries to establish a connection and has bound a local source address or not, but must not have bound a local port number. On connect() to a local or remote address and port there may be a case that= two applications in two different jails get an implicit bind to the same local = port number out of which one succeeds and one fails? So one connect call succee= ds and one fails? It is not yet fully understood if the same could possibly happen between the base system and a jail, in which case it is assumed that the connect() insi= de the jail would be the one always failing? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 16:46:33 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 46618FCC8F0 for ; Thu, 6 Sep 2018 16:46:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D79BE7F89B for ; Thu, 6 Sep 2018 16:46:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9CB0EFCC8EF; Thu, 6 Sep 2018 16:46:32 +0000 (UTC) Delivered-To: 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 8B802FCC8ED for ; Thu, 6 Sep 2018 16:46:32 +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 2D1907F894 for ; Thu, 6 Sep 2018 16:46:32 +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 7456127A3E for ; Thu, 6 Sep 2018 16:46:31 +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 w86GkVWB022432 for ; Thu, 6 Sep 2018 16:46:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86GkVs1022431 for net@FreeBSD.org; Thu, 6 Sep 2018 16:46:31 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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Thu, 06 Sep 2018 16:46:31 +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: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 06 Sep 2018 16:46:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |bz@FreeBSD.org Status|New |Open --- Comment #15 from Bjoern A. Zeeb --- I'll take the bug for now at least --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 19:33:33 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 EB6B6FE309D for ; Thu, 6 Sep 2018 19:33:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 89023886AE for ; Thu, 6 Sep 2018 19:33:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4DB76FE309C; Thu, 6 Sep 2018 19:33:32 +0000 (UTC) Delivered-To: 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 3C5F6FE309B for ; Thu, 6 Sep 2018 19:33:32 +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 D2634886AB for ; Thu, 6 Sep 2018 19:33:31 +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 2C7A3127B for ; Thu, 6 Sep 2018 19:33:31 +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 w86JXVkp091479 for ; Thu, 6 Sep 2018 19:33:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86JXV6E091478 for net@FreeBSD.org; Thu, 6 Sep 2018 19:33:31 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: net@FreeBSD.org Subject: [Bug 210726] tcp connect() can return invalid EADDRINUSE Date: Thu, 06 Sep 2018 19:33:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rgrimes@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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.27 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, 06 Sep 2018 19:33:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210726 Rodney W. Grimes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org, | |rgrimes@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 19:44:43 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 368C8FE36E0 for ; Thu, 6 Sep 2018 19:44:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C769189139 for ; Thu, 6 Sep 2018 19:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 89754FE36DA; Thu, 6 Sep 2018 19:44:42 +0000 (UTC) Delivered-To: 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 78630FE36D8 for ; Thu, 6 Sep 2018 19:44:42 +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 1966789135 for ; Thu, 6 Sep 2018 19:44:42 +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 7855913FD for ; Thu, 6 Sep 2018 19:44:41 +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 w86JifVQ012537 for ; Thu, 6 Sep 2018 19:44:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86JifxP012536 for net@FreeBSD.org; Thu, 6 Sep 2018 19:44:41 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: net@FreeBSD.org Subject: [Bug 231192] cxl: nic does not work after reboot Date: Thu, 06 Sep 2018 19:44:41 +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.2-RELEASE X-Bugzilla-Keywords: regression 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: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords 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.27 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, 06 Sep 2018 19:44:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231192 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |regression --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 19:50: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 D74D8FE3CD6 for ; Thu, 6 Sep 2018 19:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6FB10896A2 for ; Thu, 6 Sep 2018 19:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 347BFFE3CD5; Thu, 6 Sep 2018 19:50:53 +0000 (UTC) Delivered-To: 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 234CFFE3CD4 for ; Thu, 6 Sep 2018 19:50:53 +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 B98758969D for ; Thu, 6 Sep 2018 19:50:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 247581425 for ; Thu, 6 Sep 2018 19:50:52 +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 w86JoqPH021677 for ; Thu, 6 Sep 2018 19:50:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86Joqks021676 for net@FreeBSD.org; Thu, 6 Sep 2018 19:50:52 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: net@FreeBSD.org Subject: [Bug 231192] cxl: nic does not work after reboot Date: Thu, 06 Sep 2018 19:50:51 +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.2-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: np@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: np@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 06 Sep 2018 19:50:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231192 Navdeep Parhar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |np@FreeBSD.org Assignee|net@FreeBSD.org |np@FreeBSD.org Status|New |Open --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 6 20:16:40 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 02731FE4B67 for ; Thu, 6 Sep 2018 20:16:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 945E28ABD8 for ; Thu, 6 Sep 2018 20:16:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 59305FE4B66; Thu, 6 Sep 2018 20:16:39 +0000 (UTC) Delivered-To: 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 47DF5FE4B65 for ; Thu, 6 Sep 2018 20:16:39 +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 DDD1E8ABD4 for ; Thu, 6 Sep 2018 20:16:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3774A181B for ; Thu, 6 Sep 2018 20:16:38 +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 w86KGcdd000138 for ; Thu, 6 Sep 2018 20:16:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w86KGcWj000137 for net@FreeBSD.org; Thu, 6 Sep 2018 20:16:38 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: net@FreeBSD.org Subject: [Bug 231192] cxl: nic does not work after reboot Date: Thu, 06 Sep 2018 20:16:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rgrimes@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: np@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.27 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, 06 Sep 2018 20:16:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231192 Rodney W. Grimes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Sep 7 01:56: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 A6B17FEC962 for ; Fri, 7 Sep 2018 01:56:18 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 329BB755EC for ; Fri, 7 Sep 2018 01:56:15 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local ([199.201.64.140]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w871uCxd054383 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 6 Sep 2018 18:56:13 -0700 (PDT) (envelope-from julian@freebsd.org) To: "freebsd-net@freebsd.org" From: Julian Elischer Subject: freebsd stack in user space Message-ID: <2a392b9d-1abe-60f8-40ab-ef66c67316dc@freebsd.org> Date: Thu, 6 Sep 2018 18:56:06 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 07 Sep 2018 01:56:18 -0000 I know some people have done this..  anyone have pointers? Julian From owner-freebsd-net@freebsd.org Fri Sep 7 05:00: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 2DBBBFF0807 for ; Fri, 7 Sep 2018 05:00:41 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D58127AAA0; Fri, 7 Sep 2018 05:00:40 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: olivier/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A18DE23427; Fri, 7 Sep 2018 05:00:40 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: by mail-pf1-f171.google.com with SMTP id j26-v6so6399131pfi.10; Thu, 06 Sep 2018 22:00:40 -0700 (PDT) X-Gm-Message-State: APzg51Df+LiyAVdVCAnGNjTum/0yDAS9oFnSEvzZrgxe2NR4Blv5shG4 jqUSI8+yg9LjwddnmaXdg1zvYkKbWK18k+wNIjg= X-Google-Smtp-Source: ANB0VdahOLk2R2BKMEIZZKwCkVjEUU5wI3Lv0uMEZn09Yz9Z86aOA29d2wrmsHI+Tkd1Kc0r+sI9gx0AnWKQHABRr1c= X-Received: by 2002:a62:c4da:: with SMTP id h87-v6mr6551038pfk.39.1536296439200; Thu, 06 Sep 2018 22:00:39 -0700 (PDT) MIME-Version: 1.0 References: <2a392b9d-1abe-60f8-40ab-ef66c67316dc@freebsd.org> In-Reply-To: <2a392b9d-1abe-60f8-40ab-ef66c67316dc@freebsd.org> From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Fri, 7 Sep 2018 07:00:26 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: freebsd stack in user space To: Julian Elischer Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 07 Sep 2018 05:00:41 -0000 On Fri, Sep 7, 2018 at 3:56 AM Julian Elischer wrote: > I know some people have done this.. anyone have pointers? > > > Hi Julian, libuinet: https://github.com/pkelsey/libuinet A presentation about: https://www.youtube.com/watch?v=LhIx8q8_7YY From owner-freebsd-net@freebsd.org Fri Sep 7 22:29: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 893A5FCC00A for ; Fri, 7 Sep 2018 22:29:07 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F14E07A11C for ; Fri, 7 Sep 2018 22:29:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (c-24-18-193-141.hsd1.wa.comcast.net [24.18.193.141]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w87MT4Qq060318 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 7 Sep 2018 15:29:05 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: freebsd stack in user space From: Julian Elischer To: "freebsd-net@freebsd.org" References: <2a392b9d-1abe-60f8-40ab-ef66c67316dc@freebsd.org> Message-ID: <3687a39e-5250-a845-4a86-463812dc9286@freebsd.org> Date: Fri, 7 Sep 2018 15:29:04 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <2a392b9d-1abe-60f8-40ab-ef66c67316dc@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 07 Sep 2018 22:29:07 -0000 On 6/9/18 6:56 pm, Julian Elischer wrote: > I know some people have done this..  anyone have pointers? thanks to all who responded. > > Julian > > > _______________________________________________ > 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 Fri Sep 7 22:47:21 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 86467FCC648 for ; Fri, 7 Sep 2018 22:47:21 +0000 (UTC) (envelope-from michael.tuexen@lurchi.franken.de) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25BE27A888; Fri, 7 Sep 2018 22:47:20 +0000 (UTC) (envelope-from michael.tuexen@lurchi.franken.de) Received: from [192.168.1.9] (p57BB4F23.dip0.t-ipconnect.de [87.187.79.35]) (Authenticated sender: lurchi) by mail-n.franken.de (Postfix) with ESMTPSA id 9FCE3721E280C; Sat, 8 Sep 2018 00:47:11 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: freebsd stack in user space From: Michael Tuexen In-Reply-To: <2a392b9d-1abe-60f8-40ab-ef66c67316dc@freebsd.org> Date: Sat, 8 Sep 2018 00:47:09 +0200 Cc: "freebsd-net@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: <3B5F77C1-6E4B-4B8F-A6E4-FDEE87BFF5CE@lurchi.franken.de> References: <2a392b9d-1abe-60f8-40ab-ef66c67316dc@freebsd.org> To: Julian Elischer X-Mailer: Apple Mail (2.3445.9.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 07 Sep 2018 22:47:21 -0000 > On 7. Sep 2018, at 03:56, Julian Elischer wrote: > > I know some people have done this.. anyone have pointers? For the SCTP stack: https://github.com/sctplab/usrsctp It is included in most browsers (Firefox, Chrome, Safari, ...) Best regards Michael > > Julian > > > _______________________________________________ > 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"