From owner-freebsd-net@freebsd.org Sun May 3 08:42:13 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD40F2D8043 for ; Sun, 3 May 2020 08:42:13 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward500o.mail.yandex.net (forward500o.mail.yandex.net [37.140.190.195]) (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 49FKH745LXz4Qmg for ; Sun, 3 May 2020 08:42:10 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from mxback12o.mail.yandex.net (mxback12o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::63]) by forward500o.mail.yandex.net (Yandex) with ESMTP id 5F560602ED; Sun, 3 May 2020 11:42:08 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback12o.mail.yandex.net (mxback/Yandex) with ESMTP id Q1qZiVptDn-g7jWLDCl; Sun, 03 May 2020 11:42:07 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1588495327; bh=fDpYQtSeXknnvl3HkajWlEbWaruzo3SsI7yN7h3icxw=; h=Message-Id:Subject:In-Reply-To:Date:References:To:From; b=HwCelyX2muKx9jZBOU/X8hoEbGbsoDw7ZUiyldlvqnZlgz3gKcM7j5aY/jk9WowU6 fc3U9ATpzYGTc4PFzxOvVyC6wf3Nst1ktuefGQKfwH+FySx9v01555/aLM1MjgBj3k 31ULtNDJg8u6Y80Q9FeTu/ZPYbNTXQxL0cFIBhWU= Received: by myt4-d12e6d6cc867.qloud-c.yandex.net with HTTP; Sun, 03 May 2020 11:42:07 +0300 From: Alexander V. Chernikov Envelope-From: melifaro@ipfw.ru To: Steffen Christgau , "freebsd-net@freebsd.org" In-Reply-To: <4f3a314a-f938-476b-f75e-e495756a5488@s14u.de> References: <4f3a314a-f938-476b-f75e-e495756a5488@s14u.de> Subject: Re: Notification about tentative IPv6 address from route socket MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Sun, 03 May 2020 09:42:07 +0100 Message-Id: <718441588495188@mail.yandex.ru> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Rspamd-Queue-Id: 49FKH745LXz4Qmg X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ipfw.ru header.s=mail header.b=HwCelyX2; dmarc=none; spf=pass (mx1.freebsd.org: domain of melifaro@ipfw.ru designates 37.140.190.195 as permitted sender) smtp.mailfrom=melifaro@ipfw.ru X-Spamd-Result: default: False [-4.04 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[ipfw.ru:s=mail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:37.140.128.0/18]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ipfw.ru:+]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-1.74)[ipnet: 37.140.128.0/18(-4.88), asn: 13238(-3.85), country: RU(0.01)]; FORGED_SENDER(0.30)[melifaro@freebsd.org,melifaro@ipfw.ru]; RCVD_IN_DNSWL_LOW(-0.10)[195.190.140.37.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:13238, ipnet:37.140.128.0/18, country:RU]; FROM_NEQ_ENVFROM(0.00)[melifaro@freebsd.org,melifaro@ipfw.ru] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 03 May 2020 08:42:13 -0000 30.04.2020, 17:40, "Steffen Christgau" : > Hi everybody, Hi Steffen, > > I'm quiet new in developing applications with support for FreeBSD, so > please excuse if that question has an obvious answer which I can't see > at the moment. > > I'm developing a small daemon which should detect and handle changes of > IP addresses in order to open new sockets and close them when addresses > come and go. I implemented this so far by using PF_ROUTE sockets on > FreeBSD 12.1. This works quiet well and I'm able to see additions and > deletions of addresses. > > For IPv6, however, I get notified about an address which is tentative (I > use ifconfig to add an link-local address manually) and I - > understandably - cannot bind a socket to that address. While I assume > that I can check for the address being tentative with ioctl(fd, > SIOCGIFAFLAG_IN6, ...), I'd like to ask the following: > > 1) Is there a way to get notified about the address being available for > usage (i.e. not tentative anymore, not duplicated) without _polling_ via Not that I'm aware of :-( > ioctl? My application is currently almost completely event driven and > integrating such a repeated timeout based detection of > tentative/duplicated addresses appears a little awkward. In addition > blocking until the address state changes is not really an option. > > 2) I know FreeBSD is not Linux, but on Linux with netlink sockets I get > notified about a) the address appearing (including flags) and b) some > time later the address being not tentative anymore (detectable via > flags). I wonder why the route socket on FreeBSD reports an address that > is currently hardly to use. On the other hand, I understand that > RTM_NEWADDR does exactly what is documented, i.e. to notify about an > "address being added to iface". Nevertheless, wouldn't it make sense to > tell an application that a change for an address takes place? I couldn't > observe such a behavior for IPv6 on FreeBSD. If there is currently no > really such notification, the kernel could emit a new message like > RTM_ADDRCHANGE or it may repeats the emission of RTM_NEWADDR (which It makes total sense. I have plans to update some rtsock internals and will take a look at this one. Thank you for your suggestion! > might confuse existing applications). Also the addition of an address > flags field to ifa_msghdr message might be beneficial. It would also > avoid additional ioctl calls and the boilerplate required around that. > Just thinking aloud... However, if there is already a notification-based > mechanism to get informed about a ready-to-use IPv6 address, could you > please provide me a pointer to that? > > Looking forward for your responses. > > Regards, Steffen > _______________________________________________ > 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 Sun May 3 09:20:07 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AD8B2D8DD8 for ; Sun, 3 May 2020 09:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49FL6t749mz4S9s for ; Sun, 3 May 2020 09:20:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F29CC2D8DD7; Sun, 3 May 2020 09:20:06 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F260E2D8DD6 for ; Sun, 3 May 2020 09:20:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FL6t66kgz4S9r for ; Sun, 3 May 2020 09:20:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD67C8B3F for ; Sun, 3 May 2020 09:20:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0439K6PJ073690 for ; Sun, 3 May 2020 09:20:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0439K6d3073689 for net@FreeBSD.org; Sun, 3 May 2020 09:20: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 245712] iflib: ift_mtx_name is too small Date: Sun, 03 May 2020 09:20:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11- X-Bugzilla-Changed-Fields: flagtypes.name 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.29 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, 03 May 2020 09:20:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245712 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable11- Keywords|needs-patch, needs-qa | --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun May 3 16:42:41 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 466592E24F7 for ; Sun, 3 May 2020 16:42:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49FWxY1Dw3z3Qm9 for ; Sun, 3 May 2020 16:42:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2A48C2E24F6; Sun, 3 May 2020 16:42:41 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2A0E62E24F5 for ; Sun, 3 May 2020 16:42:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FWxY0JKHz3Qm7 for ; Sun, 3 May 2020 16:42:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05CEEE1F0 for ; Sun, 3 May 2020 16:42:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 043Ggecu073727 for ; Sun, 3 May 2020 16:42:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 043GgeBa073726 for net@FreeBSD.org; Sun, 3 May 2020 16:42:40 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 219901] if_bridge(4): Panic when destroying interface on bridge over time Date: Sun, 03 May 2020 16:42:40 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa, vimage X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? 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.29 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, 03 May 2020 16:42:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219901 --- Comment #5 from Kristof Provost --- I'm not immediately able to reproduce this. Can you provide more details ab= out what your setup is, and what you do when you start and stop jails? The ideal would be a test script which can trigger the panic. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun May 3 17:59:23 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 63DF22E4170 for ; Sun, 3 May 2020 17:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49FYf323fWz41Rd for ; Sun, 3 May 2020 17:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 44DD42E416F; Sun, 3 May 2020 17:59:23 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44A612E416E for ; Sun, 3 May 2020 17:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FYf31B3sz41Rc for ; Sun, 3 May 2020 17:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0B16FEF85 for ; Sun, 3 May 2020 17:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 043HxMio082975 for ; Sun, 3 May 2020 17:59:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 043HxM2K082974 for net@FreeBSD.org; Sun, 3 May 2020 17:59: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 205706] Watchdog timeout on em driver under heavy traffic on a bridge configuration Date: Sun, 03 May 2020 17:59: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: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: daulton@tetmail.ca 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.29 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, 03 May 2020 17:59:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205706 daulton@tetmail.ca changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daulton@tetmail.ca --- Comment #10 from daulton@tetmail.ca --- I receive the same problem except on FreeNAS-11.3-U2. The problem started a= few updates ago, sometime around 11.2-U6. I have been using the same system sin= ce FreeNAS 9.10 and it did not have this problem back then. The motherboard is= a Supermicro X8SIA which has dual onboard Intel 82574L Gigabit Ethernet Controllers. I noticed from my Zabbix logs this issue mostly seems to happen during or a= fter my backups run to the system, which occur over NFS. This is a lot of sustai= ned traffic from two hypervisors backing up all guest hosts. In the logs I get the same sort of error others shared: Apr 18 19:18:42 freenas em0: Watchdog timeout Queue[0]-- resetting Apr 18 19:18:42 freenas Interface is RUNNING and ACTIVE Apr 18 19:18:42 freenas em0: TX Queue 0 ------ Apr 18 19:18:42 freenas em0: hw tdh =3D 0, hw tdt =3D 905 Apr 18 19:18:42 freenas em0: Tx Queue Status =3D -2147483648 Apr 18 19:18:42 freenas em0: TX descriptors avail =3D 119 Apr 18 19:18:42 freenas em0: Tx Descriptors avail failure =3D 0 Apr 18 19:18:42 freenas em0: RX Queue 0 ------ Apr 18 19:18:42 freenas em0: hw rdh =3D 0, hw rdt =3D 1023 Apr 18 19:18:42 freenas em0: RX discarded packets =3D 0 Apr 18 19:18:42 freenas em0: RX Next to Check =3D 0 Apr 18 19:18:42 freenas em0: RX Next to Refresh =3D 0 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun May 3 18:31:44 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 30DFC2E4F21 for ; Sun, 3 May 2020 18:31:44 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49FZMM5KKRz43Mw for ; Sun, 3 May 2020 18:31:43 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: by mailman.nyi.freebsd.org (Postfix) id B4D1B2E4F20; Sun, 3 May 2020 18:31:43 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B37222E4F1F for ; Sun, 3 May 2020 18:31:43 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) (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 49FZMM2C8nz43Mt; Sun, 3 May 2020 18:31:42 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from [212.54.42.135] (helo=smtp11.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVJOu-00044L-RX; Sun, 03 May 2020 20:31:40 +0200 Received: from 94-209-85-88.cable.dynamic.v4.ziggo.nl ([94.209.85.88] helo=wan0.bsd4all.org) by smtp11.tb.mail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1jVJOu-0000VN-N4; Sun, 03 May 2020 20:31:40 +0200 Received: from newnas.bsd4all.local (localhost [127.0.0.1]) by wan0.bsd4all.org (Postfix) with ESMTP id 343C9328; Sun, 3 May 2020 20:31:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from wan0.bsd4all.org ([127.0.0.1]) by newnas.bsd4all.local (newnas.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L1I4Gqovdc3a; Sun, 3 May 2020 20:31:39 +0200 (CEST) Received: from [192.168.1.65] (unknown [192.168.1.65]) by wan0.bsd4all.org (Postfix) with ESMTPSA id 65534327; Sun, 3 May 2020 20:31:39 +0200 (CEST) From: Peter Blok Message-Id: <729E825F-169C-45DC-A615-57558F7F480D@bsd4all.org> Content-Type: multipart/signed; boundary="Apple-Mail=_9CFA93B6-3F94-40BA-AF66-7F5862F57352"; protocol="application/pkcs7-signature"; micalg=sha-256 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Subject: Re: [Bug 219901] if_bridge(4): Panic when destroying interface on bridge over time Date: Sun, 3 May 2020 20:31:38 +0200 In-Reply-To: Cc: "net@freebsd.org" To: bugzilla-noreply@freebsd.org References: X-Mailer: Apple Mail (2.3445.104.14) X-SourceIP: 94.209.85.88 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.3 cv=fqZHmGwf c=1 sm=1 tr=0 a=LYXyOGYQqFYBMgK+Y6iqTg==:17 a=sTwFKg_x9MkA:10 a=6I5d2MoRAAAA:8 a=pkHloervnzRnLLlXToIA:9 a=QEXdDO2ut3YA:10 a=qHf9Zr-WbukIZ6SXRwgA:9 a=ZVk8-NSrHBgA:10 a=IjZwj45LgO3ly-622nXo:22 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Rspamd-Queue-Id: 49FZMM2C8nz43Mt X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 03 May 2020 18:31:44 -0000 --Apple-Mail=_9CFA93B6-3F94-40BA-AF66-7F5862F57352 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I believe if you remove the work-around "exec.poststop =3D "jib destroy = ${name}=E2=80=9D;=E2=80=9D this panic happens Peter > On 3 May 2020, at 18:42, bugzilla-noreply@freebsd.org wrote: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219901 >=20 > --- Comment #5 from Kristof Provost --- > I'm not immediately able to reproduce this. Can you provide more = details about > what your setup is, and what you do when you start and stop jails? >=20 > The ideal would be a test script which can trigger the panic. >=20 > --=20 > You are receiving this mail because: > You are on the CC list for the bug. > You are the assignee for the bug. > _______________________________________________ > 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" --Apple-Mail=_9CFA93B6-3F94-40BA-AF66-7F5862F57352 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCBSAw ggUcMIIEBKADAgECAhEAq2wFIs+rCK6H6/2jbblXhDANBgkqhkiG9w0BAQsFADCBlzELMAkGA1UE BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgG A1UEChMRQ09NT0RPIENBIExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0EgQ2xpZW50IEF1dGhl bnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0EwHhcNMTgwNDE0MDAwMDAwWhcNMjEwNDEzMjM1 OTU5WjBEMQswCQYDVQQGEwJOTDETMBEGA1UEAxMKUGV0ZXIgQmxvazEgMB4GCSqGSIb3DQEJARYR cGJsb2tAYnNkNGFsbC5vcmcwgg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m9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxPTA7BgNVBAMT NENPTU9ETyBSU0EgQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEQCr bAUiz6sIrofr/aNtuVeEMA0GCSqGSIb3DQEBAQUABIIBAHzuLI+YvUJLDNHb1XqwbNu6iLB8MjZt mxxU/4qTul2ZGpU1bNqJCmxBWvfYog7yYM6EMWwe48J9hPlDrdhVkM49uNCLu3Vb9nBZFBrOjOyZ 5IBpL7oL+Uvq9pINvPaEdtjyBck+9wbuO+Jrqxbu/ul+74oVlg03wFuw3nMpnJ1RCGZUIUSzgOmT XX54NXuQA/PTr5LwlQ7Z8XqOiFPiYsketfC4QBXbpczUY6JiI2DYTrFu1T7sprxfR7ndNUUJz1/R RyF9ptqrfCujFqllNKOaIZlFjHpH6qhUXhQv6K4XZmH0JpWOgYQmGmwp9kKURZTWQxwWvf6bT9sz Ng48O9sAAAAAAAA= --Apple-Mail=_9CFA93B6-3F94-40BA-AF66-7F5862F57352-- From owner-freebsd-net@freebsd.org Sun May 3 21:01:10 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B6BD2B907D for ; Sun, 3 May 2020 21:01:10 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49Fdgn3p18z4JmS for ; Sun, 3 May 2020 21:01:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 754C12B906E; Sun, 3 May 2020 21:01:09 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4A9032B906B for ; Sun, 3 May 2020 21:01:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Fdgn0Vw2z4Jm9 for ; Sun, 3 May 2020 21:01:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0342A192E7 for ; Sun, 3 May 2020 21:01:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 043L18cH023337 for ; Sun, 3 May 2020 21:01:08 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 043L18kq023327 for net@FreeBSD.org; Sun, 3 May 2020 21:01:08 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202005032101.043L18kq023327@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, 3 May 2020 21:01:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 03 May 2020 21:01:10 -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 In Progress | 235700 | oce(4) driver causes fatal trap 12 on boot with e 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 | 7556 | ppp: sl_compress_init() will fail if called anyth Open | 187835 | ngctl(8) strange behavior when adding more than 5 Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194453 | dummynet(4): pipe config bw parameter limited to Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 207261 | netmap: Doesn't do TX sync with kqueue Open | 210726 | tcp connect() can return invalid EADDRINUSE (Eg: Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race Open | 227720 | Kernel panic in ppp server Open | 230807 | if_alc(4): Driver not working for Killer Networki Open | 236888 | ppp daemon: Allow MTU to be overridden for PPPoE Open | 236983 | bnxt(4) VLAN not operational unless explicit "ifc Open | 237072 | netgraph(4): performance issue [on HardenedBSD]? Open | 237840 | Removed dummynet dependency on ipfw Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 240530 | netgraph/ng_source: Allow ng_source to inject int Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile Open | 240969 | netinet6: Neighbour reachability detection broken Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 241162 | Panic in closefp() triggered by nginx (uwsgi with Open | 244066 | divert: Add sysctls for divert socket send and re Open | 118111 | rc: network.subr Add MAC address based interface 28 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon May 4 00:12:53 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DDF1B2BE297 for ; Mon, 4 May 2020 00:12:53 +0000 (UTC) (envelope-from john@saltant.com) Received: from twaddle.saltant.net (twaddle.saltant.net [72.78.188.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49Fjx10FHdz4TSF; Mon, 4 May 2020 00:12:52 +0000 (UTC) (envelope-from john@saltant.com) Received: from statler.priv.n.saltant.net (unknown [IPv6:2001:470:8d6f:0:a502:aedf:6835:9d2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by twaddle.saltant.net (Postfix) with ESMTPSA id 3C0BD14A9; Sun, 3 May 2020 20:12:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=saltant.com; s=twaddle; t=1588551165; bh=EwyXfrjwbyhdPOB52xazAQO2MQUCEoiOW4zJ1ZvnuVQ=; h=To:From:Subject:Date; b=LwXRgB1+43UQTbUPAakOlxl5/a3KdyTt8XlffAMoBohlleR3QiP+lkxPlecutBtuV OLY/ETkqv7yYXidCgeVP3HNCrzi+6LQkI2jKKMFKj5ER1IEo1fkSL+/Y38iJcMeyTy 7bvCEeIIDoJz3kyxYH/0v2SFLPq0xkmpL9Nm3YJm4VB6hgXIzGQCKTYy3AUoBEcCYg ukMGCmZxvgyzsJTt0w4nkRdwIcuVh4ZeJ6Ks3XeZQP4K37A+bB4Yz+Re+s3T9LW1ui i3kIgOtWLPY+lGWsWHqdR5A78NEuEn9NnXoARSGlrjRXUOIzoBKuTOXNsH4GbmYiJA YuVSpoDE0eGMg== To: FreeBSD Net , "Andrey V. Elsukov" From: "John W. O'Brien" Subject: RUNNING flag remains unset upon reinserting a gre into VNET jail Autocrypt: addr=john@saltant.com; prefer-encrypt=mutual; keydata= mQINBFpcMG0BEACeAEQ0ZTUEH+6B8XIBid2H8g1yY+niHxVphqz8JwnQtYX+bS+Kl3vr783F HH81DEbfPtYgHY53NF9FjSzCyj13lXVnEGQOdxXzZVKsN1nyuXCN2hDOFH7Yc5yQ8h85T4Hv sqPIGIXOztu4MX14iUAcTgLhfibNQBeKDeNI+BBeaE9lPuNVeiM+xsI4JYcjmDbjFzAHRpBo ull0koUFh6RZAKE7u17yLej1pTIQQVjQpWdK37BAq4hdkLwjGDY8mDGo3ZwGdNibxIAxv/wi KU6u2DfUg8+kLHIhOqk/+kFQ/uK5YA1azsyD5eIbNAs4W7LglA6SkiGBglTwkP0VCrkPdD14 6sx3U7uFgexDWbVuhLIkcPQ0SRmnjgUKHgk7px/jMvAPKSKoL0JQNdP/+pnO9CDLGmoHx9gE 5kVr5dQK8c/WauEfimAdE9qLuN6vb0Iei73q3e3OOHAUusR5wC5SwXt4iilbaK4r04NKXyfb SB3+qWST07F9cmMscfEStSBhpez3awB+1jz8gr40tkEGsFZGvD2KKAgZdKpoxv6IrZepclWz HpqHF01SRFORYMsd1d83XlEu/S1/Z9YJ87RoCdZuYCkjnoRPtpTi9d+JD/u3ZiQFwLUz/Ne3 VqiGKvY66EGcO3tvANMg6GWD9sqlnBDp9Lls0ChEY3dgDYd6DQARAQABtCJKb2huIFcuIE8n QnJpZW4gPGpvaG5Ac2FsdGFudC5jb20+iQJUBBMBCAA+AhsDBQsJCAcCBhUKCQgLAgQWAgMB Ah4BAheAFiEENPkbBr3zmPAVSH2HM8TWS4ldvzsFAlpcMTMF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G2BbztPbCY5ZP VYGZU+sIwQhEyco+ddv+RL8o7gFDf58nNOgdi03Plsv2N+JpPaU6uoZy4hfzMY/PMhlWaO32 qM0HLyOuojB+RDPZ7oKQbwyavH6YHPcF/aix0DArvCh7nwW0CR/B5YgwD7FtTgE9ZcTof7am IR0ZVQ40kCyanLXp/qHiY9mR0g8Ggy9/rGA5fUsu1/ugyvJPBU/usmQfz3TcTNiuefVrh+Xh cuTc5dDP0d2MHfnKPxnj9F9+9sjJIgD1TbMDtbDhhCw3xkRnR3tbXM2hfDm2CyGKsCYIqDhb Isguy0R5IoW4gL2fHztgtFu3kvYbd45QUuopJhqK/fyRPaEhDx0FE2/jhYdFPJo90DmqL5Pm LJPsa12ActP1cArwAeXFLejxsjfTZeQ49Ww7GK2ZXnoEXFp5fmy2zoCUy12f9245Hvx8ea2y Z9nB+f1CWOPLRctjUqqBWXyQI1cErN9lhJIaCbDFGs61JOBzgFq2q+VnYtWmUJzOtGOGcEfX Nckeve7ALaUiFxGje9zepN2d/xKj Message-ID: Date: Sun, 3 May 2020 20:12:40 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xqNwfezJN2dnf21jtcUAtHagGZBJLvdSL" X-Rspamd-Queue-Id: 49Fjx10FHdz4TSF X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=saltant.com header.s=twaddle header.b=LwXRgB1+; dmarc=none; spf=pass (mx1.freebsd.org: domain of john@saltant.com designates 72.78.188.147 as permitted sender) smtp.mailfrom=john@saltant.com X-Spamd-Result: default: False [-7.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[saltant.com:s=twaddle]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:72.78.188.144/29]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[saltant.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[saltant.com:+]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; IP_SCORE(-2.86)[ip: (-9.91), ipnet: 72.78.0.0/16(-4.91), asn: 701(0.60), country: US(-0.05)]; ASN(0.00)[asn:701, ipnet:72.78.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 04 May 2020 00:12:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xqNwfezJN2dnf21jtcUAtHagGZBJLvdSL Content-Type: multipart/mixed; boundary="R1t7uOqxOd5bvgHjWv8ihzCsIfv5eork0" --R1t7uOqxOd5bvgHjWv8ihzCsIfv5eork0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hello Andrey and FreeBSD Net, Today I stumbled upon what may be zero, one, or maybe two bugs. If it's one bug, then I think there might be a case the fine work in r339552 [0] to keep the RUNNING flag consistent with whether or not the gre source address exists does not accommodate. I'm still working on a minimal test case, so bear with me. If I create gre0 on the host, then start a VNET jail which gets gre0 and a physical interface (msk1, in my case) and inside which both are configured, all is well inside the jail. Upon stopping the jail, the "tunnel" setting is not removed from the gre (I'm not sure whether to consider this a bug, too, or not), so when the dust settles back on the host, msk1 has no address, and the gre is not RUNNING, which is fine. However, if I start the jail again, then the gre is not RUNNING inside the jail even though msk1 again has the appropriate source address. I worked around this by creating gre0 inside the jail where it is destroyed upon jail stop. It would be nice if it either worked the other way, or failed with less astonishment. Am I missing something that should be obvious? If this does seem like a bug, shall I submit something now or wait until I have a cleaner demo? [0] https://svnweb.freebsd.org/changeset/base/339552 (thank you!) Regards, --=20 John W. O'Brien OpenPGP keys: 0x33C4D64B895DBF3B --R1t7uOqxOd5bvgHjWv8ihzCsIfv5eork0-- --xqNwfezJN2dnf21jtcUAtHagGZBJLvdSL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEUgT925O8rsvNs2oHIjgwc/pAJtYFAl6vXfkACgkQIjgwc/pA Jta6xAgA2AT0QyPQhSkjblKpAA/FdDz5SUV5wvuExITJJ6RgGqicY8QXh4ptkS2o Qw80B/UrJembf6ktUU84n9d/9cMFtCPtgeXbCyFOtRDkcUO5mOqUZ21TA1k57dIH l3IHJsCopL1oGdJBjCdoiMLT2SZuRDSesKo5MZ3Q//aKuskboj+FxVZd06ieIGSp 5aSstPydTZh5gynHFF82aKr7eB3boMoxzRj9Q7ZMCviILvVuuHDQqRo5LyAlVoW8 h1fLg9wz9sAIhzsUtKB+HsauO5CpgsxEGykP/n/iVb7e+u4O+cYIL87k/5bWojlW 6xS15ZbQc64SgU+J0DhB9Mgnyc1O4A== =bCgB -----END PGP SIGNATURE----- --xqNwfezJN2dnf21jtcUAtHagGZBJLvdSL-- From owner-freebsd-net@freebsd.org Mon May 4 06:23:03 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 14F072C57FB for ; Mon, 4 May 2020 06:23:03 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Ft866nZDz3G5g; Mon, 4 May 2020 06:23:02 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: by mail-wm1-x343.google.com with SMTP id v8so14726823wma.0; Sun, 03 May 2020 23:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:reply-to :user-agent:mime-version:content-transfer-encoding; bh=n6bu6F2P29RKrkhF58CokKx+5cvQznqOM0XFnE84yiY=; b=nALPVtyI6YdhaTCTv3bcqkC4O5dZTYHw/XozpMsoi/TFZckHSRHEbiE81a+nHDDiPR 5+zAihEdBOPzYQEGc2+8x5d9tJ7FqIUhPNS8WVk4IFBykPUjB02pfw48ryHqQ87hgLsS a2RrEejpsHhxyFqUDe4/nSs54KhoNWF+7yK7mCo7RAZTUxOmBD5FqtaWRrrxR9YOX4up /7arYyU+EMwai13wSN7+GZlzA0ctMmQRLLbFU44rwMIhpe4cTsoxQ5stfEeC2LjB6yX9 Fh5wpL4m2mRg/qljqOCjhSyU9fst/dVNY1YykpyArAVijcKkG9zCYHdzq0TKnpj70jzC ysfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:reply-to:user-agent:mime-version :content-transfer-encoding; bh=n6bu6F2P29RKrkhF58CokKx+5cvQznqOM0XFnE84yiY=; b=LqQ2uILO8kEgC4WdV3GXpFtIjGCLYkgCygcKkX8qiEZsLEB9dIQVPA7Nq8iovXVDh7 PrTExd5B4/mfftC0k75emlpcgzY7Av8e2Ujt9hGf03LXoVVqDTsek+LjHcqH6GVjypy3 fTcyWs3+xp+XDkpBI+KuCVzmd1k+iCmKnOPEinFzfPnd9fodOteUEH/otJl35xzcrRI0 mZFlqGWCF36FS4rFUUFnKhgHpD7pw+utAaoYaRScDkYAUXycmX1H+dJ1ViJEZzI1i6P7 5s3ySGkZxQ8eW4QTY2Jsam/zhGF7knpCgTT5O0TpBAp5B/Hmeq7pudfhojLJNLF2Jvgr 5jQQ== X-Gm-Message-State: AGi0PuZt3ufEsFWlUuK4pGNFUHjMrK02UfqODLPNWPuGYVnKAXVe5IA8 UkVGEPxgnkWwIrRLEwIOJqkpdew2NFM= X-Google-Smtp-Source: APiQypLW0/QYiYP6V0vlHFvqYc++SRzB1Iw9Wy5EeoEH2/D8o+d/PQ+y/cO+tttNV6oPEJFi6rIFwg== X-Received: by 2002:a1c:4c10:: with SMTP id z16mr12859827wmf.77.1588573379972; Sun, 03 May 2020 23:22:59 -0700 (PDT) Received: from ?IPv6:2a02:ed0:2a83:f801:86f:c0e8:a011:2bf? ([2a02:ed0:2a83:f801:86f:c0e8:a011:2bf]) by smtp.gmail.com with ESMTPSA id g74sm11748146wme.44.2020.05.03.23.22.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 May 2020 23:22:59 -0700 (PDT) From: "Guy Yur" To: "Alexander V. Chernikov" , "Steffen Christgau" , "freebsd-net@freebsd.org" , "Roy Marples" Subject: Re[2]: Notification about tentative IPv6 address from route socket Date: Mon, 04 May 2020 06:22:57 +0000 Message-Id: In-Reply-To: <718441588495188@mail.yandex.ru> References: <4f3a314a-f938-476b-f75e-e495756a5488@s14u.de> <718441588495188@mail.yandex.ru> Reply-To: "Guy Yur" User-Agent: eM_Client/7.2.38732.0 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49Ft866nZDz3G5g X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 04 May 2020 06:23:03 -0000 Hi, ------ Original Message ------ From: "Alexander V. Chernikov" To: "Steffen Christgau" ; "freebsd-net@freebsd.org"=20 Sent: 2020-05-03 11:42:07 Subject: Re: Notification about tentative IPv6 address from route socket >30.04.2020, 17:40, "Steffen Christgau" : >> Hi everybody, >Hi Steffen, >> >>... >> >> 1) Is there a way to get notified about the address being available for >> usage (i.e. not tentative anymore, not duplicated) without _polling_ vi= a >Not that I'm aware of :-( >>... >> >> 2) I know FreeBSD is not Linux, but on Linux with netlink sockets I get >> notified about a) the address appearing (including flags) and b) some >> time later the address being not tentative anymore (detectable via >> flags). I wonder why the route socket on FreeBSD reports an address tha= t >> is currently hardly to use. On the other hand, I understand that >> RTM_NEWADDR does exactly what is documented, i.e. to notify about an >> "address being added to iface". Nevertheless, wouldn't it make sense to >> tell an application that a change for an address takes place? I couldn'= t >> observe such a behavior for IPv6 on FreeBSD. If there is currently no >> really such notification, the kernel could emit a new message like >> RTM_ADDRCHANGE or it may repeats the emission of RTM_NEWADDR (which >It makes total sense. I have plans to update some rtsock internals and wil= l take a look at this one. >Thank you for your suggestion! There is a phabricator differential written by Roy Marples that does=20 this: https://reviews.freebsd.org/D5469 Regards, Guy > >> ... >> >> Regards, Steffen >> _______________________________________________ >>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" >_______________________________________________ >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 Mon May 4 07:58:38 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CF2E02C8266 for ; Mon, 4 May 2020 07:58:38 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward501j.mail.yandex.net (forward501j.mail.yandex.net [5.45.198.251]) (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 49FwGN5klGz3MGL for ; Mon, 4 May 2020 07:58:35 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from mxback25j.mail.yandex.net (mxback25j.mail.yandex.net [IPv6:2a02:6b8:0:1619::225]) by forward501j.mail.yandex.net (Yandex) with ESMTP id 8C9F43380397; Mon, 4 May 2020 10:58:33 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback25j.mail.yandex.net (mxback/Yandex) with ESMTP id 8QQXA2KFCO-wWeqcMSd; Mon, 04 May 2020 10:58:32 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1588579112; bh=mj4j5PvnCuSIz4mHzysOj9Ofa21bPHu7L8gHLY/iaxo=; h=Message-Id:Subject:In-Reply-To:Date:References:To:From; b=kkUzeOlj5HItb8nvFgnABwN3A+4axxcJkxHzMXX1waS+pq5CbgvPSlC7Q4Vh46AMk Yf1AVOOWn/jirwzIl2ErDmbkImHsjeyvNQZZW0cQRM7h8jFstlwDO4Gse0xUO2yqao eP5ueXf+vvrdZJID9LIch47otwAaTLnMDKObEXSg= Received: by iva8-5e86d95f65ab.qloud-c.yandex.net with HTTP; Mon, 04 May 2020 10:58:32 +0300 From: Alexander V. Chernikov Envelope-From: melifaro@ipfw.ru To: Guy Yur , Steffen Christgau , "freebsd-net@freebsd.org" , Roy Marples In-Reply-To: References: <4f3a314a-f938-476b-f75e-e495756a5488@s14u.de> <718441588495188@mail.yandex.ru> Subject: Re: Notification about tentative IPv6 address from route socket MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 04 May 2020 08:58:32 +0100 Message-Id: <799631588579004@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 X-Rspamd-Queue-Id: 49FwGN5klGz3MGL X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ipfw.ru header.s=mail header.b=kkUzeOlj; dmarc=none; spf=pass (mx1.freebsd.org: domain of melifaro@ipfw.ru designates 5.45.198.251 as permitted sender) smtp.mailfrom=melifaro@ipfw.ru X-Spamd-Result: default: False [-5.99 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[ipfw.ru:s=mail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:5.45.192.0/19]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ipfw.ru:+]; IP_SCORE(-3.69)[ip: (-9.75), ipnet: 5.45.192.0/18(-4.86), asn: 13238(-3.85), country: RU(0.01)]; FORGED_SENDER(0.30)[melifaro@freebsd.org,melifaro@ipfw.ru]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[251.198.45.5.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:13238, ipnet:5.45.192.0/18, country:RU]; FROM_NEQ_ENVFROM(0.00)[melifaro@freebsd.org,melifaro@ipfw.ru] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 04 May 2020 07:58:38 -0000 04.05.2020, 07:23, "Guy Yur" : > Hi, > > ------ Original Message ------ > From: "Alexander V. Chernikov" > To: "Steffen Christgau" ; "freebsd-net@freebsd.org" > > Sent: 2020-05-03 11:42:07 > Subject: Re: Notification about tentative IPv6 address from route socket > >> 30.04.2020, 17:40, "Steffen Christgau" : >>>   Hi everybody, >> Hi Steffen, >>> ... >>> >>>   1) Is there a way to get notified about the address being available for >>>   usage (i.e. not tentative anymore, not duplicated) without _polling_ via >> Not that I'm aware of :-( >>> ... >>> >>>   2) I know FreeBSD is not Linux, but on Linux with netlink sockets I get >>>   notified about a) the address appearing (including flags) and b) some >>>   time later the address being not tentative anymore (detectable via >>>   flags). I wonder why the route socket on FreeBSD reports an address that >>>   is currently hardly to use. On the other hand, I understand that >>>   RTM_NEWADDR does exactly what is documented, i.e. to notify about an >>>   "address being added to iface". Nevertheless, wouldn't it make sense to >>>   tell an application that a change for an address takes place? I couldn't >>>   observe such a behavior for IPv6 on FreeBSD. If there is currently no >>>   really such notification, the kernel could emit a new message like >>>   RTM_ADDRCHANGE or it may repeats the emission of RTM_NEWADDR (which >> It makes total sense. I have plans to update some rtsock internals and will take a look at this one. >> Thank you for your suggestion! > > There is a phabricator differential written by Roy Marples that does > this: > https://reviews.freebsd.org/D5469 Wow! Thank you for the pointing me to this review. Will look&test in a day or two. > > Regards, > Guy > >>>   ... >>> >>>   Regards, Steffen >>>   _______________________________________________ >>> 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" >> _______________________________________________ >> 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" > > _______________________________________________ > 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 Mon May 4 09:33:11 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6F9D92CA760 for ; Mon, 4 May 2020 09:33:11 +0000 (UTC) (envelope-from roy@marples.name) Received: from relay2.marples.name (relay2.marples.name [77.68.23.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay2.marples.name", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FyMV3cBdz3xJ0 for ; Mon, 4 May 2020 09:33:10 +0000 (UTC) (envelope-from roy@marples.name) Received: from mail.marples.name (cpc115040-bour7-2-0-cust370.15-1.cable.virginm.net [81.108.15.115]) by relay2.marples.name (Postfix) with ESMTPS id 5FA097A8 for ; Mon, 4 May 2020 09:33:02 +0000 (UTC) Received: from [10.73.0.30] (uberpc.marples.name [10.73.0.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.marples.name (Postfix) with ESMTPSA id A8C1A2A3E; Mon, 4 May 2020 10:32:58 +0100 (BST) Subject: Re: Notification about tentative IPv6 address from route socket To: "Alexander V. Chernikov" , Guy Yur , Steffen Christgau , "freebsd-net@freebsd.org" References: <4f3a314a-f938-476b-f75e-e495756a5488@s14u.de> <718441588495188@mail.yandex.ru> <799631588579004@mail.yandex.ru> From: Roy Marples Message-ID: <6e34907c-c24c-5d0f-6871-763d3147d5ff@marples.name> Date: Mon, 4 May 2020 10:32:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <799631588579004@mail.yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 49FyMV3cBdz3xJ0 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.60 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[marples.name:s=mail]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+a:relay2.marples.name]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[marples.name:+]; DMARC_POLICY_ALLOW(-0.50)[marples.name,quarantine]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.40)[asn: 8560(2.03), country: DE(-0.02)]; ASN(0.00)[asn:8560, ipnet:77.68.0.0/17, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 04 May 2020 09:33:11 -0000 Hi Alexander On 04/05/2020 08:58, Alexander V. Chernikov wrote: > 04.05.2020, 07:23, "Guy Yur" : >> Hi, >> >> ------ Original Message ------ >> From: "Alexander V. Chernikov" >> To: "Steffen Christgau" ; "freebsd-net@freebsd.org" >> >> Sent: 2020-05-03 11:42:07 >> Subject: Re: Notification about tentative IPv6 address from route socket >> >>> 30.04.2020, 17:40, "Steffen Christgau" : >>>>   Hi everybody, >>> Hi Steffen, >>>> ... >>>> >>>>   1) Is there a way to get notified about the address being available for >>>>   usage (i.e. not tentative anymore, not duplicated) without _polling_ via >>> Not that I'm aware of :-( >>>> ... >>>> >>>>   2) I know FreeBSD is not Linux, but on Linux with netlink sockets I get >>>>   notified about a) the address appearing (including flags) and b) some >>>>   time later the address being not tentative anymore (detectable via >>>>   flags). I wonder why the route socket on FreeBSD reports an address that >>>>   is currently hardly to use. On the other hand, I understand that >>>>   RTM_NEWADDR does exactly what is documented, i.e. to notify about an >>>>   "address being added to iface". Nevertheless, wouldn't it make sense to >>>>   tell an application that a change for an address takes place? I couldn't >>>>   observe such a behavior for IPv6 on FreeBSD. If there is currently no >>>>   really such notification, the kernel could emit a new message like >>>>   RTM_ADDRCHANGE or it may repeats the emission of RTM_NEWADDR (which >>> It makes total sense. I have plans to update some rtsock internals and will take a look at this one. >>> Thank you for your suggestion! >> >> There is a phabricator differential written by Roy Marples that does >> this: >> https://reviews.freebsd.org/D5469 > Wow! Thank you for the pointing me to this review. Will look&test in a day or two. Since submitting that change over 4 years ago I have since fixed numerous other issues with how route(4) works on NetBSD and DragonFlyBSD. OpenBSD has some of these as well and to be fair one of my changes is based on theirs. socket: introduce SO_RERROR to detect receive buffer overflow https://gitweb.dragonflybsd.org/dragonfly.git/commit/7eaeff3d5b7170299f570487da1da8a4e87ab072 route: Add support for route(4) message filtering. https://gitweb.dragonflybsd.org/dragonfly.git/commit/8aeffa9f3b32ec4061b6573b6fca75507812a5f1 The same change as prior for NetBSD with an alternative API which can collect all future route message types: http://anonhg.netbsd.org/src/rev/8a3c6cf76b82 Without these changes, route(4) message delivery will always be unreliable. Other related changes to IPv6 DaD: net/if: introduce if_bylla to find an interface by hardware address https://gitweb.dragonflybsd.org/dragonfly.git/commit/c42bebbdd1ab596db6ade9bd27589b0045d0a4d1 inet6: discard NA messages with a lladdress we own https://gitweb.dragonflybsd.org/dragonfly.git/commit/e4c5aabdf0b701bbc3f9926061e79704a64cbce4 There are a lot more things that need fixing though, but this is the bulk of the effort. If FreeBSD can implement that then the deliberate compile time warnings dhcpcd spits out (it's in ports if you want to test) can be removed. Roy From owner-freebsd-net@freebsd.org Mon May 4 12:18:18 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4BC372CE93B for ; Mon, 4 May 2020 12:18:18 +0000 (UTC) (envelope-from pavel@x3me.net) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49G2210K5cz47gB for ; Mon, 4 May 2020 12:18:16 +0000 (UTC) (envelope-from pavel@x3me.net) Received: by mail-ej1-x634.google.com with SMTP id x1so13651506ejd.8 for ; Mon, 04 May 2020 05:18:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=x3me-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=cuW1U0TrKZPbKGXy9iiR8nFBpvA3n42ow7si6CISlmg=; b=CcpGVH1w9ArVAgFmXZy6fUKN93hLgmJ6DlXvhNxr0i7So//6jvMejLKByYqBXw5xu6 A3a6KZHJ3wmM/rNLZpv4NtJ2nz3XOi+dlAAtP6H8aJGFXY1jPPmt0gnRFptXOToN2aX8 CgZqH/xN0lzR9f2CoG1j/50BDbkR0JgIRCW7Dt+/zYvSEyUJlhapHy0PGUwi/9HmaZoR jXM/kBtJeB5IEJiq0OVixIzy4txF+RqFL58SUkRAaP20WsC9uaXhSs/oFZsmtnt72ffa T6I/yU5kjBk0T5FsWs/rmIdVc3T222U+0zfLhPyzt0OSPlR8U4BwTp0HpxE2/HozWX1U EKFA== 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=cuW1U0TrKZPbKGXy9iiR8nFBpvA3n42ow7si6CISlmg=; b=EH3eqNxPVy2rk4FTnMStiHK9Wd6hHhNiskS8Oem02I4s1iGp0gH+w0xEFD5bzHd71A A8qQ0znwr3+TAL42tzmbQigXeyau391fLz5moeXF9mr1bwie9kl9F3x4JrrElBib0E/G 9AUoS65zQTj2mvAAhe5mha+L0N+p6ZeL+gkkaqLg0gzbeoeUAetixohz4jUryjpHYD4l x1T5g+gfFirhI73nHQZ/QGkpx53M5ghzVHF4/QD+fw5b5e70rzJVe716RtC9ft5P7vMo 5HHKnjbeVPDwKYrx61geW16GL4UT1sd9qII5mpFWLW+/w/lImjt0TJKRDDVZUpa3k1cU ed4A== X-Gm-Message-State: AGi0PuYKo13JEn1CUGQM3OmsyELfohNdqAlWyoq6rVs3bMFTlnqFFwvD 0s4mpwKhaMhEKtKb9bPzuQ5CcjLeCxwAnqbTnKgwRy7c X-Google-Smtp-Source: APiQypLyi682hawa1W6/ls+XPd7TgKuOfPkEb3RaXn4H4OhJKnW/evKp7GVL9exK//AZjZTUqMZAEs2b0hgZs8b85xE= X-Received: by 2002:a17:906:ecb8:: with SMTP id qh24mr14420733ejb.299.1588594693744; Mon, 04 May 2020 05:18:13 -0700 (PDT) MIME-Version: 1.0 References: <20200501213705.GA52782@neutralgood.org> In-Reply-To: <20200501213705.GA52782@neutralgood.org> From: Pavel Vazharov Date: Mon, 4 May 2020 15:18:01 +0300 Message-ID: Subject: Fwd: Performance troubleshouting of FreeBSD networking stack and/or kevent functionality To: freebsd-net@freebsd.org X-Rspamd-Queue-Id: 49G2210K5cz47gB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=x3me-net.20150623.gappssmtp.com header.s=20150623 header.b=CcpGVH1w; dmarc=none; spf=pass (mx1.freebsd.org: domain of pavel@x3me.net designates 2a00:1450:4864:20::634 as permitted sender) smtp.mailfrom=pavel@x3me.net X-Spamd-Result: default: False [-3.06 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[x3me-net.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[x3me.net]; DKIM_TRACE(0.00)[x3me-net.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[4.3.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.56)[ipnet: 2a00:1450::/32(-2.31), asn: 15169(-0.43), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 04 May 2020 12:18:18 -0000 Hi there, First I want to say that I understand that the following questions are very broad and possibly only indirectly related to the FreeBSD networking (not sure). It's just that after more than a week spent on the below issue the only option I can see is to ask for help or some piece of advice. There is a project called F-Stack . It glues together the networking stack from FreeBSD 11.01 over DPDK . It uses the DPDK to get the packets from the network card in user space and then uses the FreeBSD stack to handle the packets again in user space. It also provides socket API and epoll API which uses internally kqueue/kevent from the FreeBSD. We made a setup to test the performance of transparent TCP proxy based on F-Stack and another one running on Standard Linux kernel. We did the tests on KVM with 2 cores (Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz) and 32GB RAM. 10Gbs NIC was attached in passthrough mode. The application level code, the one which handles epoll notifications and memcpy data between the sockets, of the both proxy applications is 100% the same. Both proxy applications are single threaded and in all tests we pinned the applications on core 1. The interrupts from the network card were pinned to the same core 1 for the test with the standard Linux application. Here are the test results: 1. The Linux based proxy was able to handle about 1.7-1.8 Gbps before it started to throttle the traffic. No visible CPU usage was observed on core 0 during the tests, only core 1, where the application and the IRQs were pinned, took the load. 2. The DPDK+FreeBSD proxy was able to thandle 700-800 Mbps before it started to throttle the traffic. No visible CPU usage was observed on core 0 during the tests only core 1, where the application was pinned, took the load. 3. We did another test with the DPDK+FreeBSD proxy just to give us some more info about the problem. We disabled the TCP proxy functionality and let the packets be simply ip forwarded by the FreeBSD stack. In this test we reached up to 5Gbps without being able to throttle the traffic. We just don't have more traffic to redirect there at the moment. 4. We did a profiling with Linux perf of the DPDK+FreeBSD proxy with 200 Mbps of traffic just to check if some functionality is visible bottleneck. If I understand the results correctly, the application spends most of its time reading packets from the network card and after that the time is spent in kevent related functionality. # Children Self Samples Command Shared Object Symbol # ........ ........ ............ ............... .................. .................................................... # 43.46% 39.67% 9071 xproxy.release xproxy.release [.] main_loop | |--35.31%--main_loop | | | --3.71%--_recv_raw_pkts_vec_avx2 | |--5.44%--0x305f6e695f676e69 | main_loop | --2.68%--0 main_loop 25.51% 0.00% 0 xproxy.release xproxy.release [.] 0x0000000000cdbc40 | ---0xcdbc40 | |--5.03%--__cap_rights_set | |--4.65%--kern_kevent | |--3.85%--kqueue_kevent | |--3.62%--__cap_rights_init | |--3.45%--kern_kevent_fp | |--1.90%--fget | |--1.61%--uma_zalloc_arg | --1.40%--fget_unlocked 10.01% 0.00% 0 xproxy.release [unknown] [k] 0x00007fa0761d8010 | ---0x7fa0761d8010 | |--4.23%--ff_kevent_do_each | |--2.33%--net::ff_epoll_reactor_impl:: process_events <-- Only this function is ours | |--1.96%--kern_kevent | --1.48%--ff_epoll_wait 7.13% 7.12% 1627 xproxy.release xproxy.release [.] kqueue_kevent | |--3.84%--0xcdbc40 | kqueue_kevent | |--2.41%--0 | kqueue_kevent | --0.88%--kqueue_kevent 6.82% 0.00% 0 xproxy.release [unknown] [.] 0x0000000001010010 | ---0x1010010 | |--2.40%--uma_zalloc_arg | --1.22%--uma_zero_item 5. We did another profiling, just doing intrusive timing of some blocks of code, using again around 200Mbps of traffic and found again that about 30% of the application time is spent in the epoll_wait function which just setups the parameter for calling kern_kevent and call the function. The whole application can be very roughly represented in the following way: - Read incoming packets from the network card - Write pending outgoing packets to the network card - Push the incoming packets to the FreeBSD stack - Call epoll_wait/kevent without waiting <- About 25-30% of the application time seems to be spent here - Handle the events - loop from the beginning Here is the configuration for FreeBSD which was used for the tests [freebsd.boot] hz=100 fd_reserve=1024 kern.ncallout=524288 kern.sched.slice=1 kern.maxvnodes=524288 kern.ipc.nmbclusters=262144 kern.ipc.maxsockets=524000 net.inet.ip.fastforwarding=1 net.inet.tcp.syncache.hashsize=32768 net.inet.tcp.syncache.bucketlimit=32 net.inet.tcp.syncache.cachelimit=1048576 net.inet.tcp.tcbhashsize=524288 net.inet.tcp.syncache.rst_on_sock_fail=0 net.link.ifqmaxlen=4096 kern.features.inet6=0 net.inet6.ip6.auto_linklocal=0 net.inet6.ip6.accept_rtadv=2 net.inet6.icmp6.rediraccept=1 net.inet6.ip6.forwarding=0 [freebsd.sysctl] kern.maxfiles=524288 kern.maxfilesperproc=524288 kern.ipc.soacceptqueue=4096 kern.ipc.somaxconn=4096 kern.ipc.maxsockbuf=16777216 kern.ipc.nmbclusters=262144 kern.ipc.maxsockets=524288 net.link.ether.inet.maxhold=5 net.inet.ip.redirect=0 net.inet.ip.forwarding=1 net.inet.ip.portrange.first=1025 net.inet.ip.portrange.last=65535 net.inet.ip.intr_queue_maxlen=4096 net.inet.tcp.syncache.rst_on_sock_fail=0 net.inet.tcp.rfc1323=1 net.inet.tcp.fast_finwait2_recycle=1 net.inet.tcp.sendspace=16384 net.inet.tcp.recvspace=16384 net.inet.tcp.cc.algorithm=cubic net.inet.tcp.sendbuf_max=16777216 net.inet.tcp.recvbuf_max=16777216 net.inet.tcp.sendbuf_auto=1 net.inet.tcp.recvbuf_auto=1 net.inet.tcp.sendbuf_inc=16384 net.inet.tcp.recvbuf_inc=524288 net.inet.tcp.sack.enable=1 net.inet.tcp.msl=2000 net.inet.tcp.delayed_ack=1 net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 Something important!!! We've added functionality to the FreeBSD networking stack which allows us to open transparent TCP sockets when the first data packet after the 3 way handshake is received. I can explain why we need this functionality, if needed. I can show you the code/patch also, if needed. I checked this functionality multiple times. I can't see how it can lead to throttling the traffic, causing packets to be dropped and the whole thing to stop responds to regular pings and arpings due to the packet drops. This functionality was only applied for TCP traffic on port 80 during the tests. I mean, of course I could be missing something but bugs in this functionality usually lead to completely broken TCP connections or tapped connections due to the wrong TCP window. At least this is my experience so far having implemented similar functionality in the Linux kernel which we have been using for 3-4 years already. But again I could be wrong here. >From the above tests and measurements I made the following conclusions/observations: - The FreeBSD stack has no problems forwarding 5Gbps of traffic and thus the performance decrease should be caused of some of the above layers - TCP handling in the stack, kevent functionality and the application working with the kevent? - The kevent functionality appears in the CPU profiling with much higher numbers than any application code. This could be because the application is using the kevent in some wrong way or it could be just because the function is frequently called? On the other hand all of the functions in the loop are equally called. - For the Linux proxy case, the IRQs may be handled on a given core but the actual packet processing within the networking stack could happen on both cores and this could lead to better performance. However, we did not observe visible CPU usage on the core 0 during the tests. And finally, after this long post, here are my questions: 1. Does somebody have observations or educated guesses about what amount of traffic should I expect the FreeBSD stack + kevent to process in the above scenario? Are the numbers low or expected? 2. Does somebody can think of some the kevent specifics compared to Linux epoll which can lead to worse performance? For example the usage of EV_CLEAR flag? Reading too many or too few events at a time? 3. Can I check some counters of the FreeBSD stack which will point me to potential bottlenecks? 3. If somebody can give me some other advice, what more to check/debug/profile, or what config/sysctl settings to tweak to improve the performance of the DPDK+FreeBSD based proxy? One last thing which I was thinking in the last few days. As far as I know the interrupts will always preempt the currently working user space code. So, if this is right, for the Linux case we'll have much more time spent hanling interrutps and much less time spent in the user space and epoll notifications handling. The siutation is different though in the F-stack application loop. There pending packets are sent, 32 packets are read from the network card, pushed to the FreeBSD stack and kevent is called and the loop repeats. This means that the time slice for packets read and processing in the stack is limited by the kevent call. So, I thought that, just for the test, changing the ratio between the packets processing and kevent calls should improve the situation. So, I did test where the kevent was not called every iteration of the loop but once 1024 packets were read and pushed to the network stack. However, by some reason this didn't improve the situaion and currently I have no explanation for this, too. Maybe I did something wrong when testing. Any help is appreciated! Thanks in advance, Pavel. From owner-freebsd-net@freebsd.org Mon May 4 13:49:30 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E237A2D08B4 for ; Mon, 4 May 2020 13:49:30 +0000 (UTC) (envelope-from john@saltant.com) Received: from twaddle.saltant.net (twaddle.saltant.net [72.78.188.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49G43G0Kfpz4DhB; Mon, 4 May 2020 13:49:29 +0000 (UTC) (envelope-from john@saltant.com) Received: from dither.saltant.net (dither.saltant.net [IPv6:2001:470:8d6f:1001::3]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by twaddle.saltant.net (Postfix) with ESMTPSA id D3A8816D0; Mon, 4 May 2020 09:49:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=saltant.com; s=twaddle; t=1588600168; bh=BIwKskEDwxiTPLEWS8wzI32SP7d57DZbmhJpxBAYNJk=; h=Subject:From:To:References:Date:In-Reply-To; b=WQ+j5+YG5Nvxx4lsIvkkOq9VM8l5o/Gsmy9iHFMQpQfjGKhvlxPYn4jZrZKgqAwRq 44UEvRY9iOrTZMDteu8b5V0KTu+wYO4JsoDIXDtfrcnPfw7koa0vxUIPuUqxrckyqV izlrA2P9eV4uH9TRfk9CG9WGUD0JzxdtaTMjvS75gUjmHf343WoqyzkjCjyH2GQzFx GLBYqgHjFDZYsMfMbiY7lRenRKtmnpB/89s88385diRHcBdhgYedQAENMMIiWDdMlm DKjiQV92noofh5XDK8QSd2ua9f1WL2XwIxq4gmEQ9TlEVWhiXUFxyXUe7d0WJ7rMFY cku12uREedh7Q== Subject: Re: RUNNING flag remains unset upon reinserting a gre into VNET jail From: "John W. O'Brien" To: FreeBSD Net , "Andrey V. Elsukov" References: Autocrypt: addr=john@saltant.com; prefer-encrypt=mutual; keydata= mQINBFpcMG0BEACeAEQ0ZTUEH+6B8XIBid2H8g1yY+niHxVphqz8JwnQtYX+bS+Kl3vr783F HH81DEbfPtYgHY53NF9FjSzCyj13lXVnEGQOdxXzZVKsN1nyuXCN2hDOFH7Yc5yQ8h85T4Hv sqPIGIXOztu4MX14iUAcTgLhfibNQBeKDeNI+BBeaE9lPuNVeiM+xsI4JYcjmDbjFzAHRpBo ull0koUFh6RZAKE7u17yLej1pTIQ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yQI1cErN9lhJIaCbDFGs61JOBzgFq2q+VnYtWmUJzOtGOGcEfX Nckeve7ALaUiFxGje9zepN2d/xKj Message-ID: Date: Mon, 4 May 2020 09:49:23 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZGcOd6TpnCXAtCmyiz6HijxWIQBZSn5f9" X-Rspamd-Queue-Id: 49G43G0Kfpz4DhB X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=saltant.com header.s=twaddle header.b=WQ+j5+YG; dmarc=none; spf=pass (mx1.freebsd.org: domain of john@saltant.com designates 72.78.188.147 as permitted sender) smtp.mailfrom=john@saltant.com X-Spamd-Result: default: False [-7.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[saltant.com:s=twaddle]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:72.78.188.144/29]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[saltant.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[saltant.com:+]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; IP_SCORE(-2.86)[ip: (-9.91), ipnet: 72.78.0.0/16(-4.91), asn: 701(0.58), country: US(-0.05)]; ASN(0.00)[asn:701, ipnet:72.78.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 04 May 2020 13:49:30 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ZGcOd6TpnCXAtCmyiz6HijxWIQBZSn5f9 Content-Type: multipart/mixed; boundary="dIr5mD9pWvJrWnvfUtx9AenlYuN4fMta0" --dIr5mD9pWvJrWnvfUtx9AenlYuN4fMta0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2020/05/03 20:12, John W. O'Brien wrote: > Hello Andrey and FreeBSD Net, >=20 > Today I stumbled upon what may be zero, one, or maybe two bugs. If it's= > one bug, then I think there might be a case the fine work in r339552 [0= ] > to keep the RUNNING flag consistent with whether or not the gre source > address exists does not accommodate. I'm still working on a minimal tes= t > case, so bear with me. >=20 > If I create gre0 on the host, then start a VNET jail which gets gre0 an= d > a physical interface (msk1, in my case) and inside which both are > configured, all is well inside the jail. Upon stopping the jail, the > "tunnel" setting is not removed from the gre (I'm not sure whether to > consider this a bug, too, or not), so when the dust settles back on the= > host, msk1 has no address, and the gre is not RUNNING, which is fine. > However, if I start the jail again, then the gre is not RUNNING inside > the jail even though msk1 again has the appropriate source address. >=20 > I worked around this by creating gre0 inside the jail where it is > destroyed upon jail stop. It would be nice if it either worked the othe= r > way, or failed with less astonishment. >=20 > Am I missing something that should be obvious? If this does seem like a= > bug, shall I submit something now or wait until I have a cleaner demo? >=20 > [0] https://svnweb.freebsd.org/changeset/base/339552 (thank you!) # create a jail, place an iface in it, then configure an address on it jail -c name=3Ddemo vnet persist ifconfig msk1 vnet demo jexec demo ifconfig msk1 10.1.1.1/24 # create a gre outside the jail, configure its tunnel endpoints ifconfig gre0 create tunnel 10.1.1.1 10.2.2.2 ifconfig gre0 # not RUNNING (OK) # place the gre into the jail, it should be running now ifconfig gre0 vnet demo jexec demo ifconfig gre0 # not RUNNING (not OK) # remove and re-apply the tunnel config jexec demo ifconfig gre0 -tunnel jexec demo ifconfig gre0 tunnel 10.1.1.1 10.2.2.2 jexec demo ifconfig gre0 # RUNNING (OK) --=20 John W. O'Brien OpenPGP keys: 0x33C4D64B895DBF3B --dIr5mD9pWvJrWnvfUtx9AenlYuN4fMta0-- --ZGcOd6TpnCXAtCmyiz6HijxWIQBZSn5f9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEUgT925O8rsvNs2oHIjgwc/pAJtYFAl6wHWMACgkQIjgwc/pA JtahMwf6AirZfAW8TWI0IOJtmHj6uN56oRfXXUPX4Iu1Yx2zvof70sH3yqFWmIIw AgUCmg2hZhU9tVe+tZ8E1i0tDXCRkfFWCNzXRkiKyz7XWN2HafSHloQQl5mpKaAk xKZbPANBKBmCOoemSc62OfZnmNOaKe8DCkF4PHCWBescWmajwIHElKz9JygYuCSK TAt6KL1mmxXB7dQPkFhCUQked5RfgWS+wJoqCS1coF+2vxILnhQDfErHM85hS3/0 3+5wKY2puCEWhYCh/0u1IrDyRvIdngZa7jKkLqaLngdSz0T+c13UuIuFtnEIFrQF aSmGrXBF7WhPWQt6m5N7n50nTUlRZA== =9BrN -----END PGP SIGNATURE----- --ZGcOd6TpnCXAtCmyiz6HijxWIQBZSn5f9-- From owner-freebsd-net@freebsd.org Tue May 5 01:24:29 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81A6A2C9954 for ; Tue, 5 May 2020 01:24:29 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GMT84y9wz459h for ; Tue, 5 May 2020 01:24:28 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qk1-x72b.google.com with SMTP id i14so764777qka.10 for ; Mon, 04 May 2020 18:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=hUwj4oVks3WXEuiTq1JvWP16Noa5z/vD9wg8TMQldwg=; b=ELzVuaDznipQuS/f+4i4U2nOOskliOSuRdok4SpWnrwTVlqbyCXNqWQlehLrQYCrPY gtrE6+syTUzzAWQTNcAOJXUCdEdBMABT5zwoCNa88CzEB8T+3WWE1Y3dpTxn9+x6p9po tb5HbDQvx2Ym7lfErmd6zpaNybRK39hyhSUooc5eUZnASmqfcaBfw3XSISby8WNA8CeO hg6gNzZl4y/hdnDF/xjD3iLYQ/gZBFkLSYj0CnguWjXYcjsXo2ONNd7GCAzPdOZ9jK3Y FbI8YhUuJXhV4R8RPlagVUfYppwTOCQnFpc8JatEbMyW+2HAsCEO1iFOfhWSsUgDpsCO JgMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hUwj4oVks3WXEuiTq1JvWP16Noa5z/vD9wg8TMQldwg=; b=OgQ/XB3V7zmZ1cb43AuchechUxG9jUC3ne3meeSPIWArWBSW0pR4c+3hGkq2nHHDRp +KONjJ30B6Yg9tME6Apm7ZMw7rTFzQrZYQVLxYJ6fKHBGaf8LUo9AEKUHYSwgCuvWsMM pzBM9BL+TAfTjOtFcsUhPT9J7O7thzNKDW+PlRM/FFz0IC1EOrztC7JN1nkLFHAwVQbD 7Dt0x1bOS8Ym6N1LD41KD4aHGDYkbXK4wkP0WmouI/BOkktFQBZtQXlMO5xDWbec5XNa BYXVeKNCtOe6P0BBrGk0euurCQRuqnNL4LPxQr4WXQ4g+aoOXwyMe+g7qlTsTBp+T57z b3NQ== X-Gm-Message-State: AGi0Puak8a63kW2QR48yLlGH640ozC8HP7HpSKgkvQ9yEHoT99HexS6T 3may4M5uTSIkM+I3zoUJ4u1n3tTwo+hno+Ws8shcjTxuVdm5rw== X-Google-Smtp-Source: APiQypIBLUApgi/uREF7BSWo3slTKGMfG0NfMrwKma8GF7EgJxFRCMJfUPtn9qbyN3u7kh8vwwzfjrQ6udQwBmdN008= X-Received: by 2002:a05:620a:1264:: with SMTP id b4mr1245383qkl.96.1588641866261; Mon, 04 May 2020 18:24:26 -0700 (PDT) MIME-Version: 1.0 From: Michael Sierchio Date: Mon, 4 May 2020 18:23:50 -0700 Message-ID: Subject: LTE modem? To: "freebsd-net@freebsd.org" X-Rspamd-Queue-Id: 49GMT84y9wz459h X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=ELzVuaDz; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2607:f8b0:4864:20::72b) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-3.32 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.02)[ip: (-9.31), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[b.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 05 May 2020 01:24:29 -0000 I'm looking for solutions to support a 4G (maybe 5G?) backup internet connection. The policy based routing / multiple FIB / firewall rules I already have in place. Any recommendations for an LTE modem? USB or maybe Ethernet? I do have a PCEngines box with an available miniPCI express slot, but I'd prefer something simpler. Thanks in advance. --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-net@freebsd.org Tue May 5 03:53:40 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 575842D5144 for ; Tue, 5 May 2020 03:53:40 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GQnH2N3vz4Fc4 for ; Tue, 5 May 2020 03:53:39 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-ej1-x631.google.com with SMTP id gr25so466778ejb.10 for ; Mon, 04 May 2020 20:53:39 -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=ykkjhU5uOEAfi744h0qYGIBJg1q5l8c8frPmnpse77U=; b=cysJ7jaA10LsbNg9pyWVnWR6vBW/uPOa6+HtITomXYUSw7KhoNPw/o249dEvQ598fP /DGEUgSPH9srlEKQL40BbFrFPPxCGnN4+yZiqny+XRVMHwCuYO74OlJb4uKAeLNa0EHH fB/crsGRw6GGjO4V1MnqU5wSfQh6uNFxtPOSrUCVCdpE03JQlDwkemN2LlnCUegwO/mG xiSxjCO8dMWOx7DafpQtwNrs0A2e8twRcElrCcX55Plf8ibkU/Fj3Lhf2WGgjX3ZWzXp o/myWyGIgAu7WKJv7cOwOSDnkeTwGX/16Bi2a6bYxGivF3IAV729vj4G0jqAKSw4XEgE 9NGQ== 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=ykkjhU5uOEAfi744h0qYGIBJg1q5l8c8frPmnpse77U=; b=Vp56ksyEC6kqo4ZDehSTCrR8vQ7nhs/ADdGHNP7D/kRhUv25rQ5VMyKz9ptCYS7Py7 vCFWmukRVlzXPwQxPhtCXovAJpvzS0+Lv1BHekMQPDnv4OkHb7aGWs2hG/zybuH5G8M4 mUOK/fIXaa4WxeM/YBxkb6r2Mr65sdb0DDVgTX7HjQC8aqd5wZv19GaBFzicR8tkfxGx xg+1/AggYSu/QEAkOhTRiweQWzPWDowy46oxuhR/usdvpf95EWjQOwV34HhoZs2p9jUq uiMjeg2fLOgDGjFTf7fuFZDQuoXcb/TtXfhfr7jQZ2QVtW4BwOYYdAf2cRm6jdDLcTR3 HeCg== X-Gm-Message-State: AGi0PuaMqj86tC8wBhasEURFl5ZO2BsnMtB382p99PZGf2WWvf5MPAEB qy2Bflls68lX5veERzGRTNXX1RofeiVd+SIlYoyaR6Q= X-Google-Smtp-Source: APiQypL7UarJzgc65vYhelJi40MNnxmBsmudx30r8l7xr8t+uijBcUmuor7geNBL9yAVzbMDJyUv0xcoMSA2HwhqtBk= X-Received: by 2002:a17:906:551:: with SMTP id k17mr905065eja.350.1588650816812; Mon, 04 May 2020 20:53:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Zaphod Beeblebrox Date: Mon, 4 May 2020 23:53:24 -0400 Message-ID: Subject: Re: LTE modem? To: Michael Sierchio Cc: "freebsd-net@freebsd.org" X-Rspamd-Queue-Id: 49GQnH2N3vz4Fc4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=cysJ7jaA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of zbeeble@gmail.com designates 2a00:1450:4864:20::631 as permitted sender) smtp.mailfrom=zbeeble@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ipnet: 2a00:1450::/32(-2.31), asn: 15169(-0.43), country: US(-0.05)]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.3.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.30 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, 05 May 2020 03:53:40 -0000 Most of the cell modems (over the years) that I have seen show up as serial devices and emulate a basic AT command set. In most cases, you need to know the dial string for your carrier --- it's often something goofball like "ATDT pppservice.mycarrier.com" ... and then, after connecting speaking ppp ... sometimes even without authentication. The LTE modem I picked up for my most recent laptop (and goes in an internal slot) fits this bill. IIRC, it shows up as a USB serial device. On Mon, May 4, 2020 at 9:24 PM Michael Sierchio wrote: > I'm looking for solutions to support a 4G (maybe 5G?) backup internet > connection. The policy based routing / multiple FIB / firewall rules I > already have in place. > > Any recommendations for an LTE modem? USB or maybe Ethernet? I do have = a > PCEngines box with an available miniPCI express slot, but I'd prefer > something simpler. > > Thanks in advance. > > -- > > "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool i= s no > wiser, but an intelligent person requires only two thousand five hundred.= " > > - The Mah=C4=81bh=C4=81rata > _______________________________________________ > 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 Tue May 5 06:12:59 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7DE022D90D9 for ; Tue, 5 May 2020 06:12:59 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GTt24yqjz4NY2 for ; Tue, 5 May 2020 06:12:58 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: by mail-wr1-x433.google.com with SMTP id y4so967797wrm.11 for ; Mon, 04 May 2020 23:12:58 -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=JTzHdVvoNB9ofYoTSa4Kuf4Hmya/o4AGi8/DmC0HOB8=; b=DM5Ss0AkzuCylBlKoqIt4LXohNFqrrjInH8gR+3Wu24uhnM4bB+fnN6JsJy2qNZFP3 Ymq+700wymgw9d9OlgMvAjPh9fZGTaQn5Qj5Gcs2KJSy97wNbobNt6+EdDA4kD1B7epY WjUvR0y1QFNy5ZmvodTs3nPPaHuZn5eIznowdpy3C1jRP5hPu6GPfH7VaL3zpF/2MTt4 q2JMoFfJwWiXsAZ4yPjrYd/AlFhWmkwpkywUOzGZyQdKX3e0MucC2ub3wI7Bh6z+y+Ul OtAzY+atqgvqIjGUaQzccgyzjYoNuXdtW+aOtY7hUd3q93qCypCUUfDXj6+RQ87HMj3H PmOg== 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=JTzHdVvoNB9ofYoTSa4Kuf4Hmya/o4AGi8/DmC0HOB8=; b=Y8OHwcY97r/YiKSzopVNulGEFjpUTSV4sKVJI46uw80RYKXQpn+/s+y2+Fx49aywO0 oka8TtQs5G3GaeYlATXLBykBG2stdJOFmlWE6wW5xHvtLBLDe4+V8UaWa3NfW37JwI3R j4RCCdVpJlR3fBucvf8wEE18V0FqEqsK50QGfY4atZj3C/xSA9KVnIhe3KUy8ghdquL5 lDg+pZAgQa1dyVy7lm1/Mp8733IFANSH+RALOYR3sxkrJ/omQRxGXT4pLAfqTEz3plLO jC8K6yWMIhcLE1bf4Jw2coLtJK3AqhIiOK1VPZsZHF3A6DIrG8bC3zKIj61BvlssmSfF g8fg== X-Gm-Message-State: AGi0PuYMAezZwdjrEX3qkFzymx8hN3CcBm3px1TLgp1qFs9fDyEo+/ah G1lp/mSshFQi+99Olcxnfc81nzU= X-Google-Smtp-Source: APiQypIS64kYWOMw3EbvoF6x70gHuFS18hJlGuOa1d+JTHFfiSX9zXnNJ+MREwTDVp1l/qo/3b1u1A== X-Received: by 2002:adf:fecf:: with SMTP id q15mr1657869wrs.259.1588659176458; Mon, 04 May 2020 23:12:56 -0700 (PDT) Received: from ?IPv6:2001:470:1f1d:97:f2de:f1ff:fed1:783c? ([2001:470:1f1d:97:f2de:f1ff:fed1:783c]) by smtp.gmail.com with ESMTPSA id z15sm1313605wrs.47.2020.05.04.23.12.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 May 2020 23:12:55 -0700 (PDT) Subject: Re: LTE modem? To: freebsd-net@freebsd.org References: From: Shamim Shahriar Message-ID: <5736598d-ef72-0249-3eb3-946ccd616473@gmail.com> Date: Tue, 5 May 2020 07:12:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Rspamd-Queue-Id: 49GTt24yqjz4NY2 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DM5Ss0Ak; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of shamimshahriar@gmail.com designates 2a00:1450:4864:20::433 as permitted sender) smtp.mailfrom=shamimshahriar@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-9.11), ipnet: 2a00:1450::/32(-2.31), asn: 15169(-0.43), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[3.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.30 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, 05 May 2020 06:12:59 -0000 On 05/05/2020 04:53, Zaphod Beeblebrox wrote: > Most of the cell modems (over the years) that I have seen show up as serial > devices and emulate a basic AT command set. In most cases, you need to > know the dial string for your carrier --- it's often something goofball > like "ATDT pppservice.mycarrier.com" ... and then, after connecting > speaking ppp ... sometimes even without authentication. The LTE modem I > picked up for my most recent laptop (and goes in an internal slot) fits > this bill. IIRC, it shows up as a USB serial device. > > On Mon, May 4, 2020 at 9:24 PM Michael Sierchio wrote: > Personally I prefer the ones that offer an Ethernet port; it ensures that whatever "interesting" activity needs to happen at the LTE end is confined to that box only -- easy to troubleshoot without disturbing the rest of the set-up. Another advantage is that most of these LTE modems allow me to connect an external antenna (a life saver when you have to have something in the middle of nowhere, and the tower is just on the other side of the ridge :D). There are devices that allow you to attach a USB LTE dongle (as opposed to having a built-in SIM slot), please make sure you get the manufacturer recommended dongle in those cases -- as otherwise "incompatibility" will waste your time. Just my 2p, hope this helps. All the best. From owner-freebsd-net@freebsd.org Tue May 5 07:24:22 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 224CD2DABFA for ; Tue, 5 May 2020 07:24:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49GWSP1lVCz4S3K for ; Tue, 5 May 2020 07:24:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id C32F2260191; Tue, 5 May 2020 09:24:18 +0200 (CEST) Subject: Re: LTE modem? To: Shamim Shahriar , freebsd-net@freebsd.org References: <5736598d-ef72-0249-3eb3-946ccd616473@gmail.com> From: Hans Petter Selasky Message-ID: <8d4b19c7-6445-65d9-9153-307ddb55466f@selasky.org> Date: Tue, 5 May 2020 09:24:08 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <5736598d-ef72-0249-3eb3-946ccd616473@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49GWSP1lVCz4S3K X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.10)[ip: (-9.29), ipnet: 88.99.0.0/16(-4.70), asn: 24940(-1.50), country: DE(-0.02)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.30 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, 05 May 2020 07:24:22 -0000 On 2020-05-05 08:12, Shamim Shahriar wrote: > Personally I prefer the ones that offer an Ethernet port; The Huawei E3372 LTE USB-stik has a FreeBSD compatible USB ethernet port. But does not support voice calls, only SMS. --HPS From owner-freebsd-net@freebsd.org Tue May 5 09:34:14 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3D5832DEBCA for ; Tue, 5 May 2020 09:34:14 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn20830.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5a::830]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GZLF1qhyz4dB7 for ; Tue, 5 May 2020 09:34:12 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OgDwYVYBLRlGk52Wq5RdHY/zLsh0hK2Cn4zl07LQLgXE+N3HhtWNmT6JHFXR+HZd+83LMR5LR9n7w9EuKf4BBK7Yg7IjSYKhSdr5NAS3PvD+OxaFW4+1NIKxnjr6RpoOmtJYNkyeiEFOKdM2lf84cf2WgOP2qmZSVbd2Llh+BulHGRWynClyKpXvJ4LiIiJixjNrt7o6ereKQ4EWTwOB+bxwhBngNk+3S2ruSZsiSmv4UcvQs5C2gfhCkKm3ody7q62OCSrbJSLVwZP5m6ct/wkLYvUmyuBsNswkkmg4NSmw82qSImeLB8h4oWlw+hCBLVt016fGbpJoSWO+qgggUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nEeZI5d1bMWBNAYn1F/7QldofpZ0ZEqxxGw3ay4WhZg=; b=XXacp15FTWHp7UZwqzUjHUPpAwsyL2q0iYwO73uGn11YcKYM1li/BUU6fT24MIeK/Dhw2YCKNrbFOor/1Ox4XmrJvJwymKLimmHKpZVB8r9wP8AaZvCMvTpFIZU/ec9WYEFmVWlXJal3bMIS3SM+MZoutH/JbNyPgaHQZCL2rUsU2kZbqmvc2hIS9anmBCodrl/ViN8XQmsqEdvqu9bHB5IXijhogBqFhZA1jeOLGVR5MKofExxomo/PbMfjtp9o+Pd8SpJlfnnJ/WYoT3oMbKrJtU9MIzrdQkfRyC1OSSd8g9DbLwMt3itBIlWPB2uE6CEb7BVffc0tu2IVue1CvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nEeZI5d1bMWBNAYn1F/7QldofpZ0ZEqxxGw3ay4WhZg=; b=KfkpDxrHNPEhYvQU0nMFCZUgHLRZeaiJDqWgz438x7qEukU9vxiLtHBqZo3rENOCh4QHE7xBRx9+RTxQjCSJm0JmJgjm6VouLi/7BdUtl37CTLRnke0yBZvonLcWEq8R8XR7gv6ZM3+1+6ghlBtz4hYZdPL8hWYF3KD7+26/b1KXZr1R66QULt3CpePLNv1Z6AkteYbsuDlIFL8X2AiSmB87MJ16DsgWUC5iLcwJiuRFrHxFDOeNTyl/LfPrSpONWKU6YtLzgFwiEglFI19/oc/dqbLePAQn/Tsva4+aNMsxXERZkhk5MPt8/WGqFML/lCtf+heD5/Xo/n8PM+nLLg== Received: from DM6NAM12FT037.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::48) by DM6NAM12HT103.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::462) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.23; Tue, 5 May 2020 09:34:11 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com (2a01:111:e400:fc64::53) by DM6NAM12FT037.mail.protection.outlook.com (2a01:111:e400:fc64::303) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.23 via Frontend Transport; Tue, 5 May 2020 09:34:11 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d]) by CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d%12]) with mapi id 15.20.2979.025; Tue, 5 May 2020 09:34:11 +0000 From: Brandon helsley To: "freebsd-net@freebsd.org" Subject: Network connection. Thread-Topic: Network connection. Thread-Index: AQHWIsADqcSwZbkPUE22aOF5nnoO/Q== Date: Tue, 5 May 2020 09:34:11 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:278AC8D2EF1D56CA7280C3A87FCD19CA2DE6D0B33588A55C37B60A819373FBC8; UpperCasedChecksum:24F4CD15060F82E5AB4DC06D69CF034F48FE65C8218F97F3816521A0125494E8; SizeAsReceived:6652; Count:42 x-tmn: [NI8Oa5TykdHde5Ec5FT2xUeXJWU7DriT] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: be4bff2b-855e-4e18-bd2d-08d7f0d7779b x-ms-traffictypediagnostic: DM6NAM12HT103: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GrDhPpt1TXyhpVEMRcLw8aGFsrC/qfgCL3H10edWaMOSNbuWDlz/u714nFVMXH3Vo/M/w8aDCADbxxR+z70ajlCVmvdyGGrUTMeR6/7vy3yPqllWKFcfVKoVMd9lNtIByOsP1N7ocDSi6CVELja4eJjARRhBJ9IY840FtKC/R+s1n5UOvRaUKb/Yt8zWLjH9EWVItnWxQJdOjl0qOm+SSxxn+g5elQBEHdGflwV+vAauULYBdq+kqzYaBPIZThu0 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR19MB1655.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: YONHBUmxKDdF7U+zeVCkmc/lyQAPBHVxK5MRh33nP+7riVxXLu4h89rPLU1N4cKmtuYZYsZR/lpXxdPZEniendsf194GUebrgnHGhn2jxZm+ktHzl+llbaVfMwCquKr6SLK4qZQC9AHYg+Iw9q0WFw== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: be4bff2b-855e-4e18-bd2d-08d7f0d7779b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 09:34:11.0485 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM12HT103 X-Rspamd-Queue-Id: 49GZLF1qhyz4dB7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=KfkpDxrH; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 2a01:111:f400:fe5a::830 as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48:c]; FREEMAIL_FROM(0.00)[hotmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.00)[ipnet: 2a01:111:f000::/36(-4.18), asn: 8075(-3.22), country: US(-0.05)]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[i=1]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.30 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, 05 May 2020 09:34:14 -0000 Why is it that sometimes I lose network connection and then gain it back wi= thout making any changes. For example: I cannot update source or pkg repository or ports collection, = but 20 minutes ago I could. Is there a separate network issue that is responsible for me not being able= to update source or pkg or ports? Sent from Outlook Mobile From owner-freebsd-net@freebsd.org Tue May 5 15:19:47 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0482139B77 for ; Tue, 5 May 2020 15:19:47 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Gk0y75W2z478V for ; Tue, 5 May 2020 15:19:46 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qt1-x829.google.com with SMTP id i68so2227075qtb.5 for ; Tue, 05 May 2020 08:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=v5SDOVtbLvdvSycY9CBBV+u+OBItAY6j1I5A/0vN774=; b=QTE0iPO6+jwAm0QTy6zx1GrzAS6cJlnPe3yD9L/RPnpd3uF2MRxu+KrFKWaFN/zTwq EFRgQJpV1Xs7SUGaEzz+S1IFDq7dc7TGAlQ+uHeM9QxahZXIWT8Tub6zhqOcr6E2p1XB sstPXHAIUeJsjQYh7o9YH8BxNaXT2+cKOxNEx1iKMTnoxNJCC33F7tr0eaq/A7ijHwrU vd+EEft0igYxjQgFIXIjeaS4fS4JKTHtoCJY0pux7/CqVTybnYhMqGWO4mPsYBw49KFT XXpOKJfksuJsZmMjcTVCNNUGwATPnLkjdb5N7BKa8yAL/o8/66SRDp9cjz7ICwU3tZ8n WMBg== 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=v5SDOVtbLvdvSycY9CBBV+u+OBItAY6j1I5A/0vN774=; b=nkg+aa0hMqYZ+Wfc6K3kBn3IBeEsUB2vuopB8SfoNbfACCrHBwYuNGG67dpUY+a3PI TSyg30cx2eaKEnxPUXvSmzoMGT2uGaSaj1veR74ztyFu0SbBY4aH/l7hPKU62Y0hvY3A h7LjoQBQ8xG4yfUpPP4VZXCC7LEEe6xUGifMjNQf+JEbZAWPHglSWqdtCFT/ZyjXm227 AdOukwf8LWDTzw2k5z28H7JuP7bBCj5Iwe4VRJnGGl0fqgx/d0j33XoPSW3+XIaAX6Pb zhQm0Qd8a3GoBbOciu05phGPHp3Yam2HGPPGHf2H2jO0FJe8RonEfXXyfF6v69jCFT3N RicA== X-Gm-Message-State: AGi0PuY5gaV4HY6f6eYAdW15J+GN0d8Rctoky98F6gEmQeolDpjSbPWl 0xe7EP9u76mnn+uMd+lxTpIntsWkfWYbkTJPWan/jZjQMSA= X-Google-Smtp-Source: APiQypLBrCGPXbv/ek+bAI1h8pcxRP+YtyNR+wtArnynHwQIyfgGxOp22uDxiwzY3PesLDbjPTxLxURlKLIMmt8/qB8= X-Received: by 2002:ac8:735a:: with SMTP id q26mr3129375qtp.233.1588691983761; Tue, 05 May 2020 08:19:43 -0700 (PDT) MIME-Version: 1.0 References: <5736598d-ef72-0249-3eb3-946ccd616473@gmail.com> In-Reply-To: <5736598d-ef72-0249-3eb3-946ccd616473@gmail.com> From: Michael Sierchio Date: Tue, 5 May 2020 08:19:07 -0700 Message-ID: Subject: Re: LTE modem? To: "freebsd-net@freebsd.org" X-Rspamd-Queue-Id: 49Gk0y75W2z478V X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=QTE0iPO6; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2607:f8b0:4864:20::829) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-3.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.01)[ip: (-9.26), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[9.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.30 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, 05 May 2020 15:19:47 -0000 On Mon, May 4, 2020 at 11:13 PM Shamim Shahriar wrote: > > Personally I prefer the ones that offer an Ethernet port; it ensures > that whatever "interesting" activity needs to happen at the LTE end is > confined to that box only -- easy to troubleshoot without disturbing the > rest of the set-up. Another advantage is that most of these LTE modems > allow me to connect an external antenna (a life saver when you have to > have something in the middle of nowhere, and the tower is just on the > other side of the ridge :D). > > Can you point to some examples? Thanks! --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-net@freebsd.org Tue May 5 15:20:18 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A0926139C24 for ; Tue, 5 May 2020 15:20:18 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Gk1Y6twJz47Dj for ; Tue, 5 May 2020 15:20:17 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qt1-x830.google.com with SMTP id w29so2249431qtv.3 for ; Tue, 05 May 2020 08:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=yIBcl6aoHnBaSksfO295xjSmc9yrWi67nm8vYwuL/Ks=; b=jlY2GsNajkWy0HFacKvExgv5KSWh0wiFoFXKDhFVwLq4VXc4YJZ13KRHrWLfEP0Zx8 4DdTCSmXuuYMAUGusHurERasQ1nzLCijWG2OjvCq3cpbzc2IGpSqrNVCsu8oz4StcBQn bJOxPyczvHnrqD6B6tc/OFGGX5zDXyl6teokRIuuuH+IYFMG5hz6xsb4C74TYvR2E5sp ivS8mI60Zii2z1QXVukbQzsNnRMjG0NmgxfBkjS0sEXrlvzz6WCzOC+n3C71pE1tUfcX bvdYxjzEF/sVqlv/iaKFrO4S7PbgVGqX+wyXBu8NukYFtVBvl/arE3JIvo/D7jWnFoF2 uvxQ== 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=yIBcl6aoHnBaSksfO295xjSmc9yrWi67nm8vYwuL/Ks=; b=JGvKVAxHpPqlrpAFF5H0CwjPz61/BYV1XvOQvinB5/4LF2vpP2LDwUMHx1voqL3/za TgVbidRh3/clYgN/zlS1KHYI+y5mPNF1ihzPUefTrrpBQGobWvs8U3p6/hFQVMHo5JWW 13oMiXnjfESKRpRMRWZnWnj5gxKKDoIlYA9VVwrOjCcGZ99d0rdEHZoYlY9e6hCU18hE EzyYDOXkIPKldgU8eJRTrSpDRLHm+TvCrU4dgvQH4/wcEAUtjbLIHbX/VLJtOf2cqXWe kRa0EtIfXtoKYxttmZpnThq4D3PFOAOzFbtyhSFzENx+s9OFSWtD+yvyX0oy/wt6k/Ow aXzQ== X-Gm-Message-State: AGi0PuaQT3bDSbQpq19S+k5Br8xnc2kQfTPrXQrs3he1LAn2ZAOlURYN GVBPtO7Pz3vw/Dfgx0BJHeXEhN20PmHbif6hdqYo0Yt0ehY= X-Google-Smtp-Source: APiQypJUPG1hiG5Ktal9f595Uh0PF9DKSNw6aKnXURL9fED5nyXVDyOmkXlmaNERCVjAF9xC0OnETFP8hXnVDZPKhCY= X-Received: by 2002:aed:374a:: with SMTP id i68mr3132875qtb.69.1588692016542; Tue, 05 May 2020 08:20:16 -0700 (PDT) MIME-Version: 1.0 References: <5736598d-ef72-0249-3eb3-946ccd616473@gmail.com> <8d4b19c7-6445-65d9-9153-307ddb55466f@selasky.org> In-Reply-To: <8d4b19c7-6445-65d9-9153-307ddb55466f@selasky.org> From: Michael Sierchio Date: Tue, 5 May 2020 08:19:40 -0700 Message-ID: Subject: Re: LTE modem? To: "freebsd-net@freebsd.org" X-Rspamd-Queue-Id: 49Gk1Y6twJz47Dj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=jlY2GsNa; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2607:f8b0:4864:20::830) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.01)[ip: (-9.22), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[0.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.30 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, 05 May 2020 15:20:18 -0000 Really only interested in Internet. On Tue, May 5, 2020 at 12:24 AM Hans Petter Selasky wrote= : > On 2020-05-05 08:12, Shamim Shahriar wrote: > > Personally I prefer the ones that offer an Ethernet port; > > The Huawei E3372 LTE USB-stik has a FreeBSD compatible USB ethernet por= t. > > But does not support voice calls, only SMS. > > --HPS > _______________________________________________ > 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" > --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-net@freebsd.org Tue May 5 17:25:38 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 573CF13DEA5 for ; Tue, 5 May 2020 17:25:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49GmpB1jH4z4GxY for ; Tue, 5 May 2020 17:25:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3A32613DEA3; Tue, 5 May 2020 17:25:38 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 39FB113DEA2 for ; Tue, 5 May 2020 17:25:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GmpB0q0tz4GxX for ; Tue, 5 May 2020 17:25:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1787319851 for ; Tue, 5 May 2020 17:25:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 045HPbHg039436 for ; Tue, 5 May 2020 17:25:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 045HPbla039435 for net@FreeBSD.org; Tue, 5 May 2020 17:25:37 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 239240] igb: TX(2) desc avail = 1024, pidx = 0 messages appear when the network card (igb/ixgbe/em) loses ethernet link Date: Tue, 05 May 2020 17:25:35 +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: 12.0-RELEASE X-Bugzilla-Keywords: IntelNetworking, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Flags: mfc-stable12+ X-Bugzilla-Changed-Fields: 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.30 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, 05 May 2020 17:25:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239240 Eric Joyner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #37 from Eric Joyner --- I'll work on getting an errata for it. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue May 5 18:11:53 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3FE3813FCE3 for ; Tue, 5 May 2020 18:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49GnqY11Wfz4LNj for ; Tue, 5 May 2020 18:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 22E9713FCDE; Tue, 5 May 2020 18:11:53 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 22B3613FCDC for ; Tue, 5 May 2020 18:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GnqY0Bg8z4LNh for ; Tue, 5 May 2020 18:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 021771A0A5 for ; Tue, 5 May 2020 18:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 045IBq7h028002 for ; Tue, 5 May 2020 18:11:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 045IBqgk027997 for net@FreeBSD.org; Tue, 5 May 2020 18:11: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 239240] igb: TX(2) desc avail = 1024, pidx = 0 messages appear when the network card (igb/ixgbe/em) loses ethernet link Date: Tue, 05 May 2020 18:11:51 +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: 12.0-RELEASE X-Bugzilla-Keywords: IntelNetworking, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Flags: mfc-stable12+ 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.30 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, 05 May 2020 18:11:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239240 --- Comment #38 from Eric Joyner --- Created attachment 214169 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214169&action= =3Dedit Inprogress Errata Notice I started working on an Errata Notice. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed May 6 11:48:56 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 904122C1852 for ; Wed, 6 May 2020 11:48:56 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HFHC0xpKz4X6q for ; Wed, 6 May 2020 11:48:54 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lj1-f181.google.com with SMTP id g4so2027215ljl.2 for ; Wed, 06 May 2020 04:48:54 -0700 (PDT) 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:openpgp:autocrypt:message-id :date:user-agent:mime-version:content-language :content-transfer-encoding; bh=vczBy2fBeYp0nRoYI7sGGnFxpk+qSsnhTClRuhLIgss=; b=uds0EouS7EvfcuNupHY/rG+esOzZ6CYVExkAdFWnfzaO8DaR9yVpkM2TKdxwRwEoXm b6S8ogOgVx7UtiQUlg2gubTbE1lpxDWXA3VgogJzSqj4MZ66Q7lWwse8kZda7E48apmY btamEXnqZjaVYzHMdO8fgzsNBLVqUONYokeyDMa/raNFDIzdCr0fz5Vjd/z601MRZ7D4 +k9g3KK/X3pta5UWcFdE/t9qEqEHjixke4v8/saOelRM3stV9vlnhABoxSjc4UAVXrZX PJ07ktjK+2vN8uXq8ts1CATqsjNwrfC2C/bZrPzwL0gIoSxokeTGhhXgQiQ4kLStqiGN BUKQ== X-Gm-Message-State: AGi0PuaeiHIQ73czxLYEyvt8FsMiEWIAiInjgRiMOLdHnRV7UjJ9/Nkz VQHWhBNkwQC2zSAypsbS2IxKi257Qz0= X-Google-Smtp-Source: APiQypLasNJDa1KMpMmV3ZkYhsMOHr4mSSVnO+2DAVPd11HRKySxooNm+RjVWMbFoY7iEg1SgzjL7w== X-Received: by 2002:a2e:920e:: with SMTP id k14mr4910969ljg.288.1588765733056; Wed, 06 May 2020 04:48:53 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id 68sm1487652lfn.41.2020.05.06.04.48.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 May 2020 04:48:52 -0700 (PDT) To: freebsd-net From: Andriy Gapon Subject: ena + rss patch Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= mQINBFm4LIgBEADNB/3lT7f15UKeQ52xCFQx/GqHkSxEdVyLFZTmY3KyNPQGBtyvVyBfprJ7 mAeXZWfhat6cKNRAGZcL5EmewdQuUfQfBdYmKjbw3a9GFDsDNuhDA2QwFt8BmkiVMRYyvI7l N0eVzszWCUgdc3qqM6qqcgBaqsVmJluwpvwp4ZBXmch5BgDDDb1MPO8AZ2QZfIQmplkj8Y6Z AiNMknkmgaekIINSJX8IzRzKD5WwMsin70psE8dpL/iBsA2cpJGzWMObVTtCxeDKlBCNqM1i gTXta1ukdUT7JgLEFZk9ceYQQ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Y65ADvXs 3aBvokCcm7FsM1wky395m8xUos1681oV5oxgqeRI8/76qy0hD9WR65UW+HQgZRIcIjSel9vR XDaD2HLGPTTGr7u4v00UeTMs6qvPsa2PJagogrKY8RXdFtXvweQFz78NbXhluwix2Tb9ETPk LIpDrtzV73CaE2aqBG/KrboXT2C67BgFtnk7T7Y7iKq4/XvEdDWscz2wws91BOXuMMd4c/c4 OmGW9m3RBLufFrOag1q5yUS9QbFfyqL6dftJP3Zq/xe+mr7sbWbhPVCQFrH3r26mpmy841ym dwQnNcsbIGiBASBSKksOvIDYKa2Wy8htPmWFTEOPRpFXdGQ27awcjjnB42nngyCK5ukZDHi6 w0qK5DNQQCkiweevCIC6wc3p67jl1EMFY5+z+zdTPb3h7LeVnGqW0qBQl99vVFgzLxchKcl0 R/paSFgwqXCZhAKMuUHncJuynDOP7z5LirUeFI8qsBAJi1rXpQoLJTVcW72swZ42IdPiboqx NbTMiNOiE36GqMcTPfKylCbF45JNX4nF9ElM0E+Y8gi4cizJYBRr2FBJgay0b9Cp Message-ID: <996341c5-19ec-daf2-1567-daafbde2e018@FreeBSD.org> Date: Wed, 6 May 2020 14:48:51 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49HFHC0xpKz4X6q X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.208.181 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-2.24 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[96.151.72.93.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.24)[ip: (-0.35), ipnet: 209.85.128.0/17(-0.39), asn: 15169(-0.43), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[181.208.85.209.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[181.208.85.209.rep.mailspike.net : 127.0.0.17]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.30 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, 06 May 2020 11:48:56 -0000 Just for a wider exposure: https://reviews.freebsd.org/D24733 -- Andriy Gapon From owner-freebsd-net@freebsd.org Wed May 6 15:12:58 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 972872C776B for ; Wed, 6 May 2020 15:12:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49HKpf2HwSz3HM0 for ; Wed, 6 May 2020 15:12:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 363872C7753; Wed, 6 May 2020 15:12:58 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 354CC2C7751 for ; Wed, 6 May 2020 15:12:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HKpd3P31z3HLn for ; Wed, 6 May 2020 15:12:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E03B1589 for ; Wed, 6 May 2020 15:12:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 046FCvKc055019 for ; Wed, 6 May 2020 15:12:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 046FCvYc055011 for net@FreeBSD.org; Wed, 6 May 2020 15:12:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 241785] [vlan][lagg] creating vlan over lagg causes flapping Date: Wed, 06 May 2020 15:12:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: aleksandr.fedorov@itglobal.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.30 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, 06 May 2020 15:12:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241785 --- Comment #2 from Aleksandr Fedorov --- Need help testing this patch: https://reviews.freebsd.org/D24659 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed May 6 15:13:14 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 41A492C781C for ; Wed, 6 May 2020 15:13:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49HKpy0dYfz3HQg for ; Wed, 6 May 2020 15:13:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 157C62C781A; Wed, 6 May 2020 15:13:14 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 152CB2C7819 for ; Wed, 6 May 2020 15:13:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HKpx6tmXz3HQV for ; Wed, 6 May 2020 15:13:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E50B4158C for ; Wed, 6 May 2020 15:13:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 046FDDcL067380 for ; Wed, 6 May 2020 15:13:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 046FDDIG067370 for net@FreeBSD.org; Wed, 6 May 2020 15:13: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 240818] igb drivers: vlanhwfilter feature generate link UP/DOWN for each new vlan created Date: Wed, 06 May 2020 15:13:13 +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 Many People X-Bugzilla-Who: aleksandr.fedorov@itglobal.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.30 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, 06 May 2020 15:13:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240818 Aleksandr Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleksandr.fedorov@itglobal. | |com --- Comment #5 from Aleksandr Fedorov --- Need help testing this patch: https://reviews.freebsd.org/D24659 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed May 6 21:29:03 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C1332E0034 for ; Wed, 6 May 2020 21:29:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49HV8Z6XzVz4Cj5 for ; Wed, 6 May 2020 21:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DEAE92E0032; Wed, 6 May 2020 21:29:02 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE7192E0031 for ; Wed, 6 May 2020 21:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HV8Z5fvPz4Cj4 for ; Wed, 6 May 2020 21:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BDDC85EC8 for ; Wed, 6 May 2020 21:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 046LT2HG095333 for ; Wed, 6 May 2020 21:29:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 046LT2St095332 for net@FreeBSD.org; Wed, 6 May 2020 21:29:02 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 240818] igb drivers: vlanhwfilter feature generate link UP/DOWN for each new vlan created Date: Wed, 06 May 2020 21: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: lev@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.30 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, 06 May 2020 21:29:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240818 --- Comment #6 from Lev A. Serebryakov --- D24659 helps me on em, igb and ix --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu May 7 00:51:52 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C98742E4B7B for ; Thu, 7 May 2020 00:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49HZfc34SPz4SMM for ; Thu, 7 May 2020 00:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 674322E4B7A; Thu, 7 May 2020 00:51:52 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 66F402E4B79 for ; Thu, 7 May 2020 00:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HZfc28bSz4SMK for ; Thu, 7 May 2020 00:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 456CB85DA for ; Thu, 7 May 2020 00:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0470pq6T085278 for ; Thu, 7 May 2020 00:51:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0470pqoE085277 for net@FreeBSD.org; Thu, 7 May 2020 00:51:52 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 238520] [sctp] Fatal trap 9: general protection fault while in kernel mode Date: Thu, 07 May 2020 00:51:51 +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: crash, stress2 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: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable12+ mfc-stable11? 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.30 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, 07 May 2020 00:51:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238520 --- Comment #13 from commit-hook@freebsd.org --- A commit references this bug: Author: tuexen Date: Thu May 7 00:50:51 UTC 2020 New revision: 360727 URL: https://svnweb.freebsd.org/changeset/base/360727 Log: MFC r350626: Fix a locking issue in SCTP Fix a locking issue in sctp_accept. PR: 238520 Reported by: pho Changes: _U stable/11/ stable/11/sys/netinet/sctp_usrreq.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu May 7 07:32:16 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 79E8D13A385 for ; Thu, 7 May 2020 07:32:16 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::101]) (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 49HlXZ51Hmz3DTX; Thu, 7 May 2020 07:32:14 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 314E11BE0C59; Thu, 7 May 2020 10:32:11 +0300 (MSK) Received: from iva4-bca95d3b11b1.qloud-c.yandex.net (iva4-bca95d3b11b1.qloud-c.yandex.net [2a02:6b8:c0c:4e8e:0:640:bca9:5d3b]) by mxback3o.mail.yandex.net (mxback/Yandex) with ESMTP id XMqzZBENjV-WALWo4MT; Thu, 07 May 2020 10:32:11 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1588836731; bh=JUTuBjhkSWQDCqS9+G2Qyq6ty796SZeElm7QGw4J/6Q=; h=In-Reply-To:Cc:To:From:Subject:Date:References:Message-ID; b=fdJLlADJCyY0cM2jeGL8k8sPStBk5s9B8O8SL+FXSUb6LoAAyRttHW9VNdHziC0GP F1PppUANgb0WJjkOCdUDoThgBwnAkpPmzdfL3+XqVCyp9DAhL5zoF7mC2QHTzezkVw mV4KWDUMKmNqk/g8xtmRsb+N7muktifXHRh5uMds= Received: by iva4-bca95d3b11b1.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id ky5aBsrcHv-WAUWvGPX; Thu, 07 May 2020 10:32:10 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Subject: Re: RUNNING flag remains unset upon reinserting a gre into VNET jail From: "Andrey V. Elsukov" To: "John W. O'Brien" , FreeBSD Net Cc: "Bjoern A. Zeeb" References: <9d81897c-79af-1da3-f142-88bee5b6522e@FreeBSD.org> Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= mQENBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAG0JUFuZHJleSBWLiBFbHN1a292IDxidTdjaGVyQHlhbmRleC5ydT6JATgEEwECACIFAkwB F1kCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEAHF6gQQyKF6qmYIAI6ekfm1VA4T vqankI1ISE6ku4jV7UlpIQlEbE7/8n3Zd6teJ+pGOQhN5qk8QE7utdPdbktAzi+x7LIJVzUw 4TywZLXGrkP7VKYkfg6oyCGyzITghefQeJtr2TN4hYCkzPWpylkue8MtmqfZv/6royqwTbN+ +E09FQNvTgRUYJYTeQ1qOsxNRycwvw3dr2rOfuxShbzaHBB1pBIjGrMg8fC5pd65ACH5zuFV A0CoTNGMDrEZSfBkTW604UUHFFXeCoC3dwDZRKOWJ3GmMXns65Ai5YkA63BSHEE1Qle3VBhd cG1w0CB5FBV3pB27UVnf0jEbysrDqW4qN7XMRFSWNAy5AQ0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAYkBHwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <5c2571d4-e42c-4a56-8a96-90f065d36afa@yandex.ru> Date: Thu, 7 May 2020 10:27:04 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <9d81897c-79af-1da3-f142-88bee5b6522e@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rr9Gkzpyt11QjRVMrD6UB1DIBgw9AyOHD" X-Rspamd-Queue-Id: 49HlXZ51Hmz3DTX X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=fdJLlADJ; dmarc=pass (policy=none) header.from=yandex.ru; spf=pass (mx1.freebsd.org: domain of bu7cher@yandex.ru designates 2a02:6b8:0:801:2::101 as permitted sender) smtp.mailfrom=bu7cher@yandex.ru X-Spamd-Result: default: False [-5.10 / 15.00]; FREEMAIL_FROM(0.00)[yandex.ru]; R_SPF_ALLOW(-0.20)[+ip6:2a02:6b8:0::/52]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yandex.ru:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.63), ipnet: 2a02:6b8::/32(-4.77), asn: 13238(-3.85), country: RU(0.01)]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; ASN(0.00)[asn:13238, ipnet:2a02:6b8::/32, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yandex.ru.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.ru:s=mail]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; RCVD_TLS_LAST(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.0.1.0.0.0.0.0.0.0.0.0.2.0.0.0.1.0.8.0.0.0.0.0.8.b.6.0.2.0.a.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.30 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, 07 May 2020 07:32:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rr9Gkzpyt11QjRVMrD6UB1DIBgw9AyOHD Content-Type: multipart/mixed; boundary="loiQBINRkARUG0vVPq1OTxo5WdPDESze0"; protected-headers="v1" From: "Andrey V. Elsukov" To: "John W. O'Brien" , FreeBSD Net Cc: "Bjoern A. Zeeb" Message-ID: <5c2571d4-e42c-4a56-8a96-90f065d36afa@yandex.ru> Subject: Re: RUNNING flag remains unset upon reinserting a gre into VNET jail References: <9d81897c-79af-1da3-f142-88bee5b6522e@FreeBSD.org> In-Reply-To: <9d81897c-79af-1da3-f142-88bee5b6522e@FreeBSD.org> --loiQBINRkARUG0vVPq1OTxo5WdPDESze0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 06.05.2020 10:00, Andrey V. Elsukov wrote: >> # create a gre outside the jail, configure its tunnel endpoints >> >> ifconfig gre0 create tunnel 10.1.1.1 10.2.2.2 >> ifconfig gre0 # not RUNNING (OK) >> >> # place the gre into the jail, it should be running now >> >> ifconfig gre0 vnet demo >> jexec demo ifconfig gre0 # not RUNNING (not OK) >=20 > Hi, >=20 > I'm not an advanced jail user, so this is my conclusion from a quick > code look. It looks to me that all IPv4/IPv6 addresses should be purged= > from the interface that was moved from one vnet to another. The fact > that tunnel's config still here is due to it is stored in the private > interface's softc. Thus when you move ifnet from one vnet to another, > ifaddr_event_ext is not handled properly and interface doesn't change > its state. >=20 > If my conclusion is correct, I see two ways to fix this: > 1. Add if_reassign() method to all tunneling interfaces and clear > tunnel config when ifnet is moved to new jail. This will force you > reconfigure interface after moving. Probably this is POLA violation. Hi, I think this patch should help: https://people.freebsd.org/~ae/gre.diff It is untested, if you have time please, test and report back. The patch will clear tunnel config after moving from one vnet to another. Thus you need to reconfigure all addresses. > 2. Add if_reassign() method to all tunneling interfaces, that will > invoke ifaddr_evnet_ext handler. This requires more code and looks > hackish to me. :) --=20 WBR, Andrey V. Elsukov --loiQBINRkARUG0vVPq1OTxo5WdPDESze0-- --rr9Gkzpyt11QjRVMrD6UB1DIBgw9AyOHD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAl6zuEgACgkQAcXqBBDI oXrKeQgAukJoCOwHETkUNOZJTl8niERTZXv3UQzsjcNW1An+DNNpXcRZj0acZhH0 iScvbxQiHB3K/BVCvSuQ85Cwh0gE6rKJns9Gyt0cgkQ0cp7EHY+HRHaNy96rtcpF y1bJPPW2+IDkiV1PIDasJEUann4GmwOdlBegV4Is9pBxbgGR0qhjJiNoj9d0+NK2 5X94iB3diXNaeT8p/d7P3OD84KYzLWymTA3JGkIKRqby0d8lXK65pQJDlb4b0trG fB0o/NiyLE6gNB7oCyJ9nfrm9DtWyC9zgjAz9if6N8e/OxotugksT8q989+/E0rk At/NfqrKud4Qru9cRI6kxX5sUDUKyQ== =rqaS -----END PGP SIGNATURE----- --rr9Gkzpyt11QjRVMrD6UB1DIBgw9AyOHD-- From owner-freebsd-net@freebsd.org Thu May 7 11:57:51 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81E6B2C57C7 for ; Thu, 7 May 2020 11:57:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49HsR32vyDz44MQ for ; Thu, 7 May 2020 11:57:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 63D992C57C6; Thu, 7 May 2020 11:57:51 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 63A402C57C5 for ; Thu, 7 May 2020 11:57:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HsR324Rlz44MP for ; Thu, 7 May 2020 11:57:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 402D8189C6 for ; Thu, 7 May 2020 11:57:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 047BvpeF008737 for ; Thu, 7 May 2020 11:57:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 047BvpXh008735 for net@FreeBSD.org; Thu, 7 May 2020 11:57: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 166724] [re] if_re watchdog timeout Date: Thu, 07 May 2020 11:57:49 +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: jplx256@gmail.com 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: 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.30 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, 07 May 2020 11:57:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 Jan Przybylak changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jplx256@gmail.com --- Comment #46 from Jan Przybylak --- I'm also experiencing this on 12.1-RELEASE-p4. While networking usually wor= ks, large transfers seem to kill the driver, which can only be fixed by rebooti= ng. When this happens, `dmesg` will be filled with: re0: watchdog timeout re0: link state changed to DOWN re0: link state changed to UP These three messages repeat forever until the machine is rebooted. Restarti= ng the interface with ifconfig did not fix it. This typically happens when I create a large backup (I use borgmatic) to an SFTP server on my local network. The affected machine is an Odroid H2 which I use as NAS. It's got two Realt= ek RTL8111G NICs, which I am not able to replace (It's a Single Board Computer, the NICs are soldered to the board and there are no PCI slots). --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu May 7 12:03:59 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2A47E2C681B for ; Thu, 7 May 2020 12:03:59 +0000 (UTC) (envelope-from john@saltant.com) Received: from twaddle.saltant.net (twaddle.saltant.net [IPv6:2001:470:8d6f:1001::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49HsZ55XV7z45CR; Thu, 7 May 2020 12:03:57 +0000 (UTC) (envelope-from john@saltant.com) Received: from dither.saltant.net (dither.saltant.net [IPv6:2001:470:8d6f:1001::3]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by twaddle.saltant.net (Postfix) with ESMTPSA id 964454BA3; Thu, 7 May 2020 08:03:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=saltant.com; s=twaddle; t=1588853031; bh=Lb57OTGtwWIZw5cXoQ7bxKqEzuJMVchDLDj8LB934hw=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=cX9X+z5O6ZyGQIh3o1nouupdzLOkE0WVEHFmWfVhPxNJtl5BGy+K52FKJUjKLPo8T jHuxdh4YCbGa/LW6n1Hq7M5UPfTgE48UnB3d5SDdLXsdZ7FR1DWQ/D20I9k/CO0GFX pLNhANuaPqQnieq9bFVVJZBSu/grL5l/4pXMFfRkRCvOD05TsIiy+jnWZaHd7LHYNs Rig1k1T8tkDIXsp4IMtjIWUc0Gw1wmK5cyZ/XUOPnp9+vt6cyYbl3tyzjdLqIrQfPz ci/iAu6wXm5RyL/r4R4HW3/HQJCOvyTncxkSmUqic87XOyQ16X3mENaI6r7x9qgqBM 6qYRMLLLdl/CQ== Subject: Re: RUNNING flag remains unset upon reinserting a gre into VNET jail To: "Andrey V. Elsukov" , FreeBSD Net Cc: "Bjoern A. Zeeb" References: <9d81897c-79af-1da3-f142-88bee5b6522e@FreeBSD.org> <5c2571d4-e42c-4a56-8a96-90f065d36afa@yandex.ru> From: "John W. O'Brien" Autocrypt: addr=john@saltant.com; prefer-encrypt=mutual; keydata= mQINBFpcMG0BEACeAEQ0ZTUEH+6B8XIBid2H8g1yY+niHxVphqz8JwnQtYX+bS+Kl3vr783F HH81DEbfPtYgHY53NF9FjSzCyj13lXVnEGQOdxXzZVKsN1nyuXCN2hDOFH7Yc5yQ8h85T4Hv sqPIGIXOztu4MX14iUAcTgLhfibNQBeKDeNI+BBeaE9lPuNVeiM+xsI4JYcjmDbjFzAHRpBo ull0koUFh6RZAKE7u17yLej1pTIQQVjQpWdK37BAq4hdkLwjGDY8mDGo3ZwGdNibxIAxv/wi KU6u2DfUg8+kLHIhOqk/+kFQ/uK5YA1azsyD5eIbNAs4W7LglA6SkiGBglTwkP0VCrkPdD14 6sx3U7uFgexDWbVuhLIkcPQ0SRmnjgUKHgk7px/jMvAPKSKoL0JQNdP/+pnO9CDLGmoHx9gE 5kVr5dQK8c/WauEfimAdE9qLuN6vb0Iei73q3e3OOHAUusR5wC5SwXt4iilbaK4r04NKXyfb SB3+qWST07F9cmMscfEStSBhpez3awB+1jz8gr40tkEGsFZGvD2KKAgZdKpoxv6IrZepclWz HpqHF01SRFORYMsd1d83XlEu/S1/Z9YJ87RoCdZuYCkjnoRPtpTi9d+JD/u3ZiQFwLUz/Ne3 VqiGKvY66EGcO3tvANMg6GWD9sqlnBDp9Lls0ChEY3dgDYd6DQARAQABtCJKb2huIFcuIE8n QnJpZW4gPGpvaG5Ac2FsdGFudC5jb20+iQJUBBMBCAA+AhsDBQsJCAcCBhUKCQgLAgQWAgMB Ah4BAheAFiEENPkbBr3zmPAVSH2HM8TWS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1MhrfRwbQkDjWEoG2BbztPbCY5ZP VYGZU+sIwQhEyco+ddv+RL8o7gFDf58nNOgdi03Plsv2N+JpPaU6uoZy4hfzMY/PMhlWaO32 qM0HLyOuojB+RDPZ7oKQbwyavH6YHPcF/aix0DArvCh7nwW0CR/B5YgwD7FtTgE9ZcTof7am IR0ZVQ40kCyanLXp/qHiY9mR0g8Ggy9/rGA5fUsu1/ugyvJPBU/usmQfz3TcTNiuefVrh+Xh cuTc5dDP0d2MHfnKPxnj9F9+9sjJIgD1TbMDtbDhhCw3xkRnR3tbXM2hfDm2CyGKsCYIqDhb Isguy0R5IoW4gL2fHztgtFu3kvYbd45QUuopJhqK/fyRPaEhDx0FE2/jhYdFPJo90DmqL5Pm LJPsa12ActP1cArwAeXFLejxsjfTZeQ49Ww7GK2ZXnoEXFp5fmy2zoCUy12f9245Hvx8ea2y Z9nB+f1CWOPLRctjUqqBWXyQI1cErN9lhJIaCbDFGs61JOBzgFq2q+VnYtWmUJzOtGOGcEfX Nckeve7ALaUiFxGje9zepN2d/xKj Message-ID: <03c2215a-2a05-24c1-fe59-ccfd3e934bfe@saltant.com> Date: Thu, 7 May 2020 08:03:47 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <5c2571d4-e42c-4a56-8a96-90f065d36afa@yandex.ru> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="B2LPNHQPnt46GfexWMdJ7fpWDAiGNsrkU" X-Rspamd-Queue-Id: 49HsZ55XV7z45CR X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=saltant.com header.s=twaddle header.b=cX9X+z5O; dmarc=none; spf=pass (mx1.freebsd.org: domain of john@saltant.com designates 2001:470:8d6f:1001::2 as permitted sender) smtp.mailfrom=john@saltant.com X-Spamd-Result: default: False [-8.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[saltant.com:s=twaddle]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:8d6f::/48]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[saltant.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[saltant.com:+]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[yandex.ru]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; IP_SCORE(-3.48)[ip: (-9.91), ipnet: 2001:470::/32(-4.22), asn: 6939(-3.24), country: US(-0.05)]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.30 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, 07 May 2020 12:03:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --B2LPNHQPnt46GfexWMdJ7fpWDAiGNsrkU Content-Type: multipart/mixed; boundary="vVVzOUJoVcmdfmcSiM7t2O4Amb2pXH3lu" --vVVzOUJoVcmdfmcSiM7t2O4Amb2pXH3lu Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2020/05/07 03:27, Andrey V. Elsukov wrote: > On 06.05.2020 10:00, Andrey V. Elsukov wrote: >>> # create a gre outside the jail, configure its tunnel endpoints >>> >>> ifconfig gre0 create tunnel 10.1.1.1 10.2.2.2 >>> ifconfig gre0 # not RUNNING (OK) >>> >>> # place the gre into the jail, it should be running now >>> >>> ifconfig gre0 vnet demo >>> jexec demo ifconfig gre0 # not RUNNING (not OK) >> >> Hi, >> >> I'm not an advanced jail user, so this is my conclusion from a quick >> code look. It looks to me that all IPv4/IPv6 addresses should be purge= d >> from the interface that was moved from one vnet to another. The fact >> that tunnel's config still here is due to it is stored in the private >> interface's softc. Thus when you move ifnet from one vnet to another, >> ifaddr_event_ext is not handled properly and interface doesn't change >> its state. >> >> If my conclusion is correct, I see two ways to fix this: >> 1. Add if_reassign() method to all tunneling interfaces and clear >> tunnel config when ifnet is moved to new jail. This will force you >> reconfigure interface after moving. Probably this is POLA violation. >=20 > Hi, >=20 > I think this patch should help: > https://people.freebsd.org/~ae/gre.diff >=20 > It is untested, if you have time please, test and report back. > The patch will clear tunnel config after moving from one vnet to > another. Thus you need to reconfigure all addresses. >=20 >> 2. Add if_reassign() method to all tunneling interfaces, that will >> invoke ifaddr_evnet_ext handler. This requires more code and looks >> hackish to me. :) Hi Andrey, Your assessment and choice of fix sound right to me. If ordinary addresses are removed upon iface movement between VNETs, then it makes sense that tunnel addresses would be too. I will do my best to test in the coming days. --=20 John W. O'Brien OpenPGP keys: 0x33C4D64B895DBF3B --vVVzOUJoVcmdfmcSiM7t2O4Amb2pXH3lu-- --B2LPNHQPnt46GfexWMdJ7fpWDAiGNsrkU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEUgT925O8rsvNs2oHIjgwc/pAJtYFAl6z+SMACgkQIjgwc/pA JtbG9AgAvB8BeeH4PLSbUa1u8gY16PuUKkXT5edgZwi9ieQ7fGUIt6URzTH1WfAj +0tHQbDbNoiItXdNNODvjEK+OsWDxTiapY8QbGZmWNQFYvXDUVZg9w/LTMc0wNIQ YqKPAtfwn9tGWaNJdV2a9iy38g9uODQY9K7EwIT6fkcRxk/SH3T1TJbLpGdSPgJ2 aIsZLva+vUkLAVVUx521QlObaoiBlrS3WVHEYOqb+Zo3oadI58XeepSSJHQBmC91 lRT0oxT3YbezcBVk4U7CmEOkXf3cyu+u7CiiFBAk6PDnmWgd5NA4qMdo1fIZrkJF g/e5RYrDgFvRiJCL0W4WG54SpHtEPA== =HcrL -----END PGP SIGNATURE----- --B2LPNHQPnt46GfexWMdJ7fpWDAiGNsrkU-- From owner-freebsd-net@freebsd.org Thu May 7 12:31:37 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06FAA2C77E3 for ; Thu, 7 May 2020 12:31:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49HtB06TmLz46rS for ; Thu, 7 May 2020 12:31:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DE9CB2C77E2; Thu, 7 May 2020 12:31:36 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE5A02C77E1 for ; Thu, 7 May 2020 12:31:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HtB05g0Qz46rQ for ; Thu, 7 May 2020 12:31:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BDD9B19023 for ; Thu, 7 May 2020 12:31:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 047CVaFs013944 for ; Thu, 7 May 2020 12:31:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 047CVar0013940 for net@FreeBSD.org; Thu, 7 May 2020 12:31: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 166724] [re] if_re watchdog timeout Date: Thu, 07 May 2020 12:31:33 +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: kib@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: 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.30 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, 07 May 2020 12:31:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #47 from Konstantin Belousov --- Try=20 https://github.com/kostikbel/rere --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu May 7 14:50:20 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5751E2DB485 for ; Thu, 7 May 2020 14:50:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49HxG41dm6z4GmR for ; Thu, 7 May 2020 14:50:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 382F32DB484; Thu, 7 May 2020 14:50:20 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 37F922DB483 for ; Thu, 7 May 2020 14:50:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HxG40qQ3z4GmQ for ; Thu, 7 May 2020 14:50:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 153911AAB0 for ; Thu, 7 May 2020 14:50:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 047EoJCq014447 for ; Thu, 7 May 2020 14:50:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 047EoJjO014446 for net@FreeBSD.org; Thu, 7 May 2020 14:50:19 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 245712] iflib: ift_mtx_name is too small Date: Thu, 07 May 2020 14:50: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11- 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.30 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, 07 May 2020 14:50:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245712 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: markj Date: Thu May 7 14:49:18 UTC 2020 New revision: 360781 URL: https://svnweb.freebsd.org/changeset/base/360781 Log: MFC r360498: Increase the iflib txq callout mutex name length to 32 bytes. PR: 245712 Changes: _U stable/12/ stable/12/sys/net/iflib.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu May 7 14:50:48 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BD3952DB500 for ; Thu, 7 May 2020 14:50:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49HxGc4fPPz4Gs1 for ; Thu, 7 May 2020 14:50:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9F8A22DB4FF; Thu, 7 May 2020 14:50:48 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9F5002DB4FE for ; Thu, 7 May 2020 14:50:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HxGc3Qtfz4Gry for ; Thu, 7 May 2020 14:50:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 713AF1ABD8 for ; Thu, 7 May 2020 14:50:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 047Eom9Z017853 for ; Thu, 7 May 2020 14:50:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 047Eom1m017852 for net@FreeBSD.org; Thu, 7 May 2020 14:50:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 245712] iflib: ift_mtx_name is too small Date: Thu, 07 May 2020 14:50:48 +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 Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11- 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.30 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, 07 May 2020 14:50:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245712 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Open |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri May 8 21:31:47 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81C4E2E4DC7 for ; Fri, 8 May 2020 21:31:47 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49Jk6q0YDQz3JXf for ; Fri, 8 May 2020 21:31:47 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: by mailman.nyi.freebsd.org (Postfix) id 111642E4DC5; Fri, 8 May 2020 21:31:47 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F7312E4DC3; Fri, 8 May 2020 21:31:47 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) (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 49Jk6n1chHz3JXM; Fri, 8 May 2020 21:31:44 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from mxback23g.mail.yandex.net (mxback23g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:323]) by forward106j.mail.yandex.net (Yandex) with ESMTP id D675211A0355; Sat, 9 May 2020 00:31:41 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback23g.mail.yandex.net (mxback/Yandex) with ESMTP id pvLKJehai4-VfSGh5fr; Sat, 09 May 2020 00:31:41 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1588973501; bh=fU4KKmxUJg0b3jNHeyLKHYjK55BcgDRMnOOU3mlJZt0=; h=Message-Id:Date:Subject:To:From; b=kNvHlrWGwzeCWsOUgcDHBRLiJu8H1CD2culRH+nsyaWQ79iCq7hKzO2aa1u4X149O SdVa+Ku98wVKGbcOCkPuj8iWBqCzLmLWDsUWjInqdIAhiwLk3R4dOuKWrNL9Sb3J+t 2bckgEe2sJjQgBSpMblCg+vXPPvlT8Z6Qwl8rN9k= Received: by iva1-3b1c0a1a240c.qloud-c.yandex.net with HTTP; Sat, 09 May 2020 00:31:41 +0300 From: Alexander V. Chernikov To: "current@FreeBSD.org" , "net@freebsd.org" Subject: Next-hop objects and scalable multipath routing project status update [May 8] MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 08 May 2020 22:31:41 +0100 Message-Id: <1573911588972910@mail.yandex.ru> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Rspamd-Queue-Id: 49Jk6n1chHz3JXM X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ipfw.ru header.s=mail header.b=kNvHlrWG; dmarc=none; spf=pass (mx1.freebsd.org: domain of melifaro@ipfw.ru designates 5.45.198.249 as permitted sender) smtp.mailfrom=melifaro@ipfw.ru X-Spamd-Result: default: False [-6.20 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ipfw.ru:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.45.192.0/19]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ipfw.ru]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[ipfw.ru:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[249.198.45.5.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:13238, ipnet:5.45.192.0/18, country:RU]; IP_SCORE(-3.70)[ip: (-9.78), ipnet: 5.45.192.0/18(-4.86), asn: 13238(-3.86), country: RU(0.01)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.32 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, 08 May 2020 21:31:47 -0000 Hi, I would like to share the current state and the next steps for the nhops/multipath project. To recap: project is about modernising the current routing stack and implementing scalable multipath routing. Most changes are based on introduction of the concept of nexthops. Nexthops, which are separate datastructures, containing all necessary information to perform packet forwarding such as gateway, interface and mtu. They are shared among the routes, providing more pre-computed cache-efficient data while requiring less memory. Interested reader can find more detailed description in https://reviews.freebsd.org/D24141 . All changes[*] from the stage1 (nexthop objects introduction) has landed. Currently the focus is on upgrading various route change notification mechanisms to allow transparent multipath introduction. After that the focus will switch on landing the actual multipath implementation. [*] D24776 is pending commit tomorrow. More detailed plan: 1 Nexthop objects [In progress] 1.1 Introduction of nexthop objects [DONE: r359823] 1.2 Conversion of old KPI users to the new one [DONE] 1.2.1 Conversion of route caching to nexthop caching [DONE: r360292] 1.3 Conversion of struct `rtentry` field access to nhop field access [DONE] 1.4 Eliminating old lookup KPI and hiding struct rtentry. [95% complete, rtentry: rS360824, kpi: D24776 (pending), ] 2 Multipath [In progress] 2.1 Switch control plane customers to use (rtentry, nhop) pair instead of rtentry to allow multipath changes happen transparently. [10% complete] 2.2 Introduce nexthop group objects 2.3 Add mutipath support for the rib manipulation functions 2.4 Add flowid generation for outbound traffic to enable load balancing -- [No timeline] 3 Rtsock/netlink nhops support 3.1 Implement index lookup for nhops/nhop groups 3.2 Design rtsock messages for nhop/nhgrp operations& prefix binding 3.3 Implement kernel part 3.4 Implement frr or bird support 4 Modular longest-prefix-match lookup algorithm 4.1 Design control plane framework for attaching algos. 4.2 Implement one (IPv6?) lookup algorithm /Alexander From owner-freebsd-net@freebsd.org Fri May 8 23:09:39 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 764AC2E7219 for ; Fri, 8 May 2020 23:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49JmHl2bH5z3PDn for ; Fri, 8 May 2020 23:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 58D7E2E7218; Fri, 8 May 2020 23:09:39 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 589FB2E7217 for ; Fri, 8 May 2020 23:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49JmHl1kNwz3PDm for ; Fri, 8 May 2020 23:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 36B3AA03B for ; Fri, 8 May 2020 23:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 048N9dgn082927 for ; Fri, 8 May 2020 23:09:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 048N9dnH082926 for net@FreeBSD.org; Fri, 8 May 2020 23:09: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 240944] em(4): Crash with Intel 82571EB NIC with AMD Piledriver and Steamroller APUs Date: Fri, 08 May 2020 23:09: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: 12.0-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bhertenstein97@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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.32 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, 08 May 2020 23:09:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240944 bhertenstein97@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bhertenstein97@gmail.com --- Comment #5 from bhertenstein97@gmail.com --- Dropping in to state that I am seeing the same issue with my HP t730 and bo= th a HP NC364T and NC360T. I followed the same reproduction steps as tinfever but with the 12.1 release. Also tested with pfSense 2.5 (based on FreeBSD 12.1) running as an iperf server.=20 I do also see this with pfSense 2.4.5 (based on FreeBSD 11.3). If any further information is needed, please let me know. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat May 9 15:31:23 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4F5B02ECE5F for ; Sat, 9 May 2020 15:31:23 +0000 (UTC) (envelope-from john@saltant.com) Received: from twaddle.saltant.net (twaddle.saltant.net [72.78.188.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49KB4T5WrHz3yGx; Sat, 9 May 2020 15:31:21 +0000 (UTC) (envelope-from john@saltant.com) Received: from statler.priv.n.saltant.net (unknown [IPv6:2001:470:8d6f:0:2003:19d:10b2:9e4f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by twaddle.saltant.net (Postfix) with ESMTPSA id C1C3456DF; Sat, 9 May 2020 11:31:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=saltant.com; s=twaddle; t=1589038274; bh=x/XfpxDw3huNeK+JYKlx6E15gGKjSG0XR/ijvHewAbs=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=FnIl9fsF/seY/ujPN1kwli+LVl1qwX8jyOiwuv4acAnsm+xE2ldvzuCv9CEBOq4Ih m1kpzI2GcP32YK1bqbCsVvMjVvCtMOIXpEZWyrL+g3/cpk+kqSKsSK6fJ6HvmrMOwb BtWHSuhwma5ouqc7FBDpiSL+LbChursMK9oNEncD/v/BJ5CZoD/eg/GP+peIct/o99 JGF3Zg2DTPZrMzP8EyUrlICOwUvsH0W15Qt0ypt0y68sGwf3T/jCyDolz/GDBuF7Hs x731dFn778FsATJhb6n3P+OUZWLDcX7hc85RRQWhBXanby2m9C77VuYjJmqwTs/cCY gIKk1nlg7rHZQ== Subject: Re: RUNNING flag remains unset upon reinserting a gre into VNET jail To: "Andrey V. Elsukov" , FreeBSD Net Cc: "Bjoern A. Zeeb" References: <9d81897c-79af-1da3-f142-88bee5b6522e@FreeBSD.org> <5c2571d4-e42c-4a56-8a96-90f065d36afa@yandex.ru> From: "John W. O'Brien" Autocrypt: addr=john@saltant.com; prefer-encrypt=mutual; keydata= mQINBFpcMG0BEACeAEQ0ZTUEH+6B8XIBid2H8g1yY+niHxVphqz8JwnQtYX+bS+Kl3vr783F HH81DEbfPtYgHY53NF9FjSzCyj13lXVnEGQOdxXzZVKsN1nyuXCN2hDO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FE2/jhYdFPJo90DmqL5Pm LJPsa12ActP1cArwAeXFLejxsjfTZeQ49Ww7GK2ZXnoEXFp5fmy2zoCUy12f9245Hvx8ea2y Z9nB+f1CWOPLRctjUqqBWXyQI1cErN9lhJIaCbDFGs61JOBzgFq2q+VnYtWmUJzOtGOGcEfX Nckeve7ALaUiFxGje9zepN2d/xKj Message-ID: <7bd71bc3-26c6-edf3-2218-8502e305e13c@saltant.com> Date: Sat, 9 May 2020 11:31:10 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <5c2571d4-e42c-4a56-8a96-90f065d36afa@yandex.ru> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YfPr5y6NQG26GOB8PmiE8mm41IHSlaFe1" X-Rspamd-Queue-Id: 49KB4T5WrHz3yGx X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=saltant.com header.s=twaddle header.b=FnIl9fsF; dmarc=none; spf=pass (mx1.freebsd.org: domain of john@saltant.com designates 72.78.188.147 as permitted sender) smtp.mailfrom=john@saltant.com X-Spamd-Result: default: False [-7.39 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[saltant.com:s=twaddle]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:72.78.188.144/29]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[saltant.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[saltant.com:+]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[yandex.ru]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; IP_SCORE(-2.79)[ip: (-9.91), ipnet: 72.78.0.0/16(-4.92), asn: 701(0.93), country: US(-0.05)]; ASN(0.00)[asn:701, ipnet:72.78.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2020 15:31:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --YfPr5y6NQG26GOB8PmiE8mm41IHSlaFe1 Content-Type: multipart/mixed; boundary="8QmPoOab4GFGePXUoJ6Ve2hUa0gyWBnDF" --8QmPoOab4GFGePXUoJ6Ve2hUa0gyWBnDF Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2020/05/07 03:27, Andrey V. Elsukov wrote: > On 06.05.2020 10:00, Andrey V. Elsukov wrote: >>> # create a gre outside the jail, configure its tunnel endpoints >>> >>> ifconfig gre0 create tunnel 10.1.1.1 10.2.2.2 >>> ifconfig gre0 # not RUNNING (OK) >>> >>> # place the gre into the jail, it should be running now >>> >>> ifconfig gre0 vnet demo >>> jexec demo ifconfig gre0 # not RUNNING (not OK) >> >> Hi, >> >> I'm not an advanced jail user, so this is my conclusion from a quick >> code look. It looks to me that all IPv4/IPv6 addresses should be purge= d >> from the interface that was moved from one vnet to another. The fact >> that tunnel's config still here is due to it is stored in the private >> interface's softc. Thus when you move ifnet from one vnet to another, >> ifaddr_event_ext is not handled properly and interface doesn't change >> its state. >> >> If my conclusion is correct, I see two ways to fix this: >> 1. Add if_reassign() method to all tunneling interfaces and clear >> tunnel config when ifnet is moved to new jail. This will force you >> reconfigure interface after moving. Probably this is POLA violation. >=20 > Hi, >=20 > I think this patch should help: > https://people.freebsd.org/~ae/gre.diff >=20 > It is untested, if you have time please, test and report back. > The patch will clear tunnel config after moving from one vnet to > another. Thus you need to reconfigure all addresses. Looks good. root@freebsd:~ # uname -a FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT #1 r360848M: Sat May 9 15:23:00 UTC 2020 root@freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 root@freebsd:~ # jail -c name=3Ddemo vnet persist root@freebsd:~ # ifconfig ena1 vnet demo root@freebsd:~ # ifconfig gre0 create tunnel 10.1.1.1 10.2.2.2 root@freebsd:~ # ifconfig gre0 vnet demo root@freebsd:~ # jexec demo ifconfig gre0 gre0: flags=3D8010 metric 0 mtu 1476 options=3D80000 groups: gre nd6 options=3D21 root@freebsd:~ # jexec demo ifconfig gre0 tunnel 10.1.1.1 10.2.2.2 root@freebsd:~ # jexec demo ifconfig ena1 inet 10.1.1.1 root@freebsd:~ # jexec demo ifconfig gre0 gre0: flags=3D8050 metric 0 mtu 1476 options=3D80000 tunnel inet 10.1.1.1 --> 10.2.2.2 groups: gre nd6 options=3D21 root@freebsd:~ # ifconfig gre0 -vnet demo root@freebsd:~ # ifconfig gre0 gre0: flags=3D8011 metric 0 mtu 1476 options=3D80000 inet6 fe80::1427:e888:767c:dce1%gre0 prefixlen 64 tentative scopeid 0x2 nd6 options=3D23 --=20 John W. O'Brien OpenPGP keys: 0x33C4D64B895DBF3B --8QmPoOab4GFGePXUoJ6Ve2hUa0gyWBnDF-- --YfPr5y6NQG26GOB8PmiE8mm41IHSlaFe1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEUgT925O8rsvNs2oHIjgwc/pAJtYFAl62zL4ACgkQIjgwc/pA Jta9wQgAo6TXMhcDvvWwWCye1QhAeU3JZ7IOEg7Zirt4ViwrX/RpOeVfWY2eaFg8 SW/p/+gHs6CiuSXX6m/nM7hBvIV2lwKyZjPZ+tIuQnS9T/drzmFSGnWah7FOe4cD PEgosLKj12YhIVfHUiqaPdhlOAhU2erkEex+ZxLFDYKprc+ZWn4axUo5yi3W/QQT jpUzAIQpNi/VCvwRm1BaU1adx2Zev5gKwnbaKioOLnDd0nvTncqbvwiJY6WNxNeF 2jLAfWwIiYurPtq6XUaWLubM2RXmdixLE7m5vR/SASXYSey8cIA7TTYHdT389NVP r+gj5idX3OC8NPrPFTUv5E1KDS8lJw== =sP73 -----END PGP SIGNATURE----- --YfPr5y6NQG26GOB8PmiE8mm41IHSlaFe1-- From owner-freebsd-net@freebsd.org Sat May 9 15:46:29 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BEEAB2EDADA for ; Sat, 9 May 2020 15:46:29 +0000 (UTC) (envelope-from karels@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49KBPx4kdhz414c for ; Sat, 9 May 2020 15:46:29 +0000 (UTC) (envelope-from karels@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id A26552EDAD9; Sat, 9 May 2020 15:46:29 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A22E32EDAD8 for ; Sat, 9 May 2020 15:46:29 +0000 (UTC) (envelope-from karels@FreeBSD.org) Received: from mail.karels.net (mail.karels.net [216.160.39.52]) by mx1.freebsd.org (Postfix) with ESMTP id 49KBPx31hHz414b for ; Sat, 9 May 2020 15:46:29 +0000 (UTC) (envelope-from karels@FreeBSD.org) Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id 049FkTcx018882 for ; Sat, 9 May 2020 10:46:29 -0500 (CDT) (envelope-from karels@FreeBSD.org) Message-Id: <202005091546.049FkTcx018882@mail.karels.net> To: net@freebsd.org From: Mike Karels Reply-to: karels@FreeBSD.org Subject: review for outgoing TCP port reuse MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18880.1589039189.1@mail.karels.net> Date: Sat, 09 May 2020 10:46:29 -0500 X-Rspamd-Queue-Id: 49KBPx31hHz414b X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.74 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.87)[-0.868,0]; NEURAL_HAM_LONG(-0.88)[-0.876,0]; ASN(0.00)[asn:209, ipnet:216.160.36.0/22, country:US] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2020 15:46:29 -0000 I just created a review with the following description: Allow TCP to reuse local port with different destinations Summary: Previously, tcp_connect() would bind a local port before connecting, forcing the local port to be unique across all outgoing TCP connections for the address family. Instead, choose a local port after selecting the destination and the local address, requiring only that the tuple is unique. The review is https://reviews.freebsd.org/D24781. The change originated on the Sidewinder firewall, which is proxy-based as well as packet-filter based, and needed to support more proxy connections than the pool of ephemeral ports as long as the destinations were different. Mike