From owner-freebsd-net@freebsd.org Sun Jun 30 21:00:16 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B618815DF7EB for ; Sun, 30 Jun 2019 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB3A703A0 for ; Sun, 30 Jun 2019 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 137E015DF7D9; Sun, 30 Jun 2019 21:00:16 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2A9815DF7D8 for ; Sun, 30 Jun 2019 21:00:15 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80B557039C for ; Sun, 30 Jun 2019 21:00:15 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AF8F011DA6 for ; Sun, 30 Jun 2019 21:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5UL0EcL062071 for ; Sun, 30 Jun 2019 21:00:14 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5UL0E3n062070 for net@FreeBSD.org; Sun, 30 Jun 2019 21:00:14 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201906302100.x5UL0E3n062070@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, 30 Jun 2019 21:00:14 +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, 30 Jun 2019 21:00:16 -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 | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194485 | Userland cannot add IPv6 prefix routes Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 227720 | Kernel panic in ppp server Open | 233952 | jme NICs non functional after 11.2 to 12.0 upgrad 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 | 237391 | route get returns no result for network addresses Open | 237840 | Removed dummynet dependency on ipfw 16 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Jul 1 12:58:56 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 281B615D9EB6 for ; Mon, 1 Jul 2019 12:58:56 +0000 (UTC) (envelope-from daemon-user@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 C4864751E8; Mon, 1 Jul 2019 12:58:55 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 717C6D3FF; Mon, 1 Jul 2019 12:58:55 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 70B2EDB1B6; Mon, 1 Jul 2019 12:58:55 +0000 (UTC) Date: Mon, 1 Jul 2019 12:58:55 +0000 To: Phabricator From: "aleksandr.fedorov_itglobal.com (Aleksandr Fedorov)" Cc: freebsd-net@freebsd.org Reply-to: "aleksandr.fedorov_itglobal.com (Aleksandr Fedorov)" Subject: [Differential] D20824: Fix netmap + vlan panics Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-heyctxdkstfd3icnu4gy X-Phabricator-Mail-ID: 1522954 X-Phabricator-Send-Attempt: 5ticcmdm4umv5atm Thread-Index: MzUwZWEyZWYwMDYyNDhhNzA4ZTc2ZjcyNWMw X-Phabricator-Stamps: actor(@aleksandr.fedorov_itglobal.com) application(Differential) author(@aleksandr.fedorov_itglobal.com) monogram(D20824) new() object-type(DREV) phid(PHID-DREV-heyctxdkstfd3icnu4gy) reviewer(@bz) reviewer(@jhb) reviewer(@vmaffione) revision-status(needs-review) subscriber(@evgueni.gavrilov_itglobal.com) subscriber(@freebsd-net-list) subscriber(@krion) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_d381b63d541e4c01f5e796ce7fe03bf0" X-Rspamd-Queue-Id: C4864751E8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2019 12:58:56 -0000 --b1_d381b63d541e4c01f5e796ce7fe03bf0 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 YWxla3NhbmRyLmZlZG9yb3ZfaXRnbG9iYWwuY29tIGNyZWF0ZWQgdGhpcyByZXZpc2lvbi4KYWxl a3NhbmRyLmZlZG9yb3ZfaXRnbG9iYWwuY29tIGFkZGVkIHJldmlld2Vyczogdm1hZmZpb25lLCBq aGIsIGJ6LgoKUkVWSVNJT04gU1VNTUFSWQogIEl0IGlzIHZlcnkgdXNlZnVsIHRvIGJlIGFibGUg dG8gY3JlYXRlIHZpcnR1YWwgbmV0d29ya3MsIHN1Y2ggYXM6IFZNMSAtIFZBTEUgc3dpdGNoIC0g aWZfdmxhbiAtIGl4MCAtLSBwaHlzaWNhbCBuZXR3b3JrIC0tIGl4MCAtIGlmX3ZsYW4gLSBWQUxF IHN3aXRjaCAtIFZNMi4KICAKICBUaGlzIHBhdGNoIGZpeGVzIHR3byBwYW5pYy4KICAKICBGaXJz dCBwYW5pYzoKICAKICAgIHJvb3RAY3VycmVudDp+ICMgaWZjb25maWcgdmxhbiBjcmVhdGUgdmxh biAxMDI0IHZsYW5kZXYgdnRuZXQwIHVwCiAgICB2bGFuMAogICAgcm9vdEBjdXJyZW50On4gIyBw a3QtZ2VuIC1pIHZsYW4wIC1mIHR4CiAgICA2MTEuMTgyNzUwIG1haW4gWzI4ODldIGludGVyZmFj ZSBpcyB2bGFuMAogICAgNjExLjE4MzAwNCBtYWluIFszMDExXSB1c2luZyBkZWZhdWx0IGJ1cnN0 IHNpemU6IDUxMgogICAgNjExLjE4MzAyMSBtYWluIFszMDE5XSBydW5uaW5nIG9uIDEgY3B1cyAo aGF2ZSA0KQogICAgNjExLjE4NTY2NyBleHRyYWN0X2lwX3JhbmdlIFs0NzFdIHJhbmdlIGlzIDEw LjAuNjExLjE4NjUzMCBbMTEyOV0gZ2VuZXJpY19uZXRtYXBfYXR0YWNoICAgICBFbXVsYXRlZCBh ZGFwdGVyIGZvciB2bGFuMCBjcmVhdGVkIChwcmV2IHdhcyAwKQogICAgMC4xOjEyMzQgdG8gMTAu MC4wLjE6MTIzNAogICAgNjExLjE4NTg5NyBleHRyYWN0X2lwX3JhbmdlIFs0NzFdIHJhbmdlIGlz IDEwLjEuMC4xOjEyMzQgdG8gMTAuMS4wLjE6MTIzNAogICAgNjExLjE4NTk4MCBubV9vcGVuIFs4 NThdIG92ZXJyaWRpbmcgQVJHMSAwCiAgICA2MTEuMTg2MjE1IG5tX29wZW4gWzg2Ml0gb3ZlcnJp ZGluZyBBUkcyIDAKICAgIDYxMS4xODYyMjcgbm1fb3BlbiBbODY2XSBvdmVycmlkaW5nIEFSRzMg MAogICAgNjExLjE4NjIzNyBubV9vcGVuIFs4NzBdIG92ZXJyaWRpbmcgUklOR19DRkcKICAgIDYx MS4xODYyNDggbm1fb3BlbiBbODc5XSBvdmVycmlkaW5nIGlmbmFtZSB2bGFuMCByaW5naWQgMHgw IGZsYWdzIDB4ODAwMQogICAgNjExLjM4NTkwMSBbIDMyMF0gZ2VuZXJpY19uZXRtYXBfcmVnaXN0 ZXIgICBFbXVsYXRlZCBhZGFwdGVyIGZvciB2bGFuMCBhY3RpdmF0ZWQKICAgIDYxMS4zODc3ODEg bWFpbiBbMzExN10gbWFwcGVkIDMzNDk4MEtCIGF0IDB4ODAwZTAwMDAwCiAgICBTZW5kaW5nIG9u IG5ldG1hcDp2bGFuMDogMSBxdWV1ZXMsIDEgdGhyZWFkcyBhbmQgMSBjcHVzLgogICAgMTAuMC4w LjEgLT4gMTAuMS4wLjEgKDAwOjAwOjAwOjAwOjAwOjAwIC0+IGZmOmZmOmZmOmZmOmZmOmZmKQog ICAgNjExLjM4OTUxNSBtYWluIFszMjI0XSBTZW5kaW5nIDUxMiBwYWNrZXRzIGV2ZXJ5ICAwLjAw MDAwMDAwMCBzCiAgICA2MTEuMzg5NjM2IHN0YXJ0X3RocmVhZHMgWzI1NDldIFdhaXQgMiBzZWNz IGZvciBwaHkgcmVzZXQKICAgIDYxMy40MzUyODUgc3RhcnRfdGhyZWFkcyBbMjU1MV0gUmVhZHku Li4KICAgIDYxMy40MzU3Mzcgc2VuZGVyX2JvZHkgWzE1ODBdIHN0YXJ0LCBmZCAzIG1haW5fZmQg MwogICAgNjEzLjQzNjU0NSBzZW5kZXJfYm9keSBbMTYzOF0gZnJhZ3MgMSBmcmFnXwogICAgCiAg ICBGYXRhbCB0cmFwIDEyOiBwYWdlIGZhdWx0IHdoaWxlIGluIGtlcm5lbCBtb2RlCiAgICBjcHVp ZCA9IDE7IGFwaWMgaWQgPSAwMQogICAgZmF1bHQgdmlydHVhbCBhZGRyZXNzICAgPSAweDI4CiAg ICBmYXVsdCBjb2RlICAgICAgICAgICAgICA9IHN1cGVydmlzb3IgcmVhZCBkYXRhLCBwYWdlIG5v dCBwcmVzZW50CiAgICBpbnN0cnVjdGlvbiBwb2ludGVyICAgICA9IDB4MjA6MHhmZmZmZmZmZjgw Y2Q1ZjJlCiAgICBzdGFjayBwb2ludGVyICAgICAgICAgICA9IDB4Mjg6MHhmZmZmZmUwMDE5NzFk NTIwCiAgICBmcmFtZSBwb2ludGVyICAgICAgICAgICA9IDB4Mjg6MHhmZmZmZmUwMDE5NzFkNTUw CiAgICBjb2RlIHNlZ21lbnQgICAgICAgICAgICA9IGJhc2UgMHgwLCBsaW1pdCAweGZmZmZmLCB0 eXBlIDB4MWIKICAgICAgICAgICAgICAgICAgICAgICAgICAgID0gRFBMIDAsIHByZXMgMSwgbG9u ZyAxLCBkZWYzMiAwLCBncmFuIDEKICAgIAkJCXByb2Nlc3NvciBlZmxhZ3MgICAgICAgID0gaW50 ZXJydXB0IGVuYWJsZWQsIHJlc3VtZSwgSU9QTCA9IDAKICAgIAkJCWN1cnJlbnQgcHJvY2VzcyAg ICAgICAgID0gNzMyIChwa3QtZ2VuKQogICAgCQkJdHJhcCBudW1iZXIgICAgICAgICAgICAgPSAx MgogICAgCQkJcGFuaWM6IHBhZ2UgZmF1bHQKICAgIAkJCWNwdWlkID0gMQogICAgCQkJdGltZSA9 IDE1NjE5ODk2MTMKICAgIAkJCUtEQjogc3RhY2sgYmFja3RyYWNlOgogICAgCQkJZGJfdHJhY2Vf c2VsZl93cmFwcGVyKCkgYXQgZGJfdHJhY2Vfc2VsZl93cmFwcGVyKzB4MmIvZnJhbWUgMHhmZmZm ZmUwMDE5NzFkMWUwCiAgICAJCQl2cGFuaWMoKSBhdCB2cGFuaWMrMHgxOWQvZnJhbWUgMHhmZmZm ZmUwMDE5NzFkMjMwCiAgICAJCQlwYW5pYygpIGF0IHBhbmljKzB4NDMvZnJhbWUgMHhmZmZmZmUw MDE5NzFkMjkwCiAgICAJCQl0cmFwX2ZhdGFsKCkgYXQgdHJhcF9mYXRhbCsweDM5Yy9mcmFtZSAw eGZmZmZmZTAwMTk3MWQyZjAKICAgIAkJCXRyYXBfcGZhdWx0KCkgYXQgdHJhcF9wZmF1bHQrMHg2 Mi9mcmFtZSAweGZmZmZmZTAwMTk3MWQzNDAKICAgIAkJCXRyYXAoKSBhdCB0cmFwKzB4MmI0L2Zy YW1lIDB4ZmZmZmZlMDAxOTcxZDQ1MAogICAgCQkJY2FsbHRyYXAoKSBhdCBjYWxsdHJhcCsweDgv ZnJhbWUgMHhmZmZmZmUwMDE5NzFkNDUwCiAgICAJCQktLS0gdHJhcCAweGMsIHJpcCA9IDB4ZmZm ZmZmZmY4MGNkNWYyZSwgcnNwID0gMHhmZmZmZmUwMDE5NzFkNTIwLCByYnAgPSAweGZmZmZmZTAw MTk3MWQ1NTAgLS0tCiAgICAJCQlldGhlcl84MDIxcV9mcmFtZSgpIGF0IGV0aGVyXzgwMjFxX2Zy YW1lKzB4MmUvZnJhbWUgMHhmZmZmZmUwMDE5NzFkNTUwCiAgICAJCQl2bGFuX3RyYW5zbWl0KCkg YXQgdmxhbl90cmFuc21pdCsweGQ0L2ZyYW1lIDB4ZmZmZmZlMDAxOTcxZDVjMAogICAgCQkJbm1f b3NfZ2VuZXJpY194bWl0X2ZyYW1lKCkgYXQgbm1fb3NfZ2VuZXJpY194bWl0X2ZyYW1lKzB4NDgv ZnJhbWUgMHhmZmZmZmUwMDE5NzFkNWQwCiAgICAJCQlnZW5lcmljX25ldG1hcF90eHN5bmMoKSBh dCBnZW5lcmljX25ldG1hcF90eHN5bmMrMHgyNWQvZnJhbWUgMHhmZmZmZmUwMDE5NzFkNmEwCiAg ICAJCQluZXRtYXBfcG9sbCgpIGF0IG5ldG1hcF9wb2xsKzB4MzI0L2ZyYW1lIDB4ZmZmZmZlMDAx OTcxZDc3MAogICAgCQkJZnJlZWJzZF9uZXRtYXBfcG9sbCgpIGF0IGZyZWVic2RfbmV0bWFwX3Bv bGwrMHgzMi9mcmFtZSAweGZmZmZmZTAwMTk3MWQ3YTAKICAgIAkJCWRldmZzX3BvbGxfZigpIGF0 IGRldmZzX3BvbGxfZisweDcxL2ZyYW1lIDB4ZmZmZmZlMDAxOTcxZDdmMAogICAgCQkJa2Vybl9w b2xsKCkgYXQga2Vybl9wb2xsKzB4M2Q5L2ZyYW1lIDB4ZmZmZmZlMDAxOTcxZDk3MAogICAgCQkJ c3lzX3BvbGwoKSBhdCBzeXNfcG9sbCsweDUwL2ZyYW1lIDB4ZmZmZmZlMDAxOTcxZDk5MAogICAg CQkJYW1kNjRfc3lzY2FsbCgpIGF0IGFtZDY0X3N5c2NhbGwrMHgyNzYvZnJhbWUgMHhmZmZmZmUw MDE5NzFkYWIwCiAgICAJCQlmYXN0X3N5c2NhbGxfY29tbW9uKCkgYXQgZmFzdF9zeXNjYWxsX2Nv bW1vbisweDEwMS9mcmFtZSAweGZmZmZmZTAwMTk3MWRhYjAKICAgIAkJCS0tLSBzeXNjYWxsICgy MDksIEZyZWVCU0QgRUxGNjQsIHN5c19wb2xsKSwgcmlwID0gMHg4MDA0OTQzYWEsIHJzcCA9IDB4 N2ZmZmRmZmZkZTQ4LCByYnAgPSAweDdmZmZkZmZmZGU4MCAtLS0KICAgIAkJCUtEQjogZW50ZXI6 IHBhbmljCiAgICAJCQlbIHRocmVhZCBwaWQgNzMyIHRpZCAxMDAxMzcgXQogICAgCQkJU3RvcHBl ZCBhdCAgICAgIGtkYl9lbnRlcisweDNiOiBtb3ZxICAgICQwLGtkYl93aHkKICAgIAkJCWRiPgog IAogIE5ldG1hcCBnZW5lcmljIGRpcmVjdGx5IGNhbGxzIHRoZSBpZl90cmFuc21pdCBtZXRob2Qg b2YgdGhlIHVuZGVybHlpbmcgZHJpdmVyIChodHRwczovL3N2bndlYi5mcmVlYnNkLm9yZy9iYXNl L2hlYWQvc3lzL2Rldi9uZXRtYXAvbmV0bWFwX2ZyZWVic2QuYz9yZXZpc2lvbj0zNDgwMjImdmll dz1tYXJrdXAjbDQ1NSkuIFBhbmljIG9jY3VycyBhdCBodHRwczovL3N2bndlYi5mcmVlYnNkLm9y Zy9iYXNlL2hlYWQvc3lzL25ldC9pZl9ldGhlcnN1YnIuYz9yZXZpc2lvbj0zNDgyNTQmdmlldz1t YXJrdXAjbDEzNzEgZHVlIHRvIHRoZSBmYWN0IHRoYXQgdGhlIGN1cnJlbnQgVk5FVCBpcyBub3Qg c2V0LiBUaGUgcGFuaWMgZGlzYXBwZWFycyBpZiB0aGUgVklNQUdFIG9wdGlvbiBpcyBkaXNhYmxl ZCBpbiB0aGUgY29uZmlnLgogIAogIFRvIGNvcnJlY3QgdGhpcyBwYW5pYywgc2V0IHRoZSBjdXJy ZW50IFZORVQgdG8gdGhlIGRyaXZlciBWTkVULgogIAogIFRoZSBzZWNvbmQgcGFuaWM6CiAgCiAg ICByb290QGN1cnJlbnQ6fiAjIHBrdC1nZW4gLWkgdmxhbjAgLWYgdHgKICAgIDM3Mi41NjU5MDQg bWFpbiBbMjg4OV0gaW50ZXJmYWNlIGlzIHZsYW4wCiAgICAzNzIuNTY2MjAzIG1haW4gWzMwMTFd IHVzaW5nIGRlZmF1bHQgYnVyc3Qgc2l6ZTogNTEyCiAgICAzNzIuNTY2NTEzIG1haW4gWzMwMTld IHJ1bm5pbmcgb24gMSBjcHVzIChoYXZlIDQpCiAgICAzNzIuNTY4OTk1IGV4dHJhY3RfaXBfcmFu Z2UgWzQ3MV0gcmFuZ2UgaXMgMTAuMC4wLjE6MTIzNCB0byAxMC4wLjAuMToxMjM0CiAgICAzNzIu NTY5MjcyIGV4dHJhY3RfaXBfcmFuZ2UgWzQ3MV0gcmFuMzcyLjU3MTE5MSBbMTEyOV0gZ2VuZXJp Y19uZXRtYXBfYXR0YWNoICAgICBFbXVsYXRlZCBhZGFwdGVyIGZvciB2bGFuMCBjcmVhdGVkIChw cmV2IHdhcyAwKQogICAgZ2UgaXMgMTAuMS4wLjE6MTIzNCB0byAxMC4xLjAuMToxMjM0CiAgICAz NzIuNTY5NjMyIG5tX29wZW4gWzg1OF0gb3ZlcnJpZGluZyBBUkcxIDAKICAgIDM3Mi41Njk5MzAg bm1fb3BlbiBbODYyXSBvdmVycmlkaW5nIEFSRzIgMAogICAgMzcyLjU3MDIzMSBubV9vcGVuIFs4 NjZdIG92ZXJyaWRpbmcgQVJHMyAwCiAgICAzNzIuNTcwNTM0IG5tX29wZW4gWzg3MF0gb3ZlcnJp ZGluZyBSSU5HX0NGRwogICAgMzcyLjU3MDg2MyBubV9vcGVuIFs4NzldIG92ZXJyaWRpbmcgaWZu YW1lIHZsYW4wIHJpbmdpZCAweDAgZmxhZ3MgMHg4MDAxCiAgICAzNzIuNzg1MzA1IFsgMzIwXSBn ZW5lcmljX25ldG1hcF9yZWdpc3RlciAgIEVtdWxhdGVkIGFkYXB0ZXIgZm9yIHZsYW4wIGFjdGl2 YXRlZAogICAgMzcyLjc4NzI2MCBtYWluIFszMTE3XSBtYXBwZWQgMzM0OTgwS0IgYXQgMHg4MDBl MDAwMDAKICAgIFNlbmRpbmcgb24gbmV0bWFwOnZsYW4wOiAxIHF1ZXVlcywgMSB0aHJlYWRzIGFu ZCAxIGNwdXMuCiAgICAxMC4wLjAuMSAtPiAxMC4xLjAuMSAoMDA6MDA6MDA6MDA6MDA6MDAgLT4g ZmY6ZmY6ZmY6ZmY6ZmY6ZmYpCiAgICAzNzIuNzg4NzA0IG1haW4gWzMyMjRdIFNlbmRpbmcgNTEy IHBhY2tldHMgZXZlcnkgIDAuMDAwMDAwMDAwIHMKICAgIDM3Mi43ODkwNjIgc3RhcnRfdGhyZWFk cyBbMjU0OV0gV2FpdCAyIHNlY3MgZm9yIHBoeSByZXNldAogICAgMzc0Ljg2NTM1MyBzdGFydF90 aHJlYWRzIFsyNTUxXSBSZWFkeS4uLgogICAgMzc0Ljg2NjM2NSBzZW5kZXJfYm9keSBbMTU4MF0g c3RhcnQsIGZkIDMgbWFpbl9mZCAzCiAgICAzNzQuODY2NjY2IHNlbmRlcl9ib2R5IFsxNjM4XSBm cmFncyAxIGZyYWdfc2l6ZSA2MAogICAgcGFuaWM6IHZ0bmV0X3R4cV9lbmNhcDogbm8gbWJ1ZiBw YWNrZXQgaGVhZGVyIQogICAgY3B1aWQgPSAwCiAgICB0aW1lID0gMTU2MTk5NDM3NAogICAgS0RC OiBzdGFjayBiYWNrdHJhY2U6CiAgICBkYl90cmFjZV9zZWxmX3dyYXBwZXIoKSBhdCBkYl90cmFj ZV9zZWxmX3dyYXBwZXIrMHgyYi9mcmFtZSAweGZmZmZmZTAwMTk3MzIzODAKICAgIHZwYW5pYygp IGF0IHZwYW5pYysweDE5ZC9mcmFtZSAweGZmZmZmZTAwMTk3MzIzZDAKICAgIHBhbmljKCkgYXQg cGFuaWMrMHg0My9mcmFtZSAweGZmZmZmZTAwMTk3MzI0MzAKICAgIHZ0bmV0X3R4cV9lbmNhcCgp IGF0IHZ0bmV0X3R4cV9lbmNhcCsweDNiYS9mcmFtZSAweGZmZmZmZTAwMTk3MzI0YTAKICAgIHZ0 bmV0X3R4cV9tcV9zdGFydF9sb2NrZWQoKSBhdCB2dG5ldF90eHFfbXFfc3RhcnRfbG9ja2VkKzB4 MTI2L2ZyYW1lIDB4ZmZmZmZlMDAxOTczMjUwMAogICAgdnRuZXRfdHhxX21xX3N0YXJ0KCkgYXQg dnRuZXRfdHhxX21xX3N0YXJ0KzB4NzAvZnJhbWUgMHhmZmZmZmUwMDE5NzMyNTQwCiAgICB2bGFu X3RyYW5zbWl0KCkgYXQgdmxhbl90cmFuc21pdCsweGU2L2ZyYW1lIDB4ZmZmZmZlMDAxOTczMjVi MAogICAgbm1fb3NfZ2VuZXJpY194bWl0X2ZyYW1lKCkgYXQgbm1fb3NfZ2VuZXJpY194bWl0X2Zy YW1lKzB4NzgvZnJhbWUgMHhmZmZmZmUwMDE5NzMyNWQwCiAgICBnZW5lcmljX25ldG1hcF90eHN5 bmMoKSBhdCBnZW5lcmljX25ldG1hcF90eHN5bmMrMHgyNWQvZnJhbWUgMHhmZmZmZmUwMDE5NzMy NmEwCiAgICBuZXRtYXBfcG9sbCgpIGF0IG5ldG1hcF9wb2xsKzB4MzI0L2ZyYW1lIDB4ZmZmZmZl MDAxOTczMjc3MAogICAgZnJlZWJzZF9uZXRtYXBfcG9sbCgpIGF0IGZyZWVic2RfbmV0bWFwX3Bv bGwrMHgzMi9mcmFtZSAweGZmZmZmZTAwMTk3MzI3YTAKICAgIGRldmZzX3BvbGxfZigpIGF0IGRl dmZzX3BvbGxfZisweDcxL2ZyYW1lIDB4ZmZmZmZlMDAxOTczMjdmMAogICAga2Vybl9wb2xsKCkg YXQga2Vybl9wb2xsKzB4M2Q5L2ZyYW1lIDB4ZmZmZmZlMDAxOTczMjk3MAogICAgc3lzX3BvbGwo KSBhdCBzeXNfcG9sbCsweDUwL2ZyYW1lIDB4ZmZmZmZlMDAxOTczMjk5MAogICAgYW1kNjRfc3lz Y2FsbCgpIGF0IGFtZDY0X3N5c2NhbGwrMHgyNzYvZnJhbWUgMHhmZmZmZmUwMDE5NzMyYWIwCiAg ICBmYXN0X3N5c2NhbGxfY29tbW9uKCkgYXQgZmFzdF9zeXNjYWxsX2NvbW1vbisweDEwMS9mcmFt ZSAweGZmZmZmZTAwMTk3MzJhYjAKICAgIC0tLSBzeXNjYWxsICgyMDksIEZyZWVCU0QgRUxGNjQs IHN5c19wb2xsKSwgcmlwID0gMHg4MDA0OTQzYWEsIHJzcCA9IDB4N2ZmZmRmZmZkZTQ4LCByYnAg PSAweDdmZmZkZmZmZGU4MCAtLS0KICAgIEtEQjogZW50ZXI6IHBhbmljCiAgICBbIHRocmVhZCBw aWQgNzc5IHRpZCAxMDAxMTMgXQogICAgU3RvcHBlZCBhdCAgICAgIGtkYl9lbnRlcisweDNiOiBt b3ZxICAgICQwLGtkYl93aHkKICAgIGRiPgogIAogIE5ldG1hcCB1c2VzIGEgcHJlYWxsb2NhdGVk IGFycmF5IG9mIG1idWYncyB0byBzZW5kIHBhY2tldHMgdGhyb3VnaCB0aGUgdW5kZXJseWluZyBk cml2ZXIuIFRoZXNlIG1idWYncyBhcmUgYWxsb2NhdGVkIGFuZCBpbml0aWFsaXplZCBkdXJpbmcg dGhlIGNyZWF0aW9uIG9mIHRoZSBuZXRtYXAgYWRhcHRlciwgaW4gcGFydGljdWxhciwgdGhlIE1f UEtUSERSIGZsYWcgaXMgc2V0IGZvciB0aGVtLiBBZnRlciBjb21wbGV0aW5nIHNlbmRpbmcsIG5l dG1hcCB0cmllcyB0byByZXVzZSB0aGVzZSBtYnVmJ3MsIGJ1dCBzb21lIG5ldHdvcmsgZHJpdmVy cyAoaWZfdmxhbiwgaWZfdnhsYW4pIG1heSByZXNldCB0aGUgTV9QS1RIRFIgZmxhZy4gVGhpcyBs ZWFkcyB0byBhIHBhbmljIG9uIE1fQVNTRVJUUEtUSERSIChtKSBhdCBsaW5lOiBodHRwczovL3N2 bndlYi5mcmVlYnNkLm9yZy9iYXNlL2hlYWQvc3lzL2Rldi92aXJ0aW8vbmV0d29yay9pZl92dG5l dC5jP3JldmlzaW9uPTM0ODU5OSZ2aWV3PW1hcmt1cCNsMjIwMQogIAogIFRvIGZpeCB0aGUgc2Vj b25kIHBhbmljLCByZXN0b3JlIE1fUEtUSERSIGZsYWcgYmVmb3JlIGNhbGwgaWZfdHJhbnNtaXQg bWV0aG9kLgoKVEVTVCBQTEFOCiAgcGt0LWdlbiB0ZXN0IHRocm91Z2ggdmxhbiBiZWV0d2VlbiBy ZWFsIG1hY2hpbmVzIG92ZXIgcGh5c2ljYWwgbmV0d29yayB0byBjaGVjayBmaXJzdCBwYW5pYzoK ICAKICAgIDEuIE1hY2hpbmUKICAgICMgaWZjb25maWcgdmxhbiBjcmVhdGUgdmxhbjEwIHZsYW5k ZXYgaXgwIHVwCiAgICB2bGFuMAogICAgIyBwa3QtZ2VuIC1pIHZsYW4wIC1mIHR4CiAgICAyLiBN YWNoaW5lIAogICAgIyBpZmNvbmZpZyB2bGFuIGNyZWF0ZSB2bGFuMTAgdmxhbmRldiBpeDAgdXAK ICAgIHZsYW4wCiAgICAjIHBrdC1nZW4gLWkgdmxhbjAgLWYgcngKICAKICBwa3QtZ2VuIHRlc3Qg YmVldHdlZW4gVk0ncyBvbiBzYW1lIG1hY2hpbmUgdG8gY2hlY2sgdGhlIHNlY29uZCBwYW5pYzoK ICAKICAgIFZNMToKICAgICMgaWZjb25maWcgdmxhbiBjcmVhdGUgdmxhbjEwIHZsYW5kZXYgdnRu ZXQwIHVwCiAgICB2bGFuMAogICAgIyBwa3QtZ2VuIC1pIHZsYW4wIC1mIHR4CiAgICBWTTI6CiAg ICAjIGlmY29uZmlnIHZsYW4gY3JlYXRlIHZsYW4xMCB2bGFuZGV2IHZ0bmV0MCB1cAogICAgdmxh bjAKICAgICMgcGt0LWdlbiAtaSB2bGFuMCAtZiByeAoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6 Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyMDgyNAoKQUZGRUNURUQgRklMRVMKICBzeXMvZGV2L25l dG1hcC9uZXRtYXBfZnJlZWJzZC5jCgpDSEFOR0UgREVUQUlMUwoKZGlmZiAtLWdpdCBhL3N5cy9k ZXYvbmV0bWFwL25ldG1hcF9mcmVlYnNkLmMgYi9zeXMvZGV2L25ldG1hcC9uZXRtYXBfZnJlZWJz ZC5jCi0tLSBhL3N5cy9kZXYvbmV0bWFwL25ldG1hcF9mcmVlYnNkLmMKKysrIGIvc3lzL2Rldi9u ZXRtYXAvbmV0bWFwX2ZyZWVic2QuYwpAQCAtNDQ0LDYgKzQ0NCw3IEBACiAJbS0+bV9leHQuZXh0 X3NpemUgPSBsZW47CiAjZW5kaWYgLyogX19GcmVlQlNEX3ZlcnNpb24gPj0gMTEwMDAwMCAqLwog CisJbS0+bV9mbGFncyB8PSBNX1BLVEhEUjsKIAltLT5tX2xlbiA9IG0tPm1fcGt0aGRyLmxlbiA9 IGxlbjsKIAogCS8qIG1idWYgcmVmY250IGlzIG5vdCBjb250ZW5kZWQsIG5vIG5lZWQgdG8gdXNl IGF0b21pYwpAQCAtNDUyLDcgKzQ1Myw5IEBACiAJTV9IQVNIVFlQRV9TRVQobSwgTV9IQVNIVFlQ RV9PUEFRVUUpOwogCW0tPm1fcGt0aGRyLmZsb3dpZCA9IGEtPnJpbmdfbnI7CiAJbS0+bV9wa3Ro ZHIucmN2aWYgPSBpZnA7IC8qIHVzZWQgZm9yIHR4IG5vdGlmaWNhdGlvbiAqLworCUNVUlZORVRf U0VUKGlmcC0+aWZfdm5ldCk7CiAJcmV0ID0gTkEoaWZwKS0+aWZfdHJhbnNtaXQoaWZwLCBtKTsK KwlDVVJWTkVUX1JFU1RPUkUoKTsKIAlyZXR1cm4gcmV0ID8gLTEgOiAwOwogfQogCgoKCkVNQUlM IFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVs L2VtYWlscHJlZmVyZW5jZXMvCgpUbzogYWxla3NhbmRyLmZlZG9yb3ZfaXRnbG9iYWwuY29tLCB2 bWFmZmlvbmUsIGpoYiwgYnoKQ2M6IGtyaW9uLCBldmd1ZW5pLmdhdnJpbG92X2l0Z2xvYmFsLmNv bSwgZnJlZWJzZC1uZXQtbGlzdAo= --b1_d381b63d541e4c01f5e796ce7fe03bf0 Content-Type: text/x-patch; charset=utf-8; name="D20824.59258.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D20824.59258.patch" ZGlmZiAtLWdpdCBhL3N5cy9kZXYvbmV0bWFwL25ldG1hcF9mcmVlYnNkLmMgYi9zeXMvZGV2L25l dG1hcC9uZXRtYXBfZnJlZWJzZC5jCi0tLSBhL3N5cy9kZXYvbmV0bWFwL25ldG1hcF9mcmVlYnNk LmMKKysrIGIvc3lzL2Rldi9uZXRtYXAvbmV0bWFwX2ZyZWVic2QuYwpAQCAtNDQ0LDYgKzQ0NCw3 IEBACiAJbS0+bV9leHQuZXh0X3NpemUgPSBsZW47CiAjZW5kaWYgLyogX19GcmVlQlNEX3ZlcnNp b24gPj0gMTEwMDAwMCAqLwogCisJbS0+bV9mbGFncyB8PSBNX1BLVEhEUjsKIAltLT5tX2xlbiA9 IG0tPm1fcGt0aGRyLmxlbiA9IGxlbjsKIAogCS8qIG1idWYgcmVmY250IGlzIG5vdCBjb250ZW5k ZWQsIG5vIG5lZWQgdG8gdXNlIGF0b21pYwpAQCAtNDUyLDcgKzQ1Myw5IEBACiAJTV9IQVNIVFlQ RV9TRVQobSwgTV9IQVNIVFlQRV9PUEFRVUUpOwogCW0tPm1fcGt0aGRyLmZsb3dpZCA9IGEtPnJp bmdfbnI7CiAJbS0+bV9wa3RoZHIucmN2aWYgPSBpZnA7IC8qIHVzZWQgZm9yIHR4IG5vdGlmaWNh dGlvbiAqLworCUNVUlZORVRfU0VUKGlmcC0+aWZfdm5ldCk7CiAJcmV0ID0gTkEoaWZwKS0+aWZf dHJhbnNtaXQoaWZwLCBtKTsKKwlDVVJWTkVUX1JFU1RPUkUoKTsKIAlyZXR1cm4gcmV0ID8gLTEg OiAwOwogfQogCgo= --b1_d381b63d541e4c01f5e796ce7fe03bf0-- From owner-freebsd-net@freebsd.org Mon Jul 1 13:21:18 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FDB115DA6E0 for ; Mon, 1 Jul 2019 13:21:18 +0000 (UTC) (envelope-from daemon-user@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 1262475FD8; Mon, 1 Jul 2019 13:21:18 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id BA0BFD78A; Mon, 1 Jul 2019 13:21:17 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id B929BDED79; Mon, 1 Jul 2019 13:21:17 +0000 (UTC) Date: Mon, 1 Jul 2019 13:21:17 +0000 To: Phabricator From: "aleksandr.fedorov_itglobal.com (Aleksandr Fedorov)" Cc: freebsd-net@freebsd.org Reply-to: "aleksandr.fedorov_itglobal.com (Aleksandr Fedorov)" Subject: [Differential] D20824: Fix netmap + vlan panics Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-heyctxdkstfd3icnu4gy X-Phabricator-Mail-ID: 1522971 X-Phabricator-Send-Attempt: sac2nig7lko3hyyr In-Reply-To: References: Thread-Index: MzUwZWEyZWYwMDYyNDhhNzA4ZTc2ZjcyNWMwIF0aCM0= X-Phabricator-Stamps: actor(@aleksandr.fedorov_itglobal.com) application(Differential) author(@aleksandr.fedorov_itglobal.com) monogram(D20824) object-type(DREV) phid(PHID-DREV-heyctxdkstfd3icnu4gy) reviewer(@bz) reviewer(@jhb) reviewer(@vmaffione) revision-status(needs-review) subscriber(@evgueni.gavrilov_itglobal.com) subscriber(@freebsd-net-list) subscriber(@krion) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-Rspamd-Queue-Id: 1262475FD8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2019 13:21:18 -0000 YWxla3NhbmRyLmZlZG9yb3ZfaXRnbG9iYWwuY29tIGVkaXRlZCB0aGUgdGVzdCBwbGFuIGZvciB0 aGlzIHJldmlzaW9uLgoKQ0hBTkdFUyBTSU5DRSBMQVNUIEFDVElPTgogIGh0dHBzOi8vcmV2aWV3 cy5mcmVlYnNkLm9yZy9EMjA4MjQvbmV3LwoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZp ZXdzLmZyZWVic2Qub3JnL0QyMDgyNAoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmll d3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBhbGVr c2FuZHIuZmVkb3Jvdl9pdGdsb2JhbC5jb20sIHZtYWZmaW9uZSwgamhiLCBiegpDYzoga3Jpb24s IGV2Z3VlbmkuZ2F2cmlsb3ZfaXRnbG9iYWwuY29tLCBmcmVlYnNkLW5ldC1saXN0Cg== From owner-freebsd-net@freebsd.org Mon Jul 1 13:57:33 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4168215DB6BC for ; Mon, 1 Jul 2019 13:57:33 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (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 3D0B7777EA for ; Mon, 1 Jul 2019 13:57:32 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: by mail-ot1-x32c.google.com with SMTP id o101so13254422ota.8 for ; Mon, 01 Jul 2019 06:57:32 -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=xLWB4MH8mXhPI/IHGwpJvSJUvSyIV5+6rW0IyX3dITw=; b=TkX6KhEgx25lPEXs+XkTOU1lvf4pg1FF+5IGlOTrO8EF+ZhQwktX7S8brOAk0fGkhd LtL77UPOtptjGvT4EjyF98XdGTUWBTErIUevlA0J0bEoniejGASkwq/IoGRUXk18sAir X2uKe+nMhMEroYegn64hUBIxVxfOZA6IqvSVmoxvT8ICPywHybk6MLdtM1YTSEA418d5 bVD3cLLU7XtDzN/kxzu5h9HOp1EuTFzNyy83vFUr+n545i5ZYOFZAoWO0gz82XDimvOz jrNQtQ4Y8/nDwrvgRKm/ijiULcrT/LWuXFH8KfTUYp21eeD3c1E//0n/3/0ZaGBaXHSG RFlQ== 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=xLWB4MH8mXhPI/IHGwpJvSJUvSyIV5+6rW0IyX3dITw=; b=NxHNTiUBKgokU69zIIGAmypAKMH0gQoNTwEmE5uE9AnoZi8TS3Ad2deaYAJz/S0MA6 7wnjDwcYDfyln2gnY8uLB117oPYZlGgGVqa0VfyHDMkGLQM0y4gVsPOYEAU4gqOFZEdl geh6MEpqkWM0cwnqi2l6U8DcUsJHB6hwuaDncESfMwqCEPD21oxTjt7WskVH7KNi6uK2 rt6ePirOyIN+RHnBhQ7T72rtHe3jlEO0Ylh5r6JG9pYh1NNGjz3STJZvk7S8b5gFyM9v mBZwKNpZNmDU+tCblUzLlOITw7L3VKxIyCgrAF4Z13a4hJZWBi1CLl66g19MviDT6xlC zv4Q== X-Gm-Message-State: APjAAAUbQ4CT1x8dpnxe7/DQQFnhrz05GR7uPm5iHWsPhsxDRxYJv+G/ iU0aZH/V8iunSCIQn7u3uxEPMo7pQWtR7IzJqaSuwbyD X-Google-Smtp-Source: APXvYqwm/+JQ80LAVkPL2YVjYbhD81RgCA+cXdzcsBJlpodvJa3z08EoKr+eUhOtmXhEc3073cFinSn1LQGSbL1iehA= X-Received: by 2002:a9d:729a:: with SMTP id t26mr19423136otj.13.1561989451004; Mon, 01 Jul 2019 06:57:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nick Wolff Date: Mon, 1 Jul 2019 09:57:40 -0400 Message-ID: Subject: Re: IPv6 userland cleanup To: Mihir Luthra Cc: freebsd-net , gavin.atkinson@gmail.com X-Rspamd-Queue-Id: 3D0B7777EA X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=TkX6KhEg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of darkfiberiru@gmail.com designates 2607:f8b0:4864:20::32c as permitted sender) smtp.mailfrom=darkfiberiru@gmail.com X-Spamd-Result: default: False [-6.90 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/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)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.93)[-0.928,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[c.2.3.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]; IP_SCORE(-2.96)[ip: (-9.26), ipnet: 2607:f8b0::/32(-3.13), asn: 15169(-2.34), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] 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, 01 Jul 2019 13:57:33 -0000 Mihir, It depends on what skills you have/wanting to learn. Specifically some mildly low hanging fruit is merge of ping and ping6, also merge of traceroute and traceroute6. These programs both have an ipv4 and ipv6 variant. Before that making sure you can build freebsd is always helpful and making sure to read "man heir" for file hieraachy. "man style" for coding style info. On Fri, Jun 28, 2019 at 10:01 AM Mihir Luthra wrote: > Hi everyone, > > My name in Mihir. I am an engineering student, currently in my 5th > semester. > I wrote this mail in continuation to thread [1]. > Sorry I had no idea before that there were multiple mailing lists. Unaware > of that, I just wrote to the one that I found first after googling. I would > follow the right list from now. > > I am really willing to be a part of the FreeBSD community and I wanted to > contribute by working on *IPv6 userland cleanup* as my first project. > Can someone out there give me some tips on how should I proceed? > > [1] > https://lists.freebsd.org/pipermail/freebsd-hackers/2019-June/054820.html > > Thanks, > Mihir > _______________________________________________ > 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 Jul 1 19:52:59 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7D6215E2E67 for ; Mon, 1 Jul 2019 19:52:59 +0000 (UTC) (envelope-from daemon-user@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 460458D6A5; Mon, 1 Jul 2019 19:52:59 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id EFC8419B6D; Mon, 1 Jul 2019 19:52:58 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id EEF8F190B70; Mon, 1 Jul 2019 19:52:58 +0000 (UTC) Date: Mon, 1 Jul 2019 19:52:58 +0000 To: Phabricator From: "vmaffione (Vincenzo Maffione)" Cc: freebsd-net@freebsd.org Reply-to: "vmaffione (Vincenzo Maffione)" Subject: [Differential] D20824: Fix netmap + vlan panics Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-heyctxdkstfd3icnu4gy X-Phabricator-Mail-ID: 1523441 X-Phabricator-Send-Attempt: cytggpuvmh4ueih7 In-Reply-To: References: Thread-Index: MzUwZWEyZWYwMDYyNDhhNzA4ZTc2ZjcyNWMwIF0aZJo= X-Phabricator-Stamps: actor(@vmaffione) application(Differential) author(@aleksandr.fedorov_itglobal.com) monogram(D20824) object-type(DREV) phid(PHID-DREV-heyctxdkstfd3icnu4gy) reviewer(@bz) reviewer(@jhb) reviewer(@vmaffione) revision-status(accepted) subscriber(@evgueni.gavrilov_itglobal.com) subscriber(@freebsd-net-list) subscriber(@krion) subscriber(@olevole_olevole.ru) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-Rspamd-Queue-Id: 460458D6A5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.92 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.93)[-0.926,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2019 19:52:59 -0000 dm1hZmZpb25lIGFjY2VwdGVkIHRoaXMgcmV2aXNpb24uCnZtYWZmaW9uZSBhZGRlZCBhIGNvbW1l bnQuClRoaXMgcmV2aXNpb24gaXMgbm93IGFjY2VwdGVkIGFuZCByZWFkeSB0byBsYW5kLgoKCiAg TG9va3MgZ29vZCwgdGhhbmtzLgogIFRoZSBuZXRtYXAgdW5pdCB0ZXN0cyBhbmQgaW50ZWdyYXRp b24gdGVzdHMgc3RpbGwgcGFzcyB3aXRoIHRoZXNlIGNoYW5nZXMuCiAgCiAgQXMgYSBzaWRlLCB1 c2luZyB0aGUgbmV0bWFwIGVtdWxhdGVkIGFkYXB0ZXIgKGFrYSBnZW5lcmljKSBpcyByYXRoZXIg c2xvdywgYmVjYXVzZSBvZiB0aGUgdHJhbnNsYXRpb24gbGF5ZXIgYmV0d2VlbiB0aGUgbmV0bWFw IGJ1ZmZlcnMgYW5kIHRoZSBtYnVmcy4gVGhlIHJpZ2h0IHdheSB0byBsZXQgbmV0bWFwIGludGVy YWN0IHdpdGggVkxBTnMgd291bGQgYmUgdG8gaW1wbGVtZW50IHRoZSBWTEFOIHN0cmlwL3B1c2gg b3BlcmF0aW9ucyBpbiB5b3VyIG5ldG1hcCBhcHBsaWNhdGlvbiwgYW5kIGFsd2F5cyBvcGVuIHBo eXNpY2FsIHBvcnRzIChlLmcuIGl4MCkuIEkga25vdyB0aGlzIGlzIGhhcmQgdG8gZG8gaGVyZSwg YmVjYXVzZSB0aGUgVkFMRSBzd2l0Y2ggaXMgbm90IGVhc3kgdG8gZXh0ZW5kIGluIGtlcm5lbC1z cGFjZS4gSW4gdGhlb3J5IFZBTEUgY291bGQgYmUgcG9ydGVkIHRvIHVzZXJzcGFjZSwgc28gdGhh dCB5b3UgY2FuIGVhc2lseSBhZGQgY3VzdG9tIGxvZ2ljIGZvciBWTEFOIGhhbmRsaW5nLgoKQ0hB TkdFUyBTSU5DRSBMQVNUIEFDVElPTgogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjA4 MjQvbmV3LwoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0Qy MDgyNAoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0 dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBhbGVrc2FuZHIuZmVkb3Jvdl9pdGds b2JhbC5jb20sIHZtYWZmaW9uZSwgamhiLCBiegpDYzogb2xldm9sZV9vbGV2b2xlLnJ1LCBrcmlv biwgZXZndWVuaS5nYXZyaWxvdl9pdGdsb2JhbC5jb20sIGZyZWVic2QtbmV0LWxpc3QK From owner-freebsd-net@freebsd.org Mon Jul 1 20:38:06 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5137E15E3F7B for ; Mon, 1 Jul 2019 20:38:06 +0000 (UTC) (envelope-from daemon-user@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 E87308F270; Mon, 1 Jul 2019 20:38:05 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id A4C481A295; Mon, 1 Jul 2019 20:38:05 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id A439C1AE5BA; Mon, 1 Jul 2019 20:38:05 +0000 (UTC) Date: Mon, 1 Jul 2019 20:38:05 +0000 To: Phabricator From: Phabricator Cc: freebsd-net@freebsd.org Reply-to: Phabricator Subject: [Differential] D20824: Fix netmap + vlan panics Message-ID: <6daab43ebb657d9d7f57620efcf263f1@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , X-Herald-Rules: none, <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-heyctxdkstfd3icnu4gy X-Phabricator-Mail-ID: 1523595 X-Phabricator-Send-Attempt: mzu2o6jqggsodgha In-Reply-To: References: Thread-Index: MzUwZWEyZWYwMDYyNDhhNzA4ZTc2ZjcyNWMwIF0aby0= X-Phabricator-Stamps: actor(PHID-RIDT-lkxqs25cqyd2bcvt7ycb) application(Differential) author(@aleksandr.fedorov_itglobal.com) herald(H28) monogram(D20824) object-type(DREV) phid(PHID-DREV-heyctxdkstfd3icnu4gy) reviewer(@bz) reviewer(@jhb) reviewer(@vmaffione) revision-repository(rS) revision-status(published) subscriber(@evgueni.gavrilov_itglobal.com) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@krion) subscriber(@olevole_olevole.ru) via(daemon) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_6daab43ebb657d9d7f57620efcf263f1" X-Rspamd-Queue-Id: E87308F270 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2019 20:38:06 -0000 --b1_6daab43ebb657d9d7f57620efcf263f1 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 VGhpcyByZXZpc2lvbiB3YXMgYXV0b21hdGljYWxseSB1cGRhdGVkIHRvIHJlZmxlY3QgdGhlIGNv bW1pdHRlZCBjaGFuZ2VzLgpDbG9zZWQgYnkgY29tbWl0IHJTMzQ5NTgxOiBuZXRtYXA6IGZpeCB0 d28gcGFuaWNzIHdpdGggZW11bGF0ZWQgYWRhcHRlciAoYXV0aG9yZWQgYnkgdm1hZmZpb25lKS4K SGVyYWxkIGFkZGVkIGEgc3Vic2NyaWJlcjogaW1wLgoKQ0hBTkdFRCBQUklPUiBUTyBDT01NSVQK ICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDIwODI0P3ZzPTU5MjU4JmlkPTU5Mjg3I3Rv YwoKUkVQT1NJVE9SWQogIHJTIEZyZWVCU0Qgc3JjIHJlcG9zaXRvcnkKCkNIQU5HRVMgU0lOQ0Ug TEFTVCBVUERBVEUKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDIwODI0P3ZzPTU5MjU4 JmlkPTU5Mjg3CgpDSEFOR0VTIFNJTkNFIExBU1QgQUNUSU9OCiAgaHR0cHM6Ly9yZXZpZXdzLmZy ZWVic2Qub3JnL0QyMDgyNC9uZXcvCgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3Mu ZnJlZWJzZC5vcmcvRDIwODI0CgpBRkZFQ1RFRCBGSUxFUwogIGhlYWQvc3lzL2Rldi9uZXRtYXAv bmV0bWFwX2ZyZWVic2QuYwoKQ0hBTkdFIERFVEFJTFMKCmRpZmYgLS1naXQgYS9oZWFkL3N5cy9k ZXYvbmV0bWFwL25ldG1hcF9mcmVlYnNkLmMgYi9oZWFkL3N5cy9kZXYvbmV0bWFwL25ldG1hcF9m cmVlYnNkLmMKLS0tIGEvaGVhZC9zeXMvZGV2L25ldG1hcC9uZXRtYXBfZnJlZWJzZC5jCisrKyBi L2hlYWQvc3lzL2Rldi9uZXRtYXAvbmV0bWFwX2ZyZWVic2QuYwpAQCAtNDQ0LDYgKzQ0NCw3IEBA CiAJbS0+bV9leHQuZXh0X3NpemUgPSBsZW47CiAjZW5kaWYgLyogX19GcmVlQlNEX3ZlcnNpb24g Pj0gMTEwMDAwMCAqLwogCisJbS0+bV9mbGFncyB8PSBNX1BLVEhEUjsKIAltLT5tX2xlbiA9IG0t Pm1fcGt0aGRyLmxlbiA9IGxlbjsKIAogCS8qIG1idWYgcmVmY250IGlzIG5vdCBjb250ZW5kZWQs IG5vIG5lZWQgdG8gdXNlIGF0b21pYwpAQCAtNDUyLDcgKzQ1Myw5IEBACiAJTV9IQVNIVFlQRV9T RVQobSwgTV9IQVNIVFlQRV9PUEFRVUUpOwogCW0tPm1fcGt0aGRyLmZsb3dpZCA9IGEtPnJpbmdf bnI7CiAJbS0+bV9wa3RoZHIucmN2aWYgPSBpZnA7IC8qIHVzZWQgZm9yIHR4IG5vdGlmaWNhdGlv biAqLworCUNVUlZORVRfU0VUKGlmcC0+aWZfdm5ldCk7CiAJcmV0ID0gTkEoaWZwKS0+aWZfdHJh bnNtaXQoaWZwLCBtKTsKKwlDVVJWTkVUX1JFU1RPUkUoKTsKIAlyZXR1cm4gcmV0ID8gLTEgOiAw OwogfQogCgoKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3Jn L3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzogYWxla3NhbmRyLmZlZG9yb3Zf aXRnbG9iYWwuY29tLCB2bWFmZmlvbmUsIGpoYiwgYnoKQ2M6IGltcCwgb2xldm9sZV9vbGV2b2xl LnJ1LCBrcmlvbiwgZXZndWVuaS5nYXZyaWxvdl9pdGdsb2JhbC5jb20sIGZyZWVic2QtbmV0LWxp c3QK --b1_6daab43ebb657d9d7f57620efcf263f1 Content-Type: text/x-patch; charset=utf-8; name="D20824.59287.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D20824.59287.patch" ZGlmZiAtLWdpdCBhL2hlYWQvc3lzL2Rldi9uZXRtYXAvbmV0bWFwX2ZyZWVic2QuYyBiL2hlYWQv c3lzL2Rldi9uZXRtYXAvbmV0bWFwX2ZyZWVic2QuYwotLS0gYS9oZWFkL3N5cy9kZXYvbmV0bWFw L25ldG1hcF9mcmVlYnNkLmMKKysrIGIvaGVhZC9zeXMvZGV2L25ldG1hcC9uZXRtYXBfZnJlZWJz ZC5jCkBAIC00NDQsNiArNDQ0LDcgQEAKIAltLT5tX2V4dC5leHRfc2l6ZSA9IGxlbjsKICNlbmRp ZiAvKiBfX0ZyZWVCU0RfdmVyc2lvbiA+PSAxMTAwMDAwICovCiAKKwltLT5tX2ZsYWdzIHw9IE1f UEtUSERSOwogCW0tPm1fbGVuID0gbS0+bV9wa3RoZHIubGVuID0gbGVuOwogCiAJLyogbWJ1ZiBy ZWZjbnQgaXMgbm90IGNvbnRlbmRlZCwgbm8gbmVlZCB0byB1c2UgYXRvbWljCkBAIC00NTIsNyAr NDUzLDkgQEAKIAlNX0hBU0hUWVBFX1NFVChtLCBNX0hBU0hUWVBFX09QQVFVRSk7CiAJbS0+bV9w a3RoZHIuZmxvd2lkID0gYS0+cmluZ19ucjsKIAltLT5tX3BrdGhkci5yY3ZpZiA9IGlmcDsgLyog dXNlZCBmb3IgdHggbm90aWZpY2F0aW9uICovCisJQ1VSVk5FVF9TRVQoaWZwLT5pZl92bmV0KTsK IAlyZXQgPSBOQShpZnApLT5pZl90cmFuc21pdChpZnAsIG0pOworCUNVUlZORVRfUkVTVE9SRSgp OwogCXJldHVybiByZXQgPyAtMSA6IDA7CiB9CiAKCg== --b1_6daab43ebb657d9d7f57620efcf263f1-- From owner-freebsd-net@freebsd.org Tue Jul 2 14:11:01 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AD9715D4506 for ; Tue, 2 Jul 2019 14:11:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E596487749 for ; Tue, 2 Jul 2019 14:11:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A93C915D4504; Tue, 2 Jul 2019 14:11:00 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97AE015D4503 for ; Tue, 2 Jul 2019 14:11:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A4D387745 for ; Tue, 2 Jul 2019 14:11:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 64D1625B90 for ; Tue, 2 Jul 2019 14:10:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x62EAxro022789 for ; Tue, 2 Jul 2019 14:10:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x62EAx6l022788 for net@FreeBSD.org; Tue, 2 Jul 2019 14:10:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238789] panic: mutex so_rcv not owned at /usr/src/sys/kern/uipc_socket.c:2359 Date: Tue, 02 Jul 2019 14:10: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.0-STABLE X-Bugzilla-Keywords: needs-qa, panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? 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: Tue, 02 Jul 2019 14:11:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238789 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #6 from Mark Johnston --- This bug has been around for a surprisingly long time. I think your patch = is right. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Jul 2 14:12:30 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E876515D4582 for ; Tue, 2 Jul 2019 14:12:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 823938794D for ; Tue, 2 Jul 2019 14:12:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 40C8815D4581; Tue, 2 Jul 2019 14:12:29 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E0CC15D4580 for ; Tue, 2 Jul 2019 14:12:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BADEC87948 for ; Tue, 2 Jul 2019 14:12:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1A1E625CED for ; Tue, 2 Jul 2019 14:12:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x62ECRUI030407 for ; Tue, 2 Jul 2019 14:12:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x62ECR7Y030406 for net@FreeBSD.org; Tue, 2 Jul 2019 14:12:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238789] panic: mutex so_rcv not owned at /usr/src/sys/kern/uipc_socket.c:2359 Date: Tue, 02 Jul 2019 14:12:28 +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-STABLE X-Bugzilla-Keywords: needs-qa, panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? 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: Tue, 02 Jul 2019 14:12:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238789 --- Comment #7 from Mark Johnston --- (In reply to Mark Johnston from comment #6) Ah, because soreceive_stream() is not used by default; tcp_soreceive_stream defaults to 0. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Jul 2 14:13:09 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A13D515D45FF for ; Tue, 2 Jul 2019 14:13:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 39DE187B7C for ; Tue, 2 Jul 2019 14:13:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EC6B715D45FE; Tue, 2 Jul 2019 14:13:08 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D996C15D45FC for ; Tue, 2 Jul 2019 14:13:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 747B787B77 for ; Tue, 2 Jul 2019 14:13:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BB95925CF2 for ; Tue, 2 Jul 2019 14:13:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x62ED7WB031092 for ; Tue, 2 Jul 2019 14:13:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x62ED7IX031091 for net@FreeBSD.org; Tue, 2 Jul 2019 14:13:07 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 238789] panic: mutex so_rcv not owned at /usr/src/sys/kern/uipc_socket.c:2359 Date: Tue, 02 Jul 2019 14:13:07 +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-STABLE X-Bugzilla-Keywords: needs-qa, panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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, 02 Jul 2019 14:13:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238789 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |markj@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Jul 2 16:50:20 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91E6615D817F for ; Tue, 2 Jul 2019 16:50:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 279678D56A for ; Tue, 2 Jul 2019 16:50:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DB91115D817B; Tue, 2 Jul 2019 16:50:19 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9E3D15D817A for ; Tue, 2 Jul 2019 16:50:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 69A828D569 for ; Tue, 2 Jul 2019 16:50:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B751C2725C for ; Tue, 2 Jul 2019 16:50:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x62GoImc092850 for ; Tue, 2 Jul 2019 16:50:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x62GoIhs092849 for net@FreeBSD.org; Tue, 2 Jul 2019 16:50:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238789] panic: mutex so_rcv not owned at /usr/src/sys/kern/uipc_socket.c:2359 Date: Tue, 02 Jul 2019 16:50:18 +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-STABLE X-Bugzilla-Keywords: needs-qa, panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rgrimes@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? 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: Tue, 02 Jul 2019 16:50:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238789 Rodney W. Grimes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jul 2 19:56:31 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27CBE15DC090 for ; Tue, 2 Jul 2019 19:56:31 +0000 (UTC) (envelope-from gbergling@gmail.com) Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (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 219CF6D997 for ; Tue, 2 Jul 2019 19:56:30 +0000 (UTC) (envelope-from gbergling@gmail.com) Received: by mail-wm1-x341.google.com with SMTP id x15so2028984wmj.3 for ; Tue, 02 Jul 2019 12:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gCDDUgGXN7LSCKcRXnJ5erA4Mtb0hFuSnpP1RxZvZ7Y=; b=lFEr+zJ02o803ZWBzseNDW/eHlpYd7vVyS7cRg/YKYRpZQjaRTQTw9MfWawoz2TCUS YVvVvzcToGBoeXG4c9P6XcRm35ZVLN5S3H+UrB/bqjTWyjXy9vll87ztLvVWhwQ3/Q8S /b14RTDgx04R3byNqx0CIzt5Db3F2KCRy6P911aAk6bSNDamy+VdKs8z0ZyO2dXqLhrF K3meB/HAx9ZTrXJYEP8KDHK4rzQfzdznonNWMCwI/QHZcP/mKNVac5bs58fobXNhLOGt EtXrNErh9w/lWePLosIS33+S0TL8W31CQcFzgiS39IigbqZdPG9MS1UsDWcVcnkfiRRS HqUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gCDDUgGXN7LSCKcRXnJ5erA4Mtb0hFuSnpP1RxZvZ7Y=; b=Ss8KXnXhcPo89LMoWW2/QH8AIywh7EojgZ7Rf8BGiHuxpCqtjwKPigBXmZHR8gMmfi TMm0SgfKKIYvrckX8URz9Tx9qKEp/Gtx87I2BVz8hkYJvpJCETBKOtlg30pm202ZdyxN bqpg/T/Z9IjHxbmgGdwbV83OCJb4v2viKvYpvRdN6ZPINtnV+EWxHm9ujtyzCPL0splc DKlSf5EY7JVfGHurBNPBzY2M3ceK//of/SapAIjPyPgB3gpzxjWxfJ/T9+jBx05S65pm tMOqhBOjFwnDd2T1YNFjsH8u1yRBPlUyxZ62oqC1aYgcsNAen02PVR3e5DnH18weApJ8 W1iA== X-Gm-Message-State: APjAAAWemjFrA3yDGAvcP5JjFVxnBPvMQJqLYooZTbDGD015sCXvvTi/ /vD0UlHpTJF7HWkUky9MpJg= X-Google-Smtp-Source: APXvYqwtVw0//ToU32m6oiF/GfW+M2sKt5/EtvPUQbLPKFPdnYP7+ySxnPjTH+2FhJNePdhe/QcUKg== X-Received: by 2002:a1c:3b45:: with SMTP id i66mr4670990wma.48.1562097388880; Tue, 02 Jul 2019 12:56:28 -0700 (PDT) Received: from [10.0.1.106] (p54861085.dip0.t-ipconnect.de. [84.134.16.133]) by smtp.gmail.com with ESMTPSA id u25sm79540wmc.3.2019.07.02.12.56.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2019 12:56:28 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: IPv6 userland cleanup From: Gordon Bergling In-Reply-To: Date: Tue, 2 Jul 2019 21:56:26 +0200 Cc: freebsd-net , gavin.atkinson@gmail.com Content-Transfer-Encoding: quoted-printable Message-Id: <2C893E75-574A-4958-BDF0-7164934F48C9@gmail.com> References: To: Nick Wolff , Mihir Luthra X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 219CF6D997 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lFEr+zJ0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gbergling@gmail.com designates 2a00:1450:4864:20::341 as permitted sender) smtp.mailfrom=gbergling@gmail.com X-Spamd-Result: default: False [-3.94 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_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)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-0.92)[-0.919,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.3.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]; IP_SCORE(-0.51)[ip: (2.54), ipnet: 2a00:1450::/32(-2.67), asn: 15169(-2.36), country: US(-0.06)] 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, 02 Jul 2019 19:56:31 -0000 Hi Nick and Mihir, if I remember correctly the ping and ping6 commands were already be = consolidated within OpenBSD. It is maybe a good starting point to look = at their sources before reinventing the wheel again. King regards, Gordon > Am 01.07.2019 um 15:57 schrieb Nick Wolff : >=20 > Mihir, >=20 > It depends on what skills you have/wanting to learn. Specifically some > mildly low hanging fruit is merge of ping and ping6, also merge of > traceroute and traceroute6. These programs both have an ipv4 and ipv6 > variant. Before that making sure you can build freebsd is always = helpful > and making sure to read "man heir" for file hieraachy. "man style" for > coding style info. >=20 >=20 >=20 > On Fri, Jun 28, 2019 at 10:01 AM Mihir Luthra = > wrote: >=20 >> Hi everyone, >>=20 >> My name in Mihir. I am an engineering student, currently in my 5th >> semester. >> I wrote this mail in continuation to thread [1]. >> Sorry I had no idea before that there were multiple mailing lists. = Unaware >> of that, I just wrote to the one that I found first after googling. I = would >> follow the right list from now. >>=20 >> I am really willing to be a part of the FreeBSD community and I = wanted to >> contribute by working on *IPv6 userland cleanup* as my first = project. >> Can someone out there give me some tips on how should I proceed? >>=20 >> [1] >> = https://lists.freebsd.org/pipermail/freebsd-hackers/2019-June/054820.html >>=20 >> Thanks, >> Mihir >> _______________________________________________ >> 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 > _______________________________________________ > 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 Wed Jul 3 07:08:59 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD94B15C9691 for ; Wed, 3 Jul 2019 07:08:59 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from frv198.fwdcdn.com (frv198.fwdcdn.com [212.42.77.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ukr.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 085CF8CAF2 for ; Wed, 3 Jul 2019 07:08:57 +0000 (UTC) (envelope-from artemrts@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Type:MIME-Version:Message-Id:Cc:To:Subject:From:Date:Sender: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=zdLaUJtw9+2wxXXQf95noeshVq7pTt6ygIm276thVz4=; b=o Rg5oPbABOzdFpBhLhxUenKAftdA+ZwVDHvMu/YBWFhsoX5BxdGpgH14NkJciXYp0xXmxQczkAxRoe ug9IqDodc0YRQrRd5igLyYWcy3Twuhwjlau1kBDJ0QDTZtsyfrEpg1bhW986FmNbe6h3vWZZOjZRA JFf7DM4HMw4S4kTA=; Received: from [10.10.10.50] (helo=frv50.fwdcdn.com) by frv198.fwdcdn.com with smtp ID 1hiZNo-0005Ds-6c for freebsd-net@freebsd.org; Wed, 03 Jul 2019 10:08:48 +0300 Date: Wed, 03 Jul 2019 10:08:48 +0300 From: wishmaster Subject: Network issues while jails are starting To: freebsd-net@freebsd.org Cc: Received: from artemrts@ukr.net by frv50.fwdcdn.com; Wed, 03 Jul 2019 10:08:48 +0300 Message-Id: <1562134249.868399000.r0je57so@frv50.fwdcdn.com> X-Mailer: mail.ukr.net 5.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: 085CF8CAF2 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ukr.net header.s=ffe header.b=o Rg5oPb; dmarc=pass (policy=none) header.from=ukr.net; spf=pass (mx1.freebsd.org: domain of artemrts@ukr.net designates 212.42.77.198 as permitted sender) smtp.mailfrom=artemrts@ukr.net X-Spamd-Result: default: False [-6.37 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ukr.net:s=ffe]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.42.77.0/24]; FREEMAIL_FROM(0.00)[ukr.net]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[ukr.net.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.51)[ipnet: 212.42.77.0/24(-4.17), asn: 8856(-3.47), country: UA(0.08)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[ukr.net:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[ukr.net,none]; MX_GOOD(-0.01)[mxs.ukr.net]; NEURAL_HAM_SHORT(-0.95)[-0.947,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[ukr.net]; ASN(0.00)[asn:8856, ipnet:212.42.77.0/24, country:UA]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary 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: Wed, 03 Jul 2019 07:09:00 -0000 Hi, the office's server has 6 jails and 2 bhyve virtual servers. The problem is when I restart server, jails start for a long time (about 6 minutes). All this time the server does not acts as router, that is no packets between interfaces. From within the server packets are transmitted and received (ping works correctly), but from LAN - no. I do not remember either this issue has appeared after upgrading to 12.0 or switching from STABLE to RELEASE branch, but this issue has been appearing for about half of year or little more. Toggle sysctl net.inet.ip.forwarding while jails are starting don't help. root@e-server: uname -a FreeBSD e-server 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC  amd64 jail_enable="YES" jail_parallel_start="NO" jail_list="basejail jdb jphp jwww jmail jdns" jail_reverse_stop="YES" Any advices? -- Vitalic From owner-freebsd-net@freebsd.org Wed Jul 3 07:15:55 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB3AC15C9A4A for ; Wed, 3 Jul 2019 07:15:55 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "eg.sd.rdtc.ru", Issuer "eg.sd.rdtc.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B3D928CF7B for ; Wed, 3 Jul 2019 07:15:44 +0000 (UTC) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-net@freebsd.org Received: from [10.58.0.4] (dadv@[10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id x637FZup053632 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 3 Jul 2019 14:15:35 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Network issues while jails are starting To: wishmaster , freebsd-net@freebsd.org References: <1562134249.868399000.r0je57so@frv50.fwdcdn.com> From: Eugene Grosbein Message-ID: <2deee082-1dca-b93f-39f7-33d4c4f5b09d@grosbein.net> Date: Wed, 3 Jul 2019 14:15:33 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1562134249.868399000.r0je57so@frv50.fwdcdn.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: B3D928CF7B X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-1.22 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.43)[-0.431,0]; MX_INVALID(0.50)[greylisted]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.77)[-0.769,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.47)[-0.470,0]; IP_SCORE(0.05)[asn: 29072(0.23), country: RU(0.01)]; FREEMAIL_TO(0.00)[ukr.net]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29072, ipnet:2a03:3100::/32, country:RU]; 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: Wed, 03 Jul 2019 07:15:56 -0000 03.07.2019 14:08, wishmaster wrote: > > Hi, > > the office's server has 6 jails and 2 bhyve virtual servers. > The problem is when I restart server, jails start for a long time (about 6 minutes). All this time the server does not acts as router, that is no packets between interfaces. From within the server packets are transmitted and received (ping works correctly), but from LAN - no. > > I do not remember either this issue has appeared after upgrading to 12.0 or switching from STABLE to RELEASE branch, but this issue has been appearing for about half of year or little more. > > Toggle sysctl net.inet.ip.forwarding while jails are starting don't help. > > root@e-server: uname -a > FreeBSD e-server 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64 > > jail_enable="YES" > jail_parallel_start="NO" > jail_list="basejail jdb jphp jwww jmail jdns" > jail_reverse_stop="YES" > Any advices? Does your LAN use NAT service of the router and/or its DNS resolver? You should uncomment /var/log/console.log in the /etc/syslog.conf, create this file and reboot then read the file carefully and check whether you NAT/DNS services start before jails. From owner-freebsd-net@freebsd.org Wed Jul 3 07:28:40 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1740C15C9F12 for ; Wed, 3 Jul 2019 07:28:40 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from frv197.fwdcdn.com (frv197.fwdcdn.com [212.42.77.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ukr.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 558AC8D516 for ; Wed, 3 Jul 2019 07:28:38 +0000 (UTC) (envelope-from artemrts@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Type:MIME-Version:Message-Id:References:In-Reply-To:Cc:To: Subject:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wM8ATwEkLLBbu1gs7L/q+a2h/3XaMxZzEWzsNk+7sgM=; b=cmEat3U/xGjXU/6NtiPdAeU8qj +jtAjH/PzwEvw15lnayetBamHgTFeIia16JZc7baFxaEcj4XGYEjO3SFOu7imMyMkV45Di9nla6V2 tzghNuBou1w1jhQHzZNv72aUDqofdgd4QGJc7IgS++BG2UAMXMefKEBhQk6yHCmSBVnI=; Received: from [10.10.10.50] (helo=frv50.fwdcdn.com) by frv197.fwdcdn.com with smtp ID 1hiZgr-0001GI-DK for freebsd-net@freebsd.org; Wed, 03 Jul 2019 10:28:29 +0300 Date: Wed, 03 Jul 2019 10:28:29 +0300 From: wishmaster Subject: Re[2]: Network issues while jails are starting To: Eugene Grosbein Cc: freebsd-net@freebsd.org Received: from artemrts@ukr.net by frv50.fwdcdn.com; Wed, 03 Jul 2019 10:28:29 +0300 In-Reply-To: <2deee082-1dca-b93f-39f7-33d4c4f5b09d@grosbein.net> References: <1562134249.868399000.r0je57so@frv50.fwdcdn.com> <2deee082-1dca-b93f-39f7-33d4c4f5b09d@grosbein.net> X-Reply-Action: reply Message-Id: <1562138561.380322000.k6ndni22@frv50.fwdcdn.com> X-Mailer: mail.ukr.net 5.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: 558AC8D516 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ukr.net header.s=ffe header.b=cmEat3U/; dmarc=pass (policy=none) header.from=ukr.net; spf=pass (mx1.freebsd.org: domain of artemrts@ukr.net designates 212.42.77.197 as permitted sender) smtp.mailfrom=artemrts@ukr.net X-Spamd-Result: default: False [-6.34 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ukr.net:s=ffe]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.42.77.0/24]; FREEMAIL_FROM(0.00)[ukr.net]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-1.57)[ipnet: 212.42.77.0/24(-4.35), asn: 8856(-3.57), country: UA(0.08)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DWL_DNSWL_LOW(-1.00)[ukr.net.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ukr.net:+]; RCPT_COUNT_TWO(0.00)[2]; MIME_BASE64_TEXT(0.10)[]; MX_GOOD(-0.01)[cached: mxs.ukr.net]; DMARC_POLICY_ALLOW(-0.50)[ukr.net,none]; NEURAL_HAM_SHORT(-0.87)[-0.869,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[ukr.net]; ASN(0.00)[asn:8856, ipnet:212.42.77.0/24, country:UA]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary 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: Wed, 03 Jul 2019 07:28:40 -0000   --- Original message --- From: "Eugene Grosbein"  Date: 3 July 2019, 10:16:31 03.07.2019 14:08, wishmaster wrote: > > Hi, > > the office's server has 6 jails and 2 bhyve virtual servers. > The problem is when I restart server, jails start for a long time (about 6 minutes). All this time the server does not acts as router, that is no packets between interfaces. From within the server packets are transmitted and received (ping works correctly), but from LAN - no. > > I do not remember either this issue has appeared after upgrading to 12.0 or switching from STABLE to RELEASE branch, but this issue has been appearing for about half of year or little more. > > Toggle sysctl net.inet.ip.forwarding while jails are starting don't help. > > root@e-server: uname -a > FreeBSD e-server 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64 > > jail_enable="YES" > jail_parallel_start="NO" > jail_list="basejail jdb jphp jwww jmail jdns" > jail_reverse_stop="YES" > Any advices? Does your LAN use NAT service of the router and/or its DNS resolver? You should uncomment /var/log/console.log in the /etc/syslog.conf, create this file and reboot then read the file carefully and check whether you NAT/DNS services start before jails. Logging to the console log file is already enabled. I check Internet connection w/o DNS services. Some logs... Jul  3 07:56:29 e-server kernel: Starting jails: Jul  3 07:56:30 e-server kernel: Jul  3 07:56:30 e-server kernel: ng_ether_ifnet_arrival_event: can't re-name node epair999b Jul  3 07:56:39 e-server kernel:  basejail Jul  3 07:56:39 e-server kernel: Jul  3 07:56:39 e-server kernel: ng_ether_ifnet_arrival_event: can't re-name node epair7b Jul  3 07:56:40 e-server kernel: wrmsr to register 0x10(0) on vcpu 0 Jul  3 07:56:40 e-server kernel: wrmsr to register 0x10(0) on vcpu 1 Jul  3 07:56:41 e-server kernel: wrmsr to register 0x10(0) on vcpu 2 Jul  3 07:56:41 e-server kernel: wrmsr to register 0x10(0x66e28bcf97) on vcpu 2 Jul  3 07:56:41 e-server kernel: wrmsr to register 0x10(0x66e28bcf97) on vcpu 1 Jul  3 07:56:41 e-server kernel: wrmsr to register 0x10(0x66e28bcf97) on vcpu 0 Jul  3 07:57:04 e-server kernel:  jdb Jul  3 07:57:04 e-server kernel: Jul  3 07:57:04 e-server kernel: ng_ether_ifnet_arrival_event: can't re-name node epair8b Jul  3 07:57:27 e-server kernel:  jphp Jul  3 07:57:27 e-server kernel: Jul  3 07:57:27 e-server kernel: ng_ether_ifnet_arrival_event: can't re-name node epair6b Jul  3 08:01:20 e-server kernel:  jwww Jul  3 08:01:21 e-server kernel: Jul  3 08:01:21 e-server kernel: ng_ether_ifnet_arrival_event: can't re-name node epair5b Jul  3 08:04:53 e-server kernel:  jmail Jul  3 08:04:54 e-server kernel: Jul  3 08:04:54 e-server kernel: ng_ether_ifnet_arrival_event: can't re-name node epair4b Jul  3 08:05:48 e-server kernel:  jdns Jul  3 08:05:48 e-server kernel: Starting background file system checks in 60 seconds. Jul  3 08:05:48 e-server kernel: Jul  3 08:05:48 e-server kernel: Wed Jul  3 08:05:48 EEST 2019 From owner-freebsd-net@freebsd.org Wed Jul 3 07:48:16 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51FAC15CA844 for ; Wed, 3 Jul 2019 07:48:16 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "eg.sd.rdtc.ru", Issuer "eg.sd.rdtc.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49AFB8E0F5 for ; Wed, 3 Jul 2019 07:48:15 +0000 (UTC) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-net@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id x637m9Lq011905 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 3 Jul 2019 14:48:09 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Network issues while jails are starting To: wishmaster References: <1562134249.868399000.r0je57so@frv50.fwdcdn.com> <2deee082-1dca-b93f-39f7-33d4c4f5b09d@grosbein.net> <1562138561.380322000.k6ndni22@frv50.fwdcdn.com> Cc: freebsd-net@freebsd.org From: Eugene Grosbein Message-ID: <00f0cbdf-b68f-bb6e-c9d9-1abf735cdf19@grosbein.net> Date: Wed, 3 Jul 2019 14:48:02 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1562138561.380322000.k6ndni22@frv50.fwdcdn.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 49AFB8E0F5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-0.33 / 15.00]; MX_INVALID(0.50)[cached]; TO_DN_SOME(0.00)[]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[ukr.net]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29072, ipnet:2a03:3100::/32, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.44)[-0.437,0]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.43)[0.435,0]; NEURAL_HAM_LONG(-0.78)[-0.777,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(0.05)[asn: 29072(0.23), country: RU(0.01)]; RCVD_COUNT_TWO(0.00)[2]; 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: Wed, 03 Jul 2019 07:48:16 -0000 03.07.2019 14:28, wishmaster пишет: > > > > --- Original message --- > From: "Eugene Grosbein" > Date: 3 July 2019, 10:16:31 > > 03.07.2019 14:08, wishmaster wrote: > >> >> Hi, >> >> the office's server has 6 jails and 2 bhyve virtual servers. >> The problem is when I restart server, jails start for a long time (about 6 minutes). All this time the server does not acts as router, that is no packets between interfaces. From within the server packets are transmitted and received (ping works correctly), but from LAN - no. >> >> I do not remember either this issue has appeared after upgrading to 12.0 or switching from STABLE to RELEASE branch, but this issue has been appearing for about half of year or little more. >> >> Toggle sysctl net.inet.ip.forwarding while jails are starting don't help. >> >> root@e-server: uname -a >> FreeBSD e-server 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64 >> >> jail_enable="YES" >> jail_parallel_start="NO" >> jail_list="basejail jdb jphp jwww jmail jdns" >> jail_reverse_stop="YES" >> Any advices? > > Does your LAN use NAT service of the router and/or its DNS resolver? > You should uncomment /var/log/console.log in the /etc/syslog.conf, > create this file and reboot then read the file carefully and check whether > you NAT/DNS services start before jails. > > Logging to the console log file is already enabled. > I check Internet connection w/o DNS services. > > Some logs... [skip] > Jul 3 07:57:04 e-server kernel: Jul 3 07:57:04 e-server kernel: ng_ether_ifnet_arrival_event: can't re-name node epair8b > Jul 3 07:57:27 e-server kernel: jphp If you use ethernet bridging for jails and real NIC, make sure you do NOT assign any IP addresses to bridge members. Instead, assign all IP addresses to the bridge itself as aliases and make sure you bring the bridge and real nic UP before start of jails. From owner-freebsd-net@freebsd.org Wed Jul 3 07:49:03 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 303EC15CA899 for ; Wed, 3 Jul 2019 07:49:03 +0000 (UTC) (envelope-from luthramihir708@gmail.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 674438E165 for ; Wed, 3 Jul 2019 07:49:02 +0000 (UTC) (envelope-from luthramihir708@gmail.com) Received: by mail-qk1-x732.google.com with SMTP id d15so1427397qkl.4 for ; Wed, 03 Jul 2019 00:49:02 -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=Xg4Ir2jPLAlQlfmI1n0H1AHdvk6+TcLj+3KBXMMnrDQ=; b=O2G1Fsf6C6hZRf5OoSYaRAHSJfcUlQXIUl3XFAFQZ098YCvw4lEhxdSRt9S8nw2CJa hctHuUhyZFLdqPzQqfOF5bnLIchVg5zgxi9uaJ86IWFf+zcdakXuwiiWOAMmqPc8l+ex 3Uon57zizE0aGYw1cLn+Ek8fL/JbVPpKcvOCgc+KB5HR+qKPab0ehWh2HORQwWqYiFN9 6xxfphXYpH0Mjf/vmHNLbc/QpDjPkCvf21AnyNgo8FrANIiDG+IqYTdj+ULUwBVhSNlq XP8qWgTAL0hw6dT6QMrhFdNt6N48a8vfvHfNIodr8iiPfEDqAOe0neF2o7R6ICwBmPlX 5Znw== 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=Xg4Ir2jPLAlQlfmI1n0H1AHdvk6+TcLj+3KBXMMnrDQ=; b=fpNwnCFWjyrmHGuFe0wmPLjfSyj89xbdWmV4se6Sph5yGT2Tw4rW2Wj9R9WcsROe/2 HYZkuLGgEDPMJ91SaMQkX/M+6fkPgB3Uc1lkLBfOwG4x5/j2/L5YbLnX3U35JmuzGCGq xZCDq1ngEyuuxBBY6qXmUMGnZPC/dDCzw5fHwP3kH2+8JJp/9j9RWqdoNlLXkJ2+rsk+ et5vitf2dSjyFI5wnnnJSZR/tUKMBHToalcs0Rfs6bbHlsAo4G1DuKztTkHip7tbxrAw eHKz/OphgbUSZWVT1ePZspQFF6RdN377SR/1HXeSrA5qH0rgThjw5vB4W38HDkUTN2w+ ni+g== X-Gm-Message-State: APjAAAXXsRmr9Hv93J5HViXoXPeL0hPl3Znf7bKX1fuyR2/Ydq2bS9bR QKlOPGZvwUY7VOkUqxEL89HDySjzesALdP4yHhA= X-Google-Smtp-Source: APXvYqz/8fWqyJiiSvjnrvqqqA8p92EwXUDWS3P+MbikCDAeRhjAjJmcU6ft6GRwBSNrNoRlDggKCQ+V0gMCgzQ1UvM= X-Received: by 2002:a67:f713:: with SMTP id m19mr17406131vso.183.1562140140712; Wed, 03 Jul 2019 00:49:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mihir Luthra Date: Wed, 3 Jul 2019 13:18:49 +0530 Message-ID: Subject: Re: IPv6 userland cleanup To: Nick Wolff Cc: freebsd-net , gavin.atkinson@gmail.com X-Rspamd-Queue-Id: 674438E165 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=O2G1Fsf6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luthramihir708@gmail.com designates 2607:f8b0:4864:20::732 as permitted sender) smtp.mailfrom=luthramihir708@gmail.com X-Spamd-Result: default: False [-6.93 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/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)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.91)[-0.909,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.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]; IP_SCORE(-3.01)[ip: (-9.49), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.36), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] 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: Wed, 03 Jul 2019 07:49:03 -0000 On Mon, Jul 1, 2019 at 7:27 PM Nick Wolff wrote: > Mihir, > > It depends on what skills you have/wanting to learn. Specifically some > mildly low hanging fruit is merge of ping and ping6, also merge of > traceroute and traceroute6. These programs both have an ipv4 and ipv6 > variant. Before that making sure you can build freebsd is always helpful > and making sure to read "man heir" for file hieraachy. "man style" for > coding style info. > >> >> I am somewhat skilled in C and unix shell scripts I belief and I am really interested a lot in networking concepts and os kernels although just have basic knowledge of latter. I felt this project is a good one for a starter, so I thought I should work on it. Yes, I forked the repository and starting reading stuff related to project. Thanks for the advises. I will make sure to read the man pages too. Also, I use a Mac generally for work. I wanted to enquire if that could cause any issues later? Like compatibility or some other? Thanks, Mihir From owner-freebsd-net@freebsd.org Wed Jul 3 07:51:18 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D75615CAA64 for ; Wed, 3 Jul 2019 07:51:18 +0000 (UTC) (envelope-from luthramihir708@gmail.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 00C258E356 for ; Wed, 3 Jul 2019 07:51:17 +0000 (UTC) (envelope-from luthramihir708@gmail.com) Received: by mail-qk1-x72b.google.com with SMTP id d15so1433760qkl.4 for ; Wed, 03 Jul 2019 00:51:16 -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=rAMauFHmYi7XBr0mpL5sEaRi4zUUlBZRA/GtLzP1r/o=; b=px0B3eqTwrYqHyihqNKKREaSWi/yP3QA49zwsZmjwrFgqwn0BcKPq2LKwkT3sTPTyC bd23wpT4uliecyqt4jyHihjDcNy7y3TTPaFWaroE08Bh3UEbzVWXskSwVoGfb0Cc+RC+ lU8/TuGQq838ggy3/X/Myc8EHoTh7gWV6Vi6M1Etnlf6ZRn3De3A8zCGDjexMlmu3wS/ dfbxkXY9qHAI2IwwlKJJJxeqUOjbDrJHKeEO+n1GfxmSyFoGXbyhH7+1luDuCCbV8IIu uCZ8zLsEb85U33IAmNhs4piVDJEfRwUnjeOyEjyVUgQ+WE4pvtgipZEjzYnP3I1n9F/G ToqQ== 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=rAMauFHmYi7XBr0mpL5sEaRi4zUUlBZRA/GtLzP1r/o=; b=a7TOQuwGSGuLdlnn4YHHXgpLGB8LliMn6mzRmXHnLymnklTXYRZKQiKp1+moj5b07A qPE3ESL8P2irNUWPmeOLxaDov65q18sCQBPeEs/ymxViHo1LBCPH4PPMEWVCaH8sDE2e 0L9MOIyuB6RYFyy2Pg5uZbs2Fu+qRQ+kxnMSQA6KyRqR72WAE/aYw4ojq+VtRgLRW6zm 08QYKyI1RYm401o4MnUyB/uriKWsNZGLknOsRnMp7ypjQnskHW+exagk8ZOQLrCQQW0V 9hYex/W9cdFBJLxPXdIRC/XZahb5g1hidoJDOjemzuUNPXVYftG2i5Nq9LBJb3aaKy6h kqTw== X-Gm-Message-State: APjAAAX1K0pwg+d5jnkxcRyCfVqSr9rxffiUG5QX9TpZEQNlPQsAGHXt FatywOV7K3JU0B2QIRGz7YQdxseXIlCLzemue40= X-Google-Smtp-Source: APXvYqyIWAaDaM+F3jRmqh3B/WkingxV+Bbpy0PYxTBVx3AEl5hKpVTgD/Amt0CEVJ0RHtnLOxXXcwKGhRuN1vH4tk0= X-Received: by 2002:a67:f713:: with SMTP id m19mr17406789vso.183.1562140276485; Wed, 03 Jul 2019 00:51:16 -0700 (PDT) MIME-Version: 1.0 References: <2C893E75-574A-4958-BDF0-7164934F48C9@gmail.com> In-Reply-To: <2C893E75-574A-4958-BDF0-7164934F48C9@gmail.com> From: Mihir Luthra Date: Wed, 3 Jul 2019 13:21:05 +0530 Message-ID: Subject: Re: IPv6 userland cleanup To: Gordon Bergling Cc: Nick Wolff , freebsd-net , gavin.atkinson@gmail.com X-Rspamd-Queue-Id: 00C258E356 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=px0B3eqT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luthramihir708@gmail.com designates 2607:f8b0:4864:20::72b as permitted sender) smtp.mailfrom=luthramihir708@gmail.com X-Spamd-Result: default: False [-6.94 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/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)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-0.91)[-0.913,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; 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]; IP_SCORE(-3.02)[ip: (-9.51), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.36), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com] 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: Wed, 03 Jul 2019 07:51:18 -0000 On Wed, Jul 3, 2019 at 1:26 AM Gordon Bergling wrote: > Hi Nick and Mihir, > > if I remember correctly the ping and ping6 commands were already be > consolidated within OpenBSD. It is maybe a good starting point to look at > their sources before reinventing the wheel again. > > King regards, > > Gordon > > Hi Gordon, Thanks for the tip :) . That surely would be helpful. Mihir From owner-freebsd-net@freebsd.org Wed Jul 3 08:05:50 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C03CE15CB44A for ; Wed, 3 Jul 2019 08:05:50 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from frv197.fwdcdn.com (frv197.fwdcdn.com [212.42.77.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ukr.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA39E8EBC7 for ; Wed, 3 Jul 2019 08:05:49 +0000 (UTC) (envelope-from artemrts@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Type:MIME-Version:Message-Id:References:In-Reply-To:Cc:To: Subject:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Y3MjRHmeXuDulzszVKj25ExQLMuEV4Nwa9SE8mUEWSs=; b=g9D2IjUVk+wkCo9AI50TTT+8lH oBejeYTEYQH2sVD2u3Rj0lq0bDF0YDFf7VhK4Pe2nPsLzgrcf7DYDajYymEJWxWFiM4TWVvvDbRda MLivOtbpueZJVn8FjDxjejovb2gIwMdBIouuTKaYkRWVUyHCWqFUiIWC0z9AviJk5sMI=; Received: from [10.10.10.50] (helo=frv50.fwdcdn.com) by frv197.fwdcdn.com with smtp ID 1hiaGx-000Lj1-3g for freebsd-net@freebsd.org; Wed, 03 Jul 2019 11:05:47 +0300 Date: Wed, 03 Jul 2019 11:05:47 +0300 From: wishmaster Subject: Re[2]: Network issues while jails are starting To: Eugene Grosbein Cc: freebsd-net@freebsd.org Received: from artemrts@ukr.net by frv50.fwdcdn.com; Wed, 03 Jul 2019 11:05:47 +0300 In-Reply-To: <00f0cbdf-b68f-bb6e-c9d9-1abf735cdf19@grosbein.net> References: <1562134249.868399000.r0je57so@frv50.fwdcdn.com> <2deee082-1dca-b93f-39f7-33d4c4f5b09d@grosbein.net> <1562138561.380322000.k6ndni22@frv50.fwdcdn.com> <00f0cbdf-b68f-bb6e-c9d9-1abf735cdf19@grosbein.net> X-Reply-Action: reply Message-Id: <1562140717.195877000.tur1x9sh@frv50.fwdcdn.com> X-Mailer: mail.ukr.net 5.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: EA39E8EBC7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ukr.net header.s=ffe header.b=g9D2IjUV; dmarc=pass (policy=none) header.from=ukr.net; spf=pass (mx1.freebsd.org: domain of artemrts@ukr.net designates 212.42.77.197 as permitted sender) smtp.mailfrom=artemrts@ukr.net X-Spamd-Result: default: False [-6.47 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ukr.net:s=ffe]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.42.77.0/24]; FREEMAIL_FROM(0.00)[ukr.net]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-1.60)[ipnet: 212.42.77.0/24(-4.46), asn: 8856(-3.64), country: UA(0.08)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DWL_DNSWL_LOW(-1.00)[ukr.net.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ukr.net:+]; RCPT_COUNT_TWO(0.00)[2]; MIME_BASE64_TEXT(0.10)[]; MX_GOOD(-0.01)[cached: mxs.ukr.net]; DMARC_POLICY_ALLOW(-0.50)[ukr.net,none]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[ukr.net]; ASN(0.00)[asn:8856, ipnet:212.42.77.0/24, country:UA]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary 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: Wed, 03 Jul 2019 08:05:51 -0000   --- Original message --- From: "Eugene Grosbein"  Date: 3 July 2019, 10:48:51 03.07.2019 14:28, wishmaster пишет: > > > > --- Original message --- > From: "Eugene Grosbein" > Date: 3 July 2019, 10:16:31 > > 03.07.2019 14:08, wishmaster wrote: > >> >> Hi, >> >> the office's server has 6 jails and 2 bhyve virtual servers. >> The problem is when I restart server, jails start for a long time (about 6 minutes). All this time the server does not acts as router, that is no packets between interfaces. From within the server packets are transmitted and received (ping works correctly), but from LAN - no. >> >> I do not remember either this issue has appeared after upgrading to 12.0 or switching from STABLE to RELEASE branch, but this issue has been appearing for about half of year or little more. >> >> Toggle sysctl net.inet.ip.forwarding while jails are starting don't help. >> >> root@e-server: uname -a >> FreeBSD e-server 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64 >> >> jail_enable="YES" >> jail_parallel_start="NO" >> jail_list="basejail jdb jphp jwww jmail jdns" >> jail_reverse_stop="YES" >> Any advices? > > Does your LAN use NAT service of the router and/or its DNS resolver? > You should uncomment /var/log/console.log in the /etc/syslog.conf, > create this file and reboot then read the file carefully and check whether > you NAT/DNS services start before jails. > > Logging to the console log file is already enabled. > I check Internet connection w/o DNS services. > > Some logs... [skip] > Jul 3 07:57:04 e-server kernel: Jul 3 07:57:04 e-server kernel: ng_ether_ifnet_arrival_event: can't re-name node epair8b > Jul 3 07:57:27 e-server kernel: jphp If you use ethernet bridging for jails and real NIC, make sure you do NOT assign any IP addresses to bridge members. Instead, assign all IP addresses to the bridge itself as aliases and make sure you bring the bridge and real nic UP before start of jails. I do not use any bridging on this server, just 192.168.254 subnet for jails. Again, all worked fine until I had upgraded or switched to RELEASE. Upgrading and switching was almost in one time, therefore I don't know what was the reason. From owner-freebsd-net@freebsd.org Wed Jul 3 08:19:38 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2730415CBA40 for ; Wed, 3 Jul 2019 08:19:38 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "eg.sd.rdtc.ru", Issuer "eg.sd.rdtc.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 409258F343 for ; Wed, 3 Jul 2019 08:19:35 +0000 (UTC) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-net@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id x638JPZO067742 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 3 Jul 2019 15:19:25 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Network issues while jails are starting To: wishmaster References: <1562134249.868399000.r0je57so@frv50.fwdcdn.com> <2deee082-1dca-b93f-39f7-33d4c4f5b09d@grosbein.net> <1562138561.380322000.k6ndni22@frv50.fwdcdn.com> <00f0cbdf-b68f-bb6e-c9d9-1abf735cdf19@grosbein.net> <1562140717.195877000.tur1x9sh@frv50.fwdcdn.com> Cc: freebsd-net@freebsd.org From: Eugene Grosbein Message-ID: <9ee5bcf8-b792-a8a0-f021-60564e54479b@grosbein.net> Date: Wed, 3 Jul 2019 15:19:18 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1562140717.195877000.tur1x9sh@frv50.fwdcdn.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 409258F343 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-0.51 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.42)[-0.424,0]; MX_INVALID(0.50)[cached]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.26)[0.261,0]; NEURAL_HAM_LONG(-0.79)[-0.790,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(0.05)[asn: 29072(0.22), country: RU(0.01)]; FREEMAIL_TO(0.00)[ukr.net]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29072, ipnet:2a03:3100::/32, country:RU]; 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: Wed, 03 Jul 2019 08:19:38 -0000 03.07.2019 15:05, wishmaster wrote: >>> jail_enable="YES" >>> jail_parallel_start="NO" >>> jail_list="basejail jdb jphp jwww jmail jdns" >>> jail_reverse_stop="YES" >>> Any advices? >> >> Does your LAN use NAT service of the router and/or its DNS resolver? You have not provided an answer. >> I check Internet connection w/o DNS services. While traffic does not flow to WAN you should run two instances of tcpdump for internal and external interfaces same time, start ping from inside host to some outside IP and check what tcpdump shows you: does it show incoming packets and does it show them forwarded via external interface? If NAT is involved, is source IP address translated right? From owner-freebsd-net@freebsd.org Wed Jul 3 16:00:34 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF43E15D849E for ; Wed, 3 Jul 2019 16:00:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 594228157F for ; Wed, 3 Jul 2019 16:00:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 13C2015D849D; Wed, 3 Jul 2019 16:00:34 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 020A915D849C for ; Wed, 3 Jul 2019 16:00:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9554A8157B for ; Wed, 3 Jul 2019 16:00:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D129DBB39 for ; Wed, 3 Jul 2019 16:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x63G0WTW011821 for ; Wed, 3 Jul 2019 16:00:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x63G0WrZ011820 for net@FreeBSD.org; Wed, 3 Jul 2019 16:00:32 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 226217] if_qlxgb (QLogic cLOM8214) not working for me when configured via netif Date: Wed, 03 Jul 2019 16:00:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pcm@pogotopia.net 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.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: Wed, 03 Jul 2019 16:00:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226217 --- Comment #2 from pcm@pogotopia.net --- I ended up using /etc/rc.local to configure the interface. Sadly i do not h= ave access to the server anymore to post you my config because i got a new job. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 3 16:55:41 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B35E215DA166 for ; Wed, 3 Jul 2019 16:55:41 +0000 (UTC) (envelope-from srick@gefjun.hzn.srick.org) Received: from gefjun.hzn.srick.org (ipv6.hzn.srick.org [IPv6:2a01:4f8:221:181::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gefjun.srick.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2471848AA for ; Wed, 3 Jul 2019 16:55:38 +0000 (UTC) (envelope-from srick@gefjun.hzn.srick.org) Received: from gefjun.hzn.srick.org (localhost [127.0.0.1]) by gefjun.hzn.srick.org (8.15.2/8.15.2) with ESMTPS id x63GgVem006222 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 3 Jul 2019 17:42:31 +0100 (BST) (envelope-from srick@gefjun.hzn.srick.org) Received: (from srick@localhost) by gefjun.hzn.srick.org (8.15.2/8.15.2/Submit) id x63GgTpu006221 for freebsd-net@freebsd.org; Wed, 3 Jul 2019 17:42:29 +0100 (BST) (envelope-from srick) Date: Wed, 3 Jul 2019 17:42:29 +0100 From: Steffen Rick To: freebsd-net@freebsd.org Subject: ipfilter not creating entries in the state table Message-ID: <20190703164229.GA5930@gefjun.hzn.srick.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.0 (2019-05-25) X-Rspamd-Queue-Id: F2471848AA X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.47 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.47)[-0.465,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.25)[-0.247,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[gefjun.hzn.srick.org]; MX_MISSING(3.50)[requested record is not found]; DMARC_NA(0.00)[srick.org]; NEURAL_HAM_SHORT(-0.77)[-0.770,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[steffen.rick@srick.org,srick@gefjun.hzn.srick.org]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; FROM_NEQ_ENVFROM(0.00)[steffen.rick@srick.org,srick@gefjun.hzn.srick.org]; IP_SCORE(-0.74)[ipnet: 2a01:4f8::/29(-1.93), asn: 24940(-1.77), country: DE(-0.01)] 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: Wed, 03 Jul 2019 16:55:41 -0000 Hi, hoping you guys can help me with this. I'm somehow unable to create an ipfilter configuration that will use stateful filtering on IPv6. What I have is a very simple ipf.rules file: ipf.rules: pass in quick on lo0 all pass out quick on lo0 all pass out quick on re0 all keep state pass in quick on re0 proto tcp from any to any port = 22 block in log quick on re0 all default kernel wise is to accept traffic (I do this to not log myself out when working remotely) When I lookup www.google.com over IPv4 I get an entry in the state table dig -A www.google.com @8.8.8.8 ipfstat -t Src: 0.0.0.0, Dest: 0.0.0.0, Proto: any, Sorted by: # bytes Source IP Destination IP ST PR #pkts #bytes ttl 188.40.60.69,22 80.79.143.188,47160 4/4 tcp 75 14048 119:59:59 188.40.60.96,51126 8.8.8.8,53 0/0 udp 1 83 0:03 When I try to lookup the A record on the IPv6 server I get no state table entry dig -A www.google.com @2001:4860:4860::8888 no state table entry and no response from the server tcpdump -nnn host 2001:4860:4860::8888 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 262144 bytes 16:48:48.588867 IP6 2a01:4f8:221:181::2.62706 > 2001:4860:4860::8888.53: 15010+ [1au] A? www.google.com. (55) 16:48:48.602580 IP6 2001:4860:4860::8888.53 > 2a01:4f8:221:181::2.62706: 15010 1/0/1 A 216.58.206.4 (59) 16:48:53.663637 IP6 2a01:4f8:221:181::2.62706 > 2001:4860:4860::8888.53: 15010+ [1au] A? www.google.com. (55) 16:48:53.668845 IP6 2001:4860:4860::8888.53 > 2a01:4f8:221:181::2.62706: 15010 1/0/1 A 216.58.206.4 (59) 16:48:58.744154 IP6 2a01:4f8:221:181::2.62706 > 2001:4860:4860::8888.53: 15010+ [1au] A? www.google.com. (55) 16:48:58.764794 IP6 2001:4860:4860::8888.53 > 2a01:4f8:221:181::2.62706: 15010 1/0/1 A 216.58.206.4 (59) ^C The request seems to have gone through just fine but my dig client times out. I change the ruleset to include pass in quick on re0 inet6 proto tcp from any port = 53 pass in quick on re0 inet6 proto udp from any port = 53 and then I'm obviously able to get a response from the server. tcpdump -nnn host 2001:4860:4860::8888 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 262144 bytes 16:47:36.738177 IP6 2a01:4f8:221:181::2.40852 > 2001:4860:4860::8888.53: 54683+ [1au] A? www.google.com. (55) 16:47:36.751447 IP6 2001:4860:4860::8888.53 > 2a01:4f8:221:181::2.40852: 54683 1/0/1 A 172.217.18.164 (59) ^C That obiously ignores the statefulness of the firewall. Is this a known issue? Has anyone ipfilter working with stateful rules correctly being created when making outbound requests? Any help appreciated! Thanks, Steffen From owner-freebsd-net@freebsd.org Wed Jul 3 17:09:59 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E3C415DA83A for ; Wed, 3 Jul 2019 17:09:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0160E85221 for ; Wed, 3 Jul 2019 17:09:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B93D415DA833; Wed, 3 Jul 2019 17:09:54 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7F8415DA832 for ; Wed, 3 Jul 2019 17:09:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09944851D8 for ; Wed, 3 Jul 2019 17:09:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0A10EC6D0 for ; Wed, 3 Jul 2019 17:09:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x63H9l4G047868 for ; Wed, 3 Jul 2019 17:09:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x63H9llZ047867 for net@FreeBSD.org; Wed, 3 Jul 2019 17:09:47 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 238796] ipfilter: fix unremovable rules and rules checksum for comparison Date: Wed, 03 Jul 2019 17:09: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: 12.0-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@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.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: Wed, 03 Jul 2019 17:09:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238796 --- Comment #6 from commit-hook@freebsd.org --- A commit references this bug: Author: cy Date: Wed Jul 3 17:09:43 UTC 2019 New revision: 349655 URL: https://svnweb.freebsd.org/changeset/base/349655 Log: MFC r349401: While working on PR/238796 I discovered an unused variable in frdest, the next hop structure. It is likely this contributes to PR/238796 though other factors remain to be investigated. PR: 238796 Changes: _U stable/11/ stable/11/sys/contrib/ipfilter/netinet/fil.c stable/11/sys/contrib/ipfilter/netinet/ip_fil.h _U stable/12/ stable/12/sys/contrib/ipfilter/netinet/fil.c stable/12/sys/contrib/ipfilter/netinet/ip_fil.h --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 07:25:17 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CCCF15CAF35; Thu, 4 Jul 2019 07:25:17 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from esa4.hc3370-68.iphmx.com (esa4.hc3370-68.iphmx.com [216.71.155.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "esa4.hc3370-68.iphmx.com", Issuer "HydrantID SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E65084982; Thu, 4 Jul 2019 07:25:14 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of roger.pau@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa4.hc3370-68.iphmx.com: domain of roger.pau@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: GndjarNKt2286LNYUFsbmBCGHDQ60bE6p39594iQQ8ZCUtdt+F0doHOYdZz7Q1YdG6PRtuX3Mf cBBGQ8eyCOluBPnX7YYLVyUqFrNkElap9B2wCa74GwLepVJgIgcDG50juMPhH4WS6eeIu/zrKT w6GPNKYv1LxVtiiOOwpF3pev+9u4Zww68utunGtr3wLbLmeS/XTbQ0+lF+Z2HIF5MlzNZU9wlY /HXy2OBaMhBTUMKDFdYYLqcIFMckWEpOQ5NfbZxZuYRPnnagNfyFt6o3gTnoa51l+MqDE6/HHs oIc= X-SBRS: 2.7 X-MesageID: 2637404 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,449,1557201600"; d="scan'208";a="2637404" Date: Thu, 4 Jul 2019 09:23:54 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Christian M CC: Eugene Grosbein , , Subject: Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer Message-ID: <20190704072354.6ycduisiidz5iy2x@Air-de-Roger> References: <9c377fe7-5546-9e0b-fac9-076dd094cbac@grosbein.net> <47bb1bfe-ac39-78d3-c9b9-17ff1896e0ec@grosbein.net> <20190627101901.3szaaxhp4xzjiay5@MacBook-Air-de-Roger.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) X-Rspamd-Queue-Id: 1E65084982 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of roger.pau@citrix.com designates 216.71.155.144 as permitted sender) smtp.mailfrom=roger.pau@citrix.com X-Spamd-Result: default: False [-3.67 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:216.71.155.144]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[citrix.com]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx1.hc3370-68.iphmx.com,mx2.hc3370-68.iphmx.com,mx1.hc3370-68.iphmx.com,mx2.hc3370-68.iphmx.com,mx1.hc3370-68.iphmx.com,mx2.hc3370-68.iphmx.com,mx1.hc3370-68.iphmx.com,mx2.hc3370-68.iphmx.com,mx1.hc3370-68.iphmx.com,mx2.hc3370-68.iphmx.com,mx1.hc3370-68.iphmx.com,mx2.hc3370-68.iphmx.com,mx1.hc3370-68.iphmx.com,mx2.hc3370-68.iphmx.com,mx1.hc3370-68.iphmx.com,mx2.hc3370-68.iphmx.com]; NEURAL_HAM_SHORT(-0.91)[-0.907,0]; IP_SCORE(-0.85)[ip: (-1.24), ipnet: 216.71.154.0/23(-1.81), asn: 16417(-1.15), country: US(-0.06)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; RCVD_IN_DNSWL_LOW(-0.10)[144.155.71.216.list.dnswl.org : 127.0.3.1]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16417, ipnet:216.71.154.0/23, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(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: Thu, 04 Jul 2019 07:25:17 -0000 On Thu, Jun 27, 2019 at 12:31:35PM +0200, Christian M wrote: > Den tors 27 juni 2019 kl 12:19 skrev Roger Pau Monné : > > > On Thu, Jun 27, 2019 at 12:14:33PM +0200, Christian M wrote: > > > I've installed 12.0-STABLE on two new VM's now. 172.31.16.127 and .128. > > VIF > > > cheksum offloading is turned off, and -txcsum for xn0 for both VM's. > > > > > > I feel the throughput is more consistent now, not all over the place as > > > before, even between runs. But the Retr column (tcp retries) in iperf3 > > has > > > jumped up considerably from hundreds/s to thousands/s. > > > > > > Just a reminder, I have tested this with 11.0-RELEASE also, where the > > issue > > > appeared first for me. 10.4-RELEASE is as fast as I could expect it to > > be, > > > and 0 retries. > > > > > > 12.0-STABLE: > > > > > > Connecting to host 172.31.16.128, port 5201 > > > [ 5] local 172.31.16.127 port 16833 connected to 172.31.16.128 port 5201 > > > [ ID] Interval Transfer Bitrate Retr Cwnd > > > [ 5] 0.00-1.00 sec 96.3 MBytes 808 Mbits/sec 2401 2.85 KBytes > > > > > > [ 5] 1.00-2.00 sec 118 MBytes 991 Mbits/sec 3120 17.0 KBytes > > > > > > [ 5] 2.00-3.00 sec 121 MBytes 1.02 Gbits/sec 3203 69.8 KBytes > > > > > > [ 5] 3.00-4.00 sec 102 MBytes 853 Mbits/sec 3126 15.6 KBytes > > > > > > [ 5] 4.00-5.00 sec 110 MBytes 921 Mbits/sec 2890 15.6 KBytes > > > > > > [ 5] 5.00-6.00 sec 108 MBytes 908 Mbits/sec 3308 17.0 KBytes > > > > > > [ 5] 6.00-7.00 sec 104 MBytes 869 Mbits/sec 3046 48.2 KBytes > > > > > > [ 5] 7.00-8.00 sec 98.9 MBytes 830 Mbits/sec 2845 2.85 KBytes > > > > > > [ 5] 8.00-9.00 sec 104 MBytes 874 Mbits/sec 2711 86.8 KBytes > > > > > > [ 5] 9.00-10.00 sec 108 MBytes 904 Mbits/sec 2696 14.2 KBytes > > > > > > [ 5] 10.00-11.00 sec 103 MBytes 864 Mbits/sec 2660 31.3 KBytes > > > > > > [ 5] 11.00-12.00 sec 98.8 MBytes 828 Mbits/sec 2476 19.9 KBytes > > > > > > [ 5] 12.00-13.00 sec 99.9 MBytes 838 Mbits/sec 2857 11.3 KBytes > > > > > > [ 5] 13.00-14.00 sec 107 MBytes 894 Mbits/sec 2685 24.1 KBytes > > > > > > [ 5] 14.00-15.00 sec 114 MBytes 953 Mbits/sec 2321 25.5 KBytes > > > > > > [ 5] 15.00-16.00 sec 93.1 MBytes 781 Mbits/sec 2427 48.3 KBytes > > > > > > [ 5] 16.00-17.00 sec 107 MBytes 895 Mbits/sec 2219 29.8 KBytes > > > > > > [ 5] 17.00-18.00 sec 92.5 MBytes 776 Mbits/sec 2441 12.8 KBytes > > > > > > [ 5] 18.00-19.00 sec 116 MBytes 976 Mbits/sec 2840 38.2 KBytes > > > > > > [ 5] 19.00-20.00 sec 102 MBytes 853 Mbits/sec 2573 43.9 KBytes > > > > > > - - - - - - - - - - - - - - - - - - - - - - - - - > > > [ ID] Interval Transfer Bitrate Retr > > > [ 5] 0.00-20.00 sec 2.05 GBytes 882 Mbits/sec 54845 > > > > Can you paste the output of ifconfig for both the interfaces used in > > the test? > > > > Are you sure all hardware offloading capabilities are turned off on > > both interfaces? > > > > Can you check what's causing those retries? > > > > Either using tcpdump, whireshark or some other tool to analyze the > > network traffic and detect the errors that cause such retries? > > > > Thanks, Roger. > > > > 172.31.16.127 (12.0-STABLE): > > lo0: flags=8049 metric 0 mtu 16384 > options=680003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > nd6 options=21 > xn0: flags=8843 metric 0 mtu 1500 > options=501 I would try to disable rxcsum, tso4 and lro also. > ether 6e:83:99:ed:ce:f7 > inet 172.31.16.127 netmask 0xffffff00 broadcast 172.31.16.255 > media: Ethernet manual > status: active > nd6 options=29 > > ethtool -k vif68.0 > Features for vif68.0: > rx-checksumming: on [fixed] > tx-checksumming: off > tx-checksum-ipv4: off > tx-checksum-ip-generic: off [fixed] > tx-checksum-ipv6: off > tx-checksum-fcoe-crc: off [fixed] > tx-checksum-sctp: off [fixed] > scatter-gather: off > tx-scatter-gather: off > tx-scatter-gather-fraglist: off > tcp-segmentation-offload: off > tx-tcp-segmentation: off > tx-tcp-ecn-segmentation: off [fixed] > tx-tcp6-segmentation: off > udp-fragmentation-offload: off [fixed] > generic-segmentation-offload: off > generic-receive-offload: on > large-receive-offload: off [fixed] > rx-vlan-offload: off [fixed] > tx-vlan-offload: off [fixed] > ntuple-filters: off [fixed] > receive-hashing: off [fixed] > highdma: off [fixed] > rx-vlan-filter: off [fixed] > vlan-challenged: off [fixed] > tx-lockless: off [fixed] > netns-local: off [fixed] > tx-gso-robust: off [fixed] > tx-fcoe-segmentation: off [fixed] > tx-gre-segmentation: off [fixed] > tx-ipip-segmentation: off [fixed] > tx-sit-segmentation: off [fixed] > tx-udp_tnl-segmentation: off [fixed] > fcoe-mtu: off [fixed] > tx-nocache-copy: off > loopback: off [fixed] > rx-fcs: off [fixed] > rx-all: off [fixed] > tx-vlan-stag-hw-insert: off [fixed] > rx-vlan-stag-hw-parse: off [fixed] > rx-vlan-stag-filter: off [fixed] > l2-fwd-offload: off [fixed] > busy-poll: off [fixed] > > 172.31.16.128 (12.0-STABLE): > > lo0: flags=8049 metric 0 mtu 16384 > options=680003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > nd6 options=21 > xn0: flags=8843 metric 0 mtu 1500 > options=501 > ether 32:a7:9f:cc:94:8a > inet 172.31.16.128 netmask 0xffffff00 broadcast 172.31.16.255 > media: Ethernet manual > status: active > nd6 options=29 > > ethtool -k vif67.0 > Features for vif67.0: > rx-checksumming: on [fixed] > tx-checksumming: off > tx-checksum-ipv4: off > tx-checksum-ip-generic: off [fixed] > tx-checksum-ipv6: off > tx-checksum-fcoe-crc: off [fixed] > tx-checksum-sctp: off [fixed] > scatter-gather: off > tx-scatter-gather: off > tx-scatter-gather-fraglist: off > tcp-segmentation-offload: off > tx-tcp-segmentation: off > tx-tcp-ecn-segmentation: off [fixed] > tx-tcp6-segmentation: off > udp-fragmentation-offload: off [fixed] > generic-segmentation-offload: off > generic-receive-offload: on > large-receive-offload: off [fixed] > rx-vlan-offload: off [fixed] > tx-vlan-offload: off [fixed] > ntuple-filters: off [fixed] > receive-hashing: off [fixed] > highdma: off [fixed] > rx-vlan-filter: off [fixed] > vlan-challenged: off [fixed] > tx-lockless: off [fixed] > netns-local: off [fixed] > tx-gso-robust: off [fixed] > tx-fcoe-segmentation: off [fixed] > tx-gre-segmentation: off [fixed] > tx-ipip-segmentation: off [fixed] > tx-sit-segmentation: off [fixed] > tx-udp_tnl-segmentation: off [fixed] > fcoe-mtu: off [fixed] > tx-nocache-copy: off > loopback: off [fixed] > rx-fcs: off [fixed] > rx-all: off [fixed] > tx-vlan-stag-hw-insert: off [fixed] > rx-vlan-stag-hw-parse: off [fixed] > rx-vlan-stag-filter: off [fixed] > l2-fwd-offload: off [fixed] > busy-poll: off [fixed] > > Should I run tcpdump on xen host, or on FreeBSD while running iperf3? On the Xen host would be better, since that tcpdump will read the packets as FreeBSD puts them on the wire. > As I side note, I installed XCP-ng 7.6.0 on a older server I had laying > around just to see how 12.0-RELEASE behaved there, and It was the same > thing, super slow between VM's. Yes, I don't think this is related to hardware at all. I will try to find some time to look into this, but it's not going to be soon since I'm currently preparing a talk for a conference I'm attending next week, so I won't likely be able to get to it until the end of July, sorry. Also, I'm no networking expert, so I cannot assure my success in fixing this. As a workaround you can switch to the emulated network card by setting 'hw.xen.disable_pv_nics=1' in /boot/loader.conf. That will give you worse performance than a fully working PV network card, but at least should be consistent. There are others that have switched to virtio-net, but I have no idea how to do that with XCP. Roger. From owner-freebsd-net@freebsd.org Thu Jul 4 07:58:23 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9858215CBE01; Thu, 4 Jul 2019 07:58:23 +0000 (UTC) (envelope-from christian.marcos@gmail.com) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 B0D2085AA1; Thu, 4 Jul 2019 07:58:22 +0000 (UTC) (envelope-from christian.marcos@gmail.com) Received: by mail-io1-xd2c.google.com with SMTP id w25so10985483ioc.8; Thu, 04 Jul 2019 00:58:22 -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=ZlRMaCe0KI/YXXRnuRRHklytOAp0JrqXFp/kEl/fZNY=; b=pAjOlkxgQggihzW+VBa6OiADZPLHbAGldc22JWwEc1VFuQb2N/PStjfctKHeBjuBHL x+a3JetSbhIEc6/0PLvm7PcHNpdlrS3Oc47KIe2e1FjpfiwT3KofUliqWB8zhMvFz8lN th6eRBdLMYr7VMNOQsGzn8k4UwirOPKywsbHjSHWwNQ7d+Fo2+FG5uOAP9brLHw9WCRm QmumBhA47BCDowkWEqoskkI4nhsX+xdt1l6IK7vPBLWlQMRY82PUU70fybWZwKFdSRaV 8pO2eCBTbEPk+i7TZGWTPIcYEfGpzwTi3VTM8riRj6r43c2n7q5EpVtUuWseVs66b7Ql jEVA== 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=ZlRMaCe0KI/YXXRnuRRHklytOAp0JrqXFp/kEl/fZNY=; b=jTcZ+/kodAWZCytdGvTXYTl+T/YuwfjlyK6Q95KV2UJdvF08zqi5ITZRLJzFOXI8H3 lOhNDJ6SbaTf9FxslL7P5gYNXVuk/yNwF24TkMsyMmZW5ewnYrBMU6gjw3fcG8ziaBVu W0JhtCSAsotCqe8QZvusmCBVrAlBwshCh6nKoL7QEMefuaHL8Ljna5AU7tTdWW+XLARP DFCSodkl5NcfijuVfIIpaHD8g64gXxyN4XlQE1ZDSVbelObzDsOUZHE9Q8ayGybsVbml u/6PTZQr3x6nKIUrRiPmikog7JZTBqgeZDpESB9pEQrlG9YGhMp2Ix4g0VHdXJhElsgd ovWw== X-Gm-Message-State: APjAAAUGJadUbd6bkYAILZNNt9qU+pp2oW67pZbi1ro2Mzvej1OUTpt+ M2Npah5gSic2nNJu5dT/dyyhwhlOxALtyHpVPEk= X-Google-Smtp-Source: APXvYqxbAGtrkwxE0kq+GS4RZD6Czdqu9KCfY99f1F5y7V5wctI9pOpovJSv+17AFe7uKIbQk4Q1pk/c69dWEaX5Hxg= X-Received: by 2002:a02:710f:: with SMTP id n15mr46377043jac.119.1562227101773; Thu, 04 Jul 2019 00:58:21 -0700 (PDT) MIME-Version: 1.0 References: <9c377fe7-5546-9e0b-fac9-076dd094cbac@grosbein.net> <47bb1bfe-ac39-78d3-c9b9-17ff1896e0ec@grosbein.net> <20190627101901.3szaaxhp4xzjiay5@MacBook-Air-de-Roger.local> <20190704072354.6ycduisiidz5iy2x@Air-de-Roger> In-Reply-To: <20190704072354.6ycduisiidz5iy2x@Air-de-Roger> From: Christian M Date: Thu, 4 Jul 2019 09:58:10 +0200 Message-ID: Subject: Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Cc: Eugene Grosbein , freebsd-xen@freebsd.org, freebsd-net@freebsd.org X-Rspamd-Queue-Id: B0D2085AA1 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pAjOlkxg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of christianmarcos@gmail.com designates 2607:f8b0:4864:20::d2c as permitted sender) smtp.mailfrom=christianmarcos@gmail.com X-Spamd-Result: default: False [-6.90 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[c.2.d.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]; IP_SCORE(-2.92)[ip: (-8.99), ipnet: 2607:f8b0::/32(-3.16), asn: 15169(-2.39), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 04 Jul 2019 07:58:23 -0000 Thanks Roger. I disabled pv nic entirely on my two 12.0-RELEASE test VM's. I got 1000baseT full duplex auto selected, so I expected throughput close to that, but to my surprise this are the results: $ ifconfig em0: flags=3D8843 metric 0 mtu 1500 options=3D812099 ether 56:65:6f:f3:02:fb inet 172.31.16.125 netmask 0xffffff00 broadcast 172.31.16.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 $ iperf3 -c 172.31.16.126 Connecting to host 172.31.16.126, port 5201 [ 5] local 172.31.16.125 port 11247 connected to 172.31.16.126 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 6.50 MBytes 54.5 Mbits/sec 0 368 KBytes [ 5] 1.00-2.00 sec 7.22 MBytes 60.6 Mbits/sec 0 368 KBytes [ 5] 2.00-3.00 sec 7.26 MBytes 60.9 Mbits/sec 0 368 KBytes [ 5] 3.00-4.00 sec 7.09 MBytes 59.4 Mbits/sec 0 368 KBytes [ 5] 4.00-5.00 sec 7.32 MBytes 61.4 Mbits/sec 0 368 KBytes [ 5] 5.00-6.00 sec 7.22 MBytes 60.6 Mbits/sec 0 385 KBytes [ 5] 6.00-7.00 sec 7.24 MBytes 60.7 Mbits/sec 0 385 KBytes [ 5] 7.00-8.00 sec 7.28 MBytes 61.1 Mbits/sec 0 385 KBytes [ 5] 8.00-9.00 sec 7.55 MBytes 63.3 Mbits/sec 0 385 KBytes [ 5] 9.00-10.00 sec 7.12 MBytes 59.7 Mbits/sec 0 385 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 71.8 MBytes 60.2 Mbits/sec 0 sende= r [ 5] 0.00-10.06 sec 71.8 MBytes 59.9 Mbits/sec receiver iperf Done. $ iperf3 -c 172.31.16.126 -R Connecting to host 172.31.16.126, port 5201 Reverse mode, remote host 172.31.16.126 is sending [ 5] local 172.31.16.125 port 22443 connected to 172.31.16.126 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 5.06 MBytes 42.5 Mbits/sec [ 5] 1.00-2.00 sec 5.60 MBytes 47.0 Mbits/sec [ 5] 2.00-3.00 sec 6.22 MBytes 52.2 Mbits/sec [ 5] 3.00-4.00 sec 6.92 MBytes 58.0 Mbits/sec [ 5] 4.00-5.00 sec 7.39 MBytes 62.0 Mbits/sec [ 5] 5.00-6.00 sec 7.17 MBytes 60.1 Mbits/sec [ 5] 6.00-7.00 sec 7.18 MBytes 60.3 Mbits/sec [ 5] 7.00-8.00 sec 7.32 MBytes 61.4 Mbits/sec [ 5] 8.00-9.00 sec 6.94 MBytes 58.2 Mbits/sec [ 5] 9.00-10.00 sec 7.04 MBytes 59.0 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 67.3 MBytes 56.5 Mbits/sec 0 sende= r [ 5] 0.00-10.00 sec 66.8 MBytes 56.1 Mbits/sec receiver iperf Done. Good luck with your talk. Regards, Christian Den tors 4 juli 2019 kl 09:24 skrev Roger Pau Monn=C3=A9 : > On Thu, Jun 27, 2019 at 12:31:35PM +0200, Christian M wrote: > > Den tors 27 juni 2019 kl 12:19 skrev Roger Pau Monn=C3=A9 < > roger.pau@citrix.com>: > > > > > On Thu, Jun 27, 2019 at 12:14:33PM +0200, Christian M wrote: > > > > I've installed 12.0-STABLE on two new VM's now. 172.31.16.127 and > .128. > > > VIF > > > > cheksum offloading is turned off, and -txcsum for xn0 for both VM's= . > > > > > > > > I feel the throughput is more consistent now, not all over the plac= e > as > > > > before, even between runs. But the Retr column (tcp retries) in > iperf3 > > > has > > > > jumped up considerably from hundreds/s to thousands/s. > > > > > > > > Just a reminder, I have tested this with 11.0-RELEASE also, where t= he > > > issue > > > > appeared first for me. 10.4-RELEASE is as fast as I could expect it > to > > > be, > > > > and 0 retries. > > > > > > > > 12.0-STABLE: > > > > > > > > Connecting to host 172.31.16.128, port 5201 > > > > [ 5] local 172.31.16.127 port 16833 connected to 172.31.16.128 por= t > 5201 > > > > [ ID] Interval Transfer Bitrate Retr Cwnd > > > > [ 5] 0.00-1.00 sec 96.3 MBytes 808 Mbits/sec 2401 2.85 > KBytes > > > > > > > > [ 5] 1.00-2.00 sec 118 MBytes 991 Mbits/sec 3120 17.0 > KBytes > > > > > > > > [ 5] 2.00-3.00 sec 121 MBytes 1.02 Gbits/sec 3203 69.8 > KBytes > > > > > > > > [ 5] 3.00-4.00 sec 102 MBytes 853 Mbits/sec 3126 15.6 > KBytes > > > > > > > > [ 5] 4.00-5.00 sec 110 MBytes 921 Mbits/sec 2890 15.6 > KBytes > > > > > > > > [ 5] 5.00-6.00 sec 108 MBytes 908 Mbits/sec 3308 17.0 > KBytes > > > > > > > > [ 5] 6.00-7.00 sec 104 MBytes 869 Mbits/sec 3046 48.2 > KBytes > > > > > > > > [ 5] 7.00-8.00 sec 98.9 MBytes 830 Mbits/sec 2845 2.85 > KBytes > > > > > > > > [ 5] 8.00-9.00 sec 104 MBytes 874 Mbits/sec 2711 86.8 > KBytes > > > > > > > > [ 5] 9.00-10.00 sec 108 MBytes 904 Mbits/sec 2696 14.2 > KBytes > > > > > > > > [ 5] 10.00-11.00 sec 103 MBytes 864 Mbits/sec 2660 31.3 > KBytes > > > > > > > > [ 5] 11.00-12.00 sec 98.8 MBytes 828 Mbits/sec 2476 19.9 > KBytes > > > > > > > > [ 5] 12.00-13.00 sec 99.9 MBytes 838 Mbits/sec 2857 11.3 > KBytes > > > > > > > > [ 5] 13.00-14.00 sec 107 MBytes 894 Mbits/sec 2685 24.1 > KBytes > > > > > > > > [ 5] 14.00-15.00 sec 114 MBytes 953 Mbits/sec 2321 25.5 > KBytes > > > > > > > > [ 5] 15.00-16.00 sec 93.1 MBytes 781 Mbits/sec 2427 48.3 > KBytes > > > > > > > > [ 5] 16.00-17.00 sec 107 MBytes 895 Mbits/sec 2219 29.8 > KBytes > > > > > > > > [ 5] 17.00-18.00 sec 92.5 MBytes 776 Mbits/sec 2441 12.8 > KBytes > > > > > > > > [ 5] 18.00-19.00 sec 116 MBytes 976 Mbits/sec 2840 38.2 > KBytes > > > > > > > > [ 5] 19.00-20.00 sec 102 MBytes 853 Mbits/sec 2573 43.9 > KBytes > > > > > > > > - - - - - - - - - - - - - - - - - - - - - - - - - > > > > [ ID] Interval Transfer Bitrate Retr > > > > [ 5] 0.00-20.00 sec 2.05 GBytes 882 Mbits/sec 54845 > > > > > > Can you paste the output of ifconfig for both the interfaces used in > > > the test? > > > > > > Are you sure all hardware offloading capabilities are turned off on > > > both interfaces? > > > > > > Can you check what's causing those retries? > > > > > > Either using tcpdump, whireshark or some other tool to analyze the > > > network traffic and detect the errors that cause such retries? > > > > > > Thanks, Roger. > > > > > > > 172.31.16.127 (12.0-STABLE): > > > > lo0: flags=3D8049 metric 0 mtu 16384 > > options=3D680003 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > > inet 127.0.0.1 netmask 0xff000000 > > groups: lo > > nd6 options=3D21 > > xn0: flags=3D8843 metric 0 mtu = 1500 > > options=3D501 > > I would try to disable rxcsum, tso4 and lro also. > > > ether 6e:83:99:ed:ce:f7 > > inet 172.31.16.127 netmask 0xffffff00 broadcast 172.31.16.255 > > media: Ethernet manual > > status: active > > nd6 options=3D29 > > > > ethtool -k vif68.0 > > Features for vif68.0: > > rx-checksumming: on [fixed] > > tx-checksumming: off > > tx-checksum-ipv4: off > > tx-checksum-ip-generic: off [fixed] > > tx-checksum-ipv6: off > > tx-checksum-fcoe-crc: off [fixed] > > tx-checksum-sctp: off [fixed] > > scatter-gather: off > > tx-scatter-gather: off > > tx-scatter-gather-fraglist: off > > tcp-segmentation-offload: off > > tx-tcp-segmentation: off > > tx-tcp-ecn-segmentation: off [fixed] > > tx-tcp6-segmentation: off > > udp-fragmentation-offload: off [fixed] > > generic-segmentation-offload: off > > generic-receive-offload: on > > large-receive-offload: off [fixed] > > rx-vlan-offload: off [fixed] > > tx-vlan-offload: off [fixed] > > ntuple-filters: off [fixed] > > receive-hashing: off [fixed] > > highdma: off [fixed] > > rx-vlan-filter: off [fixed] > > vlan-challenged: off [fixed] > > tx-lockless: off [fixed] > > netns-local: off [fixed] > > tx-gso-robust: off [fixed] > > tx-fcoe-segmentation: off [fixed] > > tx-gre-segmentation: off [fixed] > > tx-ipip-segmentation: off [fixed] > > tx-sit-segmentation: off [fixed] > > tx-udp_tnl-segmentation: off [fixed] > > fcoe-mtu: off [fixed] > > tx-nocache-copy: off > > loopback: off [fixed] > > rx-fcs: off [fixed] > > rx-all: off [fixed] > > tx-vlan-stag-hw-insert: off [fixed] > > rx-vlan-stag-hw-parse: off [fixed] > > rx-vlan-stag-filter: off [fixed] > > l2-fwd-offload: off [fixed] > > busy-poll: off [fixed] > > > > 172.31.16.128 (12.0-STABLE): > > > > lo0: flags=3D8049 metric 0 mtu 16384 > > options=3D680003 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > > inet 127.0.0.1 netmask 0xff000000 > > groups: lo > > nd6 options=3D21 > > xn0: flags=3D8843 metric 0 mtu = 1500 > > options=3D501 > > ether 32:a7:9f:cc:94:8a > > inet 172.31.16.128 netmask 0xffffff00 broadcast 172.31.16.255 > > media: Ethernet manual > > status: active > > nd6 options=3D29 > > > > ethtool -k vif67.0 > > Features for vif67.0: > > rx-checksumming: on [fixed] > > tx-checksumming: off > > tx-checksum-ipv4: off > > tx-checksum-ip-generic: off [fixed] > > tx-checksum-ipv6: off > > tx-checksum-fcoe-crc: off [fixed] > > tx-checksum-sctp: off [fixed] > > scatter-gather: off > > tx-scatter-gather: off > > tx-scatter-gather-fraglist: off > > tcp-segmentation-offload: off > > tx-tcp-segmentation: off > > tx-tcp-ecn-segmentation: off [fixed] > > tx-tcp6-segmentation: off > > udp-fragmentation-offload: off [fixed] > > generic-segmentation-offload: off > > generic-receive-offload: on > > large-receive-offload: off [fixed] > > rx-vlan-offload: off [fixed] > > tx-vlan-offload: off [fixed] > > ntuple-filters: off [fixed] > > receive-hashing: off [fixed] > > highdma: off [fixed] > > rx-vlan-filter: off [fixed] > > vlan-challenged: off [fixed] > > tx-lockless: off [fixed] > > netns-local: off [fixed] > > tx-gso-robust: off [fixed] > > tx-fcoe-segmentation: off [fixed] > > tx-gre-segmentation: off [fixed] > > tx-ipip-segmentation: off [fixed] > > tx-sit-segmentation: off [fixed] > > tx-udp_tnl-segmentation: off [fixed] > > fcoe-mtu: off [fixed] > > tx-nocache-copy: off > > loopback: off [fixed] > > rx-fcs: off [fixed] > > rx-all: off [fixed] > > tx-vlan-stag-hw-insert: off [fixed] > > rx-vlan-stag-hw-parse: off [fixed] > > rx-vlan-stag-filter: off [fixed] > > l2-fwd-offload: off [fixed] > > busy-poll: off [fixed] > > > > Should I run tcpdump on xen host, or on FreeBSD while running iperf3? > > On the Xen host would be better, since that tcpdump will read the > packets as FreeBSD puts them on the wire. > > > As I side note, I installed XCP-ng 7.6.0 on a older server I had laying > > around just to see how 12.0-RELEASE behaved there, and It was the same > > thing, super slow between VM's. > > Yes, I don't think this is related to hardware at all. > > I will try to find some time to look into this, but it's not going to > be soon since I'm currently preparing a talk for a conference I'm > attending next week, so I won't likely be able to get to it until the > end of July, sorry. Also, I'm no networking expert, so I cannot assure > my success in fixing this. > > As a workaround you can switch to the emulated network card by > setting 'hw.xen.disable_pv_nics=3D1' in /boot/loader.conf. That will > give you worse performance than a fully working PV network card, but > at least should be consistent. There are others that have switched to > virtio-net, but I have no idea how to do that with XCP. > > Roger. > From owner-freebsd-net@freebsd.org Thu Jul 4 08:39:46 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 111D915CCE84; Thu, 4 Jul 2019 08:39:46 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from smtp.krpservers.com (smtp.krpservers.com [62.13.128.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.krpservers.com", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA14086B88; Thu, 4 Jul 2019 08:39:44 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from [10.12.30.106] (host165-120-77-244.range165-120.btcentralplus.com [165.120.77.244]) (authenticated bits=0) by smtp.krpservers.com (8.15.2/8.15.2) with ESMTPSA id x648db7Y057371 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Jul 2019 09:39:38 +0100 (BST) (envelope-from kpielorz_lst@tdx.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tdx.co.uk; s=krpdkim; t=1562229579; bh=vBUCabX76MGhYGJhCK52Q6mlTpZreRDLYUzOOcKeL1I=; h=Date:From:To:Subject; b=DCjNN+8lS9/X6IaVqEgbKenS8b4TAkrgu3ay7pe4pdKkHJHj/fBfHhPYTjTgTijQ2 FYlCVk+KUa7EhlhUxaUIzVK3qh4dGOe5fdP5afLJS6h4Pd5NZi69swrcocFit5aH/x I69sXtfPjzkWJXO/kluuvMC3hZC/Gkd8aDo0pUGmUwyEfzLdKwNNh0l56ikFBqWqgH xwCieAj44cF0/cccIt7EJcVPzI3F1I8fl3pQM/vO4gkBBIAZxbXWWL7FEGqI/HjshM PVAWAa/J/siTPZajvqXfE/GrXu1TbvLsLkB5FXXnyWRXMVIxmI8SSZ6v16NajtRXhW Uj5x4oOIOPTHw== Date: Thu, 04 Jul 2019 09:39:27 +0100 From: Karl Pielorz To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , Christian M cc: freebsd-xen@freebsd.org, Eugene Grosbein , freebsd-net@freebsd.org Subject: Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer Message-ID: In-Reply-To: <20190704072354.6ycduisiidz5iy2x@Air-de-Roger> References: <9c377fe7-5546-9e0b-fac9-076dd094cbac@grosbein.net> <47bb1bfe-ac39-78d3-c9b9-17ff1896e0ec@grosbein.net> <20190627101901.3szaaxhp4xzjiay5@MacBook-Air-de-Roger.local> <20190704072354.6ycduisiidz5iy2x@Air-de-Roger> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Rspamd-Queue-Id: AA14086B88 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tdx.co.uk header.s=krpdkim header.b=DCjNN+8l; dmarc=pass (policy=none) header.from=tdx.co.uk; spf=pass (mx1.freebsd.org: domain of kpielorz_lst@tdx.co.uk designates 62.13.128.145 as permitted sender) smtp.mailfrom=kpielorz_lst@tdx.co.uk X-Spamd-Result: default: False [-2.28 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[tdx.co.uk:s=krpdkim]; NEURAL_HAM_MEDIUM(-0.97)[-0.975,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:smtp.krpservers.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_IP_LITERAL(0.50)[]; DKIM_TRACE(0.00)[tdx.co.uk:+]; MX_GOOD(-0.01)[mx0.krpservers.com]; DMARC_POLICY_ALLOW(-0.50)[tdx.co.uk,none]; NEURAL_SPAM_SHORT(0.22)[0.220,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.02)[country: GB(-0.09)]; ASN(0.00)[asn:60969, ipnet:62.13.128.0/24, country:GB]; RCVD_COUNT_TWO(0.00)[2]; 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: Thu, 04 Jul 2019 08:39:46 -0000 --On 04 July 2019 09:23 +0200 Roger Pau Monn=C3=A9 = wrote: > As a workaround you can switch to the emulated network card by > setting 'hw.xen.disable_pv_nics=3D1' in /boot/loader.conf. That will > give you worse performance than a fully working PV network card, but > at least should be consistent. There are others that have switched to > virtio-net, but I have no idea how to do that with XCP. Just to add my $0.02's to the conversation... As Roger knows we've had numerous issues with Xen xn based networking and=20 FreeBSD guests over the years. We currently run VirtIO (vtnet) on XenServer = 7.1 and it solves all these issues (it's probably not quite as 'performant' = as xn - but it's close for what we're using it with - it is miles better=20 than e1000 performance). Unfortunately in XenServer 7.6 virtio is no longer compiled into Qemu from=20 what I can see. XCP-ng has the same issue (as it's based on XenServer) - so = virtio is currently not an option with XCP-ng either. e1000/rtl8139 will solve 'weirdness' (think of VM's routing traffic, doing=20 DHCP or VPN duties) - but virtio solves the same issues, with much better=20 performance. I've posted to the XCP-ng forums asking if virtio can be enabled in XCP-ng=20 builds (as this is probably more likely that getting XenServer to release=20 with it enabled). Aside from getting Xen xn 'fixed' for the cases it currently fails (no=20 small undertaking from what I understand) - it leaves FreeBSD pretty much=20 stuck, at least for some usage cases. Regards, -Karl From owner-freebsd-net@freebsd.org Thu Jul 4 09:00:10 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD4A415CDA8F; Thu, 4 Jul 2019 09:00:09 +0000 (UTC) (envelope-from christian.marcos@gmail.com) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (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 02FA587871; Thu, 4 Jul 2019 09:00:09 +0000 (UTC) (envelope-from christian.marcos@gmail.com) Received: by mail-io1-xd2b.google.com with SMTP id h6so11382755ioh.3; Thu, 04 Jul 2019 02:00:08 -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=R6ZVpY4DFhvpA1IVhW/B+YgAgCRjSDPCO114z2rwVHM=; b=I8JPMJQVOGqjCTEIAvyO27tqkFz62V9WiJNfqVRiAAgJmevkFP40i3OUufgIEaMLWw iYJRB7dAnRs59VUJSzZ9i+kLePuts4BxtCP8hx0r2tCNhKZEPSNbNiaYAOsHotE2q0Mh 51Rl1hJdOS2eWpB3DFElA+vU1UnbsZKo5/rbaHZMH6NnR18GyYKTuUJIqRFQr3gWDni5 ubnomA41UhSxrlfGJBAOIVizV0+ou2IYu8SSkU89jcuA1d1uCiHIJe8DjdT4uHfc8rsX iXz2LERATJUl6+tJOpID/eTwiR/kF3jEkszw8S0FnPfG6ZwPgl7C8aSHe8GRGlcgfVEV AG9Q== 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=R6ZVpY4DFhvpA1IVhW/B+YgAgCRjSDPCO114z2rwVHM=; b=mbMK/rJEqSGKG3DCXTmNUpV2IHRezJkGN0zFvVHwcq/JipA/vhjFJ8Q6lFZ48dG2+p 7An1iEVEpCbCkZLeM3x/w9KD/mOX7dYbHNaeUfzrJ10Y+mOfkF65ZqOT8sdHpqls56zL id9cdcI+2LDc4lw4curFNZBOXnG/dwB4FrprMH8t9ZP3p/CtBoSNx12FYjlqYeE1Pdf9 uWRbwAnWPgx3p8poC//s/NZ0tSk4WDyv6UqU5fYOYLUxd4CxVKw2X1EnCaPwKRJF/tKY +/kQFhXIuz+1l1DBMUFHp7ysjfX/6VzLxQnZXWPVgz0VNjxEgn0TVfTn6h6/r2c+C5ff 9NTw== X-Gm-Message-State: APjAAAXP3J4CZmGRxb5UbBRemi8iLGhtNJv2TRDVUlGe3edOEtOpiKhp qXVcESDDcCD2LSqowW8hQbMNoXdnTcvJqhz5lR8= X-Google-Smtp-Source: APXvYqxHMFqzQ2CyBc1qWYbZOjElyGAe4B2zNTaIdIGKM+jG4i7F2TApbMCCIgEVOExUoXYjNsLcNrc5q+0P/FNvrYM= X-Received: by 2002:a02:710f:: with SMTP id n15mr46618313jac.119.1562230807926; Thu, 04 Jul 2019 02:00:07 -0700 (PDT) MIME-Version: 1.0 References: <9c377fe7-5546-9e0b-fac9-076dd094cbac@grosbein.net> <47bb1bfe-ac39-78d3-c9b9-17ff1896e0ec@grosbein.net> <20190627101901.3szaaxhp4xzjiay5@MacBook-Air-de-Roger.local> <20190704072354.6ycduisiidz5iy2x@Air-de-Roger> In-Reply-To: From: Christian M Date: Thu, 4 Jul 2019 10:59:56 +0200 Message-ID: Subject: Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer To: Karl Pielorz Cc: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , freebsd-xen@freebsd.org, Eugene Grosbein , freebsd-net@freebsd.org X-Rspamd-Queue-Id: 02FA587871 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=I8JPMJQV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of christianmarcos@gmail.com designates 2607:f8b0:4864:20::d2b as permitted sender) smtp.mailfrom=christianmarcos@gmail.com X-Spamd-Result: default: False [-6.74 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[b.2.d.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]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.80)[ip: (-8.39), ipnet: 2607:f8b0::/32(-3.16), asn: 15169(-2.39), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.93)[-0.933,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 04 Jul 2019 09:00:10 -0000 >From my tests I found that 10.4-RELEASE was as fast as you could expect (>10Gbit/s), then something changed in 11.0-RELEASE and carried on and got even worse in 12.0-RELEASE. Would it not be a good idea to begin there (10.4 -> 11.0), and try to identify what changes could impact the performance drop so significantly? This is perhaps a much harder task than it sounds for someone that knows nothing about what changes was made, and how difficult it would be to identify what changes actually could be relevant. Just a thought. Regards, Christian Den tors 4 juli 2019 kl 10:39 skrev Karl Pielorz : > > > --On 04 July 2019 09:23 +0200 Roger Pau Monn=C3=A9 > wrote: > > > As a workaround you can switch to the emulated network card by > > setting 'hw.xen.disable_pv_nics=3D1' in /boot/loader.conf. That will > > give you worse performance than a fully working PV network card, but > > at least should be consistent. There are others that have switched to > > virtio-net, but I have no idea how to do that with XCP. > > Just to add my $0.02's to the conversation... > > As Roger knows we've had numerous issues with Xen xn based networking and > FreeBSD guests over the years. We currently run VirtIO (vtnet) on > XenServer > 7.1 and it solves all these issues (it's probably not quite as > 'performant' > as xn - but it's close for what we're using it with - it is miles better > than e1000 performance). > > Unfortunately in XenServer 7.6 virtio is no longer compiled into Qemu fro= m > what I can see. XCP-ng has the same issue (as it's based on XenServer) - > so > virtio is currently not an option with XCP-ng either. > > e1000/rtl8139 will solve 'weirdness' (think of VM's routing traffic, doin= g > DHCP or VPN duties) - but virtio solves the same issues, with much better > performance. > > I've posted to the XCP-ng forums asking if virtio can be enabled in XCP-n= g > builds (as this is probably more likely that getting XenServer to release > with it enabled). > > Aside from getting Xen xn 'fixed' for the cases it currently fails (no > small undertaking from what I understand) - it leaves FreeBSD pretty much > stuck, at least for some usage cases. > > > Regards, > > -Karl > From owner-freebsd-net@freebsd.org Thu Jul 4 10:01:15 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD05F15CF07C; Thu, 4 Jul 2019 10:01:14 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from smtp.krpservers.com (smtp.krpservers.com [62.13.128.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.krpservers.com", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C1C389786; Thu, 4 Jul 2019 10:01:13 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from [10.12.30.106] (host165-120-77-244.range165-120.btcentralplus.com [165.120.77.244]) (authenticated bits=0) by smtp.krpservers.com (8.15.2/8.15.2) with ESMTPSA id x64A17tj077015 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Jul 2019 11:01:08 +0100 (BST) (envelope-from kpielorz_lst@tdx.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tdx.co.uk; s=krpdkim; t=1562234468; bh=HxfnP60J9LwjAJkxy43aDndOxikiCS4w20sTfNeHk/o=; h=Date:From:To:Subject; b=lamkrcvRiHn4S/nr/4QKsbkczOPewQ9YrGQg0zpWO9aEVG91JeehkvoABE4JwQpzE MyW6Z4I99m2+XoaTs4ntcOtzQC1mOz9hLI5vjYNXH0RRXYwV64uklUL1rOpdKg/Png hCUQcaTVW3CtHlDYz1zf/i03Og+XQ1SgS1u+Esqes0MwS0Rx6ur6RYh8WhqYH1Mxaj TqXRufbhjwiJ/DUipkDle4s4HuB6BiAc5eOm/8Hu6ZcpAIYqGackw3fLLs599gRLZd Y6MAlUZRUnldFJMsS7yWJl8YKXV7CRiqJ8p/ikmFsoT/MUqFuZYoFqegtaWR7Iim9A w4TszpTWVZUMQ== Date: Thu, 04 Jul 2019 11:00:56 +0100 From: Karl Pielorz To: Christian M cc: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , freebsd-xen@freebsd.org, Eugene Grosbein , freebsd-net@freebsd.org Subject: Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer Message-ID: <9BAF7DF10B3842D6ADEE168D@[10.12.30.106]> In-Reply-To: References: <9c377fe7-5546-9e0b-fac9-076dd094cbac@grosbein.net> <47bb1bfe-ac39-78d3-c9b9-17ff1896e0ec@grosbein.net> <20190627101901.3szaaxhp4xzjiay5@MacBook-Air-de-Roger.local> <20190704072354.6ycduisiidz5iy2x@Air-de-Roger> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Rspamd-Queue-Id: 5C1C389786 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tdx.co.uk header.s=krpdkim header.b=lamkrcvR; dmarc=pass (policy=none) header.from=tdx.co.uk; spf=pass (mx1.freebsd.org: domain of kpielorz_lst@tdx.co.uk designates 62.13.128.145 as permitted sender) smtp.mailfrom=kpielorz_lst@tdx.co.uk X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[tdx.co.uk:s=krpdkim]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:smtp.krpservers.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_IP_LITERAL(0.50)[]; DKIM_TRACE(0.00)[tdx.co.uk:+]; MX_GOOD(-0.01)[cached: mx0.krpservers.com]; DMARC_POLICY_ALLOW(-0.50)[tdx.co.uk,none]; NEURAL_HAM_SHORT(-0.42)[-0.419,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.37)[asn: 60969(-1.78), country: GB(-0.09)]; ASN(0.00)[asn:60969, ipnet:62.13.128.0/24, country:GB]; RCVD_COUNT_TWO(0.00)[2]; 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: Thu, 04 Jul 2019 10:01:15 -0000 --On 04 July 2019 10:59 +0200 Christian M wrote: > From my tests I found that 10.4-RELEASE was as fast as you could expect > (>10Gbit/s), then something changed in 11.0-RELEASE and carried on and got > even worse in 12.0-RELEASE. Would it not be a good idea to begin there > (10.4 -> 11.0), and try to identify what changes could impact the > performance drop so significantly? This is perhaps a much harder task than > it sounds for someone that knows nothing about what changes was made, and > how difficult it would be to identify what changes actually could be > relevant. Just a thought. Looking at FreeBSD source - there doesn't appear to be a lot that has changed (at least in sys/xen) even from 10.4 through to 12 - certainly nothing networking I can see (unless I'm using svn log 'wrong', or there's other xen stuff within FreeBSD I should be looking at). So this could be caused by other changes that have happened with the OS over that time. If I get time - I'll see if I can follow the thread and setup a similar test system here, to be fair we've not had a performance issue with Xen Networking (as nothing we do needs the performance - yet). We've been much more plagued by packet weirdness which virtio has fixed. Even if I can re-create things here - it may only be an "oh yeah, so it is" moment. -Kp From owner-freebsd-net@freebsd.org Thu Jul 4 10:44:46 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A79F15D0B2E for ; Thu, 4 Jul 2019 10:44:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BC2268B570 for ; Thu, 4 Jul 2019 10:44:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8013C15D0B1E; Thu, 4 Jul 2019 10:44:45 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E93215D0B1D for ; Thu, 4 Jul 2019 10:44:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0ACD58B56A for ; Thu, 4 Jul 2019 10:44:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 26D5715DF8 for ; Thu, 4 Jul 2019 10:44:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64AiiV0086555 for ; Thu, 4 Jul 2019 10:44:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64Aii9f086554 for net@FreeBSD.org; Thu, 4 Jul 2019 10:44:44 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 238656] qlxge: replace device_printf with QL_DPRINT2 in qls_os.c Date: Thu, 04 Jul 2019 10:44:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Thu, 04 Jul 2019 10:44:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238656 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 10:45:08 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A3ED15D0BDF for ; Thu, 4 Jul 2019 10:45:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F398D8B5EC for ; Thu, 4 Jul 2019 10:45:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B787B15D0BD9; Thu, 4 Jul 2019 10:45:07 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A612B15D0BD7 for ; Thu, 4 Jul 2019 10:45:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 455208B5E3 for ; Thu, 4 Jul 2019 10:45:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6EF2015DFB for ; Thu, 4 Jul 2019 10:45:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64Aj61M087138 for ; Thu, 4 Jul 2019 10:45:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64Aj6Re087137 for net@FreeBSD.org; Thu, 4 Jul 2019 10:45: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 238655] qlxgbe: replace device_printf with QL_DPRINT2 in ql_os.c Date: Thu, 04 Jul 2019 10:45:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Thu, 04 Jul 2019 10:45:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238655 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Assignee|bugs@FreeBSD.org |net@FreeBSD.org Summary|[qlxgbe: replace |qlxgbe: replace |device_printf with |device_printf with |QL_DPRINT2 in ql_os.c |QL_DPRINT2 in ql_os.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 10:45:22 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0290315D0C4D for ; Thu, 4 Jul 2019 10:45:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8FDB38B65A for ; Thu, 4 Jul 2019 10:45:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4E52715D0C42; Thu, 4 Jul 2019 10:45:21 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CCE415D0C40 for ; Thu, 4 Jul 2019 10:45:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F25E78B655 for ; Thu, 4 Jul 2019 10:45:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1E2A815E04 for ; Thu, 4 Jul 2019 10:45:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64AjJGC087592 for ; Thu, 4 Jul 2019 10:45:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64AjJb2087591 for net@FreeBSD.org; Thu, 4 Jul 2019 10:45:19 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 238653] qlxgbe: Fix pointer printing in ql_ioctl.c Date: Thu, 04 Jul 2019 10:45:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Thu, 04 Jul 2019 10:45:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238653 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 10:52:41 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDE5015D150B for ; Thu, 4 Jul 2019 10:52:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5176E8BF72 for ; Thu, 4 Jul 2019 10:52:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0BDD015D1506; Thu, 4 Jul 2019 10:52:41 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE6B215D1505 for ; Thu, 4 Jul 2019 10:52:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8590C8BF6D for ; Thu, 4 Jul 2019 10:52:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9E05B15FA6 for ; Thu, 4 Jul 2019 10:52:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64Aqd8u003424 for ; Thu, 4 Jul 2019 10:52:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64Aqdfs003423 for net@FreeBSD.org; Thu, 4 Jul 2019 10:52: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 238646] qlnx: qlnxe: Fix kernel address leakage in qlnx_rdma.c Date: Thu, 04 Jul 2019 10:52:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Thu, 04 Jul 2019 10:52:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238646 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 10:53:48 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A53315D1651 for ; Thu, 4 Jul 2019 10:53:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1B78C0D6 for ; Thu, 4 Jul 2019 10:53:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5A7A515D164C; Thu, 4 Jul 2019 10:53:47 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48DD815D164A for ; Thu, 4 Jul 2019 10:53:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6ABF8C0CE for ; Thu, 4 Jul 2019 10:53:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0FDA615FAE for ; Thu, 4 Jul 2019 10:53:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64Arj4T004514 for ; Thu, 4 Jul 2019 10:53:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64ArjBI004512 for net@FreeBSD.org; Thu, 4 Jul 2019 10:53:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238642] netmap: fix kernel pointer printing in netmap_generic.c Date: Thu, 04 Jul 2019 10:53:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Thu, 04 Jul 2019 10:53:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238642 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 10:54:14 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8294015D16E1 for ; Thu, 4 Jul 2019 10:54:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 15D9D8C14D for ; Thu, 4 Jul 2019 10:54:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C877515D16DC; Thu, 4 Jul 2019 10:54:13 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5B9415D16DB for ; Thu, 4 Jul 2019 10:54:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CEE58C142 for ; Thu, 4 Jul 2019 10:54:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5155115FB2 for ; Thu, 4 Jul 2019 10:54:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64AsCe9004998 for ; Thu, 4 Jul 2019 10:54:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64AsCng004997 for net@FreeBSD.org; Thu, 4 Jul 2019 10:54:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238641] netmap: Remove pointer printing in netmap_mem2.c Date: Thu, 04 Jul 2019 10:54:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Thu, 04 Jul 2019 10:54:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238641 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 10:59:54 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FB6215D1BE4 for ; Thu, 4 Jul 2019 10:59:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BEC448C595 for ; Thu, 4 Jul 2019 10:59:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 82DA715D1BE0; Thu, 4 Jul 2019 10:59:53 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7167C15D1BDE for ; Thu, 4 Jul 2019 10:59:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D4DA88C58D for ; Thu, 4 Jul 2019 10:59:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 22EFF15FC1 for ; Thu, 4 Jul 2019 10:59:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64Axqfb011029 for ; Thu, 4 Jul 2019 10:59:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64AxqmR011027 for net@FreeBSD.org; Thu, 4 Jul 2019 10:59: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 238540] mlx5en(4): no link for MT27710 Family [ConnectX-4 Lx] Date: Thu, 04 Jul 2019 10:59:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Thu, 04 Jul 2019 10:59:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238540 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 11:02:21 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5F5B15D1F7B for ; Thu, 4 Jul 2019 11:02:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 64B3F8C99B for ; Thu, 4 Jul 2019 11:02:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 22C6115D1F76; Thu, 4 Jul 2019 11:02:21 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1141B15D1F74 for ; Thu, 4 Jul 2019 11:02:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A50B58C994 for ; Thu, 4 Jul 2019 11:02:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EC33D1612A for ; Thu, 4 Jul 2019 11:02:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64B2J6L022791 for ; Thu, 4 Jul 2019 11:02:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64B2Jt0022790 for net@FreeBSD.org; Thu, 4 Jul 2019 11:02:19 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 238324] Add XG-C100C/AQtion AQC107 10GbE NIC driver Date: Thu, 04 Jul 2019 11:02:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Thu, 04 Jul 2019 11:02:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238324 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 21:12:34 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1904615DE459 for ; Thu, 4 Jul 2019 21:12:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A3409723AA for ; Thu, 4 Jul 2019 21:12:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 60CBD15DE458; Thu, 4 Jul 2019 21:12:33 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F2C115DE457 for ; Thu, 4 Jul 2019 21:12:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD980723A4 for ; Thu, 4 Jul 2019 21:12:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 220241B794 for ; Thu, 4 Jul 2019 21:12:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64LCW4q017845 for ; Thu, 4 Jul 2019 21:12:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64LCWsx017837 for net@FreeBSD.org; Thu, 4 Jul 2019 21:12:32 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 238642] netmap: fix kernel pointer printing in netmap_generic.c Date: Thu, 04 Jul 2019 21:12:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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.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: Thu, 04 Jul 2019 21:12:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238642 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: vmaffione Date: Thu Jul 4 21:11:45 UTC 2019 New revision: 349752 URL: https://svnweb.freebsd.org/changeset/base/349752 Log: netmap: fix kernel pointer printing in netmap_generic.c Print the adapter name rather than the address of the adapter to avoid kernel address leakage. PR: Bug 238642 Submitted by: Fuqian Huang Reviewed by: vmaffione MFC after: 1 week Changes: head/sys/dev/netmap/netmap_generic.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 21:32:52 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D79815DEA31 for ; Thu, 4 Jul 2019 21:32:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B8A3B72E3B for ; Thu, 4 Jul 2019 21:32:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7B43715DEA30; Thu, 4 Jul 2019 21:32:51 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6871815DEA2F for ; Thu, 4 Jul 2019 21:32:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0502F72E36 for ; Thu, 4 Jul 2019 21:32:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4A8401BA75 for ; Thu, 4 Jul 2019 21:32:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64LWoag036498 for ; Thu, 4 Jul 2019 21:32:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64LWop5036497 for net@FreeBSD.org; Thu, 4 Jul 2019 21:32:50 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 238641] netmap: Remove pointer printing in netmap_mem2.c Date: Thu, 04 Jul 2019 21:32:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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.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: Thu, 04 Jul 2019 21:32:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238641 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: vmaffione Date: Thu Jul 4 21:31:50 UTC 2019 New revision: 349753 URL: https://svnweb.freebsd.org/changeset/base/349753 Log: netmap: Remove pointer leakage in netmap_mem2.c PR: 238641 Submitted by: Fuqian Huang Reviewed by: vmaffione MFC after: 1 week Changes: head/sys/dev/netmap/netmap_mem2.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 21:40:29 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9E4B15DEB89 for ; Thu, 4 Jul 2019 21:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8534172F94 for ; Thu, 4 Jul 2019 21:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4505915DEB88; Thu, 4 Jul 2019 21:40:28 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31FC715DEB87 for ; Thu, 4 Jul 2019 21:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA73D72F90 for ; Thu, 4 Jul 2019 21:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 04E551BA82 for ; Thu, 4 Jul 2019 21:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64LeQp7044578 for ; Thu, 4 Jul 2019 21:40:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64LeQ6x044577 for net@FreeBSD.org; Thu, 4 Jul 2019 21:40:26 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 238641] netmap: Remove pointer printing in netmap_mem2.c Date: Thu, 04 Jul 2019 21:40:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vmaffione@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc 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.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: Thu, 04 Jul 2019 21:40:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238641 Vincenzo Maffione changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |vmaffione@FreeBSD.org Status|New |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 4 21:40:45 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00A5A15DEBA1 for ; Thu, 4 Jul 2019 21:40:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8BADD72FD6 for ; Thu, 4 Jul 2019 21:40:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4F05F15DEB9D; Thu, 4 Jul 2019 21:40:44 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C2EF15DEB9C for ; Thu, 4 Jul 2019 21:40:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB76C72FD3 for ; Thu, 4 Jul 2019 21:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 08FD61BA8F for ; Thu, 4 Jul 2019 21:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x64Legrk045830 for ; Thu, 4 Jul 2019 21:40:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x64Leg31045828 for net@FreeBSD.org; Thu, 4 Jul 2019 21:40:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238642] netmap: fix kernel pointer printing in netmap_generic.c Date: Thu, 04 Jul 2019 21:40:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vmaffione@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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: Thu, 04 Jul 2019 21:40:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238642 Vincenzo Maffione changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed CC| |vmaffione@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Jul 5 12:08:32 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E9D315C934F for ; Fri, 5 Jul 2019 12:08:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A97C06CB5F for ; Fri, 5 Jul 2019 12:08:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 69FA415C934E; Fri, 5 Jul 2019 12:08:31 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5882015C934D for ; Fri, 5 Jul 2019 12:08:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBB5D6CB5B for ; Fri, 5 Jul 2019 12:08:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4682537B4 for ; Fri, 5 Jul 2019 12:08:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x65C8UcM035742 for ; Fri, 5 Jul 2019 12:08:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x65C8UVg035738 for net@FreeBSD.org; Fri, 5 Jul 2019 12:08:30 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 238540] mlx5en(4): no link for MT27710 Family [ConnectX-4 Lx] Date: Fri, 05 Jul 2019 12:08:30 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Fri, 05 Jul 2019 12:08:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238540 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #2 from Piotr Kubaj --- (In reply to Slava Shwartsman from comment #1) Yes, it looks like it was about that. Sorry for the wrong bug. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Jul 5 12:08:38 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6A8A15C936B for ; Fri, 5 Jul 2019 12:08:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA8B6CB70 for ; Fri, 5 Jul 2019 12:08:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 007D215C936A; Fri, 5 Jul 2019 12:08:38 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E349515C9369 for ; Fri, 5 Jul 2019 12:08:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 803D56CB6A for ; Fri, 5 Jul 2019 12:08:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D4F6C37BB for ; Fri, 5 Jul 2019 12:08:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x65C8a4M036977 for ; Fri, 5 Jul 2019 12:08:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x65C8axZ036973 for net@FreeBSD.org; Fri, 5 Jul 2019 12:08: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 238540] mlx5en(4): no link for MT27710 Family [ConnectX-4 Lx] Date: Fri, 05 Jul 2019 12:08:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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: Fri, 05 Jul 2019 12:08:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238540 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |Works As Intended --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jul 6 05:29:30 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9328315DE01D for ; Sat, 6 Jul 2019 05:29:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2905D739CC for ; Sat, 6 Jul 2019 05:29:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D750E15DE012; Sat, 6 Jul 2019 05:29:29 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C433415DE011 for ; Sat, 6 Jul 2019 05:29:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59DC8739C5 for ; Sat, 6 Jul 2019 05:29:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7884ACDA8 for ; Sat, 6 Jul 2019 05:29:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x665TS4Q079129 for ; Sat, 6 Jul 2019 05:29:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x665TSuA079128 for net@FreeBSD.org; Sat, 6 Jul 2019 05:29:28 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 219428] em network driver broken in current Date: Sat, 06 Jul 2019 05:29:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: arkadiusz.majewski@iptrace.pl X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Sat, 06 Jul 2019 05:29:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219428 --- Comment #22 from IPTRACE --- Please open the bug, the problem still occurs. FreeBSD 12.0-RELEASE-p7 Use case: 1. All was working. 2. I detached Ethernet cable from modem side. 3. Connected again and saw "no carrier" on igb0 interface. 4. System logged as follow: Jul 5 22:31:35 hpv kernel: igb0: TX(0) desc avail =3D 1024, pidx =3D= 0 Jul 5 22:31:38 hpv kernel: igb0: TX(0) desc avail =3D 1024, pidx =3D= 0 Jul 5 22:31:40 hpv kernel: igb0: TX(0) desc avail =3D 1024, pidx =3D= 0 5. I was trying "server:# service netif restart igb0 && service routing restart" without success. 6. Resarted OS to back to normal. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jul 6 08:01:38 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CC1215E6DFF for ; Sat, 6 Jul 2019 08:01:38 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2879680D23 for ; Sat, 6 Jul 2019 08:01:31 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-67-180-169-236.hsd1.ca.comcast.net [67.180.169.236]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id x6681Nvs038313 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sat, 6 Jul 2019 01:01:24 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-67-180-169-236.hsd1.ca.comcast.net [67.180.169.236] claimed to be yv.noip.me To: "freebsd-net@freebsd.org" From: Yuri Subject: How to set up ipfw(8) NAT between an alias and the main IP address, when the alias is in another network? Message-ID: <8e388abc-f2ac-b070-cf86-a4d3971ac095@rawbw.com> Date: Sat, 6 Jul 2019 01:01:22 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 2879680D23 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of yuri@rawbw.com designates 198.144.192.42 as permitted sender) smtp.mailfrom=yuri@rawbw.com X-Spamd-Result: default: False [-4.51 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.144.192.32/27]; HAS_XAW(0.00)[]; MX_GOOD(-0.01)[mx.rawbw.net]; NEURAL_HAM_SHORT(-0.71)[-0.710,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/20, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[236.169.180.67.zen.spamhaus.org : 127.0.0.10]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; 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)[rawbw.com]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.59)[ip: (-5.85), ipnet: 198.144.192.0/20(-3.32), asn: 7961(-3.72), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[42.192.144.198.list.dnswl.org : 127.0.10.0]; TO_DN_EQ_ADDR_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: Sat, 06 Jul 2019 08:01:38 -0000 My network interface looks like this: sk0: flags=8843 metric 0 mtu 1500     options=80009     ether 01:3c:47:8a:17:12     inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255     inet 192.168.100.2 netmask 0xffffffff broadcast 192.168.100.2     media: Ethernet autoselect (100baseTX )     status: active     nd6 options=29 The second IP address is an alias that is used for jail. I would like to set up NAT so that this jail would access the internet through the same interface. I tried this script: fw="/sbin/ipfw -q" $fw nat 1 config redirect_addr 192.168.100.2 192.168.1.2 redirect_addr 192.168.1.2 192.168.100.2 if sk0 unreg_only reset $fw add 1001 nat 1 tcp from 192.168.100.2/32 to any via sk0 keep-state $fw add 1002 check-state The rule 1001 has keep-state, therefore it should process both outgoing tcp and incoming response packets. But the outbound packets are NATted, but the inbound ones are not. What is wrong, and how to fix this script? Thank you, Yuri