From owner-freebsd-net@freebsd.org Sun Apr 15 08:52:15 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07BCCFA4F22 for ; Sun, 15 Apr 2018 08:52:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 902786FD1D for ; Sun, 15 Apr 2018 08:52:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4F642FA4F13; Sun, 15 Apr 2018 08:52:14 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2ADEAFA4F12 for ; Sun, 15 Apr 2018 08:52:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9AD86FD16 for ; Sun, 15 Apr 2018 08:52: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 A62B7457A for ; Sun, 15 Apr 2018 08:52: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 w3F8qCPD059266 for ; Sun, 15 Apr 2018 08:52:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3F8qCDu059256 for net@FreeBSD.org; Sun, 15 Apr 2018 08:52:12 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 225066] CVE-2016-10396 security/ipsec-tools Date: Sun, 15 Apr 2018 08:52:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 08:52:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225066 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: eugen Date: Sun Apr 15 08:51:12 UTC 2018 New revision: 467375 URL: https://svnweb.freebsd.org/changeset/ports/467375 Log: MFH: r467313 security/ipsec-tools: fix CVE-2016-10396 The racoon daemon in IPsec-Tools 0.8.2 contains a remotely exploitable computational-complexity attack when parsing and storing ISAKMP fragments. The implementation permits a remote attacker to exhaust computational resources on the remote endpoint by repeatedly sending ISAKMP fragment packets in a particular order such that the worst-case computational complexity is realized in the algorithm utilized to determine if reassembly of the fragments can take place. The fix obtained from NetBSD CVS head with a command: cvs diff -D 2017-01-24 -D 2017-09-01 \ src/racoon/handler.h \ src/racoon/isakmp.c \ src/racoon/isakmp_frag.c \ src/racoon/isakmp_inf.c While here, add LICENSE. PR: 225066 Approved by: ports-secteam (riggs) Obtained from: NetBSD Security: CVE-2016-10396 Security:=20=20=20=20 https://www.vuxml.org/freebsd/974a6d32-3fda-11e8-aea4-001b216d295b.html Changes: _U branches/2018Q2/ branches/2018Q2/security/ipsec-tools/Makefile branches/2018Q2/security/ipsec-tools/files/patch-handler.c branches/2018Q2/security/ipsec-tools/files/patch-isakmp.c branches/2018Q2/security/ipsec-tools/files/patch-isakmp_frag.c branches/2018Q2/security/ipsec-tools/files/patch-isakmp_inf.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun Apr 15 11:10:38 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78EA5F88F27 for ; Sun, 15 Apr 2018 11:10:38 +0000 (UTC) (envelope-from niels@kobschaetzki.net) Received: from hatchetman.psychedelicpirate.com (unknown [IPv6:2001:1560:a000:2:d24c:4cfd:13f6:51c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C74A76E8D1 for ; Sun, 15 Apr 2018 11:10:37 +0000 (UTC) (envelope-from niels@kobschaetzki.net) Received: from hatchetman.psychedelicpirate.com (localhost [127.0.0.1]) by hatchetman.psychedelicpirate.com (OpenSMTPD) with ESMTP id 7b289767; Sun, 15 Apr 2018 13:10:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=kobschaetzki.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s= selector1; bh=65Z+9+xgfYzJG5m9VH9JSFyv+sM=; b=gcWb6L/sQqKpvjBmXP Hqex9eNParl0icfyyABeNvhnabJB1ZX4GKOHvdJxOrMBUTzB5pRgGSDHEXOCyJep wZKAUL+HmXTokcbZshCPmhuvwZK/5jadCXNYkiNQ9LMcGOXMWam6gaDpHRozQ2ac lWFAUt6Gw+c714AvpP307k+uo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=kobschaetzki.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= selector1; b=esEn5jWgCP8x3B1UHnLI10HPNDdKPWJXnQ0dSUAAFjFBmoNBipb hPv+Gw/JedYTkUo6CsH3yVV9NdgDV3xCxtaDsxVZvVgJykifI7fdaYcEAMNVx/Q0 H9ScHcV0cgGjIxkk3QkLGIJ5rq5SGplZu0WiHVIpS1DnJvBkMjQHC69o= Received: from hatchetman.psychedelicpirate.com (localhost [127.0.0.1]) by hatchetman.psychedelicpirate.com (OpenSMTPD) with ESMTP id ec15ba85; Sun, 15 Apr 2018 13:10:25 +0200 (CEST) Received: from [10.212.124.176] (tmo-103-177.customers.d1-online.com [80.187.103.177]) by mail.kobschaetzki.net (OpenSMTPD) with ESMTPSA id 68b9e2c6 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 15 Apr 2018 13:10:25 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release From: Niels Kobschaetzki X-Mailer: iPhone Mail (15E216) In-Reply-To: Date: Sun, 15 Apr 2018 13:10:24 +0200 Cc: "freebsd-net@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <36907CE0-EAD3-4E11-8023-5BCEA1239813@kobschaetzki.net> References: To: Rick Macklem X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 11:10:38 -0000 > On 15. Apr 2018, at 01:18, Rick Macklem wrote: >=20 > Niels Kobsch=C3=A4tzki wrote: >>> On 04/14/2018 03:49 AM, Rick Macklem wrote: >>> Niels Kobsch=C3=A4tzki wrote: >>>> sorry for the cross-posting but so far I had no real luck on the forum >>>> or on question, thus I want to try my luck here as well. >>> I read email lists but don't do the other stuff, so I just saw this yest= erday. >>> Short answer, I haven't a clue why cache hits rate would have changed. >>>=20 >>> The code that decides if there is a hit/miss for the attribute cache is i= n >>> ncl_getattrcache() and the code hasn't changed between 10.3->11.1, >>> except the old code did a mtx_lock(&Giant), but I can't imagine how that= >>> would affect the code. >>>=20 >>> You might want to: >>> # sysctl -a | fgrep vfs.nfs >>> for both the 10.3 and 11.1 systems, to check if any defaults have someho= w >>> been changed. (I don't recall any being changed, but??) >>=20 >> I did that and there did nothing change. >>=20 >>> If you go into ncl_getattrcache() {it's in sys/fs/nfsclient/nfs_clsubs.c= } >>> and add a printf() for "time_second" and "np->n_mtime.tv_sec" near the >>> top, where it calculates "timeo" from it. >>> Running this hacked kernel might show you if either of these fields is b= ogus. >>> (You could then printf() "timeo" and "np->n_attrtimeo" just before the "= if" >>> clause that increments "attrcache_misses", which is where the cache miss= es >>> happen to see why it is missing the cache.) >>> If you could do this for the 10.3 kernel as well, this might indicate wh= y the >>> miss rate has increased? >>=20 >> I will do this next week. On monday we switch for other reasons to other >> nfs-servers and when we see that they run stable, I will do this next. > With a miss rate of 2.7%, I doubt printing the above will help. I thought > you were seeing a high miss rate. It is low but increased by nearly a factor of 1000 to before. I hope the pri= nt will help. Just a lot of grepping through wherever I can get this data.=20= >> Btw. I calculated now the percentages. The old servers had a attr miss >> rate of something like 0.004%, while the upgraded one has more like >> 2.7%. This is till low from what I've read (I remember that you should >> start adjusting acreg* when you hit more than 40% misses) but far higher >> than before. > You could try increasing acregmin, acregmax and see if the misses are redu= ced. > (The only risk with increasing the cache timeout is that, if another clien= t changes > the attributes, then the client will use stale ones for longer. Usually, t= his doesn't > cause serious problems.) I tried that and it had exactly no effect > To be honest, a Getattr RPC is pretty low overhead, so I doubt the increas= e > to 2.7% will affect your application's performance, but it is interesting t= hat > it increased. It is a website with quite some traffic handles by three webservers behind a= pair of loadbalancers.=20 We see a loss of 20% in speed(TTFB reduced by 100ms; sounds not a lot but Go= ogle et al doesn=E2=80=99t like it at all) after upgrading to 11.1 with a co= mbined upgrade to php7.1. On another server without NFS that upgrade improve= d performance considerably (I was told ca 30% by the front end-dev) > You might also try increasing acdirmin, acdirmax in case it is the directo= ry > attributes that are having cache misses. I did that, too > Oh, and check that your time of day clocks are in sync with the server, > since the caches are time based, since there is no cache coherency protoco= l > in NFS. I checked that. All three frontends are using the same server for ntp Thanks so far, Niels= From owner-freebsd-net@freebsd.org Sun Apr 15 12:58:58 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A129F90CE2 for ; Sun, 15 Apr 2018 12:58:58 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670063.outbound.protection.outlook.com [40.107.67.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC78C85CF3 for ; Sun, 15 Apr 2018 12:58:57 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM (52.132.66.153) by YQBPR0101MB1555.CANPRD01.PROD.OUTLOOK.COM (52.132.69.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.9; Sun, 15 Apr 2018 12:58:55 +0000 Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a]) by YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a%13]) with mapi id 15.20.0675.015; Sun, 15 Apr 2018 12:58:54 +0000 From: Rick Macklem To: Niels Kobschaetzki CC: "freebsd-net@freebsd.org" Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release Thread-Topic: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release Thread-Index: AQHT0qiQifFFt12p/0eGRV3S1dRLRqP/ezZKgAA+WICAASn0RIAAy+AAgAAcWdY= Date: Sun, 15 Apr 2018 12:58:54 +0000 Message-ID: References: , <36907CE0-EAD3-4E11-8023-5BCEA1239813@kobschaetzki.net> In-Reply-To: <36907CE0-EAD3-4E11-8023-5BCEA1239813@kobschaetzki.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQBPR0101MB1555; 7:RRsk1Cs2ayjKS21qL/JUl84KdYtNeoYMpKaif16a8sb1EOZYvZYT6GlM/AwIol3PnUNq4G+CtKBfc+30fTTKcTLZ7iVH7gpeiBFj+y1T9rkI2iU0XtJWTakyU5OXiPXOagaaXLXanoBGTvS9RI6UJqssDEEJRxI+cuwnNU+n81yk2vh3J4RdKIWTMNq80p6Ke+gr2HR+r7NtxbjAHZ+r0b40KqPpKsXBT8GO0jrUE/nTG3QUn8WAH1C2VSgojL9S x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:YQBPR0101MB1555; x-ms-traffictypediagnostic: YQBPR0101MB1555: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231232)(944501327)(52105095)(10201501046)(6041310)(20161123558120)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:YQBPR0101MB1555; BCL:0; PCL:0; RULEID:; SRVR:YQBPR0101MB1555; x-forefront-prvs: 0643BDA83C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(376002)(39380400002)(346002)(396003)(199004)(189003)(5250100002)(14454004)(229853002)(6916009)(25786009)(8936002)(33656002)(8676002)(81156014)(74482002)(81166006)(4326008)(97736004)(786003)(316002)(478600001)(6506007)(59450400001)(5660300001)(76176011)(99286004)(7696005)(305945005)(74316002)(446003)(11346002)(476003)(486006)(186003)(102836004)(26005)(93886005)(105586002)(9686003)(86362001)(53936002)(2906002)(3660700001)(68736007)(3280700002)(55016002)(2900100001)(6246003)(106356001)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB1555; H:YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: jvlMsoehPQksaG2HyuWqg3LYfneT/981Pr3zjPLWNEWg52rXplUSIKmXJiJR1WePWRXWaCVojRiV7yCpIiB0Sc3pHHruKhbYYBYRWgeNHIIYy4/wwMg5EQL7qkYVASke2mIr9YO+Sjk8K8QqtsXFC2qIQPobvPE1e141xxNHevxN21dGjMs+dkp6XObERZCR spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f6d693f4-515a-4e4b-9407-08d5a2d0a514 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: f6d693f4-515a-4e4b-9407-08d5a2d0a514 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2018 12:58:54.8967 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB1555 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 12:58:58 -0000 Niels Kobschaetzki wrote: [stuff snipped] >It is a website with quite some traffic handles by three webservers behind= a pair >of loadbalancers. >We see a loss of 20% in speed(TTFB reduced by 100ms; sounds not a lot but = >Google et al doesn=92t like it at all) after upgrading to 11.1 with a comb= ined upgrade >to php7.1. On another server without NFS that upgrade improve= d performance >considerably (I was told ca 30% by the front end-dev) One thing you could try is booting the 11.1 kernel on an 10.3 system. Newer FreeBSD kernels should work with older userland. This would tell you if it is kernel changes or userland changes that are ca= using the higher miss rate. Good luck with it, rick= From owner-freebsd-net@freebsd.org Sun Apr 15 13:36:30 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5659F933C7 for ; Sun, 15 Apr 2018 13:36:30 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 334B46D508 for ; Sun, 15 Apr 2018 13:36:29 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w3FDaLng036471 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 15 Apr 2018 15:36:22 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: rmacklem@uoguelph.ca Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w3FDaHrh067363 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sun, 15 Apr 2018 20:36:17 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release To: Rick Macklem , Niels Kobschaetzki References: <36907CE0-EAD3-4E11-8023-5BCEA1239813@kobschaetzki.net> Cc: "freebsd-net@freebsd.org" From: Eugene Grosbein Message-ID: <5AD3554C.8030906@grosbein.net> Date: Sun, 15 Apr 2018 20:36:12 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 13:36:30 -0000 15.04.2018 19:58, Rick Macklem wrote: > Niels Kobschaetzki wrote: > [stuff snipped] >> It is a website with quite some traffic handles by three webservers behind a pair >of loadbalancers. >> We see a loss of 20% in speed(TTFB reduced by 100ms; sounds not a lot but >Google et al doesn’t like it at all) after upgrading to 11.1 with a combined upgrade >to php7.1. On another server without NFS that upgrade improved performance >considerably (I was told ca 30% by the front end-dev) > One thing you could try is booting the 11.1 kernel on an 10.3 system. Newer > FreeBSD kernels should work with older userland. Though one should remember that some important system utilities may and probably will not work with newer kernel, like /sbin/ipfw, route, ifconfig, netstat etc. > This would tell you if it is kernel changes or userland changes that are causing > the higher miss rate. From owner-freebsd-net@freebsd.org Sun Apr 15 14:19:41 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5644F967A7 for ; Sun, 15 Apr 2018 14:19:41 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CE49764BA for ; Sun, 15 Apr 2018 14:19:40 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w3FEJVSS046363; Sun, 15 Apr 2018 07:19:31 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w3FEJVi4046362; Sun, 15 Apr 2018 07:19:31 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201804151419.w3FEJVi4046362@pdx.rh.CN85.dnsmgr.net> Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release In-Reply-To: <5AD3554C.8030906@grosbein.net> To: Eugene Grosbein Date: Sun, 15 Apr 2018 07:19:31 -0700 (PDT) CC: Rick Macklem , Niels Kobschaetzki , "freebsd-net@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 14:19:41 -0000 [ Charset windows-1252 unsupported, converting... ] > 15.04.2018 19:58, Rick Macklem wrote: > > > Niels Kobschaetzki wrote: > > [stuff snipped] > >> It is a website with quite some traffic handles by three webservers behind a pair >of loadbalancers. > >> We see a loss of 20% in speed(TTFB reduced by 100ms; sounds not a lot but >Google et al doesn?t like it at all) after upgrading to 11.1 with a combined upgrade >to php7.1. On another server without NFS that upgrade improved performance >considerably (I was told ca 30% by the front end-dev) > > One thing you could try is booting the 11.1 kernel on an 10.3 system. Newer > > FreeBSD kernels should work with older userland. > > Though one should remember that some important system utilities > may and probably will not work with newer kernel, like /sbin/ipfw, route, > ifconfig, netstat etc. I thought that as long as the newer kernel has the right COMPAT_FREEBSD10 compiled in that all this stuff should work. Am I miss understanding this kernel option? > > > This would tell you if it is kernel changes or userland changes that are causing > > the higher miss rate. > -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-net@freebsd.org Sun Apr 15 14:28:10 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87887F970F5 for ; Sun, 15 Apr 2018 14:28:10 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0844276A93 for ; Sun, 15 Apr 2018 14:28:09 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w3FES1Jx036783 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 15 Apr 2018 16:28:02 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-rwg@pdx.rh.CN85.dnsmgr.net Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w3FERsKN067782 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sun, 15 Apr 2018 21:27:54 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release To: "Rodney W. Grimes" References: <201804151419.w3FEJVi4046362@pdx.rh.CN85.dnsmgr.net> Cc: Rick Macklem , Niels Kobschaetzki , "freebsd-net@freebsd.org" From: Eugene Grosbein Message-ID: <5AD36164.4000406@grosbein.net> Date: Sun, 15 Apr 2018 21:27:48 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <201804151419.w3FEJVi4046362@pdx.rh.CN85.dnsmgr.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 14:28:10 -0000 15.04.2018 21:19, Rodney W. Grimes wrote: >>>> It is a website with quite some traffic handles by three webservers behind a pair >of loadbalancers. >>>> We see a loss of 20% in speed(TTFB reduced by 100ms; sounds not a lot but >Google et al doesn?t like it at all) after upgrading to 11.1 with a combined upgrade >to php7.1. On another server without NFS that upgrade improved performance >considerably (I was told ca 30% by the front end-dev) >>> One thing you could try is booting the 11.1 kernel on an 10.3 system. Newer >>> FreeBSD kernels should work with older userland. >> >> Though one should remember that some important system utilities >> may and probably will not work with newer kernel, like /sbin/ipfw, route, >> ifconfig, netstat etc. > > I thought that as long as the newer kernel has the right > COMPAT_FREEBSD10 compiled in that all this stuff should work. > Am I miss understanding this kernel option? COMPAT_FREEBSD10 does not cover all cases (in-kernel structures etc.) and bugs can happen, too. You won't be happy if you discover similar case in /sbin/ipfw or ifconfig as this combination (old ipfw+new kernel) is not something we test thoroughly. From owner-freebsd-net@freebsd.org Sun Apr 15 20:30:47 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 324F2F8A447 for ; Sun, 15 Apr 2018 20:30:47 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: from mail-ot0-x22b.google.com (mail-ot0-x22b.google.com [IPv6:2607:f8b0:4003:c0f::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B666069FEB for ; Sun, 15 Apr 2018 20:30:46 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: by mail-ot0-x22b.google.com with SMTP id h55-v6so15214999ote.9 for ; Sun, 15 Apr 2018 13:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+CD5FIuTB/9KegKNEooONsIl/BqU1vk0uFqPwRR729g=; b=HCMVLHaGAGe31CiZ2nXxn8q10UMmcSNI6BDhSfr8AZQIWj6JmZQzicPV2ubEwINHMZ 8dVd7OWuORAsp0tutBOUKslUF+dU1Zo/ERCQueETsFRyF/FkUyL6nqEEiEHzTSPdaiCB VyouQ3D7f8iKpT21AMHBX6dARpJtCcKO/dPiVKFgekEZKrGCqaAnAtGLXfpNHlf37iDR dVLExOFr3YaP58lzjoNhFCwJi6LXzFFTGZaCocaTHR9rDN0R0edBe+RthZFcBYukf0XE Nvx2texypkNJVtVps4tuh2vjDICJz2s5DF3/ynRLxpm5c47nB819Djb+EiuGuIdyq3HL xgSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+CD5FIuTB/9KegKNEooONsIl/BqU1vk0uFqPwRR729g=; b=RmsUomTqNCiMnOKupvB5gAGewi7WsMv0TkzzyK6t6nCmnClDYP0IXw6wL1TMgfEcv1 6E2/cKBZ2NhaXd+xHjnXl4I+tWfd8ZaLP1EVgxgyX3vRDcXcIgK4mST98mAcWKFYkSmA LrN787RIVjoOwoxCwcQyq811w9MJcRaq7ed5QmHCDFS4XqC/BDDNhqW/ji3wTfXqxKSA GFY5Jz/gciUld0G8plF71nbbn3rYPvhfep8jBVxEb1CEUccUEAc2l0EHahZ1TC3HO6l5 XzNV8QzeiubGjxAI5R7vGsjd4vv8AoKJYIOUU4OtGl1pcHrhBSrUI4A8fGf4/ro2VeMU t5CQ== X-Gm-Message-State: ALQs6tDnrhFFQ3CQQQZmMhiv662JoDvpowZJwxhlVGMJriD5HkVeIOmY /YNWSwi0yfQBMIfBvc0jUl1w1YqqAwORVW7H4SQPkdYK X-Google-Smtp-Source: AIpwx48ODV+saKcMla8Fna6k7D4KR/yWJJ8k7lwnYmCxrm2Dk22+XWOpPwY1CITUj/yxzNuNWMyeVweh1e/pcy9y92Q= X-Received: by 2002:a9d:28c6:: with SMTP id s64-v6mr9459448ota.346.1523824245882; Sun, 15 Apr 2018 13:30:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.201.97.213 with HTTP; Sun, 15 Apr 2018 13:30:45 -0700 (PDT) From: Nick Wolff Date: Sun, 15 Apr 2018 16:30:45 -0400 Message-ID: Subject: QOS/TOS in carp/freebsd in general To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 20:30:47 -0000 Hi, I currently have a review in to make carp use dscp values on outgoing packets. This will make it easier to preform QOS on modern switches as we have been able to drive carp insane on 10g links while throwing storage traffic at it.On an interesting side note apparently after 64k mac address moves for a single mac address in the cam table arista 7050t seems to with out warning give up and stop moving address but leaves it in the table where ever it last was. I was originally going to just toggle between cs7 and the old TOS low delay setting. But it was requested that I just make it a settable Integer value. In this case I'm planning to do 0-63 to match dscp with a default of 54 (CS7) (Network Control) but you could still set the old value by setting the sysctl to 4. Anything larger then 64 would be truncated as two shifts are needed to align with the field leading. Does anybody do anything anywhere with the old TOS values like low delay in there networking infrastructure? Should this be updated in other places in kernel and userland? It's been 20 years since TOS was deprecated and replaced with DSCP. Any other comments or thought are always welcome. References: Open Review - https://reviews.freebsd.org/D14536 General DSCP reference - https://www.tucny.com/Home/dscp-tos Thanks, Nick "darkfiberiru" Wolff From owner-freebsd-net@freebsd.org Sun Apr 15 21:01:27 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0548F8C9AF for ; Sun, 15 Apr 2018 21:01:27 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 568A770364 for ; Sun, 15 Apr 2018 21:01:27 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 17618F8C9A8; Sun, 15 Apr 2018 21:01:27 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6F1BF8C9A7 for ; Sun, 15 Apr 2018 21:01:26 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28C2C70358 for ; Sun, 15 Apr 2018 21:01:26 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 69CE412729 for ; Sun, 15 Apr 2018 21:01:25 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3FL1PaF053200 for ; Sun, 15 Apr 2018 21:01:25 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3FL1PLE053159 for net@FreeBSD.org; Sun, 15 Apr 2018 21:01:25 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201804152101.w3FL1PLE053159@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, 15 Apr 2018 21:01:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 21:01:27 -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 | 165622 | [ndis][panic][patch] Unregistered use of FPU in k In Progress | 206581 | bxe_ioctl_nvram handler is faulty In Progress | 221146 | [ixgbe] Problem with second laggport New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 206053 | kqueue support code of netmap causes panic New | 209682 | [panic] [netinet] arptimer race New | 213410 | [carp] service netif restart causes hang only whe New | 217748 | sys/dev/ixgbe/if_ix.c: PVS-Studio: Assignment to Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194485 | Userland cannot add IPv6 prefix routes Open | 194515 | Fatal Trap 12 Kernel with vimage Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 206544 | sendmsg(2) (sendto(2) too?) can fail with EINVAL; Open | 211962 | bxe driver queue soft hangs and flooding tx_soft_ Open | 213814 | AWS/EC2: no egress traffic stats on ixv(4) 16 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Apr 16 08:11:56 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3CF1F93A3C for ; Mon, 16 Apr 2018 08:11:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5887FAB3 for ; Mon, 16 Apr 2018 08:11:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0BC15F93A35; Mon, 16 Apr 2018 08:11:56 +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 EEA07F93A34 for ; Mon, 16 Apr 2018 08:11:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EDA97FAA9 for ; Mon, 16 Apr 2018 08:11:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B6B73182D1 for ; Mon, 16 Apr 2018 08:11:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3G8BsCs083013 for ; Mon, 16 Apr 2018 08:11:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3G8BswV083012 for net@FreeBSD.org; Mon, 16 Apr 2018 08:11:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 194515] [pf] [vnet] Fatal Trap 12 Kernel with vimage Date: Mon, 16 Apr 2018 08:11:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: cc short_desc see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 08:11:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194515 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org Summary|Fatal Trap 12 Kernel with |[pf] [vnet] Fatal Trap 12 |vimage |Kernel with vimage See Also| |https://reviews.freebsd.org | |/D1944 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 16 08:17:45 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 715F8F94305 for ; Mon, 16 Apr 2018 08:17: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 08BE67FF24 for ; Mon, 16 Apr 2018 08:17:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B7135F942F8; Mon, 16 Apr 2018 08:17: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 A4B3BF942F7 for ; Mon, 16 Apr 2018 08:17: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 437057FF1D for ; Mon, 16 Apr 2018 08:17:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8E987182FB for ; Mon, 16 Apr 2018 08:17: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 w3G8HhbR093882 for ; Mon, 16 Apr 2018 08:17:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3G8HhiQ093881 for net@FreeBSD.org; Mon, 16 Apr 2018 08:17:43 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 194515] [pf] [vnet] Fatal Trap 12 Kernel with vimage Date: Mon, 16 Apr 2018 08:17: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: 10.1-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 08:17:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194515 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|https://reviews.freebsd.org |https://reviews.freebsd.org |/D1944 |/D6924 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 16 08:18:21 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C348F943E5 for ; Mon, 16 Apr 2018 08:18: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 0473E7FFC9 for ; Mon, 16 Apr 2018 08:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B7A62F943E1; Mon, 16 Apr 2018 08:18:20 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A55E6F943DF for ; Mon, 16 Apr 2018 08:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E5F97FFBE for ; Mon, 16 Apr 2018 08:18: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 5A98718310 for ; Mon, 16 Apr 2018 08:18: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 w3G8IJNe094854 for ; Mon, 16 Apr 2018 08:18:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3G8IJxX094853 for net@FreeBSD.org; Mon, 16 Apr 2018 08:18: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 194515] [pf] [vnet] Fatal Trap 12 Kernel with vimage Date: Mon, 16 Apr 2018 08:18:18 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 08:18:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194515 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |bz@FreeBSD.org CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 16 08:19:13 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11CBFF944E0 for ; Mon, 16 Apr 2018 08:19:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9B56D80045 for ; Mon, 16 Apr 2018 08:19:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5FB44F944DF; Mon, 16 Apr 2018 08:19:12 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D942F944DD for ; Mon, 16 Apr 2018 08:19:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD45B8003C for ; Mon, 16 Apr 2018 08:19:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1B72D1831F for ; Mon, 16 Apr 2018 08:19:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3G8JA07096174 for ; Mon, 16 Apr 2018 08:19:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3G8JAv2096173 for net@FreeBSD.org; Mon, 16 Apr 2018 08:19:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 194515] [pf] [vnet] Fatal Trap 12 Kernel with vimage Date: Mon, 16 Apr 2018 08:19:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 08:19:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194515 --- Comment #23 from Eugene Grosbein --- It seems the problem was fixed with r302156 before stable/11 was branched b= ut never merged to stable/10. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 16 08:28:12 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83D93F952F6 for ; Mon, 16 Apr 2018 08:28:12 +0000 (UTC) (envelope-from tom@erg.abdn.ac.uk) Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [IPv6:2001:630:241:204::f0f0]) by mx1.freebsd.org (Postfix) with ESMTP id 1E9E382FFA for ; Mon, 16 Apr 2018 08:28:11 +0000 (UTC) (envelope-from tom@erg.abdn.ac.uk) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPSA id 410161B00091; Mon, 16 Apr 2018 09:28:10 +0100 (BST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id 53DAC21CD1; Mon, 16 Apr 2018 04:28:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 16 Apr 2018 04:28:07 -0400 X-ME-Sender: Received: from tom-desk.erg.abdn.ac.uk (tom-desk.erg.abdn.ac.uk [139.133.204.4]) by mail.messagingengine.com (Postfix) with ESMTPA id 9C7FCE4122; Mon, 16 Apr 2018 04:28:06 -0400 (EDT) Date: Mon, 16 Apr 2018 09:27:37 +0100 From: Tom Jones To: Nick Wolff Cc: freebsd-net@freebsd.org Subject: Re: QOS/TOS in carp/freebsd in general Message-ID: <20180416082736.GB48822@tom-desk.erg.abdn.ac.uk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 08:28:12 -0000 On Sun, Apr 15, 2018 at 04:30:45PM -0400, Nick Wolff wrote: > Hi, > > I currently have a review in to make carp use dscp values on outgoing > packets. This will make it easier to preform QOS on modern switches as we > have been able to drive carp insane on 10g links while throwing storage > traffic at it.On an interesting side note apparently after 64k mac address > moves for a single mac address in the cam table arista 7050t seems to with > out warning give up and stop moving address but leaves it in the table > where ever it last was. > > I was originally going to just toggle between cs7 and the old TOS low delay > setting. But it was requested that I just make it a settable Integer value. > In this case I'm planning to do 0-63 to match dscp with a default of 54 > (CS7) (Network Control) but you could still set the old value by setting > the sysctl to 4. Anything larger then 64 would be truncated as two shifts > are needed to align with the field leading. > > Does anybody do anything anywhere with the old TOS values like low delay in > there networking infrastructure? Should this be updated in other places in > kernel and userland? It's been 20 years since TOS was deprecated and > replaced with DSCP. > > Any other comments or thought are always welcome. I cannot speak to network stacks, but we have performed some large scale DSCP measurements of the Internet and found TOS semantics still in use. You might want to look up: Exploring DSCP modification pathologies in mobile edge networks: IEEE/IFIP Workshop on Mobile Network Measurement I think there is more work in line to be published based on similar measurement campaigns. > References: > > Open Review - https://reviews.freebsd.org/D14536 > General DSCP reference - https://www.tucny.com/Home/dscp-tos > > > Thanks, > > Nick "darkfiberiru" Wolff > _______________________________________________ > 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" -- - [tj] From owner-freebsd-net@freebsd.org Mon Apr 16 08:33:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0804F9598D for ; Mon, 16 Apr 2018 08:33:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6AA9083486 for ; Mon, 16 Apr 2018 08:33:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2ECCAF9598C; Mon, 16 Apr 2018 08:33:26 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C293F95987 for ; Mon, 16 Apr 2018 08:33:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD98A83481 for ; Mon, 16 Apr 2018 08:33:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 04E00185E5 for ; Mon, 16 Apr 2018 08:33:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3G8XOsF037409 for ; Mon, 16 Apr 2018 08:33:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3G8XOlG037408 for net@FreeBSD.org; Mon, 16 Apr 2018 08:33:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 194515] [pf] [vnet] Fatal Trap 12 Kernel with vimage Date: Mon, 16 Apr 2018 08:33:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 08:33:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194515 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-qa |crash --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 16 12:06:39 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1439DFA49DE for ; Mon, 16 Apr 2018 12:06:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9E1F26CAD2 for ; Mon, 16 Apr 2018 12:06:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 55C15FA49DC; Mon, 16 Apr 2018 12:06: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 435A9FA49DB for ; Mon, 16 Apr 2018 12:06:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE9256CAC5 for ; Mon, 16 Apr 2018 12:06: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 2EEB91A245 for ; Mon, 16 Apr 2018 12:06:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3GC6bUr014880 for ; Mon, 16 Apr 2018 12:06:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3GC6bnT014873 for net@FreeBSD.org; Mon, 16 Apr 2018 12:06:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update in r320897 Date: Mon, 16 Apr 2018 12:06:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sg@efficientip.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: shurd@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 12:06:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #29 from Sylvain Galliano --- (In reply to Stephen Hurd from comment #28) Patch with error logs applied: I do not have any error log before issue to appear. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 16 13:20:42 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5797CF82808 for ; Mon, 16 Apr 2018 13:20:42 +0000 (UTC) (envelope-from niels@kobschaetzki.net) Received: from hatchetman.psychedelicpirate.com (unknown [IPv6:2001:1560:a000:2:49bf:3916:e713:6ddd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C33DE7D42B for ; Mon, 16 Apr 2018 13:20:41 +0000 (UTC) (envelope-from niels@kobschaetzki.net) Received: from hatchetman.psychedelicpirate.com (localhost [127.0.0.1]) by hatchetman.psychedelicpirate.com (OpenSMTPD) with ESMTP id 7d50f145; Mon, 16 Apr 2018 15:20:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=kobschaetzki.net; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s= selector1; bh=WhD0kE+Fo9LenJ7hIyDoQ2Ge1fg=; b=e0LCmutFBrenb3sYit 9cQ710c33sC3V1D0E5SOEEl8TSibAcgGXqc1kXPDaUO65qh8pRm3MXsOwVCpV/+t W9Q3f/E8Bc303NsqMXettGOJFIjiFuX2dB77Gr1p/D588WEvdHBbzujzpAp9stCM C+Dfd5rnFwM619DKPt7HXa+B4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=kobschaetzki.net; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=selector1; b=U fQbtcs3LPItlsIBgB/Xij8wvbF4kb3kCGZvLvYWHp7lbm52u5Qpy5Q1FCUDEO1pb iyhNQHtZWVR1BKYypS82VCMjwox/aOn2RvbIyvyNZbbh5bwnyJk3zzf53aTmd4ao j6dnr0Hi2e5TBafPkp7K1laOI9ETc3jDyl8NKNSmlE= Received: from hatchetman.psychedelicpirate.com (localhost [127.0.0.1]) by hatchetman.psychedelicpirate.com (OpenSMTPD) with ESMTP id c21c31da; Mon, 16 Apr 2018 15:20:33 +0200 (CEST) Received: from [213.73.110.159] (sam.InterDotNet.de [213.73.110.159]) by mail.kobschaetzki.net (OpenSMTPD) with ESMTPSA id dfe2f83c (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Mon, 16 Apr 2018 15:20:32 +0200 (CEST) Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release To: Rick Macklem , "freebsd-net@freebsd.org" References: From: Niels Kobschaetzki Message-ID: Date: Mon, 16 Apr 2018 15:20:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 13:20:42 -0000 On 04/14/2018 03:49 AM, Rick Macklem wrote: > If you go into ncl_getattrcache() {it's in sys/fs/nfsclient/nfs_clsubs.c} > and add a printf() for "time_second" and "np->n_mtime.tv_sec" near the > top, where it calculates "timeo" from it. > Running this hacked kernel might show you if either of these fields is bogus. > (You could then printf() "timeo" and "np->n_attrtimeo" just before the "if" > clause that increments "attrcache_misses", which is where the cache misses > happen to see why it is missing the cache.) > If you could do this for the 10.3 kernel as well, this might indicate why the > miss rate has increased? I just checked the code to see if I can figure out where exactly I have to put the printf(). And then I saw that there are ifdefs for NFS_ACDEBUG which seems to be a kernel option. When I add NFS_ACDEBUG in the config-file for the kernel, the build fails with an /usr/src/sys/amd64/conf/ACDEBUG: unknown option "NFS_ACDEBUG" I looked in sysctl.h and there it isn't defined. Do I do something wrong or did this sysctl-tunable got lost at some point in time? Can I just use this code by removing the ifdef for getting information? Sorry, my C is not really existent, thus I have to ask :/ The parts (except the part that looks at the sysctl looks like this): #ifdef NFS_ACDEBUG if (nfs_acdebug>1) printf("ncl_getattrcache: initial timeo = %d\n", timeo); #endif …… #ifdef NFS_ACDEBUG if (nfs_acdebug > 2) printf("acregmin %d; acregmax %d; acdirmin %d; acdirmax %d\n", nmp->nm_acregmin, nmp->nm_acregmax, nmp->nm_acdirmin, nmp->nm_acdirmax); if (nfs_acdebug) printf("ncl_getattrcache: age = %d; final timeo = %d\n", (time_second - np->n_attrstamp), timeo); #endif I would remove the ifdefs and the "if (nfs_acdebug …)" Niels From owner-freebsd-net@freebsd.org Mon Apr 16 18:53:15 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F206BF9C809 for ; Mon, 16 Apr 2018 18:53: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 74B476D312 for ; Mon, 16 Apr 2018 18:53:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 266CEF9C803; Mon, 16 Apr 2018 18:53:14 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 129E1F9C802 for ; Mon, 16 Apr 2018 18:53:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C3876D30E for ; Mon, 16 Apr 2018 18:53: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 D567D1DA34 for ; Mon, 16 Apr 2018 18:53: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 w3GIrC2J067702 for ; Mon, 16 Apr 2018 18:53:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3GIrCiM067700 for net@FreeBSD.org; Mon, 16 Apr 2018 18:53: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 227461] [hast] regression, unable to start hast, pid XXX (hastd), uid 0: exited on signal 6 (core dumped) Date: Mon, 16 Apr 2018 18:53:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pjd@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 18:53:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227461 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org, | |net@FreeBSD.org Assignee|bugs@FreeBSD.org |pjd@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 16 22:54:25 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4788F841CD for ; Mon, 16 Apr 2018 22:54:25 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F9C07AEBD for ; Mon, 16 Apr 2018 22:54:25 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: by mail-io0-x22c.google.com with SMTP id k8so9287077ioc.2 for ; Mon, 16 Apr 2018 15:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratnaling-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=amO47hlx2rm+pUpFw8AjLItF+SD2V5cvp5Rd4tr5MuI=; b=nTGqZkmhK0pgP3N/QrZhDIwCPodUPI28e3ecd2+oWate0/IacpZ7K9aBORpBj8d2Kc Ya+J59vL9hA+2AZ3qLcYRLQTfE3VH7K36lI314GiNDHLbfQjDv3iW52vyCAF/fZIhj2F oHOJ5KuP9K1oXHnj9B8OFevijXIElBxlAlx0JRiXRe5PulT51d/dY2xir0pB34XM4EBu gt1JTAIFq+RPf216E7K/oht+bKwcEnWdBTAoVeVNnZD6NX8zkQxbzYUuc/HoM+UMTgvq vqDPsImhzrLUWwDmkKAh41JhlW7HS5EPixvBR6JJTNJ2rxtLDMXoaG50GHE7HeCwmbzt u4IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=amO47hlx2rm+pUpFw8AjLItF+SD2V5cvp5Rd4tr5MuI=; b=qajcygBhQ9Pajy2wMURseegoPyeZyFAuFvdnQj8i6uFMT71Ogse4dWR5sVeJUWed4l E8DLcra+PU12pMDCrzN7t8TDm4yBHY5sLmFjEUKxnFxfgAEjUQ4r+ClbesedbB58mhzW jOzCzx9DrUnSXt1kugy0Xp0l1zcnDR7q3mnMwdXRPEQVx7GckEJkerVSl1xEouaJrL4b RZocr0DpK7Of0vvgQfwKkEIH7VmuHjOki7K2dKspp71ZJXxreN70V+5vrHrkmvysvKVA 7LiG377r3Dr6TAPJQ49cI+0KGT8K29uh2yuEY7eXXk3XfFdChTMkS/Qrlp2aU2ABkOX9 YQjQ== X-Gm-Message-State: ALQs6tAxGbBR+ziG+i7mPKdxq9UigM4Zv02z2XWLLwlnowNBYPRQ6JHG Mw2XAkyzGQ53AqbX/5qvpJ3kisae1I4EWOWF4+RGvA== X-Google-Smtp-Source: AIpwx4+MAAacd43w4aym9deFmZumxotPyTZDi9VJnFpj4YXztxXYnnVhhsFB036w87P/sHpUXV/US8eAvJHWoJW37hc= X-Received: by 10.107.147.4 with SMTP id v4mr26325865iod.68.1523919264112; Mon, 16 Apr 2018 15:54:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.39.210 with HTTP; Mon, 16 Apr 2018 15:54:23 -0700 (PDT) In-Reply-To: <20180416082736.GB48822@tom-desk.erg.abdn.ac.uk> References: <20180416082736.GB48822@tom-desk.erg.abdn.ac.uk> From: Lee Brown Date: Mon, 16 Apr 2018 15:54:23 -0700 Message-ID: Subject: Re: QOS/TOS in carp/freebsd in general To: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 22:54:26 -0000 On Mon, Apr 16, 2018 at 1:27 AM, Tom Jones wrote: > On Sun, Apr 15, 2018 at 04:30:45PM -0400, Nick Wolff wrote: > > Hi, > > > > I currently have a review in to make carp use dscp values on outgoing > > packets. This will make it easier to preform QOS on modern switches as we > > have been able to drive carp insane on 10g links while throwing storage > > traffic at it.On an interesting side note apparently after 64k mac > address > > moves for a single mac address in the cam table arista 7050t seems to > with > > out warning give up and stop moving address but leaves it in the table > > where ever it last was. > > > > I was originally going to just toggle between cs7 and the old TOS low > delay > > setting. But it was requested that I just make it a settable Integer > value. > > In this case I'm planning to do 0-63 to match dscp with a default of 54 > > (CS7) (Network Control) but you could still set the old value by setting > > the sysctl to 4. Anything larger then 64 would be truncated as two shifts > > are needed to align with the field leading. > > > > Does anybody do anything anywhere with the old TOS values like low delay > in > > there networking infrastructure? Should this be updated in other places > in > > kernel and userland? It's been 20 years since TOS was deprecated and > > replaced with DSCP. > > > > Any other comments or thought are always welcome. > > You can already do this with ipfw? setdscp cs7 from me to 224.0.0.18 From owner-freebsd-net@freebsd.org Mon Apr 16 23:03:36 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73E37F84ADB for ; Mon, 16 Apr 2018 23:03:36 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660070.outbound.protection.outlook.com [40.107.66.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0365D7CBBF for ; Mon, 16 Apr 2018 23:03:35 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM (52.132.66.153) by YQBPR0101MB1282.CANPRD01.PROD.OUTLOOK.COM (52.132.68.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.10; Mon, 16 Apr 2018 23:03:34 +0000 Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a]) by YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a%13]) with mapi id 15.20.0675.015; Mon, 16 Apr 2018 23:03:34 +0000 From: Rick Macklem To: Niels Kobschaetzki , "freebsd-net@freebsd.org" Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release Thread-Topic: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release Thread-Index: AQHT0qiQifFFt12p/0eGRV3S1dRLRqP/ezZKgAPq3QCAAKB4nQ== Date: Mon, 16 Apr 2018 23:03:34 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQBPR0101MB1282; 7:Mz0pDmun13wGYQ+1MapdCq4EN8RtUbmcew40bk/hi4n2U4XDm1Vq1IyelmVtUTCgSe459iUSVlc7XI9SM64RlQ146jkEfQ8TtN2Aiit6jTRaZlbxAVkWqDeM+sRiSLPHREOAoZTE+VyTghZ+pNeNqPo7NRC/3z5M4QQ7lE2kwY475prbVSxdLTNhWEK85h9+mSDqwqY69pVndCeOb4AL3j5lH/o1k4mgo5qYDCQ4R9X/pJrqNtXr9oV9yDb2QAOb x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:YQBPR0101MB1282; x-ms-traffictypediagnostic: YQBPR0101MB1282: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231232)(944501327)(52105095)(6041310)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:YQBPR0101MB1282; BCL:0; PCL:0; RULEID:; SRVR:YQBPR0101MB1282; x-forefront-prvs: 0644578634 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(39380400002)(346002)(376002)(396003)(189003)(199004)(74316002)(6246003)(5250100002)(33656002)(55016002)(25786009)(105586002)(99286004)(9686003)(6436002)(478600001)(786003)(446003)(74482002)(6506007)(53936002)(316002)(8676002)(86362001)(26005)(102836004)(5660300001)(11346002)(110136005)(186003)(106356001)(3660700001)(3280700002)(7696005)(14454004)(2906002)(76176011)(2501003)(486006)(476003)(305945005)(229853002)(81166006)(81156014)(8936002)(68736007)(97736004)(2900100001); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB1282; H:YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: hNXxYyki83fALg8cNIr0qvZGe+24Q1JlwnGnanyi1ws2bmgSPhM1q43jp397GanrydqMkySV7F4QHNMrXiTTTPp1FhRZORL9GX1AD84DfMiYE//VjeiTrueevXxxirTAozCriOHBCSV6AdYH80no+rkmVWSZHOm3auntDvK3t3bA42dUzC8P4rMat5tS4V/q spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f26e53f3-f61c-4a7e-2d3c-08d5a3ee47cb X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: f26e53f3-f61c-4a7e-2d3c-08d5a3ee47cb X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2018 23:03:34.4053 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB1282 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 23:03:36 -0000 Niels Kobschaetzki wrote: [stuff smipped] >I just checked the code to see if I can figure out where exactly I have >to put the printf(). And then I saw that there are ifdefs for >NFS_ACDEBUG which seems to be a kernel option. When I add NFS_ACDEBUG in >the config-file for the kernel, the build fails with an I don't have sources handy right now, but you can probably just put a line like: #define NFS_ACDEBUG 1 at the top of the file /usr/src/sys/fs/nfsclient/nfs_clsubs.c After building/booting the kernel "sysctl -a" should have a vfs.nfs.acdebug in the list. Set it to "1" to get the basic timeout info. >/usr/src/sys/amd64/conf/ACDEBUG: unknown option "NFS_ACDEBUG" > >I looked in sysctl.h and there it isn't defined. Do I do something wrong >or did this sysctl-tunable got lost at some point in time? >Can I just use this code by removing the ifdef for getting information? > >Sorry, my C is not really existent, thus I have to ask :/ > >The parts (except the part that looks at the sysctl looks like this): >#ifdef NFS_ACDEBUG > if (nfs_acdebug>1) > printf("ncl_getattrcache: initial timeo =3D %d\n", timeo); >#endif > >=85=85 > > >#ifdef NFS_ACDEBUG > if (nfs_acdebug > 2) > printf("acregmin %d; acregmax %d; acdirmin %d; acdirmax >%d\n", > nmp->nm_acregmin, nmp->nm_acregmax, > nmp->nm_acdirmin, nmp->nm_acdirmax); > > if (nfs_acdebug) > printf("ncl_getattrcache: age =3D %d; final timeo =3D %d\n= ", > (time_second - np->n_attrstamp), timeo); >#endif > > >I would remove the ifdefs and the "if (nfs_acdebug =85)" This would work, too, rick From owner-freebsd-net@freebsd.org Tue Apr 17 04:46:00 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3EA3FA4DD5 for ; Tue, 17 Apr 2018 04:46:00 +0000 (UTC) (envelope-from niels@kobschaetzki.net) Received: from hatchetman.psychedelicpirate.com (unknown [IPv6:2001:1560:a000:2:49bf:3916:e713:6ddd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F0556EA4A for ; Tue, 17 Apr 2018 04:46:00 +0000 (UTC) (envelope-from niels@kobschaetzki.net) Received: from hatchetman.psychedelicpirate.com (localhost [127.0.0.1]) by hatchetman.psychedelicpirate.com (OpenSMTPD) with ESMTP id 685441e8; Tue, 17 Apr 2018 06:45:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=kobschaetzki.net; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s= selector1; bh=C8Zazs+KbXwYm+DJ9ND8awmIqgs=; b=e9mdLoImm2mp+Jda59 ccRByqzazBaaWrwdg2Uz0DHqKg9/WppMzU8kqIFpYGTkAw+t1JgVN/EYJ7cfoF8l g84HawGWN2YFcbAXkXWZXxLHjGVFgwjCwqT5xyeENl+oi8JQ519qIVNWW2NBFA// hWSKVmjHfmyb+ub9rM3lV+Sdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=kobschaetzki.net; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=selector1; b=A oWCBMh4e22qxU6qRKTfjwQQzpkX5uv6KwCPeu9QL11DEt83AZDuVO5JEX6gcXznR nQh7Rn9xX56s3nUf2SETHljSUKy4FaItnFficjcxfPfd/g35ZB6LvixCQb6Sf6R4 2UPirzRdaHx/tSAVJq58I4vTj630l3dB3/QGSLIAxM= Received: from hatchetman.psychedelicpirate.com (localhost [127.0.0.1]) by hatchetman.psychedelicpirate.com (OpenSMTPD) with ESMTP id d829fd0b; Tue, 17 Apr 2018 06:45:50 +0200 (CEST) Received: from netcat.fritz.box (officevpn.InterDotNet.de [213.73.110.60]) by mail.kobschaetzki.net (OpenSMTPD) with ESMTPSA id f965aa29 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Tue, 17 Apr 2018 06:45:50 +0200 (CEST) Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release To: Rick Macklem , "freebsd-net@freebsd.org" References: From: =?UTF-8?Q?Niels_Kobsch=c3=a4tzki?= Message-ID: Date: Tue, 17 Apr 2018 06:45:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 04:46:01 -0000 On 04/17/2018 01:03 AM, Rick Macklem wrote: > Niels Kobschaetzki wrote: > [stuff smipped] >> I just checked the code to see if I can figure out where exactly I have >> to put the printf(). And then I saw that there are ifdefs for >> NFS_ACDEBUG which seems to be a kernel option. When I add NFS_ACDEBUG in >> the config-file for the kernel, the build fails with an > I don't have sources handy right now, but you can probably just put a line > like: > #define NFS_ACDEBUG 1 > at the top of the file /usr/src/sys/fs/nfsclient/nfs_clsubs.c ok > After building/booting the kernel "sysctl -a" should have a > vfs.nfs.acdebug > in the list. Set it to "1" to get the basic timeout info. > >> /usr/src/sys/amd64/conf/ACDEBUG: unknown option "NFS_ACDEBUG" >> >> I looked in sysctl.h and there it isn't defined. Do I do something wrong >> or did this sysctl-tunable got lost at some point in time? >> Can I just use this code by removing the ifdef for getting information? >> >> Sorry, my C is not really existent, thus I have to ask :/ >> I would remove the ifdefs and the "if (nfs_acdebug …)" > This would work, too, rick That worked, I had the kernel running yesterday. I solved now finally my problem after two weeks and it wasn't the NFS. I just got derailed from the real solution again and again from some people, thus I didn't look in the right place. The cache misses are gone now, the application performs now faster than on the other servers. Thanks so so much for your help. Niels From owner-freebsd-net@freebsd.org Tue Apr 17 07:16:44 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8793AF87416 for ; Tue, 17 Apr 2018 07:16:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 20A6B70917 for ; Tue, 17 Apr 2018 07:16:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D4F1CF8740D; Tue, 17 Apr 2018 07:16:43 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1456F8740C for ; Tue, 17 Apr 2018 07:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55A2C708F2 for ; Tue, 17 Apr 2018 07:16: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 958AC23DAC for ; Tue, 17 Apr 2018 07:16:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3H7GgSe016496 for ; Tue, 17 Apr 2018 07:16:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3H7GgP3016493 for net@FreeBSD.org; Tue, 17 Apr 2018 07:16: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 227461] [hast] regression, unable to start hast, pid XXX (hastd), uid 0: exited on signal 6 (core dumped) Date: Tue, 17 Apr 2018 07:16:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emz@norma.perm.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pjd@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 07:16:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227461 --- Comment #5 from emz@norma.perm.ru --- Created attachment 192583 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192583&action= =3Dedit HAST nodebug patch This patch removes several debug lines leading to SIGABRT. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Apr 17 07:20:30 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71F3EF8790F for ; Tue, 17 Apr 2018 07:20: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 079F7725DD for ; Tue, 17 Apr 2018 07:20:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B6378F87908; Tue, 17 Apr 2018 07:20: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 A26D5F87907 for ; Tue, 17 Apr 2018 07:20: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 39DC1725D8 for ; Tue, 17 Apr 2018 07:20: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 8B7C223DB9 for ; Tue, 17 Apr 2018 07:20: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 w3H7KSwQ021481 for ; Tue, 17 Apr 2018 07:20:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3H7KSBl021480 for net@FreeBSD.org; Tue, 17 Apr 2018 07:20: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 227461] [hast] regression, unable to start hast, pid XXX (hastd), uid 0: exited on signal 6 (core dumped) Date: Tue, 17 Apr 2018 07:20:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emz@norma.perm.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pjd@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 07:20:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227461 --- Comment #6 from emz@norma.perm.ru --- This patch removes the debugging leading to SIGABRT, the author is ae@freebsd.org. ae@ is pessimistic about it, saying that it solves nothing,= and just makes HAST to contunue by removing the abort() call in pjdlog_abort(). However, this got me a working HAST, first time without a bunch of warning/error/assert messages on both nodes. This probably need more attention. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Apr 17 10:00:28 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9823CF95A88 for ; Tue, 17 Apr 2018 10:00: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 33F8C7B690 for ; Tue, 17 Apr 2018 10:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E7C3FF95A83; Tue, 17 Apr 2018 10:00:27 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D54A4F95A81 for ; Tue, 17 Apr 2018 10:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 720777B68D for ; Tue, 17 Apr 2018 10:00: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 A6A4B25356 for ; Tue, 17 Apr 2018 10:00:26 +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 w3HA0QAx006573 for ; Tue, 17 Apr 2018 10:00:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3HA0QIV006572 for net@FreeBSD.org; Tue, 17 Apr 2018 10:00: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 221919] ixl: TX queue hang when using TSO and having a high and mixed network load Date: Tue, 17 Apr 2018 10:00:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: smh@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 10:00:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221919 Steven Hartland changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smh@FreeBSD.org --- Comment #18 from Steven Hartland --- That review is still pending. We've just had what appears to be a RX hang with TSO disabled, related? No messages in /var/log/messages tcpdump still showing outbound traffic but= no inbound, had to reboot to recover. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Apr 17 11:33:03 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8B2CF9C341 for ; Tue, 17 Apr 2018 11:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA2571CF9 for ; Tue, 17 Apr 2018 11:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1950EF9C340; Tue, 17 Apr 2018 11:33:03 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07366F9C33F for ; Tue, 17 Apr 2018 11:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 96E8571CDA for ; Tue, 17 Apr 2018 11:33:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E159F260A2 for ; Tue, 17 Apr 2018 11:33:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3HBX1g4055365 for ; Tue, 17 Apr 2018 11:33:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3HBX1Fd055364 for net@FreeBSD.org; Tue, 17 Apr 2018 11:33:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227502] Unable to add pfsense as monitored target in ntopng Date: Tue, 17 Apr 2018 11:33:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: florin.samareanu@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: harti@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 11:33:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227502 --- Comment #2 from Florin Samareanu --- Hello, I got this in the ntopng bug I raised ( https://github.com/ntop/ntopng/issues/1734 ): @fsamareanu sure. In SNMP some fields are encoded with TLV (Type Length Val= ue), where the length specifies how many bytes to read on the next field. The da= emon you are using seems to ignore the "Length" value from some SNMP fields (at least in version, error-status, error-index fields) and assume length 1. Th= is works well with snmpwalk which uses a 1 byte values but it does not with nt= opng which uses 4 bytes values. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Apr 17 12:10:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE031F9EF03 for ; Tue, 17 Apr 2018 12:10:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7702B78E5E for ; Tue, 17 Apr 2018 12:10:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 36B24F9EF01; Tue, 17 Apr 2018 12:10:25 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 256C2F9EEFF for ; Tue, 17 Apr 2018 12:10:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B943278E51 for ; Tue, 17 Apr 2018 12:10:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0A8F9264AB for ; Tue, 17 Apr 2018 12:10:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3HCAN71061302 for ; Tue, 17 Apr 2018 12:10:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3HCANSN061292 for net@FreeBSD.org; Tue, 17 Apr 2018 12:10:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227502] Unable to add pfsense as monitored target in ntopng Date: Tue, 17 Apr 2018 12:10:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: harti@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 12:10:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227502 --- Comment #3 from Eugene Grosbein --- (In reply to Florin Samareanu from comment #2) The problem is more complex. Indeed, "In SNMP some fields are encoded with = TLV (Type Length Value), where the length specifies how many bytes to read on t= he next field" - that's true. But ASN.1/DER encoding standard states that if integer value is small enought to be fit in single byte, it MUST be encoded with single byte and using 4 bytes is not allowed for such case by this standard. snmpwalk can send small or large integers and it encodes them just right us= ing noted "minimal integer" encoding: 1 or more bytes correspongingly. bsnmpd parses both of small and large TLV fileds just fine. On the other hand, ejrh/snmp library used by ntopng ALWAYS encodes integers using 4 bytes, even for small values (R=3D1 in the test above). That is sta= ndard violation that does not pass bsnmpd's strict validation, but pass relaxed validation of net-snmpd. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Apr 17 13:49:51 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E6ABFA4E84 for ; Tue, 17 Apr 2018 13:49:51 +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 2314A70C23 for ; Tue, 17 Apr 2018 13:49:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D50BFFA4E82; Tue, 17 Apr 2018 13:49:50 +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 C13FDFA4E81 for ; Tue, 17 Apr 2018 13:49:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5657E70C20 for ; Tue, 17 Apr 2018 13:49:50 +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 954DD2720A for ; Tue, 17 Apr 2018 13:49:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3HDnn0s004511 for ; Tue, 17 Apr 2018 13:49:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3HDnnLV004510 for net@FreeBSD.org; Tue, 17 Apr 2018 13:49:49 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 193953] vlan(4) on LACP lagg(4) do not update if_baudrate value and thus SNMP daemons do not provide high capacity counters Date: Tue, 17 Apr 2018 13:49:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 13:49:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193953 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://reviews.freebsd.org | |/D15112 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Apr 17 14:02:37 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF381FA5B54 for ; Tue, 17 Apr 2018 14:02:37 +0000 (UTC) (envelope-from longwitz@incore.de) Received: from dss.incore.de (dss.incore.de [195.145.1.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A75974B6C for ; Tue, 17 Apr 2018 14:02:37 +0000 (UTC) (envelope-from longwitz@incore.de) Received: from inetmail.dmz (inetmail.dmz [10.3.0.3]) by dss.incore.de (Postfix) with ESMTP id C850381D for ; Tue, 17 Apr 2018 16:02:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at incore.de Received: from dss.incore.de ([10.3.0.3]) by inetmail.dmz (inetmail.dmz [10.3.0.3]) (amavisd-new, port 10024) with LMTP id 9DWQhIX5e8X2 for ; Tue, 17 Apr 2018 16:02:33 +0200 (CEST) Received: from mail.local.incore (fwintern.dmz [10.0.0.253]) by dss.incore.de (Postfix) with ESMTP id DB2C194C for ; Tue, 17 Apr 2018 16:02:33 +0200 (CEST) Received: from bsdlo.incore (bsdlo.incore [192.168.0.84]) by mail.local.incore (Postfix) with ESMTP id C5D38508A9 for ; Tue, 17 Apr 2018 16:02:33 +0200 (CEST) Message-ID: <5AD5FE79.7050309@incore.de> Date: Tue, 17 Apr 2018 16:02:33 +0200 From: Andreas Longwitz User-Agent: Thunderbird 2.0.0.19 (X11/20090113) MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Changed behaviour of pf after new handling of EACCES in tcp_output() in r315514 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 14:02:38 -0000 In FreeBSD V11 the commit r315514 introduced a new handling of the error code EACCES from ip_output() in tcp_output.c: case EACCES: tp->t_softerror = error; return (0); If I use pf and block output with a rule like block out quick on em0 inet proto tcp from any to any port 23 and try date; telnet 192.168.0.122 23; date then I see in V10 immediately reply Di 17 Apr 2018 10:46:37 CEST Trying 192.168.0.122... telnet: connect to address 192.168.0.122: Permission denied telnet: Unable to connect to remote host Di 17 Apr 2018 10:46:37 CEST and in V11 with commit r315514 the same reply after 90 seconds, in the meantime telnet is waiting on WCHAN "connec": Di. 17 Apr. 2018 10:46:28 CEST Trying 192.168.0.122... telnet: connect to address 192.168.0.122: Permission denied telnet: Unable to connect to remote host Di. 17 Apr. 2018 10:47:43 CEST I like to know if this is intended behaviour. Andreas Longwitz From owner-freebsd-net@freebsd.org Tue Apr 17 14:33:08 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C469FA77F9 for ; Tue, 17 Apr 2018 14:33:08 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 789BA7A040; Tue, 17 Apr 2018 14:33:07 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback8o.mail.yandex.net (mxback8o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::22]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 9C0575603077; Tue, 17 Apr 2018 17:33:04 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback8o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id UpJy79mWEM-X4eGvddX; Tue, 17 Apr 2018 17:33:04 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1523975584; bh=GWfyecMiFnNz3s27x1l27ME8I3a/LkZ11csgYjsyyMc=; h=Subject:To:References:From:Cc:Message-ID:Date:In-Reply-To; b=BAdlJ4eO1tP4TBhHC3ApYkUUIMT2kFe51sk+yFVPG9PbkIak2yNmTMezNQB+/qmqS gH1XLvG7fBC3sKRP57zBEPqdZb41AV1HF5hnj94mJEzsie0peV1o6wA5vS3/ZhwOWd uo4+PclxGOjN3G21iFcPpWQIz9aSHa8oUYOTLTBg= Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 1Tu0jVNSYr-WvOiACXU; Tue, 17 Apr 2018 17:32:57 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1523975577; bh=GWfyecMiFnNz3s27x1l27ME8I3a/LkZ11csgYjsyyMc=; h=Subject:To:References:From:Cc:Message-ID:Date:In-Reply-To; b=INTBNf2J6WrcSQq3PFmAflU/B8gfoSzL+PmeSdO9zCZkLq+n1Wki8a4xoYcPtlyMu lYj1zsIfjVG/ACv2kn8JxwIYHY3W04SSTehm7w6erZMBAWatda1iDpXCPKUgZrmr2q DvTCHhRdUQS3UYEq+p1hvBf0pN+yvOuL8XJXwrls= Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: Changed behaviour of pf after new handling of EACCES in tcp_output() in r315514 To: Andreas Longwitz , freebsd-net@freebsd.org References: <5AD5FE79.7050309@incore.de> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= xsBNBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAHNIkFuZHJleSBWLiBFbHN1a292IDxhZUBmcmVlYnNkLm9yZz7CwHsEEwECACUCGwMGCwkI BwMCBhUIAgkKCwQWAgMBAh4BAheABQJMB/ruAhkBAAoJEAHF6gQQyKF6MLwH/3Ri/TZl9uo0 SepYWXOnxL6EaDVXDA+dLb1eLKC4PRBBjX29ttQ0KaWapiE6y5/AfzOPmRtHLrHYHjd/aiHX GMLHcYRXD+5GvdkK8iMALrZ28X0JXyuuZa8rAxWIWmCbYHNSBy2unqWgTI04Erodk90IALgM 9JeHN9sFqTM6zalrMnTzlcmel4kcjT3lyYw3vOKgoYLtsLhKZSbJoVVVlvRlGBpHFJI5AoYJ SyfXoN0rcX6k9X7Isp2K50YjqxV4v78xluh1puhwZyC0p8IShPrmrp9Oy9JkMX90o6UAXdGU KfdExJuGJfUZOFBTtNIMNIAKfMTjhpRhxONIr0emxxDOwE0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAcLAXwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Cc: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= Message-ID: <1f7edaeb-8a88-a99c-b427-cc19a693172a@yandex.ru> Date: Tue, 17 Apr 2018 17:30:23 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <5AD5FE79.7050309@incore.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lw808qZzzgeNEq6ML48FjGZTEyXuvRFxd" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 14:33:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lw808qZzzgeNEq6ML48FjGZTEyXuvRFxd Content-Type: multipart/mixed; boundary="lygZft0n8hf9m9ZpvQCPiCpj7Yopi2XKC"; protected-headers="v1" From: "Andrey V. Elsukov" To: Andreas Longwitz , freebsd-net@freebsd.org Cc: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= Message-ID: <1f7edaeb-8a88-a99c-b427-cc19a693172a@yandex.ru> Subject: Re: Changed behaviour of pf after new handling of EACCES in tcp_output() in r315514 References: <5AD5FE79.7050309@incore.de> In-Reply-To: <5AD5FE79.7050309@incore.de> --lygZft0n8hf9m9ZpvQCPiCpj7Yopi2XKC Content-Type: multipart/mixed; boundary="------------7915F228C458056179B8E832" Content-Language: en-US This is a multi-part message in MIME format. --------------7915F228C458056179B8E832 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 17.04.2018 17:02, Andreas Longwitz wrote: > and in V11 with commit r315514 the same reply after 90 seconds, in the > meantime telnet is waiting on WCHAN "connec": >=20 > Di. 17 Apr. 2018 10:46:28 CEST > Trying 192.168.0.122... > telnet: connect to address 192.168.0.122: Permission denied > telnet: Unable to connect to remote host > Di. 17 Apr. 2018 10:47:43 CEST >=20 > I like to know if this is intended behaviour. This change was based on https://svnweb.freebsd.org/base?view=3Drevision&revision=3D309610 Now I think it can be removed, because: 1. SAs should be configured by application before initiating of TCP connection; 2. If there are no matching SAs, connection will be dropped after several tries. 3. Even if connection will be dropped after first failed SYN, there is special tcps_sig_err_buildsig error counter, that will be incremented and we can determine the cause. So, can you try this patch? And maybe someone who uses TCP-MD5 can try it too (with and without configured SAs)? --=20 WBR, Andrey V. Elsukov --------------7915F228C458056179B8E832 Content-Type: text/x-patch; name="tcp_output.c.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tcp_output.c.diff" Index: tcp_output.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- tcp_output.c (revision 332505) +++ tcp_output.c (working copy) @@ -1586,8 +1586,6 @@ timer: SOCKBUF_UNLOCK_ASSERT(&so->so_snd); /* Check gotos. */ switch (error) { case EACCES: - tp->t_softerror =3D error; - return (0); case EPERM: tp->t_softerror =3D error; return (error); --------------7915F228C458056179B8E832-- --lygZft0n8hf9m9ZpvQCPiCpj7Yopi2XKC-- --lw808qZzzgeNEq6ML48FjGZTEyXuvRFxd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlrWBQQACgkQAcXqBBDI oXoKKQf+NA8YJztTL/gfn3W6hzmZYIRiWwAQOXK5hJYY1qTskv+zSlbX0VGZudA6 MnnaEo40jNeUsnoYUHqWLtf4QbsAsrCYIL2/irl4Q00PqzEuYZioxXlCMH5w8Q2b U96BMlpia4s4POuYiWP4++fsM8cJpECVu1VlpDle1m8AgPx+8LB0Q3OJs9sG1dzj gLtdrb8rlJ7p7ocOokevcB9A2ZX1G+GZyg8MUBvgi7vOYRLrSUozMVLPiNGyhML0 od1Cr2ValFl4BOuOb/zlzqrdGhNcJzvGpajXfXKs5KQiYlpsfOo7KLQdEvGzy7dT zz41iaB1Dygam2wQp9ofQvGepmAV1A== =NuV4 -----END PGP SIGNATURE----- --lw808qZzzgeNEq6ML48FjGZTEyXuvRFxd-- From owner-freebsd-net@freebsd.org Tue Apr 17 22:31:19 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47C92FA1702 for ; Tue, 17 Apr 2018 22:31:19 +0000 (UTC) (envelope-from longwitz@incore.de) Received: from dss.incore.de (dss.incore.de [195.145.1.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D02A871482 for ; Tue, 17 Apr 2018 22:31:18 +0000 (UTC) (envelope-from longwitz@incore.de) Received: from inetmail.dmz (inetmail.dmz [10.3.0.3]) by dss.incore.de (Postfix) with ESMTP id 63471378; Wed, 18 Apr 2018 00:31:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at incore.de Received: from dss.incore.de ([10.3.0.3]) by inetmail.dmz (inetmail.dmz [10.3.0.3]) (amavisd-new, port 10024) with LMTP id wsCdnzUQZ0-V; Wed, 18 Apr 2018 00:31:08 +0200 (CEST) Received: from mail.local.incore (fwintern.dmz [10.0.0.253]) by dss.incore.de (Postfix) with ESMTP id 41E1C2DC; Wed, 18 Apr 2018 00:31:08 +0200 (CEST) Received: from bsdmhs.longwitz (unknown [192.168.99.6]) by mail.local.incore (Postfix) with ESMTP id 0E9DE508AA; Wed, 18 Apr 2018 00:31:08 +0200 (CEST) Message-ID: <5AD675AB.803@incore.de> Date: Wed, 18 Apr 2018 00:31:07 +0200 From: Andreas Longwitz User-Agent: Thunderbird 2.0.0.19 (X11/20090113) MIME-Version: 1.0 To: "Andrey V. Elsukov" , freebsd-net@freebsd.org Subject: Re: Changed behaviour of pf after new handling of EACCES in tcp_output() in r315514 References: <5AD5FE79.7050309@incore.de> <1f7edaeb-8a88-a99c-b427-cc19a693172a@yandex.ru> In-Reply-To: <1f7edaeb-8a88-a99c-b427-cc19a693172a@yandex.ru> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 22:31:19 -0000 Thanks for quick answer, > This change was based on > https://svnweb.freebsd.org/base?view=revision&revision=309610 > > Now I think it can be removed, because: > > 1. SAs should be configured by application before initiating of TCP > connection; > 2. If there are no matching SAs, connection will be dropped after > several tries. > 3. Even if connection will be dropped after first failed SYN, there is > special tcps_sig_err_buildsig error counter, that will be incremented > and we can determine the cause. So you introduced the change as part of the new IPSec project and not to help pf in the special situation of reloading rukes (Bug 214613), correct ? > So, can you try this patch? And maybe someone who uses TCP-MD5 can try > it too (with and without configured SAs)? I tried your patch on FreeBSD 11 (r331217) and FreeBSD 12 (r328652) and pf workes in both cases as expected, the telnet command now returned immediately. Compared to the old behaviour your patch reverted two lines in tcp_output.c but not the line "EACCES:". I think thats what you wanted, tp->t_softerror is now set to EACCESS, when this error occurs. It seems to me that this does not make a big difference, but maybe I am wrong. Do you plan to commit your patch ? Andreas Longwitz From owner-freebsd-net@freebsd.org Wed Apr 18 01:35:32 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7032F830B8 for ; Wed, 18 Apr 2018 01:35: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 8F18D78F05 for ; Wed, 18 Apr 2018 01:35:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 48F94F830A9; Wed, 18 Apr 2018 01:35:32 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32EF6F830A7 for ; Wed, 18 Apr 2018 01:35:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B81878EFD for ; Wed, 18 Apr 2018 01:35:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AA5A31425 for ; Wed, 18 Apr 2018 01:35: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 w3I1ZUKR032948 for ; Wed, 18 Apr 2018 01:35:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3I1ZUmP032945 for net@FreeBSD.org; Wed, 18 Apr 2018 01:35: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 227566] option RSS brokes conn to localhost Date: Wed, 18 Apr 2018 01:35: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: 11.1-STABLE 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.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 01:35:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227566 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 Wed Apr 18 06:46:27 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCC74F96FCA for ; Wed, 18 Apr 2018 06:46:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 732B375B9F for ; Wed, 18 Apr 2018 06:46:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2A4F9F96FC9; Wed, 18 Apr 2018 06:46:27 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 163E9F96FC8 for ; Wed, 18 Apr 2018 06:46:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A39FE75B9E for ; Wed, 18 Apr 2018 06:46:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CECD242C6 for ; Wed, 18 Apr 2018 06:46:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3I6kPhc097787 for ; Wed, 18 Apr 2018 06:46:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3I6kPoo097786 for net@FreeBSD.org; Wed, 18 Apr 2018 06:46:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227566] option RSS brokes conn to localhost Date: Wed, 18 Apr 2018 06:46:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 06:46:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227566 Adrian Chadd changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@freebsd.org --- Comment #1 from Adrian Chadd --- is it broken on -head? -adrian --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Apr 18 07:45:33 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C7D7F9AEC1 for ; Wed, 18 Apr 2018 07:45:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E6FB27F3F1 for ; Wed, 18 Apr 2018 07:45:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A8770F9AEB4; Wed, 18 Apr 2018 07:45:32 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96777F9AEB0 for ; Wed, 18 Apr 2018 07:45:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5697D7F3E7 for ; Wed, 18 Apr 2018 07:45: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 A1D864B03 for ; Wed, 18 Apr 2018 07:45:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3I7jVYm065682 for ; Wed, 18 Apr 2018 07:45:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3I7jVfI065679 for net@FreeBSD.org; Wed, 18 Apr 2018 07:45:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock Date: Wed, 18 Apr 2018 07:45:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mjoras@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 07:45:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227603 Bug ID: 227603 Summary: [panic] r323477: Sleeping thread owns a non-sleepable lock Product: Base System Version: 11.1-STABLE Hardware: Any OS: Any Status: New Keywords: crash Severity: Affects Some People Priority: --- Component: kern Assignee: mjoras@freebsd.org Reporter: eugen@freebsd.org CC: net@FreeBSD.org, stable@FreeBSD.org Created attachment 192611 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192611&action= =3Dedit kgdb backtrace The change https://svnweb.freebsd.org/base?view=3Drevision&revision=3Dr3234= 77 makes it possible for kernel thread to sleep on sx lock in vlan_ioctl() function while holding mutex bpf_mtx that is prohibited and leads to panic. kgdb session is attached. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Apr 18 18:12:04 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECAFCF9F26F for ; Wed, 18 Apr 2018 18:12:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 77CEF71CDD for ; Wed, 18 Apr 2018 18:12:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 35D40F9F26A; Wed, 18 Apr 2018 18:12:03 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23218F9F269 for ; Wed, 18 Apr 2018 18:12:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B483E71CD3 for ; Wed, 18 Apr 2018 18:12:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D74B812062 for ; Wed, 18 Apr 2018 18:12:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3IIC114056168 for ; Wed, 18 Apr 2018 18:12:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3IIC1Bx056161 for net@FreeBSD.org; Wed, 18 Apr 2018 18:12:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock Date: Wed, 18 Apr 2018 18:12:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mmacy@nextbsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mjoras@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 18:12:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227603 Matthew Macy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmacy@nextbsd.org --- Comment #1 from Matthew Macy --- This is fixed in HEAD. I'll ask shurd to MFC the fix. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Apr 18 18:48:21 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10731FA203B for ; Wed, 18 Apr 2018 18:48: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 9D7537B0D2 for ; Wed, 18 Apr 2018 18:48:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5ED1DFA2035; Wed, 18 Apr 2018 18:48:20 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AD78FA2034 for ; Wed, 18 Apr 2018 18:48:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D48FF7B0CD for ; Wed, 18 Apr 2018 18:48: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 1217212494 for ; Wed, 18 Apr 2018 18:48: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 w3IImIrf047674 for ; Wed, 18 Apr 2018 18:48:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3IImIjL047673 for net@FreeBSD.org; Wed, 18 Apr 2018 18:48: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 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock Date: Wed, 18 Apr 2018 18:48:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: shurd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: shurd@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 18:48:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227603 Stephen Hurd changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|mjoras@freebsd.org |shurd@FreeBSD.org CC| |shurd@FreeBSD.org --- Comment #2 from Stephen Hurd --- Can you test with r332734 and ensure the issue is resolved? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Apr 18 20:59:07 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FE95FA91BC for ; Wed, 18 Apr 2018 20:59:07 +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 9A1F77D062 for ; Wed, 18 Apr 2018 20:59:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5B538FA91B6; Wed, 18 Apr 2018 20:59:06 +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 4A163FA91B5 for ; Wed, 18 Apr 2018 20:59:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB93B7D040 for ; Wed, 18 Apr 2018 20:59:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2444C135FF for ; Wed, 18 Apr 2018 20:59:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3IKx5Zs075817 for ; Wed, 18 Apr 2018 20:59:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3IKx58D075816 for net@FreeBSD.org; Wed, 18 Apr 2018 20:59:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock Date: Wed, 18 Apr 2018 20:59:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: shurd@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 20:59:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227603 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress See Also| |https://reviews.freebsd.org | |/D14982 --- Comment #3 from Eugene Grosbein --- (In reply to Stephen Hurd from comment #2) I've applied the fix from https://reviews.freebsd.org/D14982. While shutting old kernel down to reboot with new kernel, it paniced again = with the same backtrace. Now I run the system with the fix and will respond if something bad happens= or in a week in case of normal work. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Apr 18 21:33:50 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2499F827FB for ; Wed, 18 Apr 2018 21:33:50 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670058.outbound.protection.outlook.com [40.107.67.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 329A685CF0 for ; Wed, 18 Apr 2018 21:33:49 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM (52.132.66.153) by YQBPR0101MB1649.CANPRD01.PROD.OUTLOOK.COM (52.132.70.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.12; Wed, 18 Apr 2018 21:33:48 +0000 Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a]) by YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a%13]) with mapi id 15.20.0696.013; Wed, 18 Apr 2018 21:33:48 +0000 From: Rick Macklem To: =?iso-8859-1?Q?Niels_Kobsch=E4tzki?= , "freebsd-net@freebsd.org" Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release Thread-Topic: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release Thread-Index: AQHT0qiQifFFt12p/0eGRV3S1dRLRqP/ezZKgAPq3QCAAKB4nYAAYg2AgAKq1LQ= Date: Wed, 18 Apr 2018 21:33:48 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kobschaetzki.net; dkim=none (message not signed) header.d=none;kobschaetzki.net; dmarc=none action=none header.from=uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQBPR0101MB1649; 7:n7dAhUMaXyBGn6Z3kPyOFwtFTNlWAJSuDYvCP41hGUUKxFHy9Wn4tJGyVkf9Ek2f+i5dnnbrfG9WYF9jdkKhXbNGyviaEjj299OkgwZ6DPV5sZtfrr00GDjpHHKInT0ZtV7dJP2p78GV1STEoOZuiuG8ItOXO6FHO5JPBOXAHo/rR6vEQhfHHqai+ybpKRWvRmz2+2zTZLMaTlYoNhksPmfaQSSdYEFHeSIWnijKEc6OqjQeOgA5Oa7XuR3RVlXH x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:YQBPR0101MB1649; x-ms-traffictypediagnostic: YQBPR0101MB1649: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(3231232)(944501327)(52105095)(10201501046)(6041310)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:YQBPR0101MB1649; BCL:0; PCL:0; RULEID:; SRVR:YQBPR0101MB1649; x-forefront-prvs: 06469BCC91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(366004)(39860400002)(39380400002)(786003)(476003)(26005)(74316002)(11346002)(186003)(305945005)(25786009)(8676002)(14454004)(81166006)(446003)(5250100002)(86362001)(93886005)(2501003)(2906002)(74482002)(8936002)(478600001)(9686003)(110136005)(2900100001)(6436002)(5660300001)(99286004)(229853002)(53936002)(76176011)(7696005)(6506007)(6246003)(316002)(102836004)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB1649; H:YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; MLV:sfv; x-microsoft-antispam-message-info: 7dxLEEKaODi0gdQ2p+wwpIl3kp8+ZbYJaBtg5iq43R2i7SlLnldB8EmYuGzn37DRGRXzp+OnI6qsFje3j2o2GekQA7LqX6miVmVnIPRpLYM8+hohAsmHed3UpBIUC2MuWt4OqIhOuaGWG2TJMgHps/PdmFDY/aQq32YEPRkWr19iYLMDJCorNxEEoJ4XhKUu spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: c0d748db-2f92-455f-9b26-08d5a5741272 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: c0d748db-2f92-455f-9b26-08d5a5741272 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2018 21:33:48.6302 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB1649 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 21:33:50 -0000 Niels Kobsch=E4tzki wrote: [stuff snipped] >I solved now finally my problem after two weeks and it wasn't the NFS. I >just got derailed from the real solution again and again from some >people, thus I didn't look in the right place. The cache misses are gone >now, the application performs now faster than on the other servers. Good work. Btw, that was why I suggested running the new kernel on a server with the old userland. It would have isolated out any userland diffe= rences, and hopefully what was causing the problem. Glad to hear NFS isn't the culprit, rick From owner-freebsd-net@freebsd.org Wed Apr 18 22:08:37 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31A66F85D4E for ; Wed, 18 Apr 2018 22:08:37 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: from connect.ultra-secure.de (connect.ultra-secure.de [88.198.71.201]) by mx1.freebsd.org (Postfix) with ESMTP id A60246E39F for ; Wed, 18 Apr 2018 22:08:36 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: (Haraka outbound); Thu, 19 Apr 2018 00:07:20 +0200 Authentication-Results: connect.ultra-secure.de; iprev=pass; auth=pass (plain); spf=none smtp.mailfrom=ultra-secure.de Received-SPF: None (connect.ultra-secure.de: domain of ultra-secure.de does not designate 217.71.83.52 as permitted sender) receiver=connect.ultra-secure.de; identity=mailfrom; client-ip=217.71.83.52; helo=[192.168.1.200]; envelope-from= Received: from [192.168.1.200] (217-071-083-052.ip-tech.ch [217.71.83.52]) by connect.ultra-secure.de (Haraka/2.6.2-toaster) with ESMTPSA id 2A0A1E67-86EC-47EA-9336-3592DCFDCEEF.1 envelope-from (authenticated bits=0); Thu, 19 Apr 2018 00:07:09 +0200 From: Rainer Duffner Message-Id: <4B3B8AD9-F923-490F-B2B6-09F4517E8D28@ultra-secure.de> Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release Date: Thu, 19 Apr 2018 00:07:06 +0200 In-Reply-To: Cc: Rick Macklem , "freebsd-net@freebsd.org" To: =?utf-8?Q?Niels_Kobsch=C3=A4tzki?= References: X-Mailer: Apple Mail (2.3445.6.18) X-Haraka-GeoIP: EU, CH, 451km X-Haraka-ASN: 24951 X-Haraka-GeoIP-Received: X-Haraka-ASN: 24951 217.71.80.0/20 X-Haraka-ASN-CYMRU: asn=24951 net=217.71.80.0/20 country=CH assignor=ripencc date=2003-08-07 X-Haraka-FCrDNS: 217-071-083-052.ip-tech.ch X-Haraka-p0f: os="Mac OS X " link_type="DSL" distance=12 total_conn=14 shared_ip=Y X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on spamassassin X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HTML_MESSAGE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Haraka-Karma: score: 6, good: 5457, bad: 3, connections: 5980, history: 5454, asn_score: 424, asn_connections: 458, asn_good: 425, asn_bad: 1, pass:asn, relaying Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 22:08:37 -0000 > Am 17.04.2018 um 06:45 schrieb Niels Kobsch=C3=A4tzki = : >=20 > solved now finally my problem after two weeks and it wasn't the NFS. = I > just got derailed from the real solution again and again from some > people, thus I didn't look in the right place. The cache misses are = gone > now, the application performs now faster than on the other servers. OK, but what was it? From owner-freebsd-net@freebsd.org Thu Apr 19 00:29:05 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDC1DF8FFB4 for ; Thu, 19 Apr 2018 00:29:04 +0000 (UTC) (envelope-from akilan1997@gmail.com) Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 709A9695CD for ; Thu, 19 Apr 2018 00:29:04 +0000 (UTC) (envelope-from akilan1997@gmail.com) Received: by mail-it0-x244.google.com with SMTP id u62-v6so4636692ita.5 for ; Wed, 18 Apr 2018 17:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PjqAHSz7/zRIgIPyRjnAM8HwVt7WoZp8F6Q6xd4v5YM=; b=Cf7NjGKIOCAHuUiYTCsIfx71ZroQJ/RGpgXmFW4YE0KPrUW3tRfmzIcjjeiScnXTwM IsxB/ON1kRr0KOuE1E33grC6hNbjw2nuBcdUFydWUxiIfbBT8T9SyzNIvjW4mIILhjBe zSYUnlH8mwn8gmhUDH0cRAbyFZ7CJltdHWwiDNRH6Lc41flitxwHb8AQ/MbRDP24NRDG mfbIFUBMoC1xXNC8hjxWgLOOKkPZedD0Fhsn0Nywbf6+1ilb0vE5jJV1aHbM2giISNN2 FyJrQL6VvL5FwrUV/bgTeT4VzDvEMAB88n1MsYvOgCewZ81BaEJoCY0qKJMikKx5Auoy r+qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PjqAHSz7/zRIgIPyRjnAM8HwVt7WoZp8F6Q6xd4v5YM=; b=iSqNgBb0aomAE1GDMpK7CR+Z58C/03kSffq1oxP63JySs61kNvx04Mg5//tp2qbHqf 6upS/p4fwOdZRwZlkeHthHNU/NtYe1tggN3mdrIJIvU8AIa9KsvokETSuF45WVmgyW24 geE9MofDvgdyGHGU/sVi9YZV1bV3eqxunS5A6DY4idYrLrZOyJtqywySOr+k7ZN0N9dY CJr0tNf6gzSkEnej8/Uxo5CB8N4SRCk2nV4tjOaosYcG8AlTYdv3timYEj4uBul+Zu2B S/YMeInVqMjTwqiI9CpB+yopjsCmjEwKkOfDI2Y1jy7+Oc+ZMNDP217DvMzvG+li5exI yYVA== X-Gm-Message-State: ALQs6tDeyJRyjy3C5jAIiNT6lINhYbx7KirVJdQ7tHAuSO9r7JmL4ocG BNokSvdFgnxMVZeKVm+Y3Uu0OzvPZQV8ElrZX8YH3g== X-Google-Smtp-Source: AIpwx48G4xCokFOa7U23W67v2nG+ac6dnBEcthqnFaFqjsxfqb6J7cqDAlYIDD8j7pnuUpYka9/OmDmZhyxZwPs+oaY= X-Received: by 2002:a24:5c04:: with SMTP id q4-v6mr4745073itb.69.1524097743417; Wed, 18 Apr 2018 17:29:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.192.155.5 with HTTP; Wed, 18 Apr 2018 17:29:02 -0700 (PDT) From: Akilan Elango Date: Thu, 19 Apr 2018 05:59:02 +0530 Message-ID: Subject: max devices in tun To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 00:29:05 -0000 Hey guys, I was fiddling around with the /dev/tun to write a TUN interface for my app. I wanted to check what is the max amount of interfaces that can be made. Turned out it was 32768 [0 - 32768). But when I created (ifconfig tun32768 create), a weird device appeared as shown in this figure : https://imgur.com/a/0ypbwgg. Is this expected? and I'm unable to delete the device too from ifconfig. From owner-freebsd-net@freebsd.org Thu Apr 19 06:58:39 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CDFDF866FF for ; Thu, 19 Apr 2018 06:58:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C9BB07F2A8 for ; Thu, 19 Apr 2018 06:58:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8DDB1F866FE; Thu, 19 Apr 2018 06:58: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 7B87FF866FD for ; Thu, 19 Apr 2018 06:58:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A5787F2A2 for ; Thu, 19 Apr 2018 06:58:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6FB6D185F0 for ; Thu, 19 Apr 2018 06:58:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3J6wbOm049448 for ; Thu, 19 Apr 2018 06:58:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3J6wboP049446 for net@FreeBSD.org; Thu, 19 Apr 2018 06:58:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227502] Unable to add pfsense as monitored target in ntopng Date: Thu, 19 Apr 2018 06:58:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: florin.samareanu@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: harti@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 06:58:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227502 --- Comment #4 from Florin Samareanu --- Thank you. I've passed the message back to ntopng devs. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Apr 19 07:03:46 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA401F86D44 for ; Thu, 19 Apr 2018 07:03:46 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 30DB38118A for ; Thu, 19 Apr 2018 07:03:45 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w3J73WWp075496 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Apr 2018 09:03:33 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: akilan1997@gmail.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w3J73LFl025091 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 19 Apr 2018 14:03:21 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: max devices in tun To: Akilan Elango , freebsd-net@freebsd.org References: From: Eugene Grosbein Message-ID: <5AD83F35.5060402@grosbein.net> Date: Thu, 19 Apr 2018 14:03:17 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 07:03:46 -0000 19.04.2018 7:29, Akilan Elango wrote: > Hey guys, > I was fiddling around with the /dev/tun to write a TUN interface > for my app. I wanted to check what is the max amount of interfaces > that can be made. Turned out it was 32768 [0 - 32768). But when I > created (ifconfig tun32768 create), a weird device appeared as shown > in this figure : https://imgur.com/a/0ypbwgg. > > Is this expected? and I'm unable to delete the device too from ifconfig. You should tell what FreeBSD version do you use. It does not do so for my 11.1/i386: # ifconfig tun32768 create ifconfig: SIOCIFCREATE2: No space left on device From owner-freebsd-net@freebsd.org Thu Apr 19 10:48:46 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2E9BF982CD for ; Thu, 19 Apr 2018 10:48:45 +0000 (UTC) (envelope-from danfe@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 822A9755B4 for ; Thu, 19 Apr 2018 10:48:45 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 45C59F982C6; Thu, 19 Apr 2018 10:48: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 32A46F982C5; Thu, 19 Apr 2018 10:48:45 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC1CA75587; Thu, 19 Apr 2018 10:48:44 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id D0A922914; Thu, 19 Apr 2018 10:48:44 +0000 (UTC) Date: Thu, 19 Apr 2018 10:48:44 +0000 From: Alexey Dokuchaev To: Andrew Gallatin Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, net@FreeBSD.org Subject: Re: svn commit: r332645 - head/sbin/ifconfig Message-ID: <20180419104844.GA8384@FreeBSD.org> References: <201804171254.w3HCsxPx024349@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201804171254.w3HCsxPx024349@repo.freebsd.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 10:48:46 -0000 On Tue, Apr 17, 2018 at 12:54:59PM +0000, Andrew Gallatin wrote: > New Revision: 332645 > URL: https://svnweb.freebsd.org/changeset/base/332645 > > Log: > Make lagg creation more fault tolerant > > - Warn, don't exit, when SIOCSLAGGPORT returns an error. > > When we exit with an error during lagg creation, a single > failed NIC (which no longer attaches) can prevent lagg > creation and other configuration, such as adding an IPv4 > address, and thus leave a machine unreachable. Hey Andrew, Since you're on lagg(4) a bit, could you perhaps have a look at this thread from last year on -net@: https://lists.freebsd.org/pipermail/freebsd-net/2017-June/048284.html I've been asked by several people that were using WiFi-CopperNet failover which worked fine in FreeBSD 10.x but was broken since then. I'm not an src committer nor a network stack expert in this area nor I'm using lagg(4), but perhaps you could expedite on handling this or at least point us to a more appropriate channel (due to lack of interest on -net@). ./danfe From owner-freebsd-net@freebsd.org Thu Apr 19 15:34:45 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B6ECF84E41 for ; Thu, 19 Apr 2018 15:34: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 99EA06EA66 for ; Thu, 19 Apr 2018 15:34:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 57F3AF84E40; Thu, 19 Apr 2018 15:34: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 4545AF84E3F for ; Thu, 19 Apr 2018 15:34: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA0B96EA52 for ; Thu, 19 Apr 2018 15:34: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 CEA421CBA2 for ; Thu, 19 Apr 2018 15:34:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3JFYgrj061135 for ; Thu, 19 Apr 2018 15:34:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3JFYgA2061134 for net@FreeBSD.org; Thu, 19 Apr 2018 15:34: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 218579] Wake on Lan doesn't work for bge NIC driver Date: Thu, 19 Apr 2018 15:34:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gmc@metro.cx X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 15:34:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218579 --- Comment #8 from Koen Martens --- (In reply to Cy Schubert from comment #6) Hi, thanks for the reply (and the reworked patch). I guess the patch won't = go upstream because of the reasons mentioned (ie. potential to blow up boards = that can't support enough power when the system is powered down)? I'm also surprised it did work for me. I actually woke up the machine with wake-on-lan to ssh into it and upgrade it to 11.1-RELEASE. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Apr 20 00:56:29 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5171EF8CF34 for ; Fri, 20 Apr 2018 00:56: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 DA1536C1F6 for ; Fri, 20 Apr 2018 00:56:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 98C33F8CF33; Fri, 20 Apr 2018 00:56: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 867B4F8CF32 for ; Fri, 20 Apr 2018 00:56:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 230D46C1F4 for ; Fri, 20 Apr 2018 00:56: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 5EB68215A9 for ; Fri, 20 Apr 2018 00:56: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 w3K0uRkO016909 for ; Fri, 20 Apr 2018 00:56:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3K0uRTF016907 for net@FreeBSD.org; Fri, 20 Apr 2018 00:56: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 218579] Wake on Lan doesn't work for bge NIC driver Date: Fri, 20 Apr 2018 00:56:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 00:56:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218579 --- Comment #9 from Cy Schubert --- (In reply to Koen Martens from comment #8) That bug has been fixed in the latest patch I posted here. No worries about drawing too much current when powered off any more. I've been using it and previous versions of this patch on my laptop (only machine I have with bge) for about a year. I suppose I should submit the patch in phabricator for review prior to comm= it. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Apr 20 01:09:05 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE8C7F8DF71 for ; Fri, 20 Apr 2018 01:09:05 +0000 (UTC) (envelope-from akilan1997@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 798CA6C9C0 for ; Fri, 20 Apr 2018 01:09:05 +0000 (UTC) (envelope-from akilan1997@gmail.com) Received: by mail-io0-x22b.google.com with SMTP id d11-v6so906245iof.11 for ; Thu, 19 Apr 2018 18:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+hc32At2I46ED3QBtwureUSP7TGnaQTt8vpC2k1Y+tc=; b=X2IHDVLbug5p1TmyLvtTIXps03LQBfsNVeYUK7Evdz1FEo9+JJGDZlLZplxWuN/aOS 3xP0vmSSFK3J8hhbOpVLTmOxxAFRhNsnoWTCM2HgvJzZkwUc7+YxI6RTg5+HZvTo8Z1w bH64qUVb07B9L5XB7fAIqmj8z6WbF4oAoW3ZnhzZ1EMhs1xDzu60r+N057RW8ZJ/05MW fwTr4Vi7bOf9IaEHbkZm4VWBkKLMijJp8OcjYYD/iUuj020tmTLd6SKL+7CfL0eKy/DY Yc4sx6jtFmSmlVnL9fdLf+ZzN7gYn6tcyE0adc8mccAY0SEgI8Cmrsj12FqoG/tYgw4D XYQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+hc32At2I46ED3QBtwureUSP7TGnaQTt8vpC2k1Y+tc=; b=UFdp9PpnvKQHk8g4CqfIC+LM+5o8PolAXdtx/72q5tV59GdKiFkA+mKC8H+4oqbh6a s2WXhKY4oHPwyM2ZNgltSaRP4sYrYbNoqCzB/kSuP5Knnc7JbByRkRmm/rz+bMrF5rvX nfo/Ono3otcIYksQivQIuqnlwlU6Gjdn+KtHF68YeoIDhPYzbiRjV5Yi+/fdltWm5in5 1Co+VUc5zmKhKou8jm0NY0LP5GZbtjF9hKfFSDeLErwjr2bFzT1u+e62DBVykf+d+4yX Yed6QFq4+GyB3cm/8UzrTCJgD78aKk9rFRBVljWfC+truw+3QhTx8MLqKcZdufHIyG+h jz/w== X-Gm-Message-State: ALQs6tAvdp9/57CbQXU4b69/VFnqjKoxcqZvSxfqabqIEGJHG5zWjRzo /ZgQlHmroxKs1jv9xxL+OWUGql/B0t52xE/HCLo= X-Google-Smtp-Source: AB8JxZog6BgmAvwbDjBa9JOuSvRdSAnT3+O1AsQOV7dm2v2esHBYKW+KkkZsTMJXB3KEkI0EYZisl9ud7M4P4Xj/NSs= X-Received: by 2002:a6b:2815:: with SMTP id o21-v6mr9063739ioo.290.1524186544595; Thu, 19 Apr 2018 18:09:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.192.188.210 with HTTP; Thu, 19 Apr 2018 18:09:04 -0700 (PDT) From: Akilan Elango Date: Fri, 20 Apr 2018 06:39:04 +0530 Message-ID: Subject: Re: max devices in tun To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 01:09:06 -0000 I'm using FreeBSD 11.1 current in a qemu instance. Today I tried it it said no space left on device. So I can say that it happened for some other number. (not 32768) Actually I tried other numbers too. and today it also created a character special device in /dev/tun for some huge number which wasn't shown in ifconfig. Sorry for any lack of info. I'll try to gather more from the bash history if I can. From owner-freebsd-net@freebsd.org Fri Apr 20 02:37:34 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A2B1F94986 for ; Fri, 20 Apr 2018 02:37:34 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1EB507F45A for ; Fri, 20 Apr 2018 02:37:34 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id D1111F9497F; Fri, 20 Apr 2018 02:37: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 94364F9497E for ; Fri, 20 Apr 2018 02:37:33 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AF0C7F436 for ; Fri, 20 Apr 2018 02:37:33 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-vk0-x230.google.com with SMTP id w1so4415728vkf.3 for ; Thu, 19 Apr 2018 19:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=Iha6aKhr/MeISpm/xeddYHM/N5rB9hCfOMpW5SS/RH0=; b=O4ideGU33LjEwiPJm7aXE0s2jh5FTTkybCG4oSv/UlJyGbtYm0RN8YAJQj43GLgI/L BT+ubG/gAn2tahlP2TDuX31FL4eBz7ErsIUHiEx8jb8ykpSqrEC2pp0cH9fA9wDLytDr ycn1SoS8B5J80QNVR3DN8K403Og3O8SVa5nl2D6hoIaXxo6c0tb9dcV+AW2RFj41FYkO Hv8RXDng/jIwK+8Sh6DxoyCErfSRrnueTQgfUx5f6itCFMJ63ciMiXmP55TzWZBbbWuw c1NuM6uEPam5oog0lfQ56+Jwd58HKQBZwqLh/OlNMz/LI3Lpo/VYtduQuY3XInMIYhZ1 loxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=Iha6aKhr/MeISpm/xeddYHM/N5rB9hCfOMpW5SS/RH0=; b=eQl6OUCgD6ZZXYEKp590H4nPqo0ClfG6cYxOrAEp5EnIl4BlvjJSWVI1Cyu1ZrjVNn 5ENbBlb9hpf1aU+tsAq9K5ePV5+d+jMvTrISn+zm77+Ve0N9dX8QvNgud3lZLQLrLTvl naG1zsgQlI1A9jF3s6MC7ZP7qzxcVpNNi4OWft2eTEONxi/5r0lQFpv0zUUNbS1RnJd7 dg8HECRA9wzuCc+FKYp0QE3yxjtcPRtRESx+Z2E2qr+EhTUgfL9uu2KqRinC3lwd1yLy uwvnwtz+N59TInTUiYBwDFgShZ8NUU2W9v5DC+VIaSlx0FlVncBufF8T+Bcq+zYmBCW5 alJg== X-Gm-Message-State: ALQs6tBz+ltXz4/l1kKt0I+2mbGIcM1vHbz8DuSUQ1GSfs+tsxtbnfUg BBFOJE/m0RmD5rxc3ziVNEgZhXLJRvpVUgnXfA+oRE4n X-Google-Smtp-Source: AIpwx49RnJnPtG9+m3gMoCsBAV/2TI2LBDzZ8CX/bEup0jnCoP7cj5pysdAMNl61i3B+Cd+oNeod8fkCSqWTjGeJM6A= X-Received: by 10.31.161.207 with SMTP id k198mr120914vke.78.1524191852054; Thu, 19 Apr 2018 19:37:32 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.95.198 with HTTP; Thu, 19 Apr 2018 19:37:31 -0700 (PDT) From: Kevin Oberman Date: Thu, 19 Apr 2018 19:37:31 -0700 X-Google-Sender-Auth: EOz1Eg5mjQaPqaV89rPIEpanWZ8 Message-ID: Subject: Bad outbound performance with Intel 6205 [Taylor Peak] WiFi (IWN) To: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 02:37:34 -0000 I am seeing poor performance on my WiFi that seems to have deteriorated since FreeBSD V11.0. I see an average of about 35 errors for every packet transmitted. wlan0 1500 a0:88:b4:c6:ad:28 14501195 0 0 367667 12886354 0 I have always seen lot of errors on transmission on this interface, but I have recently noticed that uploads were very slow. They seem to max out at about 20 Mbps (bits, not bytes). For "normal" traffic (as opposed to test traffic) it is often much worse, often topping out at around 2 or 3 Mbps. No input errors at all and god download performance. Are others seeing this? Any suggestions for troubleshooting? I don't see much in the way of statistics or diagnostic information on iwn. the man page gives me no clues. Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-net@freebsd.org Fri Apr 20 04:03:39 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2186F9FB43 for ; Fri, 20 Apr 2018 04:03:39 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (wollman-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4730C73F9D for ; Fri, 20 Apr 2018 04:03:39 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.15.2/8.15.2) with ESMTP id w3K43bci032886 for ; Fri, 20 Apr 2018 00:03:37 -0400 (EDT) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.15.2/8.14.4/Submit) id w3K43brZ032885; Fri, 20 Apr 2018 00:03:37 -0400 (EDT) (envelope-from wollman) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23257.26265.720293.659892@hergotha.csail.mit.edu> Date: Fri, 20 Apr 2018 00:03:37 -0400 From: Garrett Wollman To: freebsd-net@freebsd.org Subject: Diagnosing terrible ixl performance X-Mailer: VM 8.2.0b under 25.3.1 (amd64-portbld-freebsd10.3) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (hergotha.csail.mit.edu [127.0.0.1]); Fri, 20 Apr 2018 00:03:38 -0400 (EDT) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, HEADER_FROM_DIFFERENT_DOMAINS autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hergotha.csail.mit.edu X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 04:03:39 -0000 I'm commissioning a new NFS server with an Intel dual-40G XL710 interface, running 11.1. I have a few other servers with this adapter, although not running 40G, and they work fine so long as you disable TSO. This one ... not so much. On the receive side, it gets about 600 Mbit/s with lots of retransmits. On the *sending* side, though, it's not even able to sustain 10 Mbit/s -- but there's no evidence of retransmissions, it's just sending really really slowly. (Other machines with XL710 adapters are able to sustain full 10G.) There is no evidence of any errors on either the adapter or the switch it's connected to. So far, I've tried: - Using the latest Intel driver (no change) - Using the latest Intel firmware (breaks the adapter) - Disabling performance tweaks in loader.conf and sysctl.conf - Changing congestion-control algorithms Anyone have suggestions while I still have time to test this? (My plan B is to fall back to an X520 card that I have in my spares kit, because I *know* those work great with no faffing about.) Any relevant MIBs to inspect? The test I'm doing here is simple iperf over TCP, with MTU 9120. It takes about 10 seconds for the sending side to complete, but buffers are severely constipated for 20 seconds after that (delaying all traffic, including ssh connections). I'm at the point of trying different switch ports just to eliminate that as a possibility. -GAWollman From owner-freebsd-net@freebsd.org Fri Apr 20 05:49:20 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F5AAFA754B for ; Fri, 20 Apr 2018 05:49:20 +0000 (UTC) (envelope-from hrant.dadivanyan@gmail.com) Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0AD76CF37 for ; Fri, 20 Apr 2018 05:49:19 +0000 (UTC) (envelope-from hrant.dadivanyan@gmail.com) Received: by mail-wr0-f194.google.com with SMTP id u11-v6so19586588wri.12 for ; Thu, 19 Apr 2018 22:49:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=plOXyKfrbDoeH9UoA7ZGP4KVlJBMFtmWK4HrmvVVBHc=; b=Mkn+FT2wpatZEiwPeV152P9friOsOKVhKbjDb9WmQYrx3/eTmtuNI0vuKk3JU2gh45 GROwd3CyFSy1YAHmIjFiggZiaq0WYbuvqQcfJ4pNL5Cf1nL6KkA57xOh+k/Um9r06nde FP+G74UiYo+wJp9E0FYAdaIUp4HNVnQkG+wFjiihqxRnKfsQX4qR6RgF4wBaRGo+u7Gl 0fejcklxJhvEW9Mb038I1ZVenD8mT1TKyh0loWOdLrxH8Dra33IUCpzdPrvgK1/1OZF8 gfVF2nyEbRM1lrIUQ78eMi8m5jwYSGZuTvqtjbXYqENYy/jwoiBNSDaCqWakqXzlQXjm xJNw== X-Gm-Message-State: ALQs6tBy5ORdYiB5ueABqAj1KE9FsvuJ0zK8vfBj7I/AeGiiz9Ib10eN Hf8U0U/HukOjxpM3Mipjeb5PJOvk X-Google-Smtp-Source: AIpwx4+uY/zFwCOxP5dv8emI7jEQkvsfCq1jNZz7wttIrQRlBdt60Ivlk9lRPebBV7DpmHZvbJ3wFA== X-Received: by 2002:adf:87d4:: with SMTP id c20-v6mr6964142wrc.197.1524201995354; Thu, 19 Apr 2018 22:26:35 -0700 (PDT) Received: from dadivanyan.net ([141.136.64.188]) by smtp.gmail.com with ESMTPSA id 44-v6sm4132875wrl.83.2018.04.19.22.26.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 22:26:34 -0700 (PDT) Subject: Re: Bad outbound performance with Intel 6205 [Taylor Peak] WiFi (IWN) To: freebsd-net@freebsd.org References: From: Hrant Dadivanyan Openpgp: preference=signencrypt Autocrypt: addr=hrant@dadivanyan.net; prefer-encrypt=mutual; keydata= xsBNBFgDUB4BCACuEuOfqVeiotV5BY/6IlWfSvmsY+EI9yYA62Q5310oYUsKBL4HwKpNl5N2 7Nt3YJWp5QAkB49B4msl9fGpzKK/obxDwoM37bf3Np789dSRp9EKk71Thel3eeaYvaz2K7w4 iT+R5/1/5Wvn5TqV96X9aTlmzDkz7eHJ3SRVsz2Vbk4fbbFSAv1OaDaiscOVpDXZsVLUMoL3 N8YLMmsNHw8pt7Kh/08Pd5SU4k576Mo2TUWG0uRiL2BunQP/JMvs/jU8L5xpaXi1MfEFyRfC 3xEeEM9hjBn3PgJgtJW071CRibc7E+e9Xi5K7kVn4MQnoZM0byiyC26XHtKehS7rtoZDABEB AAHNJ0hyYW50IERhZGl2YW55YW4gPGhyYW50QGRhZGl2YW55YW4ubmV0PsLAeAQTAQIAIgUC WANQHgIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQh/fmw7c/bD0TmwgApxRd9pxN dypwqb87PYTbEwn9lBl4lHOTjuvrH+MWeIYhnG9R9AOd+MsxixMxvCVL+o54qv9HDx9Ew3ao u89QqAjzB/vsqBUldr1hluO8VUeFAYAiXZQKjToMPZQjFANrIdlAkb4E4DhGG8lKSL+t/yqf Ey3YXcx7qntsPCHnkZbXzabx37x2MOHyuSLLoqvmNHq7un99+dhNgdNxQCliDEqys8xe3Iie uThYdAaxczqZ6oHQ0iMsRJgJRwXB9CengCxZ+Znd48ugdE1ueig6NJxlrpdSrAgNpa393Cwf FLi9SkKSGciSCWjTWjkcv1Mwj5kFzSrRlLKt0/MsPwOTt87ATQRYA1AeAQgA82m2h8C4Sj4B Kzvw29PQ3IyiQCx5mwP6JDp3X+ePPT8ZG0yDveTqXQej9ZPTOpUdofMgPc86qp19zyjAqc0l 6liOxxFAEGfV3dWKJGXA0t5dQiuBeVb+++Z8WsSsKG8pVoeFkchBvJK5DlHgpb7DaUNLevBK /fR9x3apK1zeyz2W2njs8MI7+ZBEW9O2FaEV2m9VkjVJj5SBBbm+IMYJKhgH0tPwViPoLBbp mpII1zCNyu74XlyjmPkfa5DW862UvAvljtJmNlgFt6Lu/BJYNvqe1Q56hA1NwmVjNrofnLur Vr36L/bBcmBCNXqOBmafjrjnrX5Q7eJyJDe8E2h9RwARAQABwsBfBBgBAgAJBQJYA1AeAhsM AAoJEIf35sO3P2w9RcgIAIgkvrZ7MvKWUe93WLDjpSOAL9iq8DxPTczjQ2vlnVawn0bh7Qvq Awktno+4PXi5CRx4k43npnRrj6NTg4QYrGW5eir9XQnAY45K29GeTB/TbTG7PHJfwDYD9SCW aultbVIWKlzJVreRuQFbQYMau67RLs1x2g5XkZlbGtk9gReEQv5wXUiW2KHXTxdZVAz7Imfe E7Qm/YQPImxUWj6s46gyLnSq20rGrtd1240rKHML3eVKTU7daBcs5YV0QOKOlDEbXO8J+Y0O iz7QApDB0RfSTHvUh6bn6P7cNPXQFA6JYfd9TIaW32tAUJYeYB6Q5q29VeXH0s+qJE7OLFDT YQI= Message-ID: Date: Fri, 20 Apr 2018 09:26:17 +0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kgpODPCG5IIObaum9OJ5rmhpEs2a9hyeB" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 05:49:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kgpODPCG5IIObaum9OJ5rmhpEs2a9hyeB Content-Type: multipart/mixed; boundary="EFzZB0nIKSOARE3GbWaxnG9s94Hh4SyZ4"; protected-headers="v1" From: Hrant Dadivanyan To: freebsd-net@freebsd.org Message-ID: Subject: Re: Bad outbound performance with Intel 6205 [Taylor Peak] WiFi (IWN) References: In-Reply-To: --EFzZB0nIKSOARE3GbWaxnG9s94Hh4SyZ4 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/20/18 06:37, Kevin Oberman wrote: > I am seeing poor performance on my WiFi that seems to have deteriorated= > since FreeBSD V11.0. I see an average of about 35 errors for every pack= et > transmitted. > wlan0 1500 a0:88:b4:c6:ad:28 14501195 0 0 3676= 67 > 12886354 0 >=20 > I have always seen lot of errors on transmission on this interface, but= I > have recently noticed that uploads were very slow. They seem to max out= at > about 20 Mbps (bits, not bytes). For "normal" traffic (as opposed to te= st > traffic) it is often much worse, often topping out at around 2 or 3 Mbp= s. >=20 > No input errors at all and god download performance. >=20 > Are others seeing this? Any suggestions for troubleshooting? I don't se= e > much in the way of statistics or diagnostic information on iwn. the man= > page gives me no clues.> iwn0@pci0:3:0:0: class=3D0x028000 card=3D0xc2208086 chip=3D0x00858= 086 rev=3D0x96 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Centrino Advanced-N 6205 [Taylor Peak]' class =3D network iwn0: mem 0xf0c00000-0xf0c01fff at device 0.0 on pci2 Name Mtu Network Address Ipkts Ierrs Idrop Ibytes Opkts Oerrs Obytes Coll wlan0 1500 84:3a:4b:cb:aa:c0 3914486 2 0 5523440357 7685 2087124 888555 0 The same 6205, I didn't notice bad upload performance though. Numbers of Ipkts and Oerrs are close enough and Opkts is too small compared to Ipkts, so I believe the driver misbehaves a bit and erroneously shows number of output packets as Oerrs. The Obytes also seems to be too small to be correct. A few months ago the association with AP starts sometimes to stall with no traffic in/out at all, reconfig in wpa_cli helps then. Looks like it correlates with upgrade from 10-stable to 11, but I'm not so sure. > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > _______________________________________________ > 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 --=20 Hrant Dadivanyan (aka Ran d'Adi) hrant(at)dadivanyan.net /* "Feci quod potui, faciant meliora potentes." */ ran(at)psg.com --EFzZB0nIKSOARE3GbWaxnG9s94Hh4SyZ4-- --kgpODPCG5IIObaum9OJ5rmhpEs2a9hyeB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEEPbz+l3tnoK718ci3h/fmw7c/bD0FAlrZeggACgkQh/fmw7c/ bD0vEwf9FAobn/xZer/96tzMUz1oOx8hayZUTHuIqIIBXtW4fqUrq8zM8qgT4V/N yclC1Zm0wH8r2eyWEd5fx27J5uY04vlNgWsHaYjqyhBW7YVryHN5kaV45vyySeQG u1XZSGxHGnLBwWww7hACElY8BWEptuY+n/m23w/yFyRHkD9amSTlkvJmPPjMr2LS rKkMoojiR89zN2oLZVWXzK6PJCGesW/j+9eeiVLoL9HCmmLpugXezCrBi5Ln//bE fTZh1gW1HGjz/M/x/Bj+3YhGjvf8yJrZIb1ftamzrYTgQqbBfYKB68fvhP6G1059 hzf0XKdzcRF7OXvcVtyEucRMtQPWJg== =wZBT -----END PGP SIGNATURE----- --kgpODPCG5IIObaum9OJ5rmhpEs2a9hyeB-- From owner-freebsd-net@freebsd.org Fri Apr 20 06:16:00 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84010FA9242 for ; Fri, 20 Apr 2018 06:16:00 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 251A47334B for ; Fri, 20 Apr 2018 06:15:59 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (220-253-154-11.dyn.iinet.net.au [220.253.154.11]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w3K6FdE7041366 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 19 Apr 2018 23:15:42 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: Diagnosing terrible ixl performance To: Garrett Wollman , freebsd-net@freebsd.org References: <23257.26265.720293.659892@hergotha.csail.mit.edu> From: Julian Elischer Message-ID: Date: Fri, 20 Apr 2018 14:15:34 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <23257.26265.720293.659892@hergotha.csail.mit.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 06:16:00 -0000 On 20/4/18 12:03 pm, Garrett Wollman wrote: > I'm commissioning a new NFS server with an Intel dual-40G XL710 > interface, running 11.1. I have a few other servers with this > adapter, although not running 40G, and they work fine so long as you > disable TSO. This one ... not so much. On the receive side, it gets > about 600 Mbit/s with lots of retransmits. On the *sending* side, > though, it's not even able to sustain 10 Mbit/s -- but there's no > evidence of retransmissions, it's just sending really really slowly. > (Other machines with XL710 adapters are able to sustain full 10G.) > There is no evidence of any errors on either the adapter or the switch > it's connected to. > > So far, I've tried: > > - Using the latest Intel driver (no change) > - Using the latest Intel firmware (breaks the adapter) > - Disabling performance tweaks in loader.conf and sysctl.conf > - Changing congestion-control algorithms replacing  card?  obvious but you don't list it... > > Anyone have suggestions while I still have time to test this? (My > plan B is to fall back to an X520 card that I have in my spares kit, > because I *know* those work great with no faffing about.) Any > relevant MIBs to inspect? > > The test I'm doing here is simple iperf over TCP, with MTU 9120. It > takes about 10 seconds for the sending side to complete, but buffers > are severely constipated for 20 seconds after that (delaying all > traffic, including ssh connections). > > I'm at the point of trying different switch ports just to eliminate > that as a possibility. that is also a possibility, as well as swap cables with a good machine... > > -GAWollman > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Fri Apr 20 08:27:20 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1B3EFB0FED for ; Fri, 20 Apr 2018 08:27:20 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from mail.otcnet.ru (mail.otcnet.ru [194.190.78.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0A66D7A8 for ; Fri, 20 Apr 2018 08:27:20 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from Victors-MacBook-Air-2.local (unknown [195.91.148.145]) by mail.otcnet.ru (Postfix) with ESMTPSA id 65A1A596625 for ; Fri, 20 Apr 2018 11:17:36 +0300 (MSK) To: freebsd-net@freebsd.org From: Victor Gamov Subject: multiple if_ipsec Organization: OTCnet Message-ID: Date: Fri, 20 Apr 2018 11:17:27 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 08:27:20 -0000 Hi All I have FreeBSD box (11.1-STABLE FreeBSD 11.1-STABLE #0 r327786) and simple configuration with two if_ipsec configured like ===== ipsec25: flags=8051 metric 0 mtu 1400 description: -so: Sofy tunnel inet IP-FreeBSD --> IP-Cisco-RTR-1 inet 10.10.98.6 --> 10.10.98.5 netmask 0xfffffffc nd6 options=29 reqid: 25 groups: ipsec ipsec30: flags=8051 metric 0 mtu 1400 description: -so: Kurskaya tunnel inet IP-FreeBSD --> IP-Cisco-RTR-2 inet 10.10.98.1 --> 10.10.98.2 netmask 0xfffffffc nd6 options=29 reqid: 30 groups: ipsec ===== IPsec started with "flush; spdflush;" only config. FreeBSD setkey -DP reports (IPv6 skipped) ===== 0.0.0.0/0[any] 0.0.0.0/0[any] any in ipsec esp/tunnel/IP_Cisco_RTR_1-IP_FreeBSD/unique:25 spid=9 seq=7 pid=94296 scope=ifnet ifname=ipsec25 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] any in ipsec esp/tunnel/IP_Cisco_RTR_2-IP_FreeBSD/unique:30 spid=13 seq=5 pid=94296 scope=ifnet ifname=ipsec30 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] any out ipsec esp/tunnel/IP_FreeBSD-IP_Cisco_RTR_1-IP/unique:25 spid=10 seq=3 pid=94296 scope=ifnet ifname=ipsec25 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] any out ipsec esp/tunnel/IP_FreeBSD-IP_Cisco_RTR_2-IP/unique:30 spid=14 seq=1 pid=94296 scope=ifnet ifname=ipsec30 refcnt=1 ===== Then racoon.conf (from security/ipsec-tools-0.8.2_2) configured like ===== remote "kur" { exchange_mode main; doi ipsec_doi; situation identity_only; my_identifier address IP-FreeBSD; peers_identifier address IP-Cisco-RTR-2; verify_identifier on; nonce_size 16; lifetime time 240 min; # sec,min,hour initial_contact on; # support_mip6 on; support_proxy on; proposal_check obey; # obey, strict or claim proposal { encryption_algorithm 3des; hash_algorithm sha1; authentication_method pre_shared_key ; dh_group 2 ; } } remote "sofy" { exchange_mode main; doi ipsec_doi; situation identity_only; my_identifier address IP-FreeBSD; peers_identifier address IP-Cisco-RTR-1; verify_identifier on; nonce_size 16; lifetime time 240 min; # sec,min,hour initial_contact on; # support_mip6 on; support_proxy on; proposal_check obey; # obey, strict or claim proposal { encryption_algorithm 3des; hash_algorithm sha1; authentication_method pre_shared_key ; dh_group 2 ; } } sainfo anonymous { pfs_group 2; lifetime time 24 hour; encryption_algorithm aes; authentication_algorithm hmac_sha1, hmac_md5; compression_algorithm deflate; } ===== All local SA configured and established and remote side (Cisco routers) report SA established too. But traffic goes via only one ipsec-interface. Can anybody explain where is my problem: - FreeBSD misconfig - racoon misconfig - racoon not support multiple ipsec configuration - something else Thanks -- CU, Victor Gamov From owner-freebsd-net@freebsd.org Fri Apr 20 10:07:04 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCAE8F8DF6F for ; Fri, 20 Apr 2018 10:07:04 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 462578352D for ; Fri, 20 Apr 2018 10:07:04 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback5g.mail.yandex.net (mxback5g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:166]) by forward106p.mail.yandex.net (Yandex) with ESMTP id D9BC22D82376; Fri, 20 Apr 2018 13:06:52 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback5g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 7pg77GALvT-6qfeCxG2; Fri, 20 Apr 2018 13:06:52 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1524218812; bh=kiMaH0AhJhaQG8DFFqZCHg+eHktX+qQAhESMorWmBro=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=ljTbrJpjLqXKvrWxIiJeSS4VLNQyVmWEP/zux8TivIA6zXDx7+/2G5PPpvUQyfc1A 1PbfAsFqQ6vFipCL2BRZAIHGOrR1BJjmS/daCsiWn4d1CKdHlCjqYtiIwcGI3mPCdP XqTN2avttBrIK9gokgpWSZRNj6v/N7a7JGwfYjPc= Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id K8LHRgO9Qk-6q5imNvW; Fri, 20 Apr 2018 13:06:52 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1524218812; bh=kiMaH0AhJhaQG8DFFqZCHg+eHktX+qQAhESMorWmBro=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=ljTbrJpjLqXKvrWxIiJeSS4VLNQyVmWEP/zux8TivIA6zXDx7+/2G5PPpvUQyfc1A 1PbfAsFqQ6vFipCL2BRZAIHGOrR1BJjmS/daCsiWn4d1CKdHlCjqYtiIwcGI3mPCdP XqTN2avttBrIK9gokgpWSZRNj6v/N7a7JGwfYjPc= Authentication-Results: smtp4p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: multiple if_ipsec To: Victor Gamov , freebsd-net@freebsd.org References: From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= xsBNBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAHNIkFuZHJleSBWLiBFbHN1a292IDxhZUBmcmVlYnNkLm9yZz7CwHsEEwECACUCGwMGCwkI BwMCBhUIAgkKCwQWAgMBAh4BAheABQJMB/ruAhkBAAoJEAHF6gQQyKF6MLwH/3Ri/TZl9uo0 SepYWXOnxL6EaDVXDA+dLb1eLKC4PRBBjX29ttQ0KaWapiE6y5/AfzOPmRtHLrHYHjd/aiHX GMLHcYRXD+5GvdkK8iMALrZ28X0JXyuuZa8rAxWIWmCbYHNSBy2unqWgTI04Erodk90IALgM 9JeHN9sFqTM6zalrMnTzlcmel4kcjT3lyYw3vOKgoYLtsLhKZSbJoVVVlvRlGBpHFJI5AoYJ SyfXoN0rcX6k9X7Isp2K50YjqxV4v78xluh1puhwZyC0p8IShPrmrp9Oy9JkMX90o6UAXdGU KfdExJuGJfUZOFBTtNIMNIAKfMTjhpRhxONIr0emxxDOwE0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAcLAXwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <5e36ac3f-39ce-72c5-cd97-dd3c4cf551a7@yandex.ru> Date: Fri, 20 Apr 2018 13:04:09 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t5fsJ9Ab4RKwZZMJ2pFZwKL4FgvUC7ICD" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 10:07:05 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --t5fsJ9Ab4RKwZZMJ2pFZwKL4FgvUC7ICD Content-Type: multipart/mixed; boundary="1rOouykyiWT7cpIJHS2vgPl9harmdyZ7t"; protected-headers="v1" From: "Andrey V. Elsukov" To: Victor Gamov , freebsd-net@freebsd.org Message-ID: <5e36ac3f-39ce-72c5-cd97-dd3c4cf551a7@yandex.ru> Subject: Re: multiple if_ipsec References: In-Reply-To: --1rOouykyiWT7cpIJHS2vgPl9harmdyZ7t Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 20.04.2018 11:17, Victor Gamov wrote: > All local SA configured and established and remote side (Cisco routers)= > report SA established too. >=20 > But traffic goes via only one ipsec-interface. If you have all SAs established, you probably need to check your routing configuration. Or at least test that addresses configured on the ipsecXX interfaces are reachable. --=20 WBR, Andrey V. Elsukov --1rOouykyiWT7cpIJHS2vgPl9harmdyZ7t-- --t5fsJ9Ab4RKwZZMJ2pFZwKL4FgvUC7ICD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlrZuxkACgkQAcXqBBDI oXqn0Af/RWoTowNl2YTGLvIkJSRc5ps1/6cwczeDaenmGPye1wutzMbYrVKGDf7+ mhH1ieF2nIpg69ClDNZJTAMFACReYoW5dOckmntnJbGBds45po/gvcD+E5dHDJcP SqvUVd5rm7ps1bawhJNi2PWcaX9N/vVCcVJKlahvk7wW/MEm6PCiRab7XpgrvLZg FZAeH25sk1n1wTw4WlKwXQjYx6uEsIB+IWf5XQXybxxXf6/y37bBo5WzaUwCV2/B H1K2570BzJt1EVK4FHPCMyL4Ibqg+gghEBAIyb6wuKaySLfRSDcl/67cYRC0CKmV LDPMsHXEXmpYFnJrg+EPos+OUq21Ww== =if2w -----END PGP SIGNATURE----- --t5fsJ9Ab4RKwZZMJ2pFZwKL4FgvUC7ICD-- From owner-freebsd-net@freebsd.org Fri Apr 20 13:31:58 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D05DFA3D4F for ; Fri, 20 Apr 2018 13:31:58 +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 A758771B91 for ; Fri, 20 Apr 2018 13:31:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5E530FA3D48; Fri, 20 Apr 2018 13:31:57 +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 4BC78FA3D46 for ; Fri, 20 Apr 2018 13:31:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D9B7E71B8D for ; Fri, 20 Apr 2018 13:31:56 +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 0F3762793E for ; Fri, 20 Apr 2018 13:31:56 +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 w3KDVt1J059679 for ; Fri, 20 Apr 2018 13:31:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3KDVtLZ059677 for net@FreeBSD.org; Fri, 20 Apr 2018 13:31:55 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 227654] [panic] repeatable crash with IPv6+lagg+vlan+em Date: Fri, 20 Apr 2018 13:31:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 13:31:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227654 Bug ID: 227654 Summary: [panic] repeatable crash with IPv6+lagg+vlan+em Product: Base System Version: 11.1-STABLE Hardware: Any OS: Any Status: New Keywords: crash Severity: Affects Only Me Priority: --- Component: kern Assignee: net@FreeBSD.org Reporter: eugen@freebsd.org CC: stable@FreeBSD.org Created attachment 192681 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192681&action= =3Dedit panic screenshot Hi! I run my workstation under FreeBSD 11.1-STABLE/amd64 r331249 with custom ke= rnel including IPv6 support, options DDB, KDB, INVARIANTS and WITNESS. The following sequence of commands produces a panic reliably, including cold-booted single user mode: ifconfig tap0 create up ifconfig lagg0 create up ifconfig lagg0 laggport tap0 ifconfig em0 up ifconfig vlan61 create vlan 61 vlandev em0 ifconfig vlan61 inet 192.168.0.1/24 ifconfig lagg0 laggport em0 # instant panic Panic messages sometimes printed in bright-white and then system jumps to B= IOS POST within a second or so. Sometimes they are pronted in gray then system = just hangs solid without any reaction on Ctrl-Alt-ESC to enter KDB and no crashd= ump generated. Screenshot is attached. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Apr 20 14:35:15 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06EC2FA8AED for ; Fri, 20 Apr 2018 14:35:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8FB00821AB for ; Fri, 20 Apr 2018 14:35:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4D524FA8AEB; Fri, 20 Apr 2018 14:35:14 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AA2FFA8AEA for ; Fri, 20 Apr 2018 14:35:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C8550821A9 for ; Fri, 20 Apr 2018 14:35: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 F2BCA16D for ; Fri, 20 Apr 2018 14:35: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 w3KEZC5H022400 for ; Fri, 20 Apr 2018 14:35:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3KEZC1u022398 for net@FreeBSD.org; Fri, 20 Apr 2018 14:35: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 227654] [panic] repeatable crash with IPv6+lagg+vlan+em Date: Fri, 20 Apr 2018 14:35:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 14:35:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227654 --- Comment #1 from Eugene Grosbein --- $ addr2line -e kernel.debug -i -f -C ffffffff806fe6ac ether_output_frame /data2/src/sys/net/if_ethersubr.c:449 ether_output /data2/src/sys/net/if_ethersubr.c:435 (kgdb) l /data2/src/sys/net/if_ethersubr.c:449 444 int 445 ether_output_frame(struct ifnet *ifp, struct mbuf *m) 446 { 447 int i; 448=20=20=20=20=20 449 if (PFIL_HOOKED(&V_link_pfil_hook)) { 450 i =3D pfil_run_hooks(&V_link_pfil_hook, &m, ifp, PFIL_OUT, NULL); 451=20=20=20=20=20 452 if (i !=3D 0) 453 return (EACCES); --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Apr 20 15:48:30 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1E7DFADC8C for ; Fri, 20 Apr 2018 15:48:30 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from mail.otcnet.ru (mail.otcnet.ru [194.190.78.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4230374674 for ; Fri, 20 Apr 2018 15:48:27 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from Victors-MacBook-Air-2.local (unknown [213.33.226.214]) by mail.otcnet.ru (Postfix) with ESMTPSA id 2A7AE5965C9 for ; Fri, 20 Apr 2018 18:48:25 +0300 (MSK) Subject: Re: multiple if_ipsec To: freebsd-net@freebsd.org References: <5e36ac3f-39ce-72c5-cd97-dd3c4cf551a7@yandex.ru> From: Victor Gamov Organization: OTCnet Message-ID: <30d1c5f9-56e7-c67b-43e1-e6f0457360a8@otcnet.ru> Date: Fri, 20 Apr 2018 18:48:24 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5e36ac3f-39ce-72c5-cd97-dd3c4cf551a7@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 15:48:30 -0000 On 20/04/2018 13:04, Andrey V. Elsukov wrote: > On 20.04.2018 11:17, Victor Gamov wrote: >> All local SA configured and established and remote side (Cisco routers) >> report SA established too. >> >> But traffic goes via only one ipsec-interface. > > If you have all SAs established, you probably need to check your routing > configuration. Or at least test that addresses configured on the ipsecXX > interfaces are reachable. More correct problem is: last configured ipsec interface tx/rx traffic only. For my example: - ping from 10.10.98.1 to 10.10.98.2 via ipsec30 is OK - ping from 10.10.98.2 to 10.10.98.1 via ipsec30 is OK - ping from 10.10.98.5 (Cisco) to 10.10.98.6 via ipsec25 -- no responses, but I see ESP traffic on external interface and (!!!) ICMP-reply from 10.10.98.5 to 10.10.98.6 on ipsec25 (but no ICMP-request on ipsec25 !!!) - ping from 10.10.98.6 to 10.10.98.5 via ipsec25 -- no responses, I see ICMP-request on ipsec25 but no ESP-traffic on external interface Any suggestion? -- С уважением, Гамов Виктор From owner-freebsd-net@freebsd.org Fri Apr 20 16:45:33 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97294FB10D9 for ; Fri, 20 Apr 2018 16:45:33 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30F6880367 for ; Fri, 20 Apr 2018 16:45:32 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 09E461245589; Fri, 20 Apr 2018 19:45:25 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback5j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mSpuY5wq7q-jOAqd6eg; Fri, 20 Apr 2018 19:45:25 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1524242725; bh=LVKpPsjsQ32mpdLZh8gizJAo1dX0YHnsM/QVfk+9MFk=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=Qg8I1fiQrfqCUskRscTWmcJnZ86xhysaDBuw1Hdo2JVOkgtsjsVieKq7UKIw3umc+ fYYWSHueI1Ku+RJ2TGakFG/2EAaQZnGA7vbmKzqu938bedlla1wDMx8D3CaLGHpxWW z6Q3+gIZ6So4hA+rdor2LdraxomJLrgif+iFp+Kg= Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zwawkJqDQM-jHcuQgKK; Fri, 20 Apr 2018 19:45:18 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1524242718; bh=LVKpPsjsQ32mpdLZh8gizJAo1dX0YHnsM/QVfk+9MFk=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=lbc447DjsmhpEf1FX70c0M87UTGrcGOjfLMd4xSJ2uSzjdFAK2kzRzJfA7nVnqh2E lB99eEUYEY/6RctFFZUgUp6J1BIFXElDOo0rZ5YHgqz1ZK0UwZNtD8FotkXp9QQSk+ 6axADGEOTh45+tcNrRCO2ZkfJ6YU0Esbg0JJ6p+8= Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: multiple if_ipsec To: Victor Gamov , freebsd-net@freebsd.org References: <5e36ac3f-39ce-72c5-cd97-dd3c4cf551a7@yandex.ru> <30d1c5f9-56e7-c67b-43e1-e6f0457360a8@otcnet.ru> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= xsBNBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAHNIkFuZHJleSBWLiBFbHN1a292IDxhZUBmcmVlYnNkLm9yZz7CwHsEEwECACUCGwMGCwkI BwMCBhUIAgkKCwQWAgMBAh4BAheABQJMB/ruAhkBAAoJEAHF6gQQyKF6MLwH/3Ri/TZl9uo0 SepYWXOnxL6EaDVXDA+dLb1eLKC4PRBBjX29ttQ0KaWapiE6y5/AfzOPmRtHLrHYHjd/aiHX GMLHcYRXD+5GvdkK8iMALrZ28X0JXyuuZa8rAxWIWmCbYHNSBy2unqWgTI04Erodk90IALgM 9JeHN9sFqTM6zalrMnTzlcmel4kcjT3lyYw3vOKgoYLtsLhKZSbJoVVVlvRlGBpHFJI5AoYJ SyfXoN0rcX6k9X7Isp2K50YjqxV4v78xluh1puhwZyC0p8IShPrmrp9Oy9JkMX90o6UAXdGU KfdExJuGJfUZOFBTtNIMNIAKfMTjhpRhxONIr0emxxDOwE0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAcLAXwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: Date: Fri, 20 Apr 2018 19:42:34 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <30d1c5f9-56e7-c67b-43e1-e6f0457360a8@otcnet.ru> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NuFRwNid2yF3GMXNwpqAsp6P3oUQdeC3c" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 16:45:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NuFRwNid2yF3GMXNwpqAsp6P3oUQdeC3c Content-Type: multipart/mixed; boundary="zyIQeKjJeK7cRkIdj2J9HAU84NFLEqsEv"; protected-headers="v1" From: "Andrey V. Elsukov" To: Victor Gamov , freebsd-net@freebsd.org Message-ID: Subject: Re: multiple if_ipsec References: <5e36ac3f-39ce-72c5-cd97-dd3c4cf551a7@yandex.ru> <30d1c5f9-56e7-c67b-43e1-e6f0457360a8@otcnet.ru> In-Reply-To: <30d1c5f9-56e7-c67b-43e1-e6f0457360a8@otcnet.ru> --zyIQeKjJeK7cRkIdj2J9HAU84NFLEqsEv Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 20.04.2018 18:48, Victor Gamov wrote: > More correct problem is:=C2=A0 last configured ipsec interface tx/rx tr= affic > only.=C2=A0 For my example: >=20 > - ping from 10.10.98.1 to 10.10.98.2 via ipsec30 is OK >=20 > - ping from 10.10.98.2 to 10.10.98.1 via ipsec30 is OK >=20 > - ping from 10.10.98.5 (Cisco) to 10.10.98.6 via ipsec25 -- no > responses, but I see ESP traffic on external interface and (!!!) > ICMP-reply from 10.10.98.5 to 10.10.98.6 on ipsec25=C2=A0 (but no > ICMP-request on ipsec25 !!!) >=20 > - ping from 10.10.98.6 to 10.10.98.5 via ipsec25 -- no responses, I see= > ICMP-request on ipsec25 but no ESP-traffic on external interface This looks like you don't have outbound SA for ipsec25 interface. If you run `netstat -w1 -I ipsec25` and ping 10.10.98.5 there should be output errors. `setkey -D` should have SA: IP-FreeBSD IP-Cisco-RTR-1 esp mode=3Dtunnel spi=3Dxxxx reqid=3D25 ...... ................. state=3Dmature Do you have it? --=20 WBR, Andrey V. Elsukov --zyIQeKjJeK7cRkIdj2J9HAU84NFLEqsEv-- --NuFRwNid2yF3GMXNwpqAsp6P3oUQdeC3c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlraGHoACgkQAcXqBBDI oXqWNwgAulECLFj44DA2ZTZtZX+NLhEr1ewbD6sj8R8+qOXyC3UNOGCbLEUmnlEA bMJE3f0/QoEKdzHnPMER0ubdUDY993Ef4vNC6euoeo4s7BNGmOsxk+QYNrjV6Tu5 ZeS7tIKc9H8XtV2h6KWOdodCd2tyyFcZN0T21ByvmwMd+SD/8w4vZjd2ykiZR2/Y dHJIm5n0sHyEdfWrmsn4qJuiq/gMKoqroD7B3lws2mPV7tdjfB+TS+3+Bz34oxZm U74Ti1HsFq1iHnlE5cr4f29FxhgwUM/oS2YPSM5/JFqbY+LbLbS8FBYOkKYyqxZ/ vX0Rg1mDfs+fcqHbUCpcG4VrT71MCQ== =kIZp -----END PGP SIGNATURE----- --NuFRwNid2yF3GMXNwpqAsp6P3oUQdeC3c-- From owner-freebsd-net@freebsd.org Fri Apr 20 17:27:35 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68A86F85F6B for ; Fri, 20 Apr 2018 17:27:35 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 037976B624 for ; Fri, 20 Apr 2018 17:27:34 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (220-253-154-11.dyn.iinet.net.au [220.253.154.11]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w3KHRTTC044178 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 20 Apr 2018 10:27:32 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: Default network device To: Grzegorz Junka , freebsd-net@freebsd.org References: <5237ec10-c906-db3c-f62f-cc7478a31dc0@yoonka.com> From: Julian Elischer Message-ID: <8dc93cc7-1a5b-6168-33ca-581b5477cb00@freebsd.org> Date: Sat, 21 Apr 2018 01:27:24 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5237ec10-c906-db3c-f62f-cc7478a31dc0@yoonka.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 17:27:35 -0000 On 25/3/18 12:21 am, Grzegorz Junka wrote: > Hi, > > In my laptop I have both, wlan0 and ue0 (ethernet). When both are > connected, FreeBSD chooses to use wlan0 by default. Only when I > disable wlan0 it switches to use ue0. Since ue0 is ethernet it's > obviously much faster than wlan0. It's decided by the routing table if you can get the routing table to reflect what you want it should work. > > Why FreeBSD is selecting wlan rather than ue? How to configure the > network so that wlan0 is only used when ue0 isn't available? > > Thanks > > GrzegorzJ > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Fri Apr 20 18:42:44 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0966CF8DC6D for ; Fri, 20 Apr 2018 18:42:44 +0000 (UTC) (envelope-from b.hawks123@gmail.com) Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A25B87C4BE for ; Fri, 20 Apr 2018 18:42:40 +0000 (UTC) (envelope-from b.hawks123@gmail.com) Received: by mail-qt0-x229.google.com with SMTP id j3-v6so10895273qtn.9 for ; Fri, 20 Apr 2018 11:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dep5DoK99+KvWLsYYE/WJ06Z6NgNC0j2hqLM0GjOqFs=; b=MPVrvOHP3beUzvub4aXEFvnlhsVQzHTdQC7GlQ1rgQCDkVUMq2VZYJwpRgFNfjNP3l tfjjUG31Qc+pabEcN1RfTujHwFeTzFd23jUThkK3LFsf1x416w55cRJynfqjiPOcLvhi 8Yz0rUQ2bOjKOJ2L9ja7Kux9wKWeoUuFxiiXveCnrdS3Tj5yBDVQgnRBG5EKbFXn9aRf TdQSNEo3G7AVeX2/OMSfg4ba8EnQIuORWlrWy2sgA/JtCpLSVWlqrcQihsqP6U2KDYdQ 98Xisv86JREKcnfm4vb4YwuIWo6zJyfRGfdfTJuQSogGBAwyn0RKPytYQfd/T//TWTE1 Lv5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dep5DoK99+KvWLsYYE/WJ06Z6NgNC0j2hqLM0GjOqFs=; b=jZEI4DumMOMDG4+m/RelWd7SyECNKdwJN/K3tNGZkyeDmGV21NCN23orlS56ldArNV LFhpw7xVNi7U2vq0AJapDyl/I33pbuIIQikDVoH0AN7HA5VQjeLIb7T63m2LE8n8hzlP kkavQv3OPjUwKifLVClgdiNh+/njGbxlmRD/PQ2e1ONe1AFU5Lozl27bPm40Onc7romX rkIUsz1mWYZh4fKPRtr9Nh/W0Gor0krtnNjAQCq79J4JUHddyd2qSZUITEqRuXLxBtNF BAzI7gWYJNnIEs4kBIlPpvhabcTN4x5axfmsLVB66Th1mGJpj8Tyj6B8+wsrOqQCvKJj FZXA== X-Gm-Message-State: ALQs6tAPDwSunHHenCKTUlRiRuKyDytMnPy4CrSF0T1dRfU0l1y5nKO3 0M/aE7+skhpKSLI+UDWXIo9XQO2Ynay7xIpu8lrqyQ== X-Google-Smtp-Source: AB8JxZpzFG/PebYyt1LL0E9XW/K6uOKKIZ+fa2oQTvAJ77FPBnFWB8Uwj8LW92e2XjFGJXYi6tkSm+OgPVA/c1fW3Mg= X-Received: by 2002:ac8:1b17:: with SMTP id y23-v6mr4916000qtj.397.1524249759727; Fri, 20 Apr 2018 11:42:39 -0700 (PDT) MIME-Version: 1.0 From: Abdullah Date: Fri, 20 Apr 2018 18:42:28 +0000 Message-ID: Subject: Vlans with bridge To: Freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 18:42:44 -0000 Hello I would like to get some help regarding a little problem i am facing. I create bridge0 and assign 2 interfaces igb6 and igb7 to it. Connecting 2 systems to these ports and they are able to ping each other (both of 10.10.10.0/24 series for testing). Next i create vlan_igb5 with parent interface igb5 and vlan_igb6 with parent igb6 (both having tag 10). Remove parent interfaces from bridge0 and assign vlans created above to the bridge, i can't seem to ping no matter what. Can anyone please guide what is wrong? Tried freebsd10.3 as well as 11, no change P.s: created rules for parents as well as bridge and vlans allowing all traffic. Also tcpdump shows nothing whatsoever for bridge as well as vlans after being assigned to bridge. Regards Abdullah From owner-freebsd-net@freebsd.org Fri Apr 20 19:16:03 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A28BF9472A for ; Fri, 20 Apr 2018 19:16:03 +0000 (UTC) (envelope-from niels@kobschaetzki.net) Received: from hatchetman.psychedelicpirate.com (unknown [IPv6:2001:1560:a000:2:e98c:a1e3:87d8:7bfc]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9EC6682E59 for ; Fri, 20 Apr 2018 19:16:02 +0000 (UTC) (envelope-from niels@kobschaetzki.net) Received: from hatchetman.psychedelicpirate.com (localhost [127.0.0.1]) by hatchetman.psychedelicpirate.com (OpenSMTPD) with ESMTP id f3dd13f7; Fri, 20 Apr 2018 21:15:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=kobschaetzki.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s= selector1; bh=icmsie2BAeOFvAaLwa6E4GOiaHY=; b=ky3fHK6Q3itAuNKQJ0 08f1syrw4aopRvrlM/twbHbNbiVk7+SueQUcwgJ3w/Wc/h41s6IuU1C+0hyAT/u4 8dnHzEAkqJISVH8f1reEIjTBcAX/7QVrOkYhINemd+A2+LrSigYaxxjJQUN1O+9T YdxbfyEcHDzHb1GQNIvVAeRHc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=kobschaetzki.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= selector1; b=CEIVWWyHvixRQHfv2oAIOO9lo8R+F8KK/HXwHVGlFkaGySxWiwg fur1ayC4x03ZJ3++M/Aa3vrPT8kDmv9jHHkP8V1Xk7x5fs2YLdtQQ6ubQtQx+WB0 BjYloIzsmCpKI9R7NGWcTnyBaV/E8ihxHH7Joy6wL8tLTi0b95dfxtvk= Received: from hatchetman.psychedelicpirate.com (localhost [127.0.0.1]) by hatchetman.psychedelicpirate.com (OpenSMTPD) with ESMTP id bdfce77e; Fri, 20 Apr 2018 21:15:52 +0200 (CEST) Received: from [10.0.1.83] (ip5b41bd2e.dynamic.kabel-deutschland.de [91.65.189.46]) by mail.kobschaetzki.net (OpenSMTPD) with ESMTPSA id 0b430e8b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 20 Apr 2018 21:15:52 +0200 (CEST) Mime-Version: 1.0 (1.0) Subject: Re: High rate of NFS cache misses after upgrading from 10.3-prerelease to 11.1-release From: Niels Kobschaetzki X-Mailer: iPhone Mail (15E216) In-Reply-To: <4B3B8AD9-F923-490F-B2B6-09F4517E8D28@ultra-secure.de> Date: Fri, 20 Apr 2018 21:15:50 +0200 Cc: Rick Macklem , "freebsd-net@freebsd.org" Message-Id: <16C35EAA-B3FA-4126-A7AD-2711555C1D28@kobschaetzki.net> References: <4B3B8AD9-F923-490F-B2B6-09F4517E8D28@ultra-secure.de> To: Rainer Duffner X-Virus-Scanned: ClamAV using ClamSMTP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 19:16:03 -0000 > On 19. Apr 2018, at 00:07, Rainer Duffner wrote: >=20 >=20 >=20 >> Am 17.04.2018 um 06:45 schrieb Niels Kobsch=C3=A4tzki : >>=20 >> solved now finally my problem after two weeks and it wasn't the NFS. I >> just got derailed from the real solution again and again from some >> people, thus I didn't look in the right place. The cache misses are gone >> now, the application performs now faster than on the other servers. >=20 >=20 >=20 > OK, but what was it? Miscommunication and a missing php71-opcache. Apparently php is doing then a= lot of syscalls which lead to getattr-call which cannot be handled by the n= fs cache. A problem for a lot of years now and it won=E2=80=99t be dealt wit= h. Niels P.s. the application is now nearly twice as fast but needs half the RAM and p= roduces half the load than on FBSD 10.3/php56= From owner-freebsd-net@freebsd.org Fri Apr 20 21:30:42 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95406FA3E2D for ; Fri, 20 Apr 2018 21:30:42 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from mail.strugglingcoder.info (strugglingcoder.info [104.236.146.68]) by mx1.freebsd.org (Postfix) with ESMTP id 36EB081D66 for ; Fri, 20 Apr 2018 21:30:41 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPA id E80A617FC2; Fri, 20 Apr 2018 14:20:45 -0700 (PDT) Date: Fri, 20 Apr 2018 14:20:45 -0700 From: hiren panchasara To: Garrett Wollman Cc: freebsd-net@freebsd.org Subject: Re: Diagnosing terrible ixl performance Message-ID: <20180420212045.GB3653@strugglingcoder.info> References: <23257.26265.720293.659892@hergotha.csail.mit.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xXmbgvnjoT4axfJE" Content-Disposition: inline In-Reply-To: <23257.26265.720293.659892@hergotha.csail.mit.edu> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 21:30:42 -0000 --xXmbgvnjoT4axfJE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 04/20/18 at 12:03P, Garrett Wollman wrote: > I'm commissioning a new NFS server with an Intel dual-40G XL710 > interface, running 11.1. I have a few other servers with this > adapter, although not running 40G, and they work fine so long as you > disable TSO. This one ... not so much. On the receive side, it gets > about 600 Mbit/s with lots of retransmits. On the *sending* side, > though, it's not even able to sustain 10 Mbit/s -- but there's no > evidence of retransmissions, it's just sending really really slowly. > (Other machines with XL710 adapters are able to sustain full 10G.) > There is no evidence of any errors on either the adapter or the switch > it's connected to. >=20 > So far, I've tried: >=20 > - Using the latest Intel driver (no change) > - Using the latest Intel firmware (breaks the adapter) > - Disabling performance tweaks in loader.conf and sysctl.conf > - Changing congestion-control algorithms >=20 > Anyone have suggestions while I still have time to test this? (My > plan B is to fall back to an X520 card that I have in my spares kit, > because I *know* those work great with no faffing about.) Any > relevant MIBs to inspect? >=20 > The test I'm doing here is simple iperf over TCP, with MTU 9120. It > takes about 10 seconds for the sending side to complete, but buffers > are severely constipated for 20 seconds after that (delaying all > traffic, including ssh connections). >=20 > I'm at the point of trying different switch ports just to eliminate > that as a possibility. You are already trying to check if the switch in-between isn't causing the problem. A few other (probably obvious) things to try: - sysctl -a | grep hw.ixl or dev.ixl to see if you find anything useful (actual name might not be ixl, but you get the point) - Try with lower mtu to see if that's causing anything interesting - If you can reproduce easily, a single stream pcap might be useful from both send and recv side to understand the slowness. Cheers, Hiren --xXmbgvnjoT4axfJE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJa2lmqXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lzoYH/jyuNt1ZOMMBBm03TdHaIGZj xqj/A3mWnKFsk20UtzRhwtyg31ShWYXLpKoXDS9nTiKNhqX5HRo3A8QmcD6jLa6o rTiYHjKn1orHhEB1lcUwU/LAn5SA9tRKzyVuIVpeyEYt1OG8yaK4V/3zzOVMaLYK DXzrRK9ecjyN1RlRlLpX6ymUxLMbymDUE+KidQ+I87jQTf388JP+gpFBr44qM7gm J4IYlqC+XULWn0XlayAsDmcD8zydrrHmpo2fblPSeleRXVEzh2woW4DGI+cEVtM2 LdLbUHelCEzAmQMfGGfl4VFGmHMVcIE7KBsGZ2j40RzArJL3kZzkBkqzE81WlgY= =Sefu -----END PGP SIGNATURE----- --xXmbgvnjoT4axfJE-- From owner-freebsd-net@freebsd.org Fri Apr 20 22:02:41 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A35D1FA6504 for ; Fri, 20 Apr 2018 22:02:41 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670084.outbound.protection.outlook.com [40.107.67.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3523B699D1 for ; Fri, 20 Apr 2018 22:02:40 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM (52.132.66.153) by YQBPR0101MB2002.CANPRD01.PROD.OUTLOOK.COM (52.132.71.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.12; Fri, 20 Apr 2018 22:02:39 +0000 Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a]) by YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a%13]) with mapi id 15.20.0696.013; Fri, 20 Apr 2018 22:02:39 +0000 From: Rick Macklem To: hiren panchasara , Garrett Wollman CC: "freebsd-net@freebsd.org" Subject: Re: Diagnosing terrible ixl performance Thread-Topic: Diagnosing terrible ixl performance Thread-Index: AQHT2O7cpk1RY9D0akiazz05k2oUaKQKNHrx Date: Fri, 20 Apr 2018 22:02:39 +0000 Message-ID: References: <23257.26265.720293.659892@hergotha.csail.mit.edu>, <20180420212045.GB3653@strugglingcoder.info> In-Reply-To: <20180420212045.GB3653@strugglingcoder.info> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: strugglingcoder.info; dkim=none (message not signed) header.d=none;strugglingcoder.info; dmarc=none action=none header.from=uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQBPR0101MB2002; 7:rLMLH9UHkf4ZgQTKJSsYdm6KyM5SAlvJb6KX/MD/Xm0RsY0xExk7Bx4KceqL/YgyyvZmDVaVcDCfIF6JszLbZlRM7L42EoFmAHZdipwyBUQArmHGCH9E8q80TZ2fcy3qE8vkfybu7NECKv3DXYMpA+17Ikq8WRe2ox4RX1mGqEgLwDZcZoIWmlzTtpIGsAFLSRwt142jryDocG1VMFdzYphk7rAa/FuCU72ak5mli193gir94kpyaue3NkoCUVh9 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:YQBPR0101MB2002; x-ms-traffictypediagnostic: YQBPR0101MB2002: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231232)(944501327)(52105095)(3002001)(10201501046)(6041310)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:YQBPR0101MB2002; BCL:0; PCL:0; RULEID:; SRVR:YQBPR0101MB2002; x-forefront-prvs: 0648FCFFA8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39380400002)(396003)(39860400002)(366004)(346002)(9686003)(478600001)(6436002)(110136005)(6306002)(2906002)(74482002)(6246003)(8936002)(186003)(55016002)(74316002)(25786009)(4326008)(5250100002)(5660300001)(3480700004)(86362001)(966005)(53936002)(446003)(305945005)(476003)(3280700002)(11346002)(2900100001)(102836004)(3660700001)(229853002)(786003)(33656002)(76176011)(7696005)(26005)(81166006)(53546011)(6506007)(8676002)(316002)(6606295002); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB2002; H:YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; MLV:sfv; x-microsoft-antispam-message-info: KaCyNUC3BMIzBrIBTnpgTaKwdWN/f6rJHq5M9BzhQTtK2CaR5f/lRDBnHK3BK2u4yO7pXKIASon6/vmqZzZT1jXUfNn41qG7O2tTwt3F6TkydTTEOex8BjFKfarAG6HVDoulr8Y22wHJtnxqiGVRYtZkf9XhWjIcox58Dm6H23vPmQoqmKdjzJpI/qxccwdS spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: eeb5feb0-ee78-4bf8-eeb3-08d5a70a6eef X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: eeb5feb0-ee78-4bf8-eeb3-08d5a70a6eef X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2018 22:02:39.4741 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB2002 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 22:02:42 -0000 I don't know if this post is helpful, but just in case: http://docs.FreeBSD.org/cgi/mid.cgi?04125f40-6388-f074-d935-ce6c16d220fa Hope you don't mind a top post, rick ________________________________________ From: owner-freebsd-net@freebsd.org on beha= lf of hiren panchasara Sent: Friday, April 20, 2018 5:20:45 PM To: Garrett Wollman Cc: freebsd-net@freebsd.org Subject: Re: Diagnosing terrible ixl performance On 04/20/18 at 12:03P, Garrett Wollman wrote: > I'm commissioning a new NFS server with an Intel dual-40G XL710 > interface, running 11.1. I have a few other servers with this > adapter, although not running 40G, and they work fine so long as you > disable TSO. This one ... not so much. On the receive side, it gets > about 600 Mbit/s with lots of retransmits. On the *sending* side, > though, it's not even able to sustain 10 Mbit/s -- but there's no > evidence of retransmissions, it's just sending really really slowly. > (Other machines with XL710 adapters are able to sustain full 10G.) > There is no evidence of any errors on either the adapter or the switch > it's connected to. > > So far, I've tried: > > - Using the latest Intel driver (no change) > - Using the latest Intel firmware (breaks the adapter) > - Disabling performance tweaks in loader.conf and sysctl.conf > - Changing congestion-control algorithms > > Anyone have suggestions while I still have time to test this? (My > plan B is to fall back to an X520 card that I have in my spares kit, > because I *know* those work great with no faffing about.) Any > relevant MIBs to inspect? > > The test I'm doing here is simple iperf over TCP, with MTU 9120. It > takes about 10 seconds for the sending side to complete, but buffers > are severely constipated for 20 seconds after that (delaying all > traffic, including ssh connections). > > I'm at the point of trying different switch ports just to eliminate > that as a possibility. You are already trying to check if the switch in-between isn't causing the problem. A few other (probably obvious) things to try: - sysctl -a | grep hw.ixl or dev.ixl to see if you find anything useful (actual name might not be ixl, but you get the point) - Try with lower mtu to see if that's causing anything interesting - If you can reproduce easily, a single stream pcap might be useful from both send and recv side to understand the slowness. Cheers, Hiren From owner-freebsd-net@freebsd.org Fri Apr 20 23:19:41 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D241FAAB5B for ; Fri, 20 Apr 2018 23:19: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 2F6DF7B715 for ; Fri, 20 Apr 2018 23:19:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DFAA8FAAB58; Fri, 20 Apr 2018 23:19:40 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB633FAAB57 for ; Fri, 20 Apr 2018 23:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F63C7B6EC for ; Fri, 20 Apr 2018 23:19: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 7D2824A44 for ; Fri, 20 Apr 2018 23:19: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 w3KNJdQI084169 for ; Fri, 20 Apr 2018 23:19:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3KNJdXF084168 for net@FreeBSD.org; Fri, 20 Apr 2018 23:19: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 227654] [panic] repeatable crash with IPv6+lagg+vlan+em Date: Fri, 20 Apr 2018 23:19:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 23:19:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227654 --- Comment #2 from Eugene Grosbein --- Created attachment 192690 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192690&action= =3Dedit debugging patch for single user only Forgot to note that my kernel has VIMAGE too. I've reproduced this with my home desktop that has serial console, so I've digged this a bit deeper suspecting that curvnet may be not initialized. I've added some debugging output, the diff is attached. KASSERT did not catch this for unknown reason, so it's commented out. Anyway, curvnet occured to be zero, so any attempt to use V_link_pfil_hook dereferences NULL producing this panic: ether_output_frame: vlan61: curvnet 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0453d37= 780 ether_output() at ether_output+0x64c/frame 0xfffffe0453d37820 arprequest() at arprequest+0x443/frame 0xfffffe0453d37920 arp_ifinit() at arp_ifinit+0x58/frame 0xfffffe0453d37960 arp_handle_ifllchange() at arp_handle_ifllchange+0x3d/frame 0xfffffe0453d37= 980 if_setlladdr() at if_setlladdr+0x21e/frame 0xfffffe0453d379e0 taskqueue_run_locked() at taskqueue_run_locked+0x14c/frame 0xfffffe0453d37a= 40 taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 0xfffffe0453d37= a70 fork_exit() at fork_exit+0x84/frame 0xfffffe0453d37ab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0453d37ab0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x28 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80aca683 stack pointer =3D 0x28:0xfffffe0453d37790 frame pointer =3D 0x28:0xfffffe0453d37820 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (thread taskq) trap number =3D 12 p --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Apr 20 23:45:25 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92B4EFAC45B for ; Fri, 20 Apr 2018 23:45:25 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B1057EE50 for ; Fri, 20 Apr 2018 23:45:24 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-io0-x22b.google.com with SMTP id o7-v6so10526642iob.8 for ; Fri, 20 Apr 2018 16:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AQaFWWUEfJFG3oy+RBK2r8ywM0XT/Dj5QhhW8bw52SA=; b=HSj5BqQc/FKo1GsUZa0d8b9AxNIdVaNp1rNN7ofgnjWNqQkiy9fymqa6BAP92Bj0ML 9YyC/tX+0HIpfivFpVh2jSE5e0/XOj2BD0XVs7nnoXvju17slHIwObvL+YmXJ1v2U4GW +YEsgK0DDTqcLl37XI0UmT5FlTGCvz8sCE0YQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AQaFWWUEfJFG3oy+RBK2r8ywM0XT/Dj5QhhW8bw52SA=; b=mUWvlFxDr25+g35lLZ/DJkCSAN9U5x5lErRZGaLMf91OW2LHyACYxKRRM3WG1EyRrZ EWUBaCqXbky2MEYVl3lt63UjXzErpvAgCfHCGBrWChCMeh1Ge3uOxSkknS+rjD9CvSUY w/UdEWZ0t5QQy2S2E9/DpkNrGX0oNjG2Ws3CVH8SqNK7FQjVxz7QDmpoHTEHhajleBZE j0+YagQis8vN1H6dgstF9SNS9iznXCtqwipIdEemJOWPeQs9oJpEKwcJlO919Efe79pU QYN8/9Iiqh1JrygpS01hIP7B+MCMzT5VZ+Rma6vQ+reP/VlJuBH3cQx55GH+MuP0+LOK 5FYA== X-Gm-Message-State: ALQs6tDL70g0lwXW/PWkCfhz239Zbj1ByJqb7y/8ktwZ0uAiB5+6rRib LmwTPjQHF/5faeXD9X0iKtXAIz7Z8z0VrAAc1UiAaLTl X-Google-Smtp-Source: AB8JxZp0yIsNuh33p77CblT612Vit1JYMVDVjbU+P56onk0tlCTOW4SSPgK2vx1aB3TQqO1NC/USv+tP4eiq/KBaMZ0= X-Received: by 2002:a6b:afdb:: with SMTP id p88-v6mr12396183ioo.257.1524267924245; Fri, 20 Apr 2018 16:45:24 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:9046:0:0:0:0:0 with HTTP; Fri, 20 Apr 2018 16:45:23 -0700 (PDT) In-Reply-To: <23257.26265.720293.659892@hergotha.csail.mit.edu> References: <23257.26265.720293.659892@hergotha.csail.mit.edu> From: Kevin Bowling Date: Fri, 20 Apr 2018 16:45:23 -0700 Message-ID: Subject: Re: Diagnosing terrible ixl performance To: Garrett Wollman Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 23:45:25 -0000 These are all pretty much known (to intel and NF/LLNW) issues with the ixl driver. If you must run 11.1 you are best off just buying a chelsio T580. If you can run HEAD, or perhaps an eventual 11.3 MFC, https://github.com/intel-wired-ethernet/freebsd/tree/ixl-iflib may fix this but there are a few remaining issues before that hits HEAD. Regards, On Thu, Apr 19, 2018 at 9:03 PM, Garrett Wollman wrote: > I'm commissioning a new NFS server with an Intel dual-40G XL710 > interface, running 11.1. I have a few other servers with this > adapter, although not running 40G, and they work fine so long as you > disable TSO. This one ... not so much. On the receive side, it gets > about 600 Mbit/s with lots of retransmits. On the *sending* side, > though, it's not even able to sustain 10 Mbit/s -- but there's no > evidence of retransmissions, it's just sending really really slowly. > (Other machines with XL710 adapters are able to sustain full 10G.) > There is no evidence of any errors on either the adapter or the switch > it's connected to. > > So far, I've tried: > > - Using the latest Intel driver (no change) > - Using the latest Intel firmware (breaks the adapter) > - Disabling performance tweaks in loader.conf and sysctl.conf > - Changing congestion-control algorithms > > Anyone have suggestions while I still have time to test this? (My > plan B is to fall back to an X520 card that I have in my spares kit, > because I *know* those work great with no faffing about.) Any > relevant MIBs to inspect? > > The test I'm doing here is simple iperf over TCP, with MTU 9120. It > takes about 10 seconds for the sending side to complete, but buffers > are severely constipated for 20 seconds after that (delaying all > traffic, including ssh connections). > > I'm at the point of trying different switch ports just to eliminate > that as a possibility. > > -GAWollman > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Sat Apr 21 05:02:58 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC5AAF9FCE4 for ; Sat, 21 Apr 2018 05:02:58 +0000 (UTC) (envelope-from m.muenz@spam-fetish.org) Received: from mailout-02.maxonline.de (mailout-02.maxonline.de [81.24.66.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C5A585E53 for ; Sat, 21 Apr 2018 05:02:57 +0000 (UTC) (envelope-from m.muenz@spam-fetish.org) Received: from web03-01.max-it.de (web03-01.max-it.de [81.24.64.215]) by mailout-02.maxonline.de (Postfix) with ESMTPS id 9D20025 for ; Sat, 21 Apr 2018 06:53:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by web03-01.max-it.de (Postfix) with ESMTP id 874A628B87E for ; Sat, 21 Apr 2018 06:53:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at web03-01.max-it.de Received: from web03-01.max-it.de ([127.0.0.1]) by localhost (web03-01.max-it.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id caWYoP0BpWDe for ; Sat, 21 Apr 2018 06:53:18 +0200 (CEST) Received: from [81.24.66.132] (unknown [81.24.66.132]) (Authenticated sender: m.muenz@spam-fetish.org) by web03-01.max-it.de (Postfix) with ESMTPA id 73BEB28A2FC for ; Sat, 21 Apr 2018 06:53:18 +0200 (CEST) Subject: Re: Diagnosing terrible ixl performance To: freebsd-net@freebsd.org References: <23257.26265.720293.659892@hergotha.csail.mit.edu> From: "Muenz, Michael" Message-ID: <3f0df642-f65b-c926-3207-df6c282d0587@spam-fetish.org> Date: Sat, 21 Apr 2018 06:53:17 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2018 05:02:58 -0000 Am 21.04.2018 um 01:45 schrieb Kevin Bowling: > These are all pretty much known (to intel and NF/LLNW) issues with the > ixl driver. If you must run 11.1 you are best off just buying a > chelsio T580. > > If you can run HEAD, or perhaps an eventual 11.3 MFC, > https://github.com/intel-wired-ethernet/freebsd/tree/ixl-iflib may fix > this but there are a few remaining issues before that hits HEAD. Hi! Thanks for the heads up. Some of us have to stick with 11.1 since it's the underlying OS like OPNsense/pfSense. Like Rick stated before I replaced the X710DA2 since we had too many problems with netmap. The X700 line seems generally a bit problematic. 2 years ago we replaced our ESX hosts (also X520 -> X710) and we had crazy networking problems until VMware supplied a fix. I can ask the Virtualization guys if someone is interested in the KB article. We also had problems on our BGP routers running Debian and these cards. Replacing them with Mellanox ConnectX3 resolved them: https://sourceforge.net/p/e1000/bugs/554/ If you check closed tickets most of them are related to X700. BR Michael From owner-freebsd-net@freebsd.org Sat Apr 21 07:38:57 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3F63FAB319 for ; Sat, 21 Apr 2018 07:38:57 +0000 (UTC) (envelope-from b.hawks123@gmail.com) Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 460AF6A4BE for ; Sat, 21 Apr 2018 07:38:57 +0000 (UTC) (envelope-from b.hawks123@gmail.com) Received: by mail-qt0-x232.google.com with SMTP id b13-v6so12293500qtp.12 for ; Sat, 21 Apr 2018 00:38:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=xw1SJXJ1G9p0hpaHFBT96wExYMascX+qzIamWd//lP0=; b=qFGTfBy/yyQKnO6zY/aQtvC+CirxoMCruPC9JgVd5cjWN4yc3r5whSLva7RYDAK8Ba Vz5asjmNISIO2xDqSEN+LxHvSBctOF71Drk3WTyJaWJ8RbXLj5r61KJvLxo/F4QIkPAP py46fKj2QvnusGyn5olbcqpgoXvLujZ7+/gqxa9VklUuY5I4JxDhiaApDAcVxMzrFDL1 28WJ/3jJ9AbIKSh8NPASR2BnS7DhV4vXNw03QsMsjGfEMe0LCysIAIAwTz7M515hlVve e7q2MLD9MUGgPqRPI1jp7iSIOjYLYMeO885SY2xmUe1juK0p8rgmCVerYimWyUWgf16o qxkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xw1SJXJ1G9p0hpaHFBT96wExYMascX+qzIamWd//lP0=; b=NDr+C4TBy7V4egL092OLwTb+4ZY2LQsO94Xsg8Dym3O3gb4Svqe5epOD7kEHhbX5gl OzPPmntTYPbvcNIRyJsW6vxD3JpLdgyIMBkwpyj2adV3262Pqow3aDRvDGyzcTVUKAN7 7i6Bi94U7oIY1aUZnmbe8UvjYwqkRyEHyQNGOCoeFT60EKK6jSo4iAtg47r7btve5FwQ i8Ket/8VKGUoOaXg1GMAEHQloEnWd6j+hGOC2VnhYRc8JqZPyC1oiY76F2o86SzX1zqn ljO2Knb8eDhwju5IOCfeR2lzYmQlVv/M8yq3kPfehFRDywimCStO9O/BFxNPE4JiPJJW vFVw== X-Gm-Message-State: ALQs6tBTIwSurBLLm+7Evt0shmq8q9aFLQSdlzHVy8aQpCSBQ0UuU7sQ IUrdSyWVNGYXWIne9l3+p6Giu4RBW2mOTNNXobnJQg== X-Google-Smtp-Source: AIpwx48HCWMIgO15Pnvr/ZRlW3xy9BJFOzA4QJ5+FAu/ndokVkoS0SiySJFAbdZLnXj/6y5ALn+vwBN+UIt6RS2UgDg= X-Received: by 2002:aed:3cb9:: with SMTP id d54-v6mr14853897qtf.210.1524296336448; Sat, 21 Apr 2018 00:38:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Abdullah Date: Sat, 21 Apr 2018 07:38:45 +0000 Message-ID: Subject: Re: Vlans with bridge To: Freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2018 07:38:58 -0000 Update: Can't seem to create a vlan with bridge as parent either on freebsd 10.3 and 11. Get error Siocifcreate2: protocol not supported However had an old 8.3 vm lying around. Works fine there. Regards Abdullah On Fri, Apr 20, 2018, 23:42 Abdullah wrote: > Hello > I would like to get some help regarding a little problem i am facing. I > create bridge0 and assign 2 interfaces igb6 and igb7 to it. Connecting 2 > systems to these ports and they are able to ping each other (both of > 10.10.10.0/24 series for testing). > Next i create vlan_igb5 with parent interface igb5 and vlan_igb6 with > parent igb6 (both having tag 10). Remove parent interfaces from bridge0 and > assign vlans created above to the bridge, i can't seem to ping no matter > what. Can anyone please guide what is wrong? > Tried freebsd10.3 as well as 11, no change > P.s: created rules for parents as well as bridge and vlans allowing all > traffic. > Also tcpdump shows nothing whatsoever for bridge as well as vlans after > being assigned to bridge. > > Regards > Abdullah > From owner-freebsd-net@freebsd.org Sat Apr 21 09:36:12 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44513FB3392 for ; Sat, 21 Apr 2018 09:36:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D0E8283602 for ; Sat, 21 Apr 2018 09:36:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8B7EAFB338B; Sat, 21 Apr 2018 09:36:11 +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 7A4ABFB338A for ; Sat, 21 Apr 2018 09:36:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18532835E3 for ; Sat, 21 Apr 2018 09:36:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 449FE11C46 for ; Sat, 21 Apr 2018 09:36:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3L9aAK9091401 for ; Sat, 21 Apr 2018 09:36:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3L9aAEQ091400 for net@FreeBSD.org; Sat, 21 Apr 2018 09:36:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227654] [panic] repeatable crash with lagg+vlan+em Date: Sat, 21 Apr 2018 09:36:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2018 09:36:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227654 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[panic] repeatable crash |[panic] repeatable crash |with IPv6+lagg+vlan+em |with lagg+vlan+em --- Comment #3 from Eugene Grosbein --- It seems IPv6 has nothing to do with the problem as it is reproduceable with INET4-only kernel too. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 21 16:16:45 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A469FB030D for ; Sat, 21 Apr 2018 16:16:45 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from mail.otcnet.ru (mail.otcnet.ru [194.190.78.3]) by mx1.freebsd.org (Postfix) with ESMTP id 149BA72F8A for ; Sat, 21 Apr 2018 16:16:43 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from Victors-MacBook-Air-2.local (unknown [195.91.148.145]) by mail.otcnet.ru (Postfix) with ESMTPSA id D7A6A59659C for ; Sat, 21 Apr 2018 19:16:35 +0300 (MSK) Subject: Re: multiple if_ipsec To: freebsd-net@freebsd.org References: <5e36ac3f-39ce-72c5-cd97-dd3c4cf551a7@yandex.ru> <30d1c5f9-56e7-c67b-43e1-e6f0457360a8@otcnet.ru> From: Victor Gamov Organization: OTCnet Message-ID: <77c37ff9-8de3-dec0-176a-2b34db136bc5@otcnet.ru> Date: Sat, 21 Apr 2018 19:16:38 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2018 16:16:45 -0000 On 20/04/2018 19:42, Andrey V. Elsukov wrote: > On 20.04.2018 18:48, Victor Gamov wrote: >> More correct problem is:  last configured ipsec interface tx/rx traffic >> only.  For my example: >> >> - ping from 10.10.98.1 to 10.10.98.2 via ipsec30 is OK >> >> - ping from 10.10.98.2 to 10.10.98.1 via ipsec30 is OK >> >> - ping from 10.10.98.5 (Cisco) to 10.10.98.6 via ipsec25 -- no >> responses, but I see ESP traffic on external interface and (!!!) >> ICMP-reply from 10.10.98.5 to 10.10.98.6 on ipsec25  (but no >> ICMP-request on ipsec25 !!!) >> >> - ping from 10.10.98.6 to 10.10.98.5 via ipsec25 -- no responses, I see >> ICMP-request on ipsec25 but no ESP-traffic on external interface > > This looks like you don't have outbound SA for ipsec25 interface. > If you run `netstat -w1 -I ipsec25` and ping 10.10.98.5, > there should be output errors. > > `setkey -D` should have SA: > > IP-FreeBSD IP-Cisco-RTR-1 > esp mode=tunnel spi=xxxx reqid=25 > ...... > ................. state=mature > > Do you have it? Yes, I have all SA -- two for every ipsec-interface. And no errors at `netstat -w1 -I ipsec25` while ping 10.10.98.5, only output bytes counter show 84 bytes per sec (one for ICMP-request) When I change ipsec-interfaces creation order then only last created interface worked fine again and previously configured interfaces does not work. And very interesting fact: when I ping from remote 10.10.98.5 for example to FreeBSD 10.10.98.6 then no ICMP-request coming over ipsec-interface but ICMP-reply outgoing via this ipsec-interface (but not delivered to 10.10.98.5) Any ideas? -- С уважением, Гамов Виктор From owner-freebsd-net@freebsd.org Sat Apr 21 18:34:57 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DED5FB903D for ; Sat, 21 Apr 2018 18:34:57 +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 A637D730EF for ; Sat, 21 Apr 2018 18:34:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 65147FB9037; Sat, 21 Apr 2018 18:34:56 +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 52BF6FB9036 for ; Sat, 21 Apr 2018 18:34:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1FDD730EA for ; Sat, 21 Apr 2018 18:34:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1FBF016306 for ; Sat, 21 Apr 2018 18:34:55 +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 w3LIYsUg085019 for ; Sat, 21 Apr 2018 18:34:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3LIYs36085018 for net@FreeBSD.org; Sat, 21 Apr 2018 18:34:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227674] [ipfw] [ipv6] ICMPv6 echo replies incorrectly matched by kernel ipfw Date: Sat, 21 Apr 2018 18:34:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2018 18:34:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227674 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=