From owner-freebsd-net@freebsd.org Sun Oct 11 07:36:50 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D2A4B43AB2B for ; Sun, 11 Oct 2020 07:36:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8DCQ5Fkwz3Yhs for ; Sun, 11 Oct 2020 07:36:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B44B043ABA3; Sun, 11 Oct 2020 07:36:50 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B411843AD8C for ; Sun, 11 Oct 2020 07:36:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C8DCQ4P0yz3YbM for ; Sun, 11 Oct 2020 07:36:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7940C183EA for ; Sun, 11 Oct 2020 07:36:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09B7aoYi092270 for ; Sun, 11 Oct 2020 07:36:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09B7aocR092266 for net@FreeBSD.org; Sun, 11 Oct 2020 07:36:50 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 250257] CARP: preempt not working when net.inet.carp.demotion is not zero Date: Sun, 11 Oct 2020 07:36: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: 12.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: short_desc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 11 Oct 2020 07:36:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250257 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|carp - preempt not working |CARP: preempt not working |when net.inet.carp.demotion |when net.inet.carp.demotion |is not zero |is not zero 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 Sun Oct 11 11:47:54 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 990F03F1687 for ; Sun, 11 Oct 2020 11:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8Kn63dRTz45bk for ; Sun, 11 Oct 2020 11:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7CA2A3F15A6; Sun, 11 Oct 2020 11:47:54 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7C6BA3F15A1 for ; Sun, 11 Oct 2020 11:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C8Kn62rLjz45lW for ; Sun, 11 Oct 2020 11:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 45E401B497 for ; Sun, 11 Oct 2020 11:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09BBls2t089392 for ; Sun, 11 Oct 2020 11:47:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09BBlsjN089391 for net@FreeBSD.org; Sun, 11 Oct 2020 11:47: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 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC Date: Sun, 11 Oct 2020 11:47:53 +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: CURRENT X-Bugzilla-Keywords: iflib, needs-qa, performance, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: register@kad-it.ch X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable12? mfc-stable11- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 11 Oct 2020 11:47:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248652 vistalba changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |register@kad-it.ch --- Comment #12 from vistalba --- Is there any progress about this issue? Unfortunately I'm blocked on old opnsense & sensei version because with 20.7 the performance is really bad (<300Mbit/s). With 20.1 I can reach wirespeed (1GbE) without problems. Let me know, if I/we can test something to help solve this. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun Oct 11 16:27:04 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E5EC3F7F2A for ; Sun, 11 Oct 2020 16:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8RzD11Qlz4N73 for ; Sun, 11 Oct 2020 16:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 22DAA3F7F29; Sun, 11 Oct 2020 16:27:04 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 22A1A3F7F28 for ; Sun, 11 Oct 2020 16:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C8RzD08CCz4N2W for ; Sun, 11 Oct 2020 16:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D92741E2F8 for ; Sun, 11 Oct 2020 16:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09BGR3t6030127 for ; Sun, 11 Oct 2020 16:27:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09BGR34r030125 for net@FreeBSD.org; Sun, 11 Oct 2020 16:27:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC Date: Sun, 11 Oct 2020 16:27:03 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: iflib, needs-qa, performance, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vmaffione@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable12? mfc-stable11- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 11 Oct 2020 16:27:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248652 --- Comment #13 from Vincenzo Maffione --- (In reply to vistalba from comment #12) I started to work on it, however I've no suitable hardware to test. This means that I will need to patch qemu to modify the emulation of an iflib-backed device with MSI-X interrupts (such as vmxnet3) in such a way t= hat I can reproduce the problem (e.g. by making the transmission asynchronous w= .r.t the register write that triggers it, like in real hardware). I will for sure ask for tests on real hardware, but first I need to make so= me basic experiments on my own. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Oct 11 18:00:12 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 529633F8FCE; Sun, 11 Oct 2020 18:00:12 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C8V2g48f8z4RNN; Sun, 11 Oct 2020 18:00:11 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: by mail-lj1-x243.google.com with SMTP id a23so13857303ljp.5; Sun, 11 Oct 2020 11:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W+McX9gN4ZsVhAh1mAeYLyWPIfPcja4gwBZZhAdLQZs=; b=KmKEM9cmubBDN9mS9YESOA3LMuSJyQMiL3AqQJELAqHCG/7e53c/wnKN4hyzDrJ223 9t2ZdCFhu6EIeldGL80m5G85BVnECrHJBAhy38FFpJkKP0cQt9Q7F1zAzHJXrrXm2axj VRmqWfKr2B9JxQyul6Ypuxwb6p+o0NdVmRw7LeLwteYL2XtZx39iGNlbRmLOhAmKV5A9 OG0GfTwRwk6vEmkKfg6+lSS1XGy/zEP4nU645acB50dbIH0wJxxBsZV/ZPZn56g+S93T MguClpUciZOWTq3PWgYO8yg7wztTKbJncMio9Sdmt1WAfsbfCrEYJYe27/aUJPSNd1Wb EgOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W+McX9gN4ZsVhAh1mAeYLyWPIfPcja4gwBZZhAdLQZs=; b=ZOY4pYKgepISHivLwHIHDv4YcKJ1ITC+6gZqy3cQKVDyTKv1LdjCkXZuVACFNhVuc1 m8BH1MRg+7G/ahzXmcadp63YoydjC2f08F0WFQ58YcFTSnA2ng2VZnDnHnlRqQ+2pT05 w+cTY813raHXf2pnviVUHwt6KBzfRVXojGhVSTEj14pTvVHI9XzLLWDTz95oc/Wo4TQp Gc2UMT73AaLhzXR12ToMG7vA3jnvxdjU0vHW4lgjyiF3T9EHMmWpOR1T6nT3opKZCBRe 1+PBe8MraGb6v/c+HmPQVUa6meCKJXHSQ2V5ZfRoWDOtf/36thcrPAfUtsxet8I28OTX djMQ== X-Gm-Message-State: AOAM532NDO6gBF2jWrzFnaC/aP+lgQrkfEI6sTyKxahlTa/QZmdIQmTq 2lnQFdnzPeL75JzKa+iTZfuhnfVDfg8YVhngYNh9ovJpkuI= X-Google-Smtp-Source: ABdhPJwM4kP8nEoFjJM59lYtZGbGGHc/Pig0JRVpoclaQgjlQlmVoOtU/dMH1Ek9NoplgdUyTlLN4nb/SrLAA6ZS/jg= X-Received: by 2002:a2e:88c2:: with SMTP id a2mr6464503ljk.438.1602439208952; Sun, 11 Oct 2020 11:00:08 -0700 (PDT) MIME-Version: 1.0 References: <5F8336C7.5020709@incore.de> In-Reply-To: <5F8336C7.5020709@incore.de> From: J David Date: Sun, 11 Oct 2020 13:59:58 -0400 Message-ID: Subject: Re: Packets passed by pf don't make it out? To: Andreas Longwitz Cc: freebsd-pf@freebsd.org, freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4C8V2g48f8z4RNN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KmKEM9cm; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jdavidlists@gmail.com designates 2a00:1450:4864:20::243 as permitted sender) smtp.mailfrom=jdavidlists@gmail.com X-Spamd-Result: default: False [-2.45 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; NEURAL_HAM_LONG(-0.99)[-0.985]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::243:from]; NEURAL_HAM_SHORT(-0.48)[-0.476]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-pf,freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 11 Oct 2020 18:00:12 -0000 On Sun, Oct 11, 2020 at 12:46 PM Andreas Longwitz wrote: > Please look at the output of "pfctl -vsn" on fb2 during your test. > With "netstat -ss | grep drop" you can check for packets dropped by the > kernel for what reason ever. Here's the complete diff of the output from netstat -ss from before to after running the test: --- nss.pre 2020-10-11 17:10:19.932002000 +0000 +++ nss.post 2020-10-11 17:10:21.999823000 +0000 @@ -48,9 +48,9 @@ Packet drop statistics: Timeouts: ip: - 66578 total packets received + 66582 total packets received 66531 packets for this host - 16 packets forwarded + 17 packets forwarded 1 packet not forwardable 31675 packets sent from this host 10 packets sent with fabricated ip header No drops of any kind (nor anything else) recorded during the test. 4 packets in, 1 packet forwarded, which exactly matches the observed behavior of only one packet reaching the server. The results of "pfctl -vsn" are a bit more interesting, and also inconsistent. Before, after a full flush to zero states and counters: rdr inet proto udp from any to 172.16.0.0/12 port = 12345 -> 10.255.255.3 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ] [ Inserted: uid 0 pid 1044 State Creations: 0 ] After: rdr inet proto udp from any to 172.16.0.0/12 port = 12345 -> 10.255.255.3 [ Evaluations: 4 Packets: 1 Bytes: 44 States: 1 ] [ Inserted: uid 0 pid 1044 State Creations: 4 ] So it says it created four states, but only matched one packet out of the four it evaluated. And it didn't create 4 states, either. "pfctl -s state" shows only 1: all udp 10.255.255.3:12345 (172.16.0.1:12345) <- 10.0.0.1:23456 NO_TRAFFIC:SINGLE and pflog0 reported all four packets as matching the pass rule which, important, is based on the destination address after redirection: 17:23:39.039641 rule 0/0(match): pass in on em1: 10.0.0.1.23456 > 10.255.255.3.12345: UDP, length 16 17:23:39.039751 rule 0/0(match): pass in on em1: 10.0.0.1.23456 > 10.255.255.3.12345: UDP, length 16 17:23:39.039769 rule 0/0(match): pass in on em1: 10.0.0.1.23456 > 10.255.255.3.12345: UDP, length 16 17:23:39.039780 rule 0/0(match): pass in on em1: 10.0.0.1.23456 > 10.255.255.3.12345: UDP, length 16 If I repeat the test, this happens: rdr inet proto udp from any to 172.16.0.0/12 port = 12345 -> 10.255.255.3 [ Evaluations: 7 Packets: 2 Bytes: 88 States: 1 ] [ Inserted: uid 0 pid 1044 State Creations: 7 ] But still just the one state: all udp 10.255.255.3:12345 (172.16.0.1:12345) <- 10.0.0.1:23456 NO_TRAFFIC:SINGLE But only three passes appear in pflog0: 17:29:19.857174 rule 0/0(match): pass in on em1: 10.0.0.1.23456 > 10.255.255.3.12345: UDP, length 16 17:29:19.857193 rule 0/0(match): pass in on em1: 10.0.0.1.23456 > 10.255.255.3.12345: UDP, length 16 17:29:19.857226 rule 0/0(match): pass in on em1: 10.0.0.1.23456 > 10.255.255.3.12345: UDP, length 16 And, to confirm, the first packet from each of these tests did reach the server, the remaining three from each test did not. > A similar setup works for me without any problems, so there may be > something special in your environment. This has been tested on fresh installs of both FreeBSD 12.1 and 11.4 on both physical hardware and virtual machines including both Xeons and AMD Epyc. So it seems like most environmental factors have been controlled for. > It seems your routing table on fb2 is empty, please try to set a > defaultroute, e.g.: "route add default 10.0.0.NN" with any NN. fb2 does have a default route, it is obtained from DHCP on the first interface. But that is not relevant; the client machine (fb1) is directly connected to fb2's second interface, and the server (fb3) is directly connected to fb2's third interface. No additional routes are necessary for this test, and the default route is never consulted. Perhaps there's some detail of the scenario that I have omitted without which it's not clear? Thanks! From owner-freebsd-net@freebsd.org Sun Oct 11 21:00:24 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E3DCF3FD03C for ; Sun, 11 Oct 2020 21:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8Z2c4rnSz4Z4G for ; Sun, 11 Oct 2020 21:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id A35493FCD11; Sun, 11 Oct 2020 21:00:24 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 986873FCE3E for ; Sun, 11 Oct 2020 21:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C8Z2c32NVz4Z4C for ; Sun, 11 Oct 2020 21:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 48E3821A89 for ; Sun, 11 Oct 2020 21:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09BL0OaX047493 for ; Sun, 11 Oct 2020 21:00:24 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09BL0O0f047492 for net@FreeBSD.org; Sun, 11 Oct 2020 21:00:24 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202010112100.09BL0O0f047492@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, 11 Oct 2020 21:00:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 11 Oct 2020 21:00:25 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport In Progress | 235700 | oce(4) driver causes fatal trap 12 on boot with e New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 213410 | [carp] service netif restart causes hang only whe Open | 7556 | ppp: sl_compress_init() will fail if called anyth Open | 166724 | if_re(4): watchdog timeout Open | 187835 | ngctl(8) strange behavior when adding more than 5 Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194453 | dummynet(4): pipe config bw parameter limited to Open | 200319 | Bridge+CARP crashes/freezes Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 207261 | netmap: Doesn't do TX sync with kqueue Open | 217978 | dhclient: Support supersede statement for option Open | 220468 | libfetch: Does not handle 407 (proxy auth) when c Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race Open | 227720 | Kernel panic in ppp server Open | 230807 | if_alc(4): Driver not working for Killer Networki Open | 235524 | igb(4): Ethernet interface loses active link stat Open | 236888 | ppp daemon: Allow MTU to be overridden for PPPoE Open | 236983 | bnxt(4) VLAN not operational unless explicit "ifc Open | 237072 | netgraph(4): performance issue [on HardenedBSD]? Open | 237840 | Removed dummynet dependency on ipfw Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 240530 | netgraph/ng_source: Allow ng_source to inject int Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile Open | 240969 | netinet6: Neighbour reachability detection broken Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 241162 | Panic in closefp() triggered by nginx (uwsgi with Open | 243463 | ix0: Watchdog timeout Open | 244066 | divert: Add sysctls for divert socket send and re Open | 244706 | panic: NULL dereference inside __mtx_lock_sleep() Open | 118111 | rc: network.subr Add MAC address based interface 33 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun Oct 11 22:30:17 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 99CA53FEB21 for ; Sun, 11 Oct 2020 22:30:17 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C8c2K3cTyz4dMy; Sun, 11 Oct 2020 22:30:17 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 5F1EB226E2; Sun, 11 Oct 2020 22:30:17 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 5E40A91E15C; Sun, 11 Oct 2020 22:30:17 +0000 (UTC) Date: Sun, 11 Oct 2020 22:30:17 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23794: nat64lsn: When allocating, check if we already allocated pg in nat64lsn_alloc_pg() Message-ID: <1c2337b10ed6f97520248b3b42fd96d8@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-ookq7jrtmoe3xzcxelnj X-Phabricator-Mail-ID: 2173599 X-Phabricator-Send-Attempt: pbc5ircae33kzqtj In-Reply-To: References: Thread-Index: NmE2MzdmMGVjZjM4ODg1MzNiN2Q0ZTQwMmRkIF+Dh3k= X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) monogram(D23794) object-type(DREV) phid(PHID-DREV-ookq7jrtmoe3xzcxelnj) revision-repository(rS) revision-status(abandoned) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2020 22:30:17 -0000 bmVlbF9uZWVsYy5vcmcgYWJhbmRvbmVkIHRoaXMgcmV2aXNpb24uCgpSRVBPU0lUT1JZCiAgclMg RnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIEFDVElPTgogIGh0dHBz Oi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3OTQvbmV3LwoKUkVWSVNJT04gREVUQUlMCiAgaHR0 cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyMzc5NAoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRw czovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8K ClRvOiBuZWVsX25lZWxjLm9yZwpDYzogaW1wLCBhZSwgbWVsaWZhcm8sIGZyZWVic2QtbmV0LWxp c3QsICNjb250cmlidXRvcl9yZXZpZXdzX2Jhc2UsIG1tYWN5LCBrcHJhdmVlbi5sa21sX2dtYWls LmNvbSwgbWFyY25hcmNfZ21haWwuY29tLCBzaW1vbnZlbGxhX2dtYWlsLmNvbSwgbm92aWNlX3Rl Y2hpZS5jb20sIHRvbW1pLnBlcm5pbGFfaWtpLmZpCg== From owner-freebsd-net@freebsd.org Mon Oct 12 07:07:29 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DBB3842E82C for ; Mon, 12 Oct 2020 07:07:29 +0000 (UTC) (envelope-from msprvs1=18554Xh0dQ37y=bounces-11362@espertisocial.cloud) Received: from mta-222-170.sparkpostmail.com (mta-222-170.sparkpostmail.com [147.253.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.eu.sparkpostmail.com", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C8qW529Lbz3WlK for ; Mon, 12 Oct 2020 07:07:28 +0000 (UTC) (envelope-from msprvs1=18554Xh0dQ37y=bounces-11362@espertisocial.cloud) X-MSFBL: c41cVQC54JTAg4HtoZ/J4s3gzZ2283kOz3DOu6m9rzs=|eyJjdXN0b21lcl9pZCI 6IjExMzYyIiwibWVzc2FnZV9pZCI6IjAwNDhmMmZiODM1ZmM0NDY5OTgyIiwiciI 6ImZyZWVic2QtbmV0QGZyZWVic2Qub3JnIiwidGVuYW50X2lkIjoic3BjZXUiLCJ zdWJhY2NvdW50X2lkIjoiMCJ9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=espertisocial.cloud; s=scph0920; t=1602485235; i=@espertisocial.cloud; bh=PNQD8e+RQGw8zAPwj9scQTHnaCEamn8IXUBb4+Iogf8=; h=Message-Id:From:To:Subject:Date:Content-Type; b=JQNptezBzxPlpW98I6k418R2oBP6nSVT8n8RnvnrXnBPAMNdVkkkzKa0O1kuQTaIq MlW1cWROI2SRfFWoNIeaZZwz4euzUPNLHMfPNP/hEBRBX+l6l/MPS0vIG0rC5fCSqY rq+sofW1VrH4edstnqLWYiN5kJ1Z/XNpZyADF3Rw= Received: from [79.1.85.14] ([79.1.85.14:57725] helo=[192.168.1.138]) by ac.mta3vsmtp.cc.prd.sparkpost (envelope-from ) (ecelerity 4.3.1.84238 r(Core:4.3.1.49)) with ESMTPA id 99/28-18116-2FBF38F5; Mon, 12 Oct 2020 06:47:15 +0000 Message-Id: <211HIC3A-FZKC-Q7AQ-27TV-5BUKZQJE2C7K@espertisocial.cloud> Mime-Version: 1.0 From: Engagio To: freebsd-net Reply-To: premium@engagio.eu Subject: Realizziamo il tuo videospot o Videocartoon da 649 euro incluso doppiaggio Date: Mon, 12 Oct 2020 08:47:14 +0200 X-Rspamd-Queue-Id: 4C8qW529Lbz3WlK X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=espertisocial.cloud header.s=scph0920 header.b=JQNptezB; dmarc=none; spf=pass (mx1.freebsd.org: domain of msprvs1=18554Xh0dQ37y=bounces-11362@espertisocial.cloud designates 147.253.222.170 as permitted sender) smtp.mailfrom=msprvs1=18554Xh0dQ37y=bounces-11362@espertisocial.cloud X-Spamd-Result: default: False [6.09 / 15.00]; HAS_REPLYTO(0.00)[premium@engagio.eu]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(0.00)[+exists:147.253.222.170._spf.sparkpostmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[espertisocial.cloud:+]; NEURAL_HAM_SHORT(-0.07)[-0.066]; FORGED_SENDER(0.30)[preventivi@espertisocial.cloud,msprvs1=18554Xh0dQ37y=bounces-11362@espertisocial.cloud]; RECEIVED_SPAMHAUS_PBL(0.00)[79.1.85.14:received]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:23528, ipnet:147.253.222.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[preventivi@espertisocial.cloud,msprvs1=18554Xh0dQ37y=bounces-11362@espertisocial.cloud]; RSPAMD_URIBL(4.50)[cutt.ly:url]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[espertisocial.cloud:s=scph0920]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[espertisocial.cloud]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_MEDIUM(0.17)[0.169]; NEURAL_SPAM_LONG(0.70)[0.697]; RWL_MAILSPIKE_VERYGOOD(0.00)[147.253.222.170:from]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-net] X-Spam: Yes Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 12 Oct 2020 07:07:29 -0000 Buongiorno, con Engagio Video=C2=AE=EF=B8=8F puoi realizzare Videospot o Vi= deocartoon Animati da 649 euro con incluso doppiaggio professionale=2E Sul canale https://vimeo=2Ecom/spotaziendali moltissimi esempi di Video gi= =C3=A0 realizzati per nostri clienti, che hanno permesso di aumentare fattu= rato, % di click, aumentato interazioni sui Social e sul proprio sito= =2E In 60 secondi potete spiegare quello che non basterebbe con una pubblicit= =C3=A0 tradizionale=2E Ed =C3=A8 tutto incluso chiavi in mano consegnato in= 7 giorni=2E Altrove costerebbe oltre 2=2E000 euro! E con un piccolo extra price il Vostro Video pu=C3=B2 diventare Videomail p= er stupire 10=2E000 clienti profilati e geo-localizzati via email=2E Sul mi= o sito Engagio, informazioni, portfolio clienti e molto altro=2E Resto a disposizione anche tramite chat sul sito o via whatsapp al numero 3= 77-4464525=2E Engagio di Massi Vigilante P=2EI=2E IT04310790714 Viale Certosa 281, 20156 Milano Tel=2E (+39) 377-4464525 (whatsapp pre-vendita) Tel=2E (+39) 02-82397123 (supporto post-vendita) << Mi hanno scelto pi=C3=B9 di 1=2E000 clienti e lanciato oltre 20=2E000 ca= mpagne >> Attestati e Certificazioni su Engagio - Select Certified Partner by Cisco=E2=84=A2 - Optimization Specialist by DigitalMarketer=E2=84=A2 - Funnel Lead by No Fear Funnels=E2=84=A2 - Conversion Funnel by Click Minded=E2=84=A2 - Google Cloud Architect by Google=E2=84=A2 - Google Cloud Engineer by Google=E2=84=A2 - Social Media Marketing by HP=E2=84=A2 - Communicating by LinkedIn Learning=E2=84=A2 - Advanced Dgital Marketing by DigitalSquare=E2=84=A2 - Microsoft Software Developer by Microsoft=E2=84=A2 - AWS Certified Solutions Architect by Amazon=E2=84=A2 - Lead Click Funnels by Click Funnels=E2=84=A2 - CompTIA Security+ by CompTIA=E2=84=A2 - Facebook Marketer by Universal Business=E2=84=A2 - Social Media Directory by SMD=E2=84=A2 - Digital Marketing Certification by Projdeator=E2=84=A2 Ai sensi degli artt=2E15 diritto di accesso, 16 diritto di rettifica, 17 di= ritto alla cancellazione, 18 diritto alla limitazione del trattamento, 20 d= iritto alla portabilit=C3=A0, 21-22 diritto all=E2=80=99opposizione e 22 di= ritto di opposizione del GDPR 679/16 cliccando https://cutt=2Ely/5fuvpdn ca= ncelleremo definitivamente i suoi dati From owner-freebsd-net@freebsd.org Mon Oct 12 16:44:10 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A367B43B6C5 for ; Mon, 12 Oct 2020 16:44:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C94JV3V06z4Q25 for ; Mon, 12 Oct 2020 16:44:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7466843B4F5; Mon, 12 Oct 2020 16:44:10 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73EB543B6BF for ; Mon, 12 Oct 2020 16:44:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C94JV1bsdz4PhM for ; Mon, 12 Oct 2020 16:44:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 15328F628 for ; Mon, 12 Oct 2020 16:44:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09CGi9pk032114 for ; Mon, 12 Oct 2020 16:44:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09CGi9ku032113 for net@FreeBSD.org; Mon, 12 Oct 2020 16:44:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 250037] re(4): TP-Link TG-3468 V4 network card not detected Date: Mon, 12 Oct 2020 16:44: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: Unspecified X-Bugzilla-Keywords: easy, feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 12 Oct 2020 16:44:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250037 --- Comment #4 from commit-hook@FreeBSD.org --- A commit references this bug: Author: markj Date: Mon Oct 12 16:44:06 UTC 2020 New revision: 366649 URL: https://svnweb.freebsd.org/changeset/base/366649 Log: MFC r366464: re(4): Add a 8168-compatible device ID PR: 250037 Changes: _U stable/12/ stable/12/sys/dev/re/if_re.c stable/12/sys/dev/rl/if_rlreg.h --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 12 16:45:30 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B86043BC5C for ; Mon, 12 Oct 2020 16:45:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C94L20xDtz4QKk for ; Mon, 12 Oct 2020 16:45:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2001D43BE20; Mon, 12 Oct 2020 16:45:30 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1FCB243BE98 for ; Mon, 12 Oct 2020 16:45:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C94L204k9z4QKj for ; Mon, 12 Oct 2020 16:45:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D8716F7BE for ; Mon, 12 Oct 2020 16:45:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09CGjTDY033203 for ; Mon, 12 Oct 2020 16:45:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09CGjTFB033202 for net@FreeBSD.org; Mon, 12 Oct 2020 16:45:29 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 250037] re(4): TP-Link TG-3468 V4 network card not detected Date: Mon, 12 Oct 2020 16:45:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: easy, feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 12 Oct 2020 16:45:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250037 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #5 from Mark Johnston --- Thanks for the report. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 12 16:45:45 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35E7A43BF89 for ; Mon, 12 Oct 2020 16:45:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C94LK0hGRz4QYG for ; Mon, 12 Oct 2020 16:45:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 15DF443BE37; Mon, 12 Oct 2020 16:45:45 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1406943BF87 for ; Mon, 12 Oct 2020 16:45:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C94LJ6qWZz4QYD for ; Mon, 12 Oct 2020 16:45:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C8D3EF62B for ; Mon, 12 Oct 2020 16:45:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09CGjiE8033421 for ; Mon, 12 Oct 2020 16:45:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09CGjied033420 for net@FreeBSD.org; Mon, 12 Oct 2020 16:45:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 250037] re(4): TP-Link TG-3468 V4 network card not detected Date: Mon, 12 Oct 2020 16:45:44 +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: Unspecified X-Bugzilla-Keywords: easy, feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable12+ mfc-stable11? X-Bugzilla-Changed-Fields: flagtypes.name 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.33 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, 12 Oct 2020 16:45:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250037 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable12? |mfc-stable12+ --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 12 17:01:35 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 074A243C28F for ; Mon, 12 Oct 2020 17:01:35 +0000 (UTC) (envelope-from dkandula@gmail.com) Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C94hZ28TFz4QqM for ; Mon, 12 Oct 2020 17:01:34 +0000 (UTC) (envelope-from dkandula@gmail.com) Received: by mail-ot1-x32d.google.com with SMTP id n61so16442274ota.10 for ; Mon, 12 Oct 2020 10:01:34 -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=VqWFdPaCiPZDS2TsIFL3ly/H8E9buKo+LNtLMQhcCrA=; b=MPBV1sHxtJrEm9Uu80E9RXPTSx0U4pPVwQ7EFqCKUwioCttNlzrfvWZx+2VlKBQVxy fSPygKNzN2PMG68kFoBEnD7n92YDi9H96y+bGCfR09D5K+0g5Wpsqc1PEZiM1o9SxSEO +nKYoQteeR0vWQaCbHlQAcKelalp2iW7kGN4uuB9J1PnzbtryMel7lhJICH1gVYYLsb6 IPQOn6uLzEfby9wfKP5so3Av6Woj/96Nld1gpwhREtAT9LOSk2PxhtjMKECT1gtNn9uu zggaXblNVqQQ4Mov5ud3FvCIU5t9J8VJ6lP6AF5HjxQ99IoutVlrUYckVikdEkp0zaUk ZMhw== 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=VqWFdPaCiPZDS2TsIFL3ly/H8E9buKo+LNtLMQhcCrA=; b=ZG9mthUuSVyqaFDoyxu7rjTORqZD2qG1NllFEr2r45Ts49y/bYHEUp2ByXTJiKgIpm dsOhYoMdKqUa0Vjia6eOC6BnZYixEQpd/tus6cwfBuUzzTwQt2l8sAAdHvjwprDR6kH4 jYjim6ZAa7SXmDOlDH2xxBYktkPNtIfD1dITjIsD1Q9KDhOurvuXxz/hDvl+jPUxNSMG r8Vs5VsIDZ6G1hmjZ82CT5ogZAXF1rviaGfIQvERkpiQ2U749Z/fdF0PS7hU26XUPOhz sFPCO0m4ZREd+C30CBGbFf9ob10XAfPpkd7tPTDAyO4yaYsj3/Sc4R/59a7WFKquHv9/ 0Tbg== X-Gm-Message-State: AOAM530FJqdYBnaeLr81otJLz7gTwK0wP/i5TWzt4SR1SsUMT69C7aTh kgM8bzVjkXqd2kXBiUHsdMe9Gpt2/RxZQ6mjIFvs5cgGZ85piQ== X-Google-Smtp-Source: ABdhPJznwfCagaewgRJelthgjbTJ+6sWtJhbLswFh7bbzYOBHZ5sApdgDwMdUhs4cJ7Dt9R3vbD2d48zu0v6lfN1rjQ= X-Received: by 2002:a9d:6d99:: with SMTP id x25mr17804472otp.57.1602522091827; Mon, 12 Oct 2020 10:01:31 -0700 (PDT) MIME-Version: 1.0 From: Dheeraj Kandula Date: Mon, 12 Oct 2020 13:01:19 -0400 Message-ID: Subject: ims_merge in in_mcast.c and in6_mcast.c To: freebsd-net@freebsd.org X-Rspamd-Queue-Id: 4C94hZ28TFz4QqM X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=MPBV1sHx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dkandula@gmail.com designates 2607:f8b0:4864:20::32d as permitted sender) smtp.mailfrom=dkandula@gmail.com X-Spamd-Result: default: False [-2.90 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.03)[-1.027]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.996]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32d:from]; NEURAL_SPAM_SHORT(0.12)[0.121]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 12 Oct 2020 17:01:35 -0000 974 /* 975 * Merge socket-layer source into IGMP-layer source. 976 * If rollback is non-zero, perform the inverse of the merge. 977 */ 978 static void 979 ims_merge(struct ip_msource *ims, const struct in_msource *lims, 980 const int rollback) 981 { 982 int n = rollback ? -1 : 1; 983 984 if (lims->imsl_st[0] == MCAST_EXCLUDE) { 985 CTR3(KTR_IGMPV3, "%s: t1 ex -= %d on 0x%08x", 986 __func__, n, ims->ims_haddr); 987 ims->ims_st[1].ex -= n; 988 } else if (lims->imsl_st[0] == MCAST_INCLUDE) { 989 CTR3(KTR_IGMPV3, "%s: t1 in -= %d on 0x%08x", 990 __func__, n, ims->ims_haddr); 991 ims->ims_st[1].in -= n; 992 } 993 994 if (lims->imsl_st[1] == MCAST_EXCLUDE) { 995 CTR3(KTR_IGMPV3, "%s: t1 ex += %d on 0x%08x", 996 __func__, n, ims->ims_haddr); 997 ims->ims_st[1].ex += n; 998 } else if (lims->imsl_st[1] == MCAST_INCLUDE) { 999 CTR3(KTR_IGMPV3, "%s: t1 in += %d on 0x%08x", 1000 __func__, n, ims->ims_haddr); 1001 ims->ims_st[1].in += n; 1002 } 1003 } On line 987 and 991 shouldn't the index be 0 instead of 1. i.e. ims->ims_st[0].ex -= n; and ims->ims_st[0].in -= n; On a rollback, the entry at index 0 is incremented and the entry at index 1 is decremented. On a non-rollback merge, the entry at index 0 is decremented and the entry at index 1 is incremented. Dheeraj From owner-freebsd-net@freebsd.org Mon Oct 12 17:12:02 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A637443C82C for ; Mon, 12 Oct 2020 17:12:02 +0000 (UTC) (envelope-from dkandula@gmail.com) Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C94wd3v8Gz4Rj4 for ; Mon, 12 Oct 2020 17:12:01 +0000 (UTC) (envelope-from dkandula@gmail.com) Received: by mail-ot1-x335.google.com with SMTP id n61so16475979ota.10 for ; Mon, 12 Oct 2020 10:12:01 -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=UUNbORiazgipiae6T0at4LauwgWosH0ysCMmRC3NOm8=; b=qa6Z17+KX4cmS/HoafF3oY5YmzLqVON/awFSaw9tKL/q82e1jt7/e3s4Uob9lW44ou 8yKTas1W5RMIrW2zavrJUzcxU++luWnKbdELgMG2ctPJQ48At68ObJoG0fX6MFy1RkFN qK1dEg+JEANIIlj7ELwX44QmSoKNPcVAVtJt1uwr5iYxnS/pMFGh4OnoxUl2u6bzRH2a qPaGegreeRjJnAloLF/XQ9gVilC5vwJk79GVvHnCfWDkfqc5442Ua51JhsIIR+TyzV9n DK7YGApZt9YiMG67Q4zuVndl93+oWeHJFjyG1yuwpxm40ANYMlP2iUkNuysl4ZIP6DO3 Op/A== 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=UUNbORiazgipiae6T0at4LauwgWosH0ysCMmRC3NOm8=; b=fYTG6H78pPj+n7UGdok/4Xkkg2b4cVa6AjM/AOGpZmywdJUymXwwyP1U6Dq7flFMb4 0cpOp+iMSfyBGh2xEXmjU5DF2sP5E6uSbpBhOA8iO1pS6v668K+E1gXE/F6BolvwjlWb YvaYMUUO2jY3kDF9xkTHMJi+vVB7JPHyuWHHv+Danbei+wf3wo/L7m56NTNmJfp0fjjd FGHYuJ4NsS0FWJGSN5/ee1TSPcuuUOdg2ZHRi7ALSgSOX2+8/oQYuWju/nsUA4k19kLv ba/X/r7PfpVGxdYooH1kXxo/a2EoNwUGDEu+w4dqIakR+AJ+XCSu4eKfUnnnho9+i5Oo mKfg== X-Gm-Message-State: AOAM530DpvPzqXx5n+gn/Uee6fjDsscov/X6cE7WI6eYvzSn1ssDawbW ZMxO0Av8YVeNHAe9gCGlrPK0bRX6Hyprs0dhI4ogT3pfSMusGA== X-Google-Smtp-Source: ABdhPJzFtKGFsDKiujTQo5c97a0/HNronHmrCIwK7umdDEd8FRLAVI/XcG1d8eXGCmEbNRPs41VuYuraznYVFRKVjrs= X-Received: by 2002:a9d:53cc:: with SMTP id i12mr18325327oth.215.1602522719905; Mon, 12 Oct 2020 10:11:59 -0700 (PDT) MIME-Version: 1.0 From: Dheeraj Kandula Date: Mon, 12 Oct 2020 13:11:48 -0400 Message-ID: Subject: ims_merge in in_mcast.c To: freebsd-net@freebsd.org X-Rspamd-Queue-Id: 4C94wd3v8Gz4Rj4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=qa6Z17+K; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dkandula@gmail.com designates 2607:f8b0:4864:20::335 as permitted sender) smtp.mailfrom=dkandula@gmail.com X-Spamd-Result: default: False [-3.34 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.03)[-1.027]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.995]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::335:from]; NEURAL_HAM_SHORT(-0.31)[-0.314]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 12 Oct 2020 17:12:02 -0000 974 /* 975 * Merge socket-layer source into IGMP-layer source. 976 * If rollback is non-zero, perform the inverse of the merge. 977 */ 978 static void 979 ims_merge(struct ip_msource *ims, const struct in_msource *lims, 980 const int rollback) 981 { 982 int n = rollback ? -1 : 1; 983 984 if (lims->imsl_st[0] == MCAST_EXCLUDE) { 985 CTR3(KTR_IGMPV3, "%s: t1 ex -= %d on 0x%08x", 986 __func__, n, ims->ims_haddr); 987 ims->ims_st[1].ex -= n; 988 } else if (lims->imsl_st[0] == MCAST_INCLUDE) { 989 CTR3(KTR_IGMPV3, "%s: t1 in -= %d on 0x%08x", 990 __func__, n, ims->ims_haddr); 991 ims->ims_st[1].in -= n; 992 } 993 994 if (lims->imsl_st[1] == MCAST_EXCLUDE) { 995 CTR3(KTR_IGMPV3, "%s: t1 ex += %d on 0x%08x", 996 __func__, n, ims->ims_haddr); 997 ims->ims_st[1].ex += n; 998 } else if (lims->imsl_st[1] == MCAST_INCLUDE) { 999 CTR3(KTR_IGMPV3, "%s: t1 in += %d on 0x%08x", 1000 __func__, n, ims->ims_haddr); 1001 ims->ims_st[1].in += n; 1002 } 1003 } On line 987 and 991 shouldn't the index be 0 instead of 1. i.e. ims->ims_st[0].ex -= n; and ims->ims_st[0].in -= n; On a rollback, the entry at index 0 is incremented and the entry at index 1 is decremented. On a non-rollback merge, the entry at index 0 is decremented and the entry at index 1 is incremented. Dheeraj From owner-freebsd-net@freebsd.org Mon Oct 12 22:39:33 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9DD9F42A330 for ; Mon, 12 Oct 2020 22:39:33 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9DBY2vDrz3Wdx; Mon, 12 Oct 2020 22:39:33 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4716A13A65; Mon, 12 Oct 2020 22:39:33 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 46652921C34; Mon, 12 Oct 2020 22:39:33 +0000 (UTC) Date: Mon, 12 Oct 2020 22:39:33 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23737: nat64: Get the IPv4 address from a NAT64 address when comparing addresses in a ICMP translate Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-s3egeuka5skf4yqccitk X-Phabricator-Mail-ID: 2174743 X-Phabricator-Send-Attempt: utljd2oxnglddjzl In-Reply-To: References: Thread-Index: ZGNhNGQ4ODE2YjFiYzZhMmM0Yjg2OTUxOGRlIF+E2yU= X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) monogram(D23737) object-type(DREV) phid(PHID-DREV-s3egeuka5skf4yqccitk) reviewer(@ae) revision-repository(rS) revision-status(abandoned) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2020 22:39:33 -0000 bmVlbF9uZWVsYy5vcmcgYWJhbmRvbmVkIHRoaXMgcmV2aXNpb24uCgpSRVBPU0lUT1JZCiAgclMg RnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIEFDVElPTgogIGh0dHBz Oi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3MzcvbmV3LwoKUkVWSVNJT04gREVUQUlMCiAgaHR0 cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyMzczNwoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRw czovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8K ClRvOiBuZWVsX25lZWxjLm9yZywgYWUKQ2M6IGltcCwgYWUsIG1lbGlmYXJvLCAjY29udHJpYnV0 b3JfcmV2aWV3c19iYXNlLCBmcmVlYnNkLW5ldC1saXN0LCBtbWFjeSwga3ByYXZlZW4ubGttbF9n bWFpbC5jb20sIG1hcmNuYXJjX2dtYWlsLmNvbSwgc2ltb252ZWxsYV9nbWFpbC5jb20sIG5vdmlj ZV90ZWNoaWUuY29tLCB0b21taS5wZXJuaWxhX2lraS5maQo= From owner-freebsd-net@freebsd.org Mon Oct 12 22:40:30 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5896842A2FD for ; Mon, 12 Oct 2020 22:40:30 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9DCf05n6z3WQq; Mon, 12 Oct 2020 22:40:29 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id BE0A813B09; Mon, 12 Oct 2020 22:40:29 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id BBEA69000D9; Mon, 12 Oct 2020 22:40:29 +0000 (UTC) Date: Mon, 12 Oct 2020 22:40:29 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D24989: netinet: Generate a random RSS key on boot. Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <81>, <128>, <67>, <110> X-Phabricator-Projects: <#csprng>, <#network> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-yukac7sf5rncf2mc6vjo X-Phabricator-Mail-ID: 2174773 X-Phabricator-Send-Attempt: mquy3pbk2qd3r4ph In-Reply-To: References: Thread-Index: YTY1OTExMDJjYTMyZjY4NDZjMmU3ZDljMmQ3IF+E210= X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H110) herald(H128) monogram(D24989) object-type(DREV) phid(PHID-DREV-yukac7sf5rncf2mc6vjo) reviewer(#csprng) reviewer(@markm) revision-repository(rS) revision-status(abandoned) subscriber(#contributor_reviews_base) subscriber(#csprng) subscriber(@adrian) subscriber(@ae) subscriber(@avg) subscriber(@cem) subscriber(@damien.deville_stormshield.eu) subscriber(@debdrup) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@kevans) subscriber(@markm) subscriber(@melifaro) subscriber(@rwatson) tag(#csprng) tag(#network) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2020 22:40:30 -0000 bmVlbF9uZWVsYy5vcmcgYWJhbmRvbmVkIHRoaXMgcmV2aXNpb24uCgpSRVBPU0lUT1JZCiAgclMg RnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIEFDVElPTgogIGh0dHBz Oi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjQ5ODkvbmV3LwoKUkVWSVNJT04gREVUQUlMCiAgaHR0 cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyNDk4OQoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRw czovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8K ClRvOiBuZWVsX25lZWxjLm9yZywgI2NzcHJuZywgbWFya20KQ2M6IGRhbWllbi5kZXZpbGxlX3N0 b3Jtc2hpZWxkLmV1LCBhZHJpYW4sIGF2ZywgbWFya20sIGNlbSwgI2NzcHJuZywga2V2YW5zLCBk ZWJkcnVwLCByd2F0c29uLCBpbXAsIGFlLCBtZWxpZmFybywgI2NvbnRyaWJ1dG9yX3Jldmlld3Nf YmFzZSwgZnJlZWJzZC1uZXQtbGlzdCwgbW1hY3ksIGtwcmF2ZWVuLmxrbWxfZ21haWwuY29tLCBt YXJjbmFyY19nbWFpbC5jb20sIHNpbW9udmVsbGFfZ21haWwuY29tLCBub3ZpY2VfdGVjaGllLmNv bSwgdG9tbWkucGVybmlsYV9pa2kuZmksIGtyenlzenRvZi5nYWxhemthX2ludGVsLmNvbQo= From owner-freebsd-net@freebsd.org Tue Oct 13 07:30:21 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A7AC4380EE for ; Tue, 13 Oct 2020 07:30:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9Rz13h5Rz4LFf for ; Tue, 13 Oct 2020 07:30:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7E68F43805B; Tue, 13 Oct 2020 07:30:21 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7E33A4380ED for ; Tue, 13 Oct 2020 07:30:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9Rz12q3wz4L6t for ; Tue, 13 Oct 2020 07:30:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3FD5D19BC9 for ; Tue, 13 Oct 2020 07:30:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09D7ULWE059400 for ; Tue, 13 Oct 2020 07:30:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09D7ULFw059399 for net@FreeBSD.org; Tue, 13 Oct 2020 07:30:21 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 242606] Low capacity of Variable "IPSEC_MANUAL_REQID_MAX" crashes StrongSwan IPSec/IKEV2 VPN Server Date: Tue, 13 Oct 2020 07:30:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@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.33 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, 13 Oct 2020 07:30:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242606 --- Comment #8 from Andrey V. Elsukov --- It seems the problem is fixed since Strongswan 5.8.3. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Oct 13 08:11:48 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C470643912B for ; Tue, 13 Oct 2020 08:11:48 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9Str4kk2z4NNN; Tue, 13 Oct 2020 08:11:48 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 841B91A781; Tue, 13 Oct 2020 08:11:48 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 8320A9123FE; Tue, 13 Oct 2020 08:11:48 +0000 (UTC) Date: Tue, 13 Oct 2020 08:11:48 +0000 To: Phabricator From: "yannis.planus_alstomgroup.com (Yannis Planus)" Cc: freebsd-net@freebsd.org Reply-to: "yannis.planus_alstomgroup.com (Yannis Planus)" Subject: [Differential] D26757: Fix to join AllHost mcast group again when adding an existing IP address Message-ID: <14b95efcb52db708ba026e14034ca451@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , X-Herald-Rules: <28>, <128>, <115> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-6p7swwnwsjwmyozi3buz X-Phabricator-Mail-ID: 2175150 X-Phabricator-Send-Attempt: nki2c22dwofqu7oq In-Reply-To: References: Thread-Index: ZGZhNjdhMDRlZDFlNGVjNWYxZTQ5YzRkMjVlIF+FYUQ= X-Phabricator-Stamps: actor(@yannis.planus_alstomgroup.com) application(Differential) author(@yannis.planus_alstomgroup.com) herald(H28) herald(H115) herald(H128) monogram(D26757) object-type(DREV) phid(PHID-DREV-6p7swwnwsjwmyozi3buz) reviewer(#network) reviewer(@mw) revision-repository(rS) revision-status(needs-review) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_14b95efcb52db708ba026e14034ca451" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2020 08:11:48 -0000 --b1_14b95efcb52db708ba026e14034ca451 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 eWFubmlzLnBsYW51c19hbHN0b21ncm91cC5jb20gY3JlYXRlZCB0aGlzIHJldmlzaW9uLgp5YW5u aXMucGxhbnVzX2Fsc3RvbWdyb3VwLmNvbSBhZGRlZCByZXZpZXdlcnM6IG5ldHdvcmssIG13LgpI ZXJhbGQgYWRkZWQgc3Vic2NyaWJlcnM6IG1lbGlmYXJvLCBpbXAuCnlhbm5pcy5wbGFudXNfYWxz dG9tZ3JvdXAuY29tIHJlcXVlc3RlZCByZXZpZXcgb2YgdGhpcyByZXZpc2lvbi4KClJFVklTSU9O IFNVTU1BUlkKICBXaGVuIGNhbGxpbmcgU0lPQ0FJRkFERFIgaW9jdGwgd2l0aCBhbiBleGlzdGlu ZyBJUCBhZGRyZXNzLCB0aGlzIElQIGFkZHJlc3Mgd2FzIGRlbGV0ZWQgYW5kIEFsbEhvc3QgbXVs dGljYXN0IGdyb3VwIGxlYXZlZC4KICBUaGVuIElQIGFkZHJlc3Mgd2FzIGFkZGVkIGFnYWluIGJ1 dCBBbGxIb3N0IG11bHRpY2FzdCBncm91cCB3YXMgbm90IGpvaW5lZC4KClJFUE9TSVRPUlkKICBy UyBGcmVlQlNEIHNyYyByZXBvc2l0b3J5CgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmll d3MuZnJlZWJzZC5vcmcvRDI2NzU3CgpBRkZFQ1RFRCBGSUxFUwogIHN5cy9uZXRpbmV0L2luLmMK CkNIQU5HRSBERVRBSUxTCgpkaWZmIC0tZ2l0IGEvc3lzL25ldGluZXQvaW4uYyBiL3N5cy9uZXRp bmV0L2luLmMKLS0tIGEvc3lzL25ldGluZXQvaW4uYworKysgYi9zeXMvbmV0aW5ldC9pbi5jCkBA IC0zNzksMTAgKzM3OSwxMSBAQAogCQkJY29udGludWU7CiAKIAkJaXQgPSAoc3RydWN0IGluX2lm YWRkciAqKWlmYTsKLQkJaWFJc0ZpcnN0ID0gZmFsc2U7CiAJCWlmIChpdC0+aWFfYWRkci5zaW5f YWRkci5zX2FkZHIgPT0gYWRkci0+c2luX2FkZHIuc19hZGRyICYmCiAJCSAgICBwcmlzb25fY2hl Y2tfaXA0KHRkLT50ZF91Y3JlZCwgJmFkZHItPnNpbl9hZGRyKSA9PSAwKQogCQkJaWEgPSBpdDsK KwkJZWxzZQorCQkJaWFJc0ZpcnN0ID0gZmFsc2U7CiAJfQogCUlGX0FERFJfUlVOTE9DSyhpZnAp OwogCgoKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3Nl dHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzogeWFubmlzLnBsYW51c19hbHN0b21n cm91cC5jb20sICNuZXR3b3JrLCBtdwpDYzogaW1wLCBmcmVlYnNkLW5ldC1saXN0LCBtZWxpZmFy bywgcnNjaGVmZgo= --b1_14b95efcb52db708ba026e14034ca451 Content-Type: text/x-patch; charset=utf-8; name="D26757.78157.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D26757.78157.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRpbmV0L2luLmMgYi9zeXMvbmV0aW5ldC9pbi5jCi0tLSBhL3N5 cy9uZXRpbmV0L2luLmMKKysrIGIvc3lzL25ldGluZXQvaW4uYwpAQCAtMzc5LDEwICszNzksMTEg QEAKIAkJCWNvbnRpbnVlOwogCiAJCWl0ID0gKHN0cnVjdCBpbl9pZmFkZHIgKilpZmE7Ci0JCWlh SXNGaXJzdCA9IGZhbHNlOwogCQlpZiAoaXQtPmlhX2FkZHIuc2luX2FkZHIuc19hZGRyID09IGFk ZHItPnNpbl9hZGRyLnNfYWRkciAmJgogCQkgICAgcHJpc29uX2NoZWNrX2lwNCh0ZC0+dGRfdWNy ZWQsICZhZGRyLT5zaW5fYWRkcikgPT0gMCkKIAkJCWlhID0gaXQ7CisJCWVsc2UKKwkJCWlhSXNG aXJzdCA9IGZhbHNlOwogCX0KIAlJRl9BRERSX1JVTkxPQ0soaWZwKTsKIAoK --b1_14b95efcb52db708ba026e14034ca451-- From owner-freebsd-net@freebsd.org Tue Oct 13 08:15:11 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 80C1F439823 for ; Tue, 13 Oct 2020 08:15:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9Syl1HLQz4PCb for ; Tue, 13 Oct 2020 08:15:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2BFBF439453; Tue, 13 Oct 2020 08:15:11 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2BC6F439716 for ; Tue, 13 Oct 2020 08:15:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9Syl0S8Mz4PT4 for ; Tue, 13 Oct 2020 08:15:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E733C1A795 for ; Tue, 13 Oct 2020 08:15:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09D8FACl012478 for ; Tue, 13 Oct 2020 08:15:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09D8FASj012477 for net@FreeBSD.org; Tue, 13 Oct 2020 08:15: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 242606] Low capacity of Variable "IPSEC_MANUAL_REQID_MAX" crashes StrongSwan IPSec/IKEV2 VPN Server Date: Tue, 13 Oct 2020 08:15:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects 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: bug_file_loc 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.33 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, 13 Oct 2020 08:15:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242606 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://wiki.strongswan.org | |/issues/2315 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Oct 13 08:15:53 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 28FC1439848 for ; Tue, 13 Oct 2020 08:15:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9SzX5fK1z4PJn for ; Tue, 13 Oct 2020 08:15:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 878204397AB; Tue, 13 Oct 2020 08:15:52 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7EF8D439723 for ; Tue, 13 Oct 2020 08:15:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9SzV4BXpz4P9Z for ; Tue, 13 Oct 2020 08:15:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A8A591A6B6 for ; Tue, 13 Oct 2020 08:15:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09D8Fn2G013037 for ; Tue, 13 Oct 2020 08:15:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09D8Fn44013036 for net@FreeBSD.org; Tue, 13 Oct 2020 08:15: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 242606] Low capacity of Variable "IPSEC_MANUAL_REQID_MAX" crashes StrongSwan IPSec/IKEV2 VPN Server Date: Tue, 13 Oct 2020 08:15: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: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 08:15:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242606 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #9 from Eugene Grosbein --- Fixed in StrongSwan, see https://wiki.strongswan.org/issues/2315 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Oct 13 08:18:39 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 30FFC4397D9 for ; Tue, 13 Oct 2020 08:18:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9T2k1Jkqz4Pvb for ; Tue, 13 Oct 2020 08:18:37 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (120.89-11-192.nextgentel.com [89.11.192.120]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D173D26024C; Tue, 13 Oct 2020 10:18:35 +0200 (CEST) Subject: Re: ims_merge in in_mcast.c To: Dheeraj Kandula , freebsd-net@freebsd.org References: From: Hans Petter Selasky Message-ID: <5f8b19d0-f833-0566-2336-d75ce0881ffa@selasky.org> Date: Tue, 13 Oct 2020 10:18:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4C9T2k1Jkqz4Pvb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-2.37 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-0.96)[-0.958]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.22)[-0.223]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.88)[-0.885]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 08:18:39 -0000 On 2020-10-12 19:11, Dheeraj Kandula wrote: > On line 987 and 991 shouldn't the index be 0 instead of 1. > > i.e. ims->ims_st[0].ex -= n; > and > ims->ims_st[0].in -= n; > > On a rollback, the entry at index 0 is incremented and the entry at index 1 > is decremented. > > On a non-rollback merge, the entry at index 0 is decremented and the entry > at index 1 is incremented. Hi, If you look at inm_commit() you see that [0] is overwritten by [1], so I believe the current code is correct. Same goes for both IPv4 and IPv6. Are you seeing an issue with multicast investigating this issue? --HPS From owner-freebsd-net@freebsd.org Tue Oct 13 08:42:01 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF1F243A581 for ; Tue, 13 Oct 2020 08:42:01 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9TYj4L6lz4R0C; Tue, 13 Oct 2020 08:42:01 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 6C2AB1ACCB; Tue, 13 Oct 2020 08:42:01 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 6B0FA91E810; Tue, 13 Oct 2020 08:42:01 +0000 (UTC) Date: Tue, 13 Oct 2020 08:42:01 +0000 To: Phabricator From: "ae (Andrey V. Elsukov)" Cc: freebsd-net@freebsd.org Reply-to: "ae (Andrey V. Elsukov)" Subject: [Differential] D26757: Fix to join AllHost mcast group again when adding an existing IP address Message-ID: <297e2199fbfb57ed4698e9773966723a@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , X-Herald-Rules: <28>, <128>, <115> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-6p7swwnwsjwmyozi3buz X-Phabricator-Mail-ID: 2175234 X-Phabricator-Send-Attempt: eotyd7jsslludm6d In-Reply-To: References: Thread-Index: ZGZhNjdhMDRlZDFlNGVjNWYxZTQ5YzRkMjVlIF+FaFk= X-Phabricator-Stamps: actor(@ae) application(Differential) author(@yannis.planus_alstomgroup.com) herald(H28) herald(H115) herald(H128) monogram(D26757) object-type(DREV) phid(PHID-DREV-6p7swwnwsjwmyozi3buz) reviewer(#network) reviewer(@ae) reviewer(@mw) revision-repository(rS) revision-status(accepted) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2020 08:42:02 -0000 YWUgYWNjZXB0ZWQgdGhpcyByZXZpc2lvbi4KYWUgYWRkZWQgYSBjb21tZW50LgpUaGlzIHJldmlz aW9uIGlzIG5vdyBhY2NlcHRlZCBhbmQgcmVhZHkgdG8gbGFuZC4KCgogIExvb2tzIGNvcnJlY3Qg dG8gbWUuCgpSRVBPU0lUT1JZCiAgclMgRnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBT SU5DRSBMQVNUIEFDVElPTgogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjY3NTcvbmV3 LwoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyNjc1NwoK RU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3Mv cGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiB5YW5uaXMucGxhbnVzX2Fsc3RvbWdyb3VwLmNv bSwgI25ldHdvcmssIG13LCBhZQpDYzogYWUsIGltcCwgZnJlZWJzZC1uZXQtbGlzdCwgbWVsaWZh cm8sIHJzY2hlZmYK From owner-freebsd-net@freebsd.org Tue Oct 13 08:58:42 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9943B43AC5F; Tue, 13 Oct 2020 08:58:42 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [128.127.146.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.norma.perm.ru", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9Twt1FWDz4RvQ; Tue, 13 Oct 2020 08:58:37 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (net147.234.188-221.ertelecom.ru [188.234.147.221] (may be forged)) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPS id 09D8x7qV014013 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 13 Oct 2020 13:59:08 +0500 (+05) (envelope-from emz@norma.perm.ru) To: freebsd-net@freebsd.org Cc: freebsd-stable From: "Eugene M. Zheganin" Subject: pf and hnX interfaces Message-ID: <7166d87e-7547-6be8-42a7-b0957ca4f543@norma.perm.ru> Date: Tue, 13 Oct 2020 13:58:22 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Server: elf.hq.norma.perm.ru X-Rspamd-Queue-Id: 4C9Twt1FWDz4RvQ X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=perm.ru; spf=pass (mx1.freebsd.org: domain of emz@norma.perm.ru designates 128.127.146.8 as permitted sender) smtp.mailfrom=emz@norma.perm.ru X-Spamd-Result: default: False [6.13 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[188.234.147.221:received]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(0.00)[+a]; MIME_GOOD(-0.10)[text/plain]; HFILTER_HELO_IP_A(1.00)[elf.hq.norma.perm.ru]; HFILTER_HELO_NORES_A_OR_MX(0.30)[elf.hq.norma.perm.ru]; NEURAL_SPAM_MEDIUM(1.01)[1.005]; BAD_REP_POLICIES(0.10)[]; RBL_VIRUSFREE_BOTNET(2.00)[128.127.146.8:from]; NEURAL_SPAM_SHORT(0.81)[0.811]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[perm.ru,none]; NEURAL_SPAM_LONG(1.01)[1.010]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:57401, ipnet:128.127.146.0/24, country:RU]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net,freebsd-stable]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 08:58:42 -0000 Hello, I'm running a FreeBSD 12.1 server as a VM under Hyper-V. And although this letter will make an impression of another lame post blaming FreeBSD for all of the issues while the author should blame himselm, I'm atm out of another explanation. The thing is: I'm getting loads of sendmail errors like: ===Cut=== Oct 13 13:49:33 gw1 sm-mta[95760]: 09D8mN2P092173: SYSERR(root): putbody: write error: Permission denied Oct 13 13:49:33 gw1 sm-mta[95760]: 09D8mN2P092173: SYSERR(root): timeout writing message to .mail.protection.outlook.com.: Permission denied ===Cut=== The relay address is just random. The thing is, I can successfully connect to it via telnet. Even send some commands. But when this is done by senamil - and when it's actually sending messages, I get random errors. Firstly I was blaming myself and trying to get the rule that actually blocks something. I ended up having none of the block rules without log clause, and in the same time tcpdump -netti pflog0 shows no droppen packets, but sendmail still eventually complains. If it matters, I have relatively high rps on this interface, about 25 Kpps. I've also found several posting mentionsing that hnX is badly handling the TSO and LRO mode, so I switched it off. No luck however, with vlanhwtag and vlanmtu, which for some reason just cannot be switched off. the if_hn also lacks a man page for some reason, so it's unclear how to tweak it right. And the most mysterious partš - when I switch the pf off, the errors stops to appear. This would clearly mean that pf blocks some packets, but then again, this way the pflog0 would show them up, right (and yes - it's "UP" )? Is there some issue with pf and hn interfaces that I'm unaware about? Are these symptoms of a bug ? Thanks. Eugene. From owner-freebsd-net@freebsd.org Tue Oct 13 09:20:01 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3AF5943B4D4; Tue, 13 Oct 2020 09:20:01 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9VPY0s1Wz4StM; Tue, 13 Oct 2020 09:20:01 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id DC2E61501D; Tue, 13 Oct 2020 09:20:00 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 124423703E; Tue, 13 Oct 2020 11:19:59 +0200 (CEST) From: "Kristof Provost" To: "Eugene M. Zheganin" Cc: freebsd-net@freebsd.org, freebsd-stable Subject: Re: pf and hnX interfaces Date: Tue, 13 Oct 2020 11:19:58 +0200 X-Mailer: MailMate (1.13.2r5673) Message-ID: <5FB9EFF9-0D95-4FC6-9469-2FC29D479379@FreeBSD.org> In-Reply-To: <7166d87e-7547-6be8-42a7-b0957ca4f543@norma.perm.ru> References: <7166d87e-7547-6be8-42a7-b0957ca4f543@norma.perm.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 09:20:01 -0000 On 13 Oct 2020, at 10:58, Eugene M. Zheganin wrote: > I'm running a FreeBSD 12.1 server as a VM under Hyper-V. And although > this letter will make an impression of another lame post blaming > FreeBSD for all of the issues while the author should blame himselm, > I'm atm out of another explanation. The thing is: I'm getting loads of > sendmail errors like: > > > ===Cut=== > > Oct 13 13:49:33 gw1 sm-mta[95760]: 09D8mN2P092173: SYSERR(root): > putbody: write error: Permission denied > Oct 13 13:49:33 gw1 sm-mta[95760]: 09D8mN2P092173: SYSERR(root): > timeout writing message to .mail.protection.outlook.com.: > Permission denied > > ===Cut=== > A “Permission denied†on outbound packets can indeed happen when pf decides to block the packet. > The relay address is just random. The thing is, I can successfully > connect to it via telnet. Even send some commands. But when this is > done by senamil - and when it's actually sending messages, I get > random errors. Firstly I was blaming myself and trying to get the rule > that actually blocks something. I ended up having none of the block > rules without log clause, and in the same time tcpdump -netti pflog0 > shows no droppen packets, but sendmail still eventually complains. > > If it matters, I have relatively high rps on this interface, about 25 > Kpps. > > I've also found several posting mentionsing that hnX is badly handling > the TSO and LRO mode, so I switched it off. No luck however, with > vlanhwtag and vlanmtu, which for some reason just cannot be switched > off. the if_hn also lacks a man page for some reason, so it's unclear > how to tweak it right. > While it’s possible that there are issues with TSO/LRO those wouldn’t look like this. (As an aside, I am interested in any reproducible setups where pf has issues with TSO/LRO. As far as I’ve been able to see all such issues have been resolved.) > And the most mysterious part  - when I switch the pf off, the errors > stops to appear. This would clearly mean that pf blocks some packets, > but then again, this way the pflog0 would show them up, right (and yes > - it's "UP" )? > It’s possible for pf to drop packets without triggering log rules. For example, if pf decides to drop the packet before it matches any rule (e.g. it’s a corrupt packet) it won’t show up in pflog. > Is there some issue with pf and hn interfaces that I'm unaware about? > There’s no interface specific code in pf, so it wouldn’t be specific to hn interfaces. > Are these symptoms of a bug ? > Perhaps. It can also be a symptom of resource exhaustion. Are there any signs of memory allocation failures, or incrementing error counters (in netstat or in pfctl)? Best regards, Kristof From owner-freebsd-net@freebsd.org Tue Oct 13 09:39:00 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8841443BDC0; Tue, 13 Oct 2020 09:39:00 +0000 (UTC) (envelope-from SRS0=EtXK=DU=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 4C9VqR5CGzz4Tsx; Tue, 13 Oct 2020 09:38:59 +0000 (UTC) (envelope-from SRS0=EtXK=DU=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id D118A28429; Tue, 13 Oct 2020 11:38:50 +0200 (CEST) Received: from illbsd.quip.test (ip-94-112-144-235.net.upcbroadband.cz [94.112.144.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id E411228417; Tue, 13 Oct 2020 11:38:49 +0200 (CEST) Subject: Re: pf and hnX interfaces To: Kristof Provost , "Eugene M. Zheganin" Cc: freebsd-net@freebsd.org, freebsd-stable References: <7166d87e-7547-6be8-42a7-b0957ca4f543@norma.perm.ru> <5FB9EFF9-0D95-4FC6-9469-2FC29D479379@FreeBSD.org> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <3a276ae4-59d2-5637-f6d2-2252f9fe4d4d@quip.cz> Date: Tue, 13 Oct 2020 11:38:49 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <5FB9EFF9-0D95-4FC6-9469-2FC29D479379@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4C9VqR5CGzz4Tsx X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=EtXK=DU=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=EtXK=DU=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [0.34 / 15.00]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=EtXK=DU=quip.cz=000.fbsd@elsa.codelab.cz]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[quip.cz]; ARC_NA(0.00)[]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.07)[-1.070]; NEURAL_SPAM_LONG(0.24)[0.238]; NEURAL_HAM_MEDIUM(-0.03)[-0.032]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=EtXK=DU=quip.cz=000.fbsd@elsa.codelab.cz]; RECEIVED_SPAMHAUS_PBL(0.00)[94.112.144.235:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-net,freebsd-stable] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 09:39:00 -0000 On 13/10/2020 11:19, Kristof Provost wrote: > On 13 Oct 2020, at 10:58, Eugene M. Zheganin wrote: >> Is there some issue with pf and hn interfaces that I'm unaware about? >> > There’s no interface specific code in pf, so it wouldn’t be specific to > hn interfaces. > >> Are these symptoms of a bug ? >> > Perhaps. It can also be a symptom of resource exhaustion. > Are there any signs of memory allocation failures, or incrementing error > counters (in netstat or in pfctl)? I have seen this kind of errors in VirtualBox with PF and emulated Intel interface (emX) Oct 1 22:42:19 bobik postfix/smtp[35330]: connect to aspmx.l.google.com[108.177.126.27]:25: Permission denied Oct 1 22:42:19 bobik postfix/smtp[36246]: connect to aspmx.l.google.com[108.177.126.27]:25: Permission denied Oct 1 22:42:19 bobik postfix/smtp[35330]: connect to alt2.aspmx.l.google.com[108.177.97.27]:25: Permission denied Oct 1 22:42:19 bobik postfix/smtp[36246]: connect to alt1.aspmx.l.google.com[172.253.118.27]:25: Permission denied Oct 1 22:42:19 bobik postfix/smtp[35330]: connect to alt1.aspmx.l.google.com[172.253.118.27]:25: Permission denied Oct 1 22:42:19 bobik postfix/smtp[36246]: connect to alt2.aspmx.l.google.com[108.177.97.27]:25: Permission denied I think it is related to states table exhaustion (reported in freebsd-pf@ mailing list about a week ago). My firewall rules are open for all outgoing traffic. So I think your problem is related to some resource exhaustion too. Kind regards Miroslav Lachman From owner-freebsd-net@freebsd.org Tue Oct 13 12:02:42 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 21949440043; Tue, 13 Oct 2020 12:02:42 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [128.127.146.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.norma.perm.ru", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9Z1D1Tmpz4dJ6; Tue, 13 Oct 2020 12:02:39 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (net147.234.188-221.ertelecom.ru [188.234.147.221] (may be forged)) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPS id 09DC3FXe029117 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 13 Oct 2020 17:03:16 +0500 (+05) (envelope-from emz@norma.perm.ru) Subject: Re: pf and hnX interfaces To: freebsd-stable@freebsd.org References: <7166d87e-7547-6be8-42a7-b0957ca4f543@norma.perm.ru> <5FB9EFF9-0D95-4FC6-9469-2FC29D479379@FreeBSD.org> Cc: freebsd-net@freebsd.org From: "Eugene M. Zheganin" Message-ID: <7cf8b21a-b100-c6d6-fc98-4636386ed8b8@norma.perm.ru> Date: Tue, 13 Oct 2020 17:02:31 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <5FB9EFF9-0D95-4FC6-9469-2FC29D479379@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Server: elf.hq.norma.perm.ru X-Rspamd-Queue-Id: 4C9Z1D1Tmpz4dJ6 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=perm.ru; spf=pass (mx1.freebsd.org: domain of emz@norma.perm.ru designates 128.127.146.8 as permitted sender) smtp.mailfrom=emz@norma.perm.ru X-Spamd-Result: default: False [5.98 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[188.234.147.221:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(0.00)[+a]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HFILTER_HELO_IP_A(1.00)[elf.hq.norma.perm.ru]; NEURAL_SPAM_MEDIUM(1.00)[0.997]; HFILTER_HELO_NORES_A_OR_MX(0.30)[elf.hq.norma.perm.ru]; BAD_REP_POLICIES(0.10)[]; RBL_VIRUSFREE_BOTNET(2.00)[128.127.146.8:from]; NEURAL_SPAM_SHORT(0.69)[0.687]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[perm.ru,none]; NEURAL_SPAM_LONG(1.00)[1.001]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:57401, ipnet:128.127.146.0/24, country:RU]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable,freebsd-net]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 12:02:42 -0000 Hello, On 13.10.2020 14:19, Kristof Provost wrote: > Are these symptoms of a bug ? >> > Perhaps. It can also be a symptom of resource exhaustion. > Are there any signs of memory allocation failures, or incrementing > error counters (in netstat or in pfctl)? > > Well, the only signs of resource exhaustion I know so far are: - "PF state limit reached" in /var/log/messages (none so far) - mbufs starvation in netstat -m (zero so far) - various queue failure counters in netstat -s -p tcp, but since this only applies to TCP this is hardly related (although it seems like there's also none). so, what should I take a look at ? Disabled PF shows in pfctl -s info: [root@gw1:/var/log]# pfctl -s info Status: Disabled for 0 days 00:41:42          Debug: Urgent State Table                          Total             Rate   current entries                     9634   searches                     24212900618      9677418.3/s   inserts                        222708269        89012.1/s   removals                       222698635        89008.2/s Counters   match                          583327668       233144.6/s   bad-offset                             0            0.0/s   fragment                               1            0.0/s   short                                  0            0.0/s   normalize                              0            0.0/s   memory                                 0            0.0/s   bad-timestamp                          0            0.0/s   congestion                             0            0.0/s   ip-option                          76057           30.4/s   proto-cksum                         9669            3.9/s   state-mismatch                   3007108         1201.9/s   state-insert                       13236            5.3/s   state-limit                            0            0.0/s   src-limit                              0            0.0/s   synproxy                               0            0.0/s   map-failed                             0            0.0/s And these gazzillions of searches kinda bother me a lot, although this seems just to be a counting bug after PF reloading last time, because it's constantly diminished from 20 millions. To be honest I doubt 10 millions of searches per second can be reached on a pps of 22Kpps. Definitely a math bug. Eugene. From owner-freebsd-net@freebsd.org Tue Oct 13 12:19:54 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 96A23440D4C for ; Tue, 13 Oct 2020 12:19:54 +0000 (UTC) (envelope-from bounce@track-my-url.com) Received: from srv-55.mkzp.com (srv-55.mkzp.com [37.1.145.55]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9ZP60gCdz4fpZ for ; Tue, 13 Oct 2020 12:19:54 +0000 (UTC) (envelope-from bounce@track-my-url.com) To: freebsd-net@freebsd.org Subject: =?UTF-8?B?xLBuc2FuxLFuIEdlbGVjZcSfaS9GdXR1cmUgb2YgSHVtYW5pdHkg?= Message-ID: <12541060870e249ac82d0dbac90fc704@track-4.track-my-url.com> Date: Tue, 13 Oct 2020 12:11:06 +0000 From: "=?UTF-8?B?VMO8cmtpeWUgU2VybWF5ZSBQaXlhc2FsYXLEsSBCaXJsacSfaQ==?=" Reply-To: info@tspb.org.tr MIME-Version: 1.0 X-Mailer-LID: 469 X-Mailer-RecptId: 2389711 X-Mailer-SID: 5727 X-Mailer-Sent-By: 15 X-Rspamd-Queue-Id: 4C9ZP60gCdz4fpZ X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=tspb.org.tr (policy=none); spf=pass (mx1.freebsd.org: domain of bounce@track-my-url.com designates 37.1.145.55 as permitted sender) smtp.mailfrom=bounce@track-my-url.com X-Spamd-Result: default: False [7.09 / 15.00]; HAS_REPLYTO(0.00)[info@tspb.org.tr]; R_SPF_ALLOW(-0.20)[+ip4:37.1.145.62/28:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_NONE(0.00)[]; FORGED_SENDER(0.30)[info@tspb.org.tr,bounce@track-my-url.com]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_MIXED_CHARSET(2.78)[subject]; ASN(0.00)[asn:50941, ipnet:37.1.145.0/24, country:TR]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[info@tspb.org.tr,bounce@track-my-url.com]; PHISHING(0.87)[tspb.org.tr->track-my-url.com]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; NEURAL_HAM_MEDIUM(-0.37)[-0.374]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.37)[0.372]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_PHPMAILER_SIG(0.00)[]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; MANY_INVISIBLE_PARTS(0.10)[2]; HAS_INTERSPIRE_SIG(1.00)[]; NEURAL_SPAM_LONG(0.75)[0.748]; AUTOGEN_PHP_SPAMMY(1.00)[]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-net]; DMARC_POLICY_SOFTFAIL(0.10)[tspb.org.tr : SPF not aligned (relaxed), No valid DKIM, none] X-Spam: Yes Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 12:19:54 -0000 TSPB Birlikte EÄŸitim Mesleki GeliÅŸim EÄŸitimleri Bülteni Daha Ä°yi Görüntülemek İçin Tıklayın [http://track-4.track-my-url.com/0101D2389711|11019c00fdf926bb981d59ee664f79715a6a|10015727|1010469|00102632.html]TSPB Birlikte EÄŸitim Webinarları "Ä°nsanın GeleceÄŸi/Future of Humanity" TSPB Birlikte EÄŸitim Büyükdere Caddesi No: 173 1.Levent Plaza A Blok Kat4 ÅžiÅŸli-Ä°stanbul Telefon: 0212 280 85 67 info@birlikteegitim.org [mailto:info@birlikteegitim.org] www.tspb.org.tr [http://track-4.track-my-url.com/0110L2389711|11005727|00115892|1111T.html] BirliÄŸimizce 22 Ekim 2020 PerÅŸembe günü 14:00-16:00 saatleri arasında "Ä°nsanın GeleceÄŸi/Future of Humanity" konu baÅŸlıklı webinar gerçekleÅŸtirilecektir. Youtholding kurucusu, fütürist ve iÅŸ insanı Emrah Kaya'nın konuÅŸmacı olarak yer alacağı webinarda aÅŸağıdaki konular ele alınacaktır. -Ãœlkeler yerlerini dijital ÅŸirketlere mi bırakmaya baÅŸladı? -FAGA isimli yeni dijital coÄŸrafya bize nasıl bir tehdit oluÅŸturuyor? -Ä°nsan beynini teslim almak için ilk adım sosyal medya mı? -Bir insan nasıl ürün olabilir? Zoom uygulaması üzerinden gerçekleÅŸtirilecek webinara katılım ücretsiz olup sınrlı kontenjan nedeniyle 20 Ekim Salı günü 17:00' a kadar katılım kaydının tamamlanması gerekmektedir. Kayıt tamamlandıktan sonra webinara giriÅŸ için gerekli bilgiler tarafınıza e-posta ile iletilecektir. Webinara kayıt yaptıranların baÄŸlandıklarında ad ve soyadları açık katılmaları beklenmektedir. Kayıt İçin Lütfen Buraya Tıklayınız. [http://track-4.track-my-url.com/1010L2389711|10015727|011128761|0011T.html] Kayıt linkinin açılamaması durumunda www.tspb.org.tr [http://track-4.track-my-url.com/1001L2389711|00015727|011010210|1110T.html] adresi üzerinden kayıt oluÅŸturabilirsiniz. Bu e-posta tarafınıza TSPB tarafından oluÅŸturulan üye veritabanına kayıtlı olduÄŸunuz için gönderilmiÅŸtir.Beni bu listeden çıkar [http://track-4.track-my-url.com/1010U2389711|01119c00fdf926bb981d59ee664f79715a6a|0110469|11005727.html] From owner-freebsd-net@freebsd.org Tue Oct 13 12:28:49 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E64BD4412DA; Tue, 13 Oct 2020 12:28:49 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9ZbP5qKFz3RcG; Tue, 13 Oct 2020 12:28:49 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 90D361622B; Tue, 13 Oct 2020 12:28:49 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id B7D763777E; Tue, 13 Oct 2020 14:28:47 +0200 (CEST) From: "Kristof Provost" To: "Eugene M. Zheganin" Cc: freebsd-stable@freebsd.org, freebsd-net@freebsd.org Subject: Re: pf and hnX interfaces Date: Tue, 13 Oct 2020 14:28:44 +0200 X-Mailer: MailMate (1.13.2r5673) Message-ID: <4DB3A1EB-CC4B-440E-9370-7597EFAAEB38@FreeBSD.org> In-Reply-To: <7cf8b21a-b100-c6d6-fc98-4636386ed8b8@norma.perm.ru> References: <7166d87e-7547-6be8-42a7-b0957ca4f543@norma.perm.ru> <5FB9EFF9-0D95-4FC6-9469-2FC29D479379@FreeBSD.org> <7cf8b21a-b100-c6d6-fc98-4636386ed8b8@norma.perm.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 12:28:50 -0000 On 13 Oct 2020, at 14:02, Eugene M. Zheganin wrote: > Hello, > > On 13.10.2020 14:19, Kristof Provost wrote: >> Are these symptoms of a bug ? >>> >> Perhaps. It can also be a symptom of resource exhaustion. >> Are there any signs of memory allocation failures, or incrementing >> error counters (in netstat or in pfctl)? >> >> > Well, the only signs of resource exhaustion I know so far are: > > - "PF state limit reached" in /var/log/messages (none so far) > > - mbufs starvation in netstat -m (zero so far) > > - various queue failure counters in netstat -s -p tcp, but since this > only applies to TCP this is hardly related (although it seems like > there's also none). > > > so, what should I take a look at ? > > > Disabled PF shows in pfctl -s info: > > > [root@gw1:/var/log]# pfctl -s info > Status: Disabled for 0 days 00:41:42          Debug: Urgent > > State Table                          > Total             Rate >   current entries                     9634 >   searches                     > 24212900618      9677418.3/s >   inserts                        > 222708269        89012.1/s >   removals                       > 222698635        89008.2/s > Counters >   match                          > 583327668       233144.6/s >   bad-offset                             > 0            0.0/s >   > fragment                               > 1            0.0/s >   > short                                  > 0            0.0/s >   normalize                              > 0            0.0/s >   > memory                                 > 0            0.0/s >   bad-timestamp                          > 0            0.0/s >   congestion                             > 0            0.0/s >   ip-option                          > 76057           30.4/s >   proto-cksum                         > 9669            3.9/s >   state-mismatch                   > 3007108         1201.9/s >   state-insert                       > 13236            5.3/s >   state-limit                            > 0            0.0/s >   src-limit                              > 0            0.0/s >   > synproxy                               > 0            0.0/s >   map-failed                             > 0            0.0/s > > What’s your current state limit? You’re getting a lot of state-mismatches. (Also note that ip-options and proto-cksum also indicate dropped packets.) If you set pfctl -x loud you should get reports for those state mismatches. There’ll be a lot though, so maybe pick a quiet time to do that. Kristof From owner-freebsd-net@freebsd.org Tue Oct 13 12:50:42 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 242FF441E21 for ; Tue, 13 Oct 2020 12:50:42 +0000 (UTC) (envelope-from lew@donzis.com) Received: from smtp-gw.pt.net (smtp-gw.pt.net [206.210.194.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp-gw.pt.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9b4d2BkPz3TBw for ; Tue, 13 Oct 2020 12:50:40 +0000 (UTC) (envelope-from lew@donzis.com) X-ASG-Debug-ID: 1602593434-09411a2d092413c0001-QdxwpM Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by smtp-gw.pt.net with ESMTP id RLq2PYzWm9pf4che (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 13 Oct 2020 07:50:34 -0500 (CDT) X-Barracuda-Envelope-From: lew@donzis.com X-Barracuda-Effective-Source-IP: mail.pt.net[206.210.194.11] X-Barracuda-Apparent-Source-IP: 206.210.194.11 Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id 1681384296C for ; Tue, 13 Oct 2020 07:50:34 -0500 (CDT) Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id wkiMT5wQ_495 for ; Tue, 13 Oct 2020 07:50:33 -0500 (CDT) Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id D6027842A60 for ; Tue, 13 Oct 2020 07:50:33 -0500 (CDT) X-Virus-Scanned: amavisd-new at pt.net Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id UdIz1YSzQMGD for ; Tue, 13 Oct 2020 07:50:33 -0500 (CDT) Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by mail.pt.net (Postfix) with ESMTP id A7B1284296C for ; Tue, 13 Oct 2020 07:50:33 -0500 (CDT) Date: Tue, 13 Oct 2020 07:50:33 -0500 (CDT) From: Lewis Donzis To: freebsd-net@freebsd.org Message-ID: <575523911.10588327.1602593433541.JavaMail.zimbra@donzis.com> In-Reply-To: <4DB3A1EB-CC4B-440E-9370-7597EFAAEB38@FreeBSD.org> References: <7166d87e-7547-6be8-42a7-b0957ca4f543@norma.perm.ru> <5FB9EFF9-0D95-4FC6-9469-2FC29D479379@FreeBSD.org> <7cf8b21a-b100-c6d6-fc98-4636386ed8b8@norma.perm.ru> <4DB3A1EB-CC4B-440E-9370-7597EFAAEB38@FreeBSD.org> Subject: IPv6 const addresses MIME-Version: 1.0 X-ASG-Orig-Subj: IPv6 const addresses Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: [206.210.194.11] X-Mailer: Zimbra 8.8.15_GA_3965 (ZimbraWebClient - GC85 (Mac)/8.8.15_GA_3963) Thread-Topic: IPv6 const addresses Thread-Index: zJCiJVP++f1sOXjvKlim/fGAE+yTXQ== X-Barracuda-Connect: mail.pt.net[206.210.194.11] X-Barracuda-Start-Time: 1602593434 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://smtp-gw.pt.net:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at pt.net X-Barracuda-Scan-Msg-Size: 1580 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.85261 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Rspamd-Queue-Id: 4C9b4d2BkPz3TBw X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lew@donzis.com designates 206.210.194.15 as permitted sender) smtp.mailfrom=lew@donzis.com X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.03)[-1.028]; DMARC_NA(0.00)[perftech.com]; NEURAL_HAM_SHORT(-0.48)[-0.483]; NEURAL_HAM_MEDIUM(-0.89)[-0.894]; FORGED_SENDER(0.30)[lew@perftech.com,lew@donzis.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3549, ipnet:206.210.192.0/19, country:US]; RCVD_COUNT_SEVEN(0.00)[7]; FROM_NEQ_ENVFROM(0.00)[lew@perftech.com,lew@donzis.com]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 12:50:42 -0000 Hello. It appears that there are some missing definitions for a couple of the "const struct in6_addr" values that are included in in6.h. Here are the relevant declarations in /usr/include/netinet6/in6.h: extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; extern const struct in6_addr in6addr_nodelocal_allnodes; extern const struct in6_addr in6addr_linklocal_allnodes; extern const struct in6_addr in6addr_linklocal_allrouters; extern const struct in6_addr in6addr_linklocal_allv2routers; However, here are the definitions in /usr/src/lib/libc/net/vars.c: const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT; const struct in6_addr in6addr_nodelocal_allnodes = IN6ADDR_NODELOCAL_ALLNODES_INIT; const struct in6_addr in6addr_linklocal_allnodes = IN6ADDR_LINKLOCAL_ALLNODES_INIT; As you can see, in6addr_linklocal_allrouters and in6addr_linklocal_allv2routers are missing. Attempting to use the missing definitions results in a linker error because they are declared properly. The static initializer values are defined in /usr/include/netinet6/in6.h: #define IN6ADDR_ANY_INIT \ #define IN6ADDR_LOOPBACK_INIT \ #define IN6ADDR_NODELOCAL_ALLNODES_INIT \ #define IN6ADDR_INTFACELOCAL_ALLNODES_INIT \ #define IN6ADDR_LINKLOCAL_ALLNODES_INIT \ #define IN6ADDR_LINKLOCAL_ALLROUTERS_INIT \ #define IN6ADDR_LINKLOCAL_ALLV2ROUTERS_INIT \ So it seems a simple matter of adding the two missing ones to /usr/src/lib/libc/net/vars.c. Thanks, lew From owner-freebsd-net@freebsd.org Tue Oct 13 13:59:08 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ADBC14431D4 for ; Tue, 13 Oct 2020 13:59:08 +0000 (UTC) (envelope-from dkandula@gmail.com) Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9cbb6LpWz3X0Z for ; Tue, 13 Oct 2020 13:59:07 +0000 (UTC) (envelope-from dkandula@gmail.com) Received: by mail-oi1-x22b.google.com with SMTP id w204so7372544oiw.1 for ; Tue, 13 Oct 2020 06:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zHctmUlO7SGW+Uu8+PmrcJXQhjU/h0P2zd3iGH61U10=; b=lAEQYoZNnkJFHMrM4x3VGjueh7hCrE8kVIMqMZar33IQE7ZXmJj4oyU9tDtQWS5fN1 XCrmHoiyFJk1AZ0FTf/Ah8z24X9ES1OQ7zV6kXF8BG9wI9RaAkz1IKJh6LjNsanen0Ov y4sZ3XhNObfKvsw5JA6LhTx1pj1jw72SjfsoxHdKyd9tXP3DL9s2tTAHFxEGe1GMPUZD ledmpf7C4SvUp+rW/3AUCVz/E2HLIELbW+FIxCHoFTuAF7Ybr4aq/tHzUXX3qow61Sxi yvptLGwkwliAgL4ejfX9JiTLPGbTUrHyYT0P1ok/22d1PQ4dhD8NGbr974/Cs0G+fDuj QwcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zHctmUlO7SGW+Uu8+PmrcJXQhjU/h0P2zd3iGH61U10=; b=neS0NEoLeJ10ULWRpGSzKWYSxXd5XDw9EvbtZayYwnoo4ar1f+MoKYYlc6rG6TxZIo wQ1ggzS14f5dw51YqHmuxp91MglBhMaxxOI+IkJ2lx12hIsZbhjGfDpcXvWtSjFmbXu5 9rxVwKlO1Gsp0wIKLJcqrzfJzEqRkr/NCeApF+xhbRe76xB8Q/4x+iWX4KSuO+XfzYzt Xp9NtUVOIHppCBOxRdiCozP6XLkliqqVjr1MgDaIOzw4658a8UHBXI55xjdmL3piElpg RXg0+Okeg4BM8mDxzaVWYZBe/5uHCM5Y3i66zmN3WecZYidDrvJsLn2rE8EBbzKZViTC 6q+Q== X-Gm-Message-State: AOAM5328gAS4Bc8HxtXKKDlsUXV2zMQmoi38Y4kDTXPZNBxrP1N6fAzv FKZFjzMFKFiBv6oeu75BXLdBKmKr1xV3TLgEsenjBV0qTgg= X-Google-Smtp-Source: ABdhPJw6xsX1YY4V/YR6elMbYnKhNy8ytdu+z02Y5uQ/vAxcYs5HZhg8T+sBzmmO18TMveZrmVViJc3j1YoO7oln63M= X-Received: by 2002:aca:6501:: with SMTP id m1mr41812oim.124.1602597546146; Tue, 13 Oct 2020 06:59:06 -0700 (PDT) MIME-Version: 1.0 References: <5f8b19d0-f833-0566-2336-d75ce0881ffa@selasky.org> In-Reply-To: <5f8b19d0-f833-0566-2336-d75ce0881ffa@selasky.org> From: Dheeraj Kandula Date: Tue, 13 Oct 2020 09:58:54 -0400 Message-ID: Subject: Re: ims_merge in in_mcast.c To: Hans Petter Selasky Cc: freebsd-net@freebsd.org X-Rspamd-Queue-Id: 4C9cbb6LpWz3X0Z X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lAEQYoZN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dkandula@gmail.com designates 2607:f8b0:4864:20::22b as permitted sender) smtp.mailfrom=dkandula@gmail.com X-Spamd-Result: default: False [-3.68 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.97)[-0.971]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_HAM_LONG(-0.98)[-0.982]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22b:from]; NEURAL_HAM_SHORT(-0.73)[-0.726]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 13:59:08 -0000 Thanks, HPS for the response. I think the index 0 is for a state (previous to current) and 1 indicates the current state. I am still trying to figure out what they really mean. Maybe reading the RFC will shed some light on the intention. My understanding is that the state transition is from index 0 to index 1. Hence when we are reverting, the state has to be reverted from index 1 to index 0. Isn't it? For a regular non-rollback scenario, the operation of -1 on line (987 or 991) and +1 (997 or 1001) adds up to 0. What are we trying to achieve here? Maybe that will help me to understand this code better. Dheeraj On Tue, Oct 13, 2020 at 4:18 AM Hans Petter Selasky wrote: > On 2020-10-12 19:11, Dheeraj Kandula wrote: > > On line 987 and 991 shouldn't the index be 0 instead of 1. > > > > i.e. ims->ims_st[0].ex -= n; > > and > > ims->ims_st[0].in -= n; > > > > On a rollback, the entry at index 0 is incremented and the entry at > index 1 > > is decremented. > > > > On a non-rollback merge, the entry at index 0 is decremented and the > entry > > at index 1 is incremented. > > Hi, > > If you look at inm_commit() you see that [0] is overwritten by [1], so I > believe the current code is correct. Same goes for both IPv4 and IPv6. > Are you seeing an issue with multicast investigating this issue? > > --HPS > From owner-freebsd-net@freebsd.org Tue Oct 13 14:03:59 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 84CFD4430D9 for ; Tue, 13 Oct 2020 14:03:59 +0000 (UTC) (envelope-from yourdomainally02.diana@outlook.com) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-oln040092253066.outbound.protection.outlook.com [40.92.253.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9cj96gl7z3X4l for ; Tue, 13 Oct 2020 14:03:57 +0000 (UTC) (envelope-from yourdomainally02.diana@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DfkkKEO6Ov1YiSNJSEGBOnpWZ2h1U7C9Sv91+gyQ54Jkn7xvKFv3z05VApwSmeq1SchaUVn/vSiHdwL6QRskD1x0IfOAZSXXFDuzcFybcoRuvjvJO9BJ1dAWHF8OA9s9HB7N5LU9JSi865/ZoCQ0hAfmX20LHlQl+OtlOpUhnA2Rkijb1hIs3OeYl9soLdEUJjg0cTsrcern+LpGq5yFkQHninvhAmJeXt9Oyisyoa+odhnhxMeRnarzkAKVTSO8oKh5e85Pcy/rJhkcEzxj4rSIahmZWchSpgNQuRCgxbDkUENuoSjEB4rGkuqRY0moxzv3osxVksfgOrG8+xD6Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dd1gaG7srl/fqwA5PctOQSAGsb6EJJSSbCRtWHBSl7U=; b=PAR8PI9DRz5+FYHC8ArKJNSMbW/AT2UNOKz10DuFz3dVuBvfzJbyEFqC1sEcNEvNzm9j/w5Ph5dLozETjSh35GdK69dowkKSQ/j6PhOH1oubaqSMVWzAXjGYJnx+H9NEx0RacqvpwCv/qIYwX6AlQCgm5LD9cKwBuMiIzQmp5udHhJA2imWD7iEAmuOhlrnJszbZn9DVMtnSn7F7C1B/NNrz5+j+cwEKo6xovKuWYzN/fHzdA9cvDy0WFANMFcNIYUDzxLmhWnldCiCxK689ug9TjWJavVhjarM/DngDfdxv0vSpz9QLTHpktOpDB1A5cHitfUc2+ulaHbyTfHt9zQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dd1gaG7srl/fqwA5PctOQSAGsb6EJJSSbCRtWHBSl7U=; b=KtjphIxA7xRFF160+YxLL8glrx3UanFwXSzgNbrzwRyriJhKFfkwgXHc7UNUzWTMr2ByybQ1Psi4W2FvplmER4snXSW6qrPAZ2c3Cz6O85gQHjMWIcAw6OyWb4OHy/Nqe5LobLVoejwO/H6kKNqQwv/dFaI6O0+lCZVg4DQ2qjPrlP1zkAor6xwdz3TvI9eLV2YDBTlSDy8k/AnaebJbsqY0WaZukWzfbSY8RR1gZwwdiX5yns97+5UCB4K9Urkb2wKL86seFE2StDUozVy1Ix8skefhYPfhlVE9LQazs5y1q14W4VXQ3KA39QmjZZiFW9CaRCDhABOIi1f+J+4UKw== Received: from PU1APC01FT020.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebe::41) by PU1APC01HT168.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebe::243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.23; Tue, 13 Oct 2020 14:03:52 +0000 Received: from PS2P216MB0851.KORP216.PROD.OUTLOOK.COM (2a01:111:e400:7ebe::50) by PU1APC01FT020.mail.protection.outlook.com (2a01:111:e400:7ebe::217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.23 via Frontend Transport; Tue, 13 Oct 2020 14:03:52 +0000 Received: from PS2P216MB0851.KORP216.PROD.OUTLOOK.COM ([fe80::dce:d193:a561:4cd9]) by PS2P216MB0851.KORP216.PROD.OUTLOOK.COM ([fe80::dce:d193:a561:4cd9%11]) with mapi id 15.20.3455.030; Tue, 13 Oct 2020 14:03:52 +0000 From: "yourdomainally02.diana@outlook.com" To: "feedback@secureworks.com" , "freebsd-net@freebsd.org" Subject: Enumeration.net Thread-Topic: Enumeration.net Thread-Index: AQHWoWmuiyRCrZVDj0CKh8oHdaQ38w== Date: Tue, 13 Oct 2020 14:03:52 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:6AC91155C751A8AA6D2E60901492D654A12C485ECA028C93A1E85046C6BBC82E; UpperCasedChecksum:5E7153EDEA77142BCCECE0610519257EF0E011D092659A20C2FE1153B9B30F4E; SizeAsReceived:6683; Count:41 x-tmn: [0Gd9eDnky8zRdDZqjXtLSIAkRzp+f9Ox] x-ms-publictraffictype: Email x-incomingheadercount: 41 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 8a5fc94f-8ef6-48b5-4421-08d86f80d0f8 x-ms-traffictypediagnostic: PU1APC01HT168: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G24nyoMa4NWyxdL3NZ8KAdT7gkS0FESMP7LeJ2hpFt1xSTufEJI5AIVQcA2e52wE8+MjbsRWJ0pEzm7PbjRGjKR1Wv7X11PihR5B4T5d+dxvQgh90TX++HBqevgEl9LkKfF1ulmL07PGGWPxFNAnmvXoAOihl/Qc20ggaeujGSPrJnKDA8Qu4vd9QHRZjzxRH8hluFetYIe+Cx+lP7PhWxTdCMUY5i4UmudwVh8KifcgcaegcNSRV7imZ3bPOygE x-ms-exchange-antispam-messagedata: jTi9pQ+Y4tcx3P8dPnanj7DIFyyMORFFEY1d90gFH2JiMWtIV45Bx34e8z33TkTJwHyzAWq0UH/gxRNP4QIvh5A9jZbOPNYhXkXX7s5NmdFjK1arZU14i0s6v9HXZH6vMMI7lkq5EDuO6pHnHqWLUw== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: PU1APC01FT020.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 8a5fc94f-8ef6-48b5-4421-08d86f80d0f8 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2020 14:03:52.4953 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1APC01HT168 X-Rspamd-Queue-Id: 4C9cj96gl7z3X4l X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=KtjphIxA; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of yourdomainally02.diana@outlook.com designates 40.92.253.66 as permitted sender) smtp.mailfrom=yourdomainally02.diana@outlook.com X-Spamd-Result: default: False [-1.28 / 15.00]; FREEMAIL_FROM(0.00)[outlook.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[outlook.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; NEURAL_HAM_SHORT(-0.87)[-0.866]; FROM_EQ_ENVFROM(0.00)[]; INTRODUCTION(2.00)[]; FREEMAIL_ENVFROM(0.00)[outlook.com]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[outlook.com:dkim]; RCVD_TLS_LAST(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; NEURAL_HAM_MEDIUM(-0.97)[-0.965]; FROM_DN_EQ_ADDR(1.00)[]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; NEURAL_HAM_LONG(-0.95)[-0.950]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.253.66:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.253.66:from]; MAILMAN_DEST(0.00)[freebsd-net] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Oct 2020 14:03:59 -0000 Enumeration.net is for sale! Hello, my name is Diana from Domain Nerdz. We have a domain that is current= ly on sale that you might be interested in (Enumeration.net). Anytime someone types Enumeration, Enumerations, or any other phrase with t= his keyword into their browser your site could be the first they see! Avg Google Search Results are (keyword): 118,000,000 You can easily redirect all the traffic this domain gets to your current si= te! EstiBot.com appraises this domain at $2,100. The internet is the most efficient and easiest way to acquire new customers= . Priced at only $398 for a limited time! If interested please go to Enumerat= ion.net and select Buy Now, or purchase directly a= t GoDaddy. Act Fast! First person to select Buy Now gets it! Thank you very much for your time. Domain Nerdz Riza Diana Alvaro From owner-freebsd-net@freebsd.org Tue Oct 13 14:44:13 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 45B9E443FE4 for ; Tue, 13 Oct 2020 14:44:13 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9dbd1CcKz3ZVS; Tue, 13 Oct 2020 14:44:13 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 0CA7E1EE3B; Tue, 13 Oct 2020 14:44:13 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 0BD1A91EEA4; Tue, 13 Oct 2020 14:44:13 +0000 (UTC) Date: Tue, 13 Oct 2020 14:44:13 +0000 To: Phabricator From: "gnn (George Neville-Neil)" Cc: freebsd-net@freebsd.org Reply-to: "gnn (George Neville-Neil)" Subject: [Differential] D26757: Fix to join AllHost mcast group again when adding an existing IP address Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <128>, <115> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-6p7swwnwsjwmyozi3buz X-Phabricator-Mail-ID: 2175779 X-Phabricator-Send-Attempt: xqfxnzrjgqcgsokw In-Reply-To: References: Thread-Index: ZGZhNjdhMDRlZDFlNGVjNWYxZTQ5YzRkMjVlIF+FvT0= X-Phabricator-Stamps: actor(@gnn) application(Differential) author(@yannis.planus_alstomgroup.com) herald(H28) herald(H115) herald(H128) monogram(D26757) object-type(DREV) phid(PHID-DREV-6p7swwnwsjwmyozi3buz) reviewer(#network) reviewer(@ae) reviewer(@gnn) reviewer(@mw) revision-repository(rS) revision-status(accepted) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2020 14:44:13 -0000 Z25uIGFjY2VwdGVkIHRoaXMgcmV2aXNpb24uCgpSRVBPU0lUT1JZCiAgclMgRnJlZUJTRCBzcmMg cmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIEFDVElPTgogIGh0dHBzOi8vcmV2aWV3cy5m cmVlYnNkLm9yZy9EMjY3NTcvbmV3LwoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdz LmZyZWVic2Qub3JnL0QyNjc1NwoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3Mu ZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiB5YW5uaXMu cGxhbnVzX2Fsc3RvbWdyb3VwLmNvbSwgI25ldHdvcmssIG13LCBhZSwgZ25uCkNjOiBhZSwgaW1w LCBmcmVlYnNkLW5ldC1saXN0LCBtZWxpZmFybywgcnNjaGVmZgo= From owner-freebsd-net@freebsd.org Tue Oct 13 19:35:08 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0079544976E for ; Tue, 13 Oct 2020 19:35:08 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9m3H6HVDz49kt; Tue, 13 Oct 2020 19:35:07 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id B9A4E2291A; Tue, 13 Oct 2020 19:35:07 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id B8E3F92A5A4; Tue, 13 Oct 2020 19:35:07 +0000 (UTC) Date: Tue, 13 Oct 2020 19:35:07 +0000 To: Phabricator From: "ae (Andrey V. Elsukov)" Cc: freebsd-net@freebsd.org Reply-to: "ae (Andrey V. Elsukov)" Subject: [Differential] D26757: Fix to join AllHost mcast group again when adding an existing IP address Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , X-Herald-Rules: <28>, <128>, <115> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-6p7swwnwsjwmyozi3buz X-Phabricator-Mail-ID: 2176228 X-Phabricator-Send-Attempt: dbtglghoz5fbwfw6 In-Reply-To: References: Thread-Index: ZGZhNjdhMDRlZDFlNGVjNWYxZTQ5YzRkMjVlIF+GAWs= X-Phabricator-Stamps: actor(@ae) application(Differential) author(@yannis.planus_alstomgroup.com) herald(H28) herald(H115) herald(H128) monogram(D26757) object-type(DREV) phid(PHID-DREV-6p7swwnwsjwmyozi3buz) reviewer(#network) reviewer(@ae) reviewer(@gnn) reviewer(@mw) revision-repository(rS) revision-status(published) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) via(daemon) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_d7b242fce3dc80ff5f1c8827f14fce54" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2020 19:35:08 -0000 --b1_d7b242fce3dc80ff5f1c8827f14fce54 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 VGhpcyByZXZpc2lvbiB3YXMgYXV0b21hdGljYWxseSB1cGRhdGVkIHRvIHJlZmxlY3QgdGhlIGNv bW1pdHRlZCBjaGFuZ2VzLgpDbG9zZWQgYnkgY29tbWl0IHJTMzY2NjgyOiBKb2luIHRvIEFsbEhv c3RzIG11bHRpY2FzdCBncm91cCBhZ2FpbiB3aGVuIGFkZGluZyBhbiBleGlzdGluZyBJUHY0IGFk ZHJlc3MuIChhdXRob3JlZCBieSBhZSkuCgpDSEFOR0VEIFBSSU9SIFRPIENPTU1JVAogIGh0dHBz Oi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjY3NTc/dnM9NzgxNTcmaWQ9NzgxODQjdG9jCgpSRVBP U0lUT1JZCiAgclMgRnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIFVQ REFURQogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjY3NTc/dnM9NzgxNTcmaWQ9Nzgx ODQKCkNIQU5HRVMgU0lOQ0UgTEFTVCBBQ1RJT04KICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5v cmcvRDI2NzU3L25ldy8KClJFVklTSU9OIERFVEFJTAogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNk Lm9yZy9EMjY3NTcKCkFGRkVDVEVEIEZJTEVTCiAgaGVhZC9zeXMvbmV0aW5ldC9pbi5jCgpDSEFO R0UgREVUQUlMUwoKZGlmZiAtLWdpdCBhL2hlYWQvc3lzL25ldGluZXQvaW4uYyBiL2hlYWQvc3lz L25ldGluZXQvaW4uYwotLS0gYS9oZWFkL3N5cy9uZXRpbmV0L2luLmMKKysrIGIvaGVhZC9zeXMv bmV0aW5ldC9pbi5jCkBAIC0zNzcsMTAgKzM3NywxMSBAQAogCQkJY29udGludWU7CiAKIAkJaXQg PSAoc3RydWN0IGluX2lmYWRkciAqKWlmYTsKLQkJaWFJc0ZpcnN0ID0gZmFsc2U7CiAJCWlmIChp dC0+aWFfYWRkci5zaW5fYWRkci5zX2FkZHIgPT0gYWRkci0+c2luX2FkZHIuc19hZGRyICYmCiAJ CSAgICBwcmlzb25fY2hlY2tfaXA0KHRkLT50ZF91Y3JlZCwgJmFkZHItPnNpbl9hZGRyKSA9PSAw KQogCQkJaWEgPSBpdDsKKwkJZWxzZQorCQkJaWFJc0ZpcnN0ID0gZmFsc2U7CiAJfQogCU5FVF9F UE9DSF9FWElUKGV0KTsKIAoKCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5m cmVlYnNkLm9yZy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IHlhbm5pcy5w bGFudXNfYWxzdG9tZ3JvdXAuY29tLCAjbmV0d29yaywgbXcsIGFlLCBnbm4KQ2M6IGFlLCBpbXAs IGZyZWVic2QtbmV0LWxpc3QsIG1lbGlmYXJvLCByc2NoZWZmCg== --b1_d7b242fce3dc80ff5f1c8827f14fce54 Content-Type: text/x-patch; charset=utf-8; name="D26757.78184.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D26757.78184.patch" ZGlmZiAtLWdpdCBhL2hlYWQvc3lzL25ldGluZXQvaW4uYyBiL2hlYWQvc3lzL25ldGluZXQvaW4u YwotLS0gYS9oZWFkL3N5cy9uZXRpbmV0L2luLmMKKysrIGIvaGVhZC9zeXMvbmV0aW5ldC9pbi5j CkBAIC0zNzcsMTAgKzM3NywxMSBAQAogCQkJY29udGludWU7CiAKIAkJaXQgPSAoc3RydWN0IGlu X2lmYWRkciAqKWlmYTsKLQkJaWFJc0ZpcnN0ID0gZmFsc2U7CiAJCWlmIChpdC0+aWFfYWRkci5z aW5fYWRkci5zX2FkZHIgPT0gYWRkci0+c2luX2FkZHIuc19hZGRyICYmCiAJCSAgICBwcmlzb25f Y2hlY2tfaXA0KHRkLT50ZF91Y3JlZCwgJmFkZHItPnNpbl9hZGRyKSA9PSAwKQogCQkJaWEgPSBp dDsKKwkJZWxzZQorCQkJaWFJc0ZpcnN0ID0gZmFsc2U7CiAJfQogCU5FVF9FUE9DSF9FWElUKGV0 KTsKIAoK --b1_d7b242fce3dc80ff5f1c8827f14fce54-- From owner-freebsd-net@freebsd.org Tue Oct 13 21:14:34 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1C9A44BA99 for ; Tue, 13 Oct 2020 21:14:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9pG23rxXz4J19 for ; Tue, 13 Oct 2020 21:14:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 83D2144BA98; Tue, 13 Oct 2020 21:14:34 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 839BC44BA22 for ; Tue, 13 Oct 2020 21:14:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9pG23048z4Hjx for ; Tue, 13 Oct 2020 21:14:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4A4B223BB9 for ; Tue, 13 Oct 2020 21:14:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09DLEYrs019746 for ; Tue, 13 Oct 2020 21:14:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09DLEYHt019745 for net@FreeBSD.org; Tue, 13 Oct 2020 21:14:34 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 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC Date: Tue, 13 Oct 2020 21:14:32 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: iflib, needs-qa, performance, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vmaffione@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vmaffione@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable12? mfc-stable11- X-Bugzilla-Changed-Fields: assigned_to 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.33 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, 13 Oct 2020 21:14:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248652 Vincenzo Maffione changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |vmaffione@FreeBSD.org --- Comment #14 from Vincenzo Maffione --- Created attachment 218723 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218723&action= =3Dedit Draft patch to test the netmap tx timer This is a draft patch that adds support for a per-tx-queue timer dedicated = to netmap. The timer interval is still not adaptive, but controlled by a per-interface sysctl, e.g.: sysctl dev.ix.0.iflib.nm_tx_tmr_us=3D500 It would be useful to test pkt-gen transmission on ixl/ix NICs, playing on = the tunable to hopefully see the pps increase. Values too large should cause the pps to drop. Values too short should cause the CPU utilization to go up (and possibly the pps to drop a little bit). Can anyone test this? --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 14 04:19:24 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4731E42B552 for ; Wed, 14 Oct 2020 04:19:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9zhD18fdz4dvt for ; Wed, 14 Oct 2020 04:19:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2798242B551; Wed, 14 Oct 2020 04:19:24 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 275ED42B826 for ; Wed, 14 Oct 2020 04:19:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9zhD0Gh8z4dnT for ; Wed, 14 Oct 2020 04:19:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E18A18BAF for ; Wed, 14 Oct 2020 04:19:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09E4JNM1024489 for ; Wed, 14 Oct 2020 04:19:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09E4JNMm024488 for net@FreeBSD.org; Wed, 14 Oct 2020 04:19: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 248652] iflib: netmap pkt-gen large TX performance difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC Date: Wed, 14 Oct 2020 04:19:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: iflib, needs-qa, performance, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vmaffione@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable12? mfc-stable11- X-Bugzilla-Changed-Fields: version bug_severity 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.33 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, 14 Oct 2020 04:19:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248652 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CURRENT |12.0-STABLE Severity|Affects Only Me |Affects Some People Summary|netmap: pkt-gen TX huge pps |iflib: netmap pkt-gen large |difference between |TX performance difference |11-STABLE and |between 11-STABLE and |12-STABLE/CURRENT on ix & |12-STABLE/CURRENT on ix & |ixl NIC |ixl NIC --- Comment #15 from Kubilay Kocak --- ^Triage: Switch Version to earliest affected version/branch --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 14 07:05:20 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 550A742F606 for ; Wed, 14 Oct 2020 07:05:20 +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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CB3Mg6Y1Gz4nG9 for ; Wed, 14 Oct 2020 07:05:16 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (c-73-92-37-32.hsd1.ca.comcast.net [73.92.37.32]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id 09E759qN025915 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 14 Oct 2020 00:05:10 -0700 (PDT) (envelope-from julian@freebsd.org) To: "freebsd-net@freebsd.org" From: Julian Elischer Subject: ping -R output? Message-ID: Date: Wed, 14 Oct 2020 00:05:04 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4CB3Mg6Y1Gz4nG9 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:36236, ipnet:204.109.60.0/22, country:US] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 14 Oct 2020 07:05:20 -0000 Can someone send me the output of a ping -R , starting with FreeBSD machine, through a second FreeBSD machine and bouncing back from a third FreeBSD machine?  I don't have three in a row like that anywhere. Probably best to send it back through the list so I people can see if i get an answer. Thanks, Julian From owner-freebsd-net@freebsd.org Wed Oct 14 08:25:35 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 33669431D86 for ; Wed, 14 Oct 2020 08:25:35 +0000 (UTC) (envelope-from peter@libassi.se) Received: from smtp.outgoing.loopia.se (smtp.outgoing.loopia.se [93.188.3.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CB58G16tmz4sgQ for ; Wed, 14 Oct 2020 08:25:33 +0000 (UTC) (envelope-from peter@libassi.se) Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 14258222A72 for ; Wed, 14 Oct 2020 10:25:30 +0200 (CEST) Received: from s630.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id EA0382E32A81; Wed, 14 Oct 2020 10:25:29 +0200 (CEST) Received: from s470.loopia.se (unknown [172.22.191.5]) by s630.loopia.se (Postfix) with ESMTP id D2F8C13B92BD; Wed, 14 Oct 2020 10:25:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -0.999 X-Spam-Level: X-Spam-Status: No, score=-0.999 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, HTML_MESSAGE=0.001] autolearn=disabled Received: from s630.loopia.se ([172.22.191.5]) by s470.loopia.se (s470.loopia.se [172.22.190.10]) (amavisd-new, port 10024) with UTF8LMTP id DKFiwDhPTbFq; Wed, 14 Oct 2020 10:25:29 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: peter@libassi.se X-Loopia-Originating-IP: 78.82.167.128 Received: from [10.79.0.17] (c-80a7524e.03-77-73746f30.bbcust.telenor.se [78.82.167.128]) (Authenticated sender: peter@libassi.se) by s630.loopia.se (Postfix) with ESMTPSA id EBD8513B92C9; Wed, 14 Oct 2020 10:25:28 +0200 (CEST) From: Peter Libassi Message-Id: <23260CE1-A02A-44CF-AC55-F9FE602E88E5@libassi.se> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: ping -R output? Date: Wed, 14 Oct 2020 10:25:28 +0200 In-Reply-To: Cc: "freebsd-net@freebsd.org" To: Julian Elischer References: X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4CB58G16tmz4sgQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of peter@libassi.se designates 93.188.3.37 as permitted sender) smtp.mailfrom=peter@libassi.se X-Spamd-Result: default: False [-1.95 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:smtp.outgoing.loopia.se]; NEURAL_HAM_SHORT(-1.16)[-1.159]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:39570, ipnet:93.188.2.0/23, country:SE]; MID_RHS_MATCH_FROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FREEFALL_USER(0.00)[peter]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.014]; NEURAL_HAM_LONG(-0.97)[-0.975]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[libassi.se]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[93.188.3.37:from]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[93.188.3.37:from]; MAILMAN_DEST(0.00)[freebsd-net] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 14 Oct 2020 08:25:35 -0000 like this? ( ping from 192.168.3.1 -> (192.168.3.2/172.16.42.1) -> = 172.16.42.2 root@bsd1:~ # ping -R 172.16.42.2 PING 172.16.42.2 (172.16.42.2): 56 data bytes 64 bytes from 172.16.42.2: icmp_seq=3D0 ttl=3D63 time=3D1.280 ms RR: 172.16.42.1 172.16.42.2 192.168.3.2 192.168.3.1 64 bytes from 172.16.42.2: icmp_seq=3D1 ttl=3D63 time=3D1.238 ms = (same route) 64 bytes from 172.16.42.2: icmp_seq=3D2 ttl=3D63 time=3D1.100 ms = (same route) 64 bytes from 172.16.42.2: icmp_seq=3D3 ttl=3D63 time=3D1.210 ms = (same route) 64 bytes from 172.16.42.2: icmp_seq=3D4 ttl=3D63 time=3D1.156 ms = (same route) /Peter > 14 okt. 2020 kl. 09:05 skrev Julian Elischer : >=20 > Can someone send me the output of a ping -R , starting with FreeBSD = machine, through a second FreeBSD machine and bouncing back from a third = FreeBSD machine? I don't have three in a row like that anywhere. = Probably best to send it back through the list so I people can see if i = get an answer. >=20 >=20 > Thanks, Julian >=20 >=20 >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Wed Oct 14 09:07:19 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9757E43234D for ; Wed, 14 Oct 2020 09:07:19 +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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CB64R1pK6z4vLR for ; Wed, 14 Oct 2020 09:07:19 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (c-73-92-37-32.hsd1.ca.comcast.net [73.92.37.32]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id 09E97GAB026754 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 14 Oct 2020 02:07:17 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: ping -R output? To: Peter Libassi Cc: "freebsd-net@freebsd.org" References: <23260CE1-A02A-44CF-AC55-F9FE602E88E5@libassi.se> From: Julian Elischer Message-ID: <1245dba9-04e6-0d5c-feac-7fa785033bbb@freebsd.org> Date: Wed, 14 Oct 2020 02:07:11 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <23260CE1-A02A-44CF-AC55-F9FE602E88E5@libassi.se> Content-Language: en-US X-Rspamd-Queue-Id: 4CB64R1pK6z4vLR X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:36236, ipnet:204.109.60.0/22, country:US] Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 14 Oct 2020 09:07:19 -0000 thanks! that's really interesting. Different from what I was expecting but what I'd expect from the code dropping into Fuchsia. It's such a pity our ping doesn't support ping -T (timestamps) but Linux does and I'd love to see [(Linux) 'ping -T tsandaddr {machine B}'] ---->[FreeBSD  A] -----> [FreeBSD B] If anyone can do that, I'd really appreciate it.. Actually all three machines as Linux would be an interesting comparison as well (for both -T and -R). Linux adds an entry for both reception and transmission on the far end and the sender.. FreeBSD only does sender on the intermediate and far end, and receiver on the local. I don't know what Linux does on the intermediate hosts. My reading of the RFC agrees with BSD for RR. but you only get 9 slots so Linux is limited to a full distance of 2 (and return) if they use 2 slots for each hop. I can't say if we get Timestamp right as we can't do it. J On 10/14/20 1:25 AM, Peter Libassi wrote: > like this? ( ping from 192.168.3.1 -> (192.168.3.2/172.16.42.1) -> > 172.16.42.2 > > root@bsd1:~ # ping -R 172.16.42.2 > PING 172.16.42.2 (172.16.42.2): 56 data bytes > 64 bytes from 172.16.42.2: icmp_seq=0 ttl=63 time=1.280 ms > RR: 172.16.42.1 > 172.16.42.2 > 192.168.3.2 > 192.168.3.1 > 64 bytes from 172.16.42.2: icmp_seq=1 ttl=63 time=1.238 ms(same route) > 64 bytes from 172.16.42.2: icmp_seq=2 ttl=63 time=1.100 ms(same route) > 64 bytes from 172.16.42.2: icmp_seq=3 ttl=63 time=1.210 ms(same route) > 64 bytes from 172.16.42.2: icmp_seq=4 ttl=63 time=1.156 ms(same route) > > /Peter > >> 14 okt. 2020 kl. 09:05 skrev Julian Elischer > >: >> >> Can someone send me the output of a ping -R , starting with FreeBSD >> machine, through a second FreeBSD machine and bouncing back from a >> third FreeBSD machine?  I don't have three in a row like that >> anywhere. Probably best to send it back through the list so I >> people can see if i get an answer. >> >> >> Thanks, Julian >> >> >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Wed Oct 14 12:08:37 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6F94943798F for ; Wed, 14 Oct 2020 12:08:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBB5d2NzSz3cy5 for ; Wed, 14 Oct 2020 12:08:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 521594375B5; Wed, 14 Oct 2020 12:08:37 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51E02437575 for ; Wed, 14 Oct 2020 12:08:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBB5d1bKdz3cVr for ; Wed, 14 Oct 2020 12:08:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1A4E4DA7B for ; Wed, 14 Oct 2020 12:08:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09EC8aQI051130 for ; Wed, 14 Oct 2020 12:08:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09EC8ad8051129 for net@FreeBSD.org; Wed, 14 Oct 2020 12:08:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 248652] iflib: netmap pkt-gen large TX performance difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC Date: Wed, 14 Oct 2020 12:08:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: iflib, needs-qa, performance, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sg@efficientip.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vmaffione@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable12? mfc-stable11- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 14 Oct 2020 12:08:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248652 --- Comment #16 from Sylvain Galliano --- (In reply to Vincenzo Maffione from comment #14) Here are the results: X520 with 1 queue ix0: PCI Express Bus: Speed 5.0GT/s Width x8 ix0: netmap queues/slots: TX 1/2048, RX 1/2048 ******************************************* sysctl dev.ix.0.iflib.nm_tx_tmr_us=3D0 (default value) pkt-gen: 683.502433 main_thread [2639] 4.215 Mpps (4.227 Mpkts 2.023 Gbps in 1002819 usec) 465.43 avg_batch 99999 min_space ******************************************* sysctl dev.ix.0.iflib.nm_tx_tmr_us=3D300 pkt-gen: 750.688608 main_thread [2639] 6.496 Mpps (6.646 Mpkts 3.118 Gbps in 1023000 usec) 465.45 avg_batch 99999 min_space ******************************************* sysctl dev.ix.0.iflib.nm_tx_tmr_us=3D200 pkt-gen: 771.736855 main_thread [2639] 8.907 Mpps (9.112 Mpkts 4.275 Gbps in 1022999 usec) 465.45 avg_batch 99999 min_space ******************************************* sysctl dev.ix.0.iflib.nm_tx_tmr_us=3D100 pkt-gen: 804.554603 main_thread [2639] 14.136 Mpps (14.147 Mpkts 6.785 Gbps in 10007= 48 usec) 465.45 avg_batch 99999 min_space -> close to 10G line rate ******************************************* sysctl dev.ix.0.iflib.nm_tx_tmr_us=3D90 pkt-gen: 872.156329 main_thread [2639] 14.880 Mpps (15.054 Mpkts 7.142 Gbps in 10117= 21 usec) 466.96 avg_batch 99999 min_space Now using same X520 NIC using 4 queues. ix1: PCI Express Bus: Speed 5.0GT/s Width x8 ix1: netmap queues/slots: TX 4/2048, RX 4/2048 ******************************************* sysctl dev.ix.1.iflib.nm_tx_tmr_us=3D0 (default) pkt-gen: 047.988586 main_thread [2639] 13.596 Mpps (13.623 Mpkts 6.526 Gbps in 10020= 02 usec) 443.03 avg_batch 99999 min_space -> close to max speed (thanks to 4 queue) ******************************************* sysctl dev.ix.1.iflib.nm_tx_tmr_us=3D400 pkt-gen: 094.224581 main_thread [2639] 14.887 Mpps (14.904 Mpkts 7.146 Gbps in 10011= 73 usec) 440.75 avg_batch 99999 min_space Looks really good for X520 NIC whatever the number of queue I used. Now same tests using XL710 NIC (40G) using 1 queue: ixl1: PCI Express Bus: Speed 8.0GT/s Width x8 ixl1: netmap queues/slots: TX 1/1024, RX 1/1024 ******************************************* sysctl dev.ixl.1.iflib.nm_tx_tmr_us=3D0 (default) pkt-gen: 324.883066 main_thread [2639] 12.270 Mpps (13.044 Mpkts 5.890 Gbps in 10630= 00 usec) 16.53 avg_batch 99999 min_space ******************************************* sysctl dev.ixl.1.iflib.nm_tx_tmr_us=3D100 pkt-gen: 350.497566 main_thread [2639] 12.246 Mpps (12.258 Mpkts 5.878 Gbps in 10010= 03 usec) 16.48 avg_batch 99999 min_space no changes. Now testing XL710 with 4 queues: ixl0: PCI Express Bus: Speed 8.0GT/s Width x8 ixl0: netmap queues/slots: TX 4/1024, RX 4/1024 ******************************************* sysctl dev.ixl.0.iflib.nm_tx_tmr_us=3D0 (default) pkt-gen: 614.766048 main_thread [2639] 13.671 Mpps (14.539 Mpkts 6.562 Gbps in 10634= 94 usec) 15.75 avg_batch 99999 min_space ******************************************* sysctl dev.ixl.0.iflib.nm_tx_tmr_us=3D100 pkt-gen: 640.652549 main_thread [2639] 13.672 Mpps (13.795 Mpkts 6.562 Gbps in 10090= 01 usec) 15.79 avg_batch 99999 min_space No changes using XL710 NIC (as a reminder, using FreeBSD 11 without iflib, I can reach +40Mpps on XL710 using pkt-gen) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 14 14:18:21 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 930A443AC1B for ; Wed, 14 Oct 2020 14:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBDzK3SR4z43Mt for ; Wed, 14 Oct 2020 14:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 74F2843AB63; Wed, 14 Oct 2020 14:18:21 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74BAA43AD00 for ; Wed, 14 Oct 2020 14:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBDzK2XJ4z43HY for ; Wed, 14 Oct 2020 14:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A794FAB8 for ; Wed, 14 Oct 2020 14:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09EEIL7u003941 for ; Wed, 14 Oct 2020 14:18:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09EEILpw003940 for net@FreeBSD.org; Wed, 14 Oct 2020 14:18:21 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 248652] iflib: netmap pkt-gen large TX performance difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC Date: Wed, 14 Oct 2020 14:18: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: 12.0-STABLE X-Bugzilla-Keywords: iflib, needs-qa, performance, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: register@kad-it.ch X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vmaffione@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable12? mfc-stable11- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 14 Oct 2020 14:18:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248652 --- Comment #17 from vistalba --- (In reply to Vincenzo Maffione from comment #14) Is there a easy way to test this on my opnsense vm with vmx interfaces. As = far as I know my netmap issue on vmx is related to this timer issue as well. I'm not so familiar with freebsd. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 14 15:27:57 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3EE543C262 for ; Wed, 14 Oct 2020 15:27:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBGWd5GFZz47Xg for ; Wed, 14 Oct 2020 15:27:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B2E8E43C2B1; Wed, 14 Oct 2020 15:27:57 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B2AD743C3A6 for ; Wed, 14 Oct 2020 15:27:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBGWd4Lwsz4789 for ; Wed, 14 Oct 2020 15:27:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 77C591064C for ; Wed, 14 Oct 2020 15:27:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09EFRvpp087289 for ; Wed, 14 Oct 2020 15:27:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09EFRvJD087288 for net@FreeBSD.org; Wed, 14 Oct 2020 15:27:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 248652] iflib: netmap pkt-gen large TX performance difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC Date: Wed, 14 Oct 2020 15:27:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: iflib, needs-qa, performance, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: m.muenz@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vmaffione@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable12? mfc-stable11- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 14 Oct 2020 15:27:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248652 --- Comment #18 from Michael Muenz --- (In reply to vistalba from comment #17) - Install Vanilla FreeBSD12 - pkg install git - cd /usr && git clone https://github.com/opnsense/tools - cd tools && make update - make kernel You can also just create an image, follow the guides on https://github.com/opnsense/tools this might be easier --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 14 22:00:42 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51E4D443D0D; Wed, 14 Oct 2020 22:00:42 +0000 (UTC) (envelope-from cneirabustos@gmail.com) Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBRDn2Y04z4VH3; Wed, 14 Oct 2020 22:00:41 +0000 (UTC) (envelope-from cneirabustos@gmail.com) Received: by mail-yb1-xb2b.google.com with SMTP id n142so546631ybf.7; Wed, 14 Oct 2020 15:00:41 -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=UDTi2oGv+eXHzZZtnE+FE3FCIwug3I2L2Z5ZMLx9nq0=; b=ogL36mwnPnYTCAr/61nHUgMK6NGwIhkSAaW3RuubSLy865PyHNLS7TxvmgkUXll9Hg SM7ZoGOMPOADS4VFPBNaLg3UppyuTnDAy2960JOw5zGxo6K/GyWFfK9m0HT+wRGR9uy8 avB5Y13Fu7rSZFSl0ZVh/5sUpvBX7dYSGN3RObirw2sEL6as7uUltFoBe9RZiErjvsKu jOGSjHSws45pfGMclWI/l6+q+0IlU+PWf+O28AHmAjzyyVFqLKRT6DlHIZCJgnEcgahv ScLqAxk8wp/K6rNNi9wFpPdbMpT5BYl35bp59009StsHuv0DY9W6UuHY9EGY9ZjnUeEm DfUQ== 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=UDTi2oGv+eXHzZZtnE+FE3FCIwug3I2L2Z5ZMLx9nq0=; b=aECfrH6hi4e+q9fzfynWCtBJWjelLCl12iK8aIm3wDfwZPW1wzF/9GLkf4VwU5mFVY cLF9ILG3Mfgu4FFRkmVGEZCjZsDivtUNlvI9+oYyiF8Fb0JKPtZCZHjq13w8+rj0FO+w 9IVDuscI2Q9I07eLvDdh3i0cMGasZL9Cq8yqKesuS7Wgpgwzdb1OOVpVtGjnhkpUghWj 6jX0z0PuIKOi4Tfv/bFtUt0RLaHLAVvyfr0kAVdYwBWg7qaCOopM26cCMuUOVgj+BisJ 7dMelOAF/uVEJBaW5OHkJC3aekRqVyEtxD2B2782n8513P/j28a3eGpQeFsjucFp1ACP Guzw== X-Gm-Message-State: AOAM532n+Ukrmw1sqDJuSocTZF524wNVer91w5/qf2xyGycfX/BR6ZoX MtwQRhTfifyCGN83jNsJCVKKPT7foIUjWTmbTj+M8Li1MuWJPA== X-Google-Smtp-Source: ABdhPJyLdTBXKDrVnSiEMZZdjR/Jro/zcrnsWaS3ovQlqZjXuhD0eCSQCcWSt26ibIVWab+2hykEQoqVdZayhOnA5jk= X-Received: by 2002:a25:5090:: with SMTP id e138mr1178435ybb.430.1602712839209; Wed, 14 Oct 2020 15:00:39 -0700 (PDT) MIME-Version: 1.0 From: carlos antonio neira bustos Date: Wed, 14 Oct 2020 19:00:19 -0300 Message-ID: Subject: Allow PING(8) in jails without raw socket access permissions To: freebsd-net , FreeBSD Hackers X-Rspamd-Queue-Id: 4CBRDn2Y04z4VH3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ogL36mwn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of cneirabustos@gmail.com designates 2607:f8b0:4864:20::b2b as permitted sender) smtp.mailfrom=cneirabustos@gmail.com X-Spamd-Result: default: False [-2.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.011]; NEURAL_SPAM_SHORT(0.20)[0.200]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2b:from]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net,freebsd-hackers]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 14 Oct 2020 22:00:42 -0000 Hello, I have currently a patch in review with jamie which is the current jail maintainer and kyle evans, if anyone else could comment/review this patch : https://reviews.freebsd.org/D26782 What has been done is the following : Raw socket access is allowed for ICMP protocol as is required by PING(8) but option IP_HDRINCL is not allowed. to accomplish this a new privilege PRIV_NETINET_ICMP_ACCESS has been added by default for jails. Bests From owner-freebsd-net@freebsd.org Thu Oct 15 06:02:19 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 92D834339A0; Thu, 15 Oct 2020 06:02:19 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBdwV5sYBz42y4; Thu, 15 Oct 2020 06:02:18 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [178.254.11.41] (helo=r314251-amd64) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSwLA-0006FM-85; Thu, 15 Oct 2020 08:02:16 +0200 Date: Thu, 15 Oct 2020 08:02:14 +0200 From: Matthias Apitz To: freebsd-wireless@freebsd.org, freebsd-net@freebsd.org Subject: How to connect to a Wifi AP w/o much information from its provider Message-ID: <20201015060214.GA6590@r314251-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-wireless@freebsd.org, freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 178.254.11.41 X-Rspamd-Queue-Id: 4CBdwV5sYBz42y4 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.4.101) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [2.61 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; TO_DN_NONE(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.14)[0.137]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.80)[0.797]; NEURAL_SPAM_LONG(0.38)[0.375]; R_SPF_NA(0.00)[no SPF record]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-wireless,freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 15 Oct 2020 06:02:19 -0000 Hello, The school of my son offers Wifi to the pupil. The SSID is "Schueler" and each of the kids has a login and password assigned from the school. Not more information. An iPhone connects out of the box by just asking for the two values (login/password). With our wpa_supplicant I couldn't get how to set accepted values. I have here what the ifconfig command on my laptops says about the AP values: # ifconfig -v wlan0 list ap | egrep 'SSID/MESH|Schueler' Schueler 20:a6:cd:04:d8:63 6 54M -73:-96 100 EPS SSID RATES DSPARMS<6> TIM<050400010000> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME VEN Schueler 48:4a:e9:fd:dd:c3 1 54M -88:-96 100 EPS SSID RATES DSPARMS<1> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME Schueler 20:a6:cd:04:d8:73 64 54M -68:-96 100 EP SSID RATES DSPARMS<64> TIM<050400010000> RSN HTCAP HTINFO ???<7f080400080000000040> VHTCAP VHTOPMODE WME VEN Schueler e8:26:89:45:38:33 36 54M -91:-96 100 EP SSID RATES DSPARMS<36> TIM<050400010000> RSN HTCAP HTINFO ???<7f080400080000000040> VHTCAP VHTOPMODE WME VEN Schueler 48:4a:e9:fd:dd:d3 124 54M -90:-96 100 EP SSID RATES DSPARMS<124> TIM<050400010000> RSN HTCAP HTINFO ???<7f080400080000000040> VHTCAP VHTOPMODE WME VEN Schueler 48:4a:e9:6f:40:c3 11 54M -92:-96 100 EPS SSID RATES DSPARMS<11> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME Schueler e8:26:89:45:38:23 1 54M -85:-96 100 EPS SSID RATES DSPARMS<1> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME Schueler 48:4a:e9:6d:b8:c3 1 54M -91:-96 100 EPS SSID RATES DSPARMS<1> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME Has someone an idea how to make a wpa_supplicant.conf entry for this SSID? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub Без книги нет знаниÑ, без Ð·Ð½Ð°Ð½Ð¸Ñ Ð½ÐµÑ‚ коммунизма (Влaдимир Ильич Ленин) Without books no knowledge - without knowledge no communism (Vladimir Ilyich Lenin) Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Lenin) From owner-freebsd-net@freebsd.org Thu Oct 15 07:03:04 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AE10543532E for ; Thu, 15 Oct 2020 07:03:04 +0000 (UTC) (envelope-from sardarsi@cisco.com) Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (Client CN "iport.cisco.com", Issuer "HydrantID SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBgGZ57bqz45fR for ; Thu, 15 Oct 2020 07:03:02 +0000 (UTC) (envelope-from sardarsi@cisco.com) IronPort-PHdr: =?us-ascii?q?9a23=3ATUmYwR/GOOLhJf9uRHGN82YQeigqvan1NQcJ65?= =?us-ascii?q?0hzqhDabmn44+7ZRyNy+9ggXXyccPc8f0Xw+bVsqW1X2sG7N7BtX0Za5VDWl?= =?us-ascii?q?cDjtlehA0vBsOJSCiZZP7nZiA3BoJOAVli+XzoH1JYFezFSxvVuHLhpTIXEw?= =?us-ascii?q?/0YAxyIOm9E4XOjsOxgua1/ZCbYwhBiDenJ71oKxDjpgTKvc5Qioxneas=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DaYwCR84df/5hdJa1gGgEBAQEBPAE?= =?us-ascii?q?BAQECAgEBAQECAQEBAQMBAQEBgWQCgSEbAgEBAQEOUQdwWS8sCoQzg0YDoVy?= =?us-ascii?q?Eb4JTA1ULAQEBDQEBIwoCBAEBhEoZgW8CJTcGDgIDAQELAQEFAQEBAgEGBG2?= =?us-ascii?q?FXAELhgsRHQEBOBEBSgIEMCcENYMEAYF+TQMtAQEOoGACgTmIYXaBMoMBAQE?= =?us-ascii?q?FgTMBgRiCShiCEAMGgTYCAQEBAQEBgmyDboZWG4IAgTgcgh+FVoJqM4Itk0+?= =?us-ascii?q?HDZ0ZCoJqBIkAkWoDH6FGkyqKcpU4AgQCBAUCDgEBBYFqJCqBLXAVZQGCPlA?= =?us-ascii?q?XAg2SEIUUhUJ0OAIGCgEBAwl8jDsBgRABAQ?= X-IronPort-AV: E=Sophos;i="5.77,378,1596499200"; d="scan'208,217";a="583151716" Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 15 Oct 2020 07:03:00 +0000 Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id 09F7308W011852 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for ; Thu, 15 Oct 2020 07:03:00 GMT Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 15 Oct 2020 02:03:00 -0500 Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 15 Oct 2020 03:02:59 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 15 Oct 2020 03:02:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TJirAK6APb2nQ1JPUrx5hb2QyLAM1MDPOUYuFySawRep9xd1GJI3Z7Nh7gpahln7adzIYFQ3xRUK62xBfPyjHYovD+L3fJW2wc39KM2X3SI9flNMgPNrrXP3BldA3uK+IyG53iJuzHkmYDPVF8scjxrmg6GN38dQ7vjPQ0Y3RCbzA+VXUWSQLjZLYr+W+78VDsnBRYPWG6LfA2yZXiCXxnmN2rnEb4GdEpm1od7oEQE9gH0u6ZuHzcoPxFY/Gy8i3h/JZyObtzApeHrnXuA5dTLP7/RHSqMDnHFxQRAqYjQgrxaWyNmvTdVs67iU8cqEsX1KYZ97qxcQPgRACwCdBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WtORFpb/77qnbXGowNgn3Wgm4gcVQ3thZhi/GvyivzY=; b=Gw2Jr6sC7X2tN+cZtsxq2EHkFCFRwvIVyPDTaalJ4/HhdsZdZgv4CK1PiOmHIZ6CXrr+O3u1a9Een+7BalSjdz3W3I1i42GI7YdI72EGRKVoIueeHdoiBH+TU+MUk3o9UWmRSXskpPrNkjgo8QU3hwHWROaBZgvwAdlGCDRAtR6B00GOzDsxjEnA3bH83/If8k+KNR8wPsOF4/kOFMMxlZUYv3kzuSYDUQEbsPI+99hupJDtkdX3g3CJFZkANaWbuS1h2/hghq0RslWrvzksVGCmB5JtrDPlcxsruF/c5KF5iI31Q8ORKzY8kt23CmHOyPfV9Eu8n4kBlpHQQ0y7zA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none Received: from DM6PR11MB2988.namprd11.prod.outlook.com (2603:10b6:5:63::23) by DM6PR11MB4346.namprd11.prod.outlook.com (2603:10b6:5:1dd::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Thu, 15 Oct 2020 07:02:57 +0000 Received: from DM6PR11MB2988.namprd11.prod.outlook.com ([fe80::b5bc:d535:f418:d94c]) by DM6PR11MB2988.namprd11.prod.outlook.com ([fe80::b5bc:d535:f418:d94c%7]) with mapi id 15.20.3477.020; Thu, 15 Oct 2020 07:02:57 +0000 From: "Shamsher Singh (sardarsi)" To: "freebsd-net@FreeBSD.org" Subject: Query for KNI and user level tcp/ip stack support in FreeBSD ports Thread-Topic: Query for KNI and user level tcp/ip stack support in FreeBSD ports Thread-Index: AQHWosE1m2nrCPYc8UyHXImnLVE+mQ== Date: Thu, 15 Oct 2020 07:02:57 +0000 Message-ID: <699E0527-C82D-4FDD-A0F0-15220C99D4D3@cisco.com> Accept-Language: en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.41.20091302 x-originating-ip: [171.76.115.9] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a53258a0-db29-4ea4-92ff-08d870d85870 x-ms-traffictypediagnostic: DM6PR11MB4346: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FUxknsYH8jvmHScFsh6DPEM8gUUod6tieXcovPjyILklDvohliM/JbCxlyP5g+e7oo9D7SKzautgnrHmM+M+hj8ktJ+hh+2AFV8V/44SAPXYceI/3pN3Tvcv9XDrXr5pN7hsIAahCe5qJeKg7/gU/I4j+YlORtCGl4lbS1GxzBcf5yrb9g9DKNKpyVwLImhbPqigEPFQVXnzUTdo60fExN1fJMdJBtM4OrnHzZ1YAtGLYvDnLJgXphKQDbzbkSBgr2agfM8/QsVIXWMPFrgRpgSjYX9EUDep0pRFvSS5Szd8uf9Bm0orRuO7qw+7WpVqnLoDvPpEl3dbdA9GghRRbxVcdi0ftiw2lDRlcI3rvKcvR6oZ68shAnbx1GkjDppz5w28f24m8gdtjrEG2AnW8g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2988.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(136003)(39860400002)(366004)(346002)(396003)(2906002)(6486002)(6506007)(36756003)(2616005)(76116006)(91956017)(5660300002)(86362001)(966005)(83080400001)(26005)(186003)(66946007)(316002)(9326002)(66556008)(64756008)(66446008)(71200400001)(4744005)(6512007)(33656002)(8676002)(8936002)(66476007)(166002)(478600001)(6916009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 3dGUVOH7dQPBHmWv/0R4B/7JLHc6obku6ylfi5X210WMlk1TzePYdh65w2dfIFUx5TVRap6Epe0yqYqVrJymtqachd6A58JqGSdOgeClkFcFAhhryCTE9DQ99Z+1Bcg4TwsXYgGgx94QIHs8m9VXmBoTvwfJE63eNZeFTVaIyTNq2uh8UNbZIw+NgRDu8tzk9vDDU44dRhkt/kM1TTxhdeFXaEtP54FpNAH7e99h97pEK6H4KcLkhMbs6/dBSoEvV2rkw6iMAWzcvWwEr2d/L6MDDV54bz7IDIqwdyr+mOYXU1Ngzj9o7G0grNE5jGgYreaiukobz4WfXATBWkgWB71M2BRRG6r4KbmBMCOWt+01S+l02wfSb8GMgkKNZ2YlIdbkkcJPePOWiYE0la+G2oOhX4MXa9xRpXP0D+z0Te9Qdo9sYpZTKCwBnGHUf2PiTXGSp08mWW//mwJL4dMJ9dHLoUZIMRr/gN0Ut71mtTZj89W65fkzOJNvRA295AhPZFnqu4KJw/2f3iKQOoqsxp5ENpclkExy0zeTa9LecvUyW/r8KvVaEuFzT9VDLROKoVperO4lwid8FWYaed2SXnDgUMBWOjK9fMWlycvEpez6/pydwefp51HquL0zl7Nsz/VZw+LjJEW8trRd91Jv0A== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB2988.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a53258a0-db29-4ea4-92ff-08d870d85870 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2020 07:02:57.0955 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: L7KE/WvcsBdof9JPBjM40/4WnRcjEPsPqJ9AGC0AHO+A/F7s4Sq3Y3aAb6m1bcTtRuZGjvsoODN+nvneWqEqoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4346 X-OriginatorOrg: cisco.com X-Outbound-SMTP-Client: 173.37.102.11, xch-rcd-001.cisco.com X-Outbound-Node: rcdn-core-1.cisco.com X-Rspamd-Queue-Id: 4CBgGZ57bqz45fR X-Spamd-Bar: -------- X-Spamd-Result: default: False [-8.89 / 15.00]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[173.37.142.89:from]; R_SPF_ALLOW(-0.20)[+ip4:173.37.142.64/26]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; RCVD_IN_DNSWL_MED(-0.20)[173.37.142.89:from]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[cisco.com,quarantine]; DKIM_TRACE(0.00)[cisco.com:+,cisco.onmicrosoft.com:+]; NEURAL_HAM_SHORT(-1.31)[-1.315]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:109, ipnet:173.37.128.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; R_DKIM_ALLOW(-0.20)[cisco.com:s=iport,cisco.onmicrosoft.com:s=selector2-cisco-onmicrosoft-com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.987]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[cisco.com:dkim]; TO_DN_EQ_ADDR_ALL(0.00)[]; WHITELIST_SPF_DKIM(-3.00)[cisco.com:d:+,cisco.com:s:+]; RCVD_COUNT_SEVEN(0.00)[8]; MAILMAN_DEST(0.00)[freebsd-net] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 15 Oct 2020 07:03:04 -0000 SGksDQpJcyB0aGVyZSBhbnkgcGxhbiB0byBzdXBwb3J0IEtOSSBkcml2ZXIgbW9kdWxlIGluIEZy ZWVCU0QgPw0KDQoNCkFsc28gaXMgRnJlZUJTRCBzdXBwb3J0IGFueSBvcGVuIHNvdXJjZSBUQ1Av SVAgc3RhY2sgYXQgdXNlciBzcGFjZSB0byBiZSB1c2VkIGFsb25nLXdpdGggZHBkaz8NCg0KTGlr ZSBGLXN0YWNrIG9yIGFueSBvdGhlci4NCg0KTm90ZTogR290IGJhc2ljIHN1cHBvcnQgaW5mbyBm cm9tIGh0dHBzOi8vd2lraS5mcmVlYnNkLm9yZy8yMDE1MTFWZW5kb3JEZXZTdW1taXQvSGF2ZU5l ZWRXYW50DQoNClRoYW5rcyAmIHJlZ2FyZHMNClMgU2hhbXNoZXIgU2luZ2gNClRlY2ggTGVhZA0K Q2lzY28gU3lzdGVtcyBwdnQgbHRkDQoNCg== From owner-freebsd-net@freebsd.org Thu Oct 15 07:05:18 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A82E3435349 for ; Thu, 15 Oct 2020 07:05:18 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBgK93bP0z45l9 for ; Thu, 15 Oct 2020 07:05:17 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 09f2ae61; Thu, 15 Oct 2020 07:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=oaVUdQ9e Pc+UomnsIp2F5IihdoA=; b=BCS9GKTNEoPdrMmboqMhPEu4nIwfi1GIzBH16nvB 67g/DZgA7/aOzscmgu1Zn7mhvXE9E3vvgHdJz+RI00ceG+GYcRGRj0SC0jd4mo9D mLAHKj4xVoUhV5S83yaQhAx+qyex7wTZj7GY7e7k5X/PEgyD+0dUrcPJgbuTY/Y+ nx4p+YSRDrK1G68bDDXCTGS6RMm5XeoT6wm6SzHM9sWDXD2OLvf3mFFzDZShhEHa wij53JTXp5mteoPI0ODHbiQoRkjtdoXAH18rqLKe3MqCPCQxpHtJl59r2eo+wlyw wstd/W/t2Hcke5NFv00TSt1Ghiu806rDVL/2LVTbIhgjPA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=qt Mx//jbndsHp8JJNvmyuTG2S0DV5LfjYzhAlOZoNDt+GIRhc8oOKuF9H66QSVp4MW r2kftEx+XsZBqTnzjbLQpA9jqVdl+foIfqH4R/7uzwRpLvA58PBT18cD3dj/hclA QumY34Uhhl4oLAsu9n9n5aWoNxcxQQl7MYdL+iy4ernnEHlktcrX+B6P2HS6rvuV imMEolH6OrLqrPJ7weBoAmSU4Y7ik+sHzsUQvdfFEGurrg0yryQXt8LAcWsIXi2R 4/W6bKoQ2inHBIMi/csMFd4HWIl/j2BJwnBEZs6BHf8bLkdXEUfGonMrCtl3mITr DTXLD09YnoHNJtiM7mfA== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 2bf85d5a (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Thu, 15 Oct 2020 07:05:11 +0000 (UTC) Date: Thu, 15 Oct 2020 09:04:29 +0200 From: Michael Gmelin To: Matthias Apitz Cc: freebsd-net@freebsd.org Subject: Re: How to connect to a Wifi AP w/o much information from its provider Message-ID: <20201015090429.1191304b@bsd64.grem.de> In-Reply-To: <20201015060214.GA6590@r314251-amd64> References: <20201015060214.GA6590@r314251-amd64> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CBgK93bP0z45l9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=BCS9GKTN; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-3.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.07)[-1.068]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.54)[-0.541]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 15 Oct 2020 07:05:18 -0000 On Thu, 15 Oct 2020 08:02:14 +0200 Matthias Apitz wrote: > Hello, > > The school of my son offers Wifi to the pupil. The SSID is "Schueler" > and each of the kids has a login and password assigned from the > school. Not more information. An iPhone connects out of the box by > just asking for the two values (login/password). With our > wpa_supplicant I couldn't get how to set accepted values. > > I have here what the ifconfig command on my laptops says about the AP > values: > > > # ifconfig -v wlan0 list ap | egrep 'SSID/MESH|Schueler' > > ... > > Has someone an idea how to make a wpa_supplicant.conf entry for this > SSID? > Hi Matthias, I'm not subscribed to wireless@, so only posting on net@. It seems like these networks don't use WPA, so I assume they use a captive portal[0] instead. iPhone and mac have agents to pick those up automatically (CaptiveNetworkAgent). Which would mean, that you would connect without WPA and simply enter a website like http://neverssl.com into the browser (or a random IP address like http://10.1.1.1), which should then bring up the captive webpage, which should allow your son to enter the credentials (pretty much like you would do on hotel wifi). Cheers, Michael [0]https://en.wikipedia.org/wiki/Captive_portal -- Michael Gmelin From owner-freebsd-net@freebsd.org Thu Oct 15 07:46:17 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 293B443625E for ; Thu, 15 Oct 2020 07:46:17 +0000 (UTC) (envelope-from william.jones@fastestway24.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBhDS6vN9z47WG for ; Thu, 15 Oct 2020 07:46:16 +0000 (UTC) (envelope-from william.jones@fastestway24.com) Received: by mailman.nyi.freebsd.org (Postfix) id ECCD1435EF3; Thu, 15 Oct 2020 07:46:16 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EC93C435EF2 for ; Thu, 15 Oct 2020 07:46:16 +0000 (UTC) (envelope-from william.jones@fastestway24.com) Received: from mail.fastestway24.com (mail.fastestway24.com [5.249.159.217]) (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 4CBhDS2d5Mz47YX for ; Thu, 15 Oct 2020 07:46:15 +0000 (UTC) (envelope-from william.jones@fastestway24.com) Received: by mail.fastestway24.com (Postfix, from userid 1001) id 31C25A34EA; Thu, 15 Oct 2020 08:46:05 +0100 (BST) Received: by mail.fastestway24.com for ; Thu, 15 Oct 2020 07:45:52 GMT Message-ID: <20201015074501-0.1.4f.9u09.0.xgcps54yaz@fastestway24.com> Date: Thu, 15 Oct 2020 07:45:52 GMT From: "William Jones" To: Subject: Disinfectant X-Mailer: mail.fastestway24.com MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4CBhDS2d5Mz47YX X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.48 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; R_DKIM_ALLOW(-0.20)[fastestway24.com:s=mail]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.003]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[fastestway24.com:+]; DMARC_POLICY_ALLOW(-0.50)[fastestway24.com,reject]; NEURAL_HAM_SHORT(-0.51)[-0.506]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31034, ipnet:5.249.152.0/21, country:IT]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 15 Oct 2020 07:46:17 -0000 Good morning, looking for companies interested in raising additional capital by diversi= fying their offer in soaps, liquids and gels for hand disinfection and co= smetics for body and hair care. The distribution of innovative products corresponding to the current pref= erences of customers in the field of hygiene and preventive healthcare al= lows our partners to gain new markets and achieve better economic results= =2E In addition to products with bactericidal action, our range includes show= er gels, shampoos and hair conditioners, as well as efficient, concentrat= ed detergents. The versatility (suitable for all skin types) combined with an affordable= price means that customers make an informed choice of a product among ot= hers available on the market. Are you interested in cooperation? William Jones From owner-freebsd-net@freebsd.org Thu Oct 15 08:19:11 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74277437318 for ; Thu, 15 Oct 2020 08:19:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBhyR2Xy3z4BLB for ; Thu, 15 Oct 2020 08:19:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 57574437316; Thu, 15 Oct 2020 08:19:11 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 571FB437315 for ; Thu, 15 Oct 2020 08:19:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBhyR14QBz4B88 for ; Thu, 15 Oct 2020 08:19:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 085C01C6DF for ; Thu, 15 Oct 2020 08:19:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09F8JA8t086252 for ; Thu, 15 Oct 2020 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 09F8JAme086251 for net@FreeBSD.org; Thu, 15 Oct 2020 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 250357] RFC 5961 is not implemented completely Date: Thu, 15 Oct 2020 08:19: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: Unspecified 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.33 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, 15 Oct 2020 08:19:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250357 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 15 08:19:50 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 63D91437506 for ; Thu, 15 Oct 2020 08:19:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBhzB24Q3z4C9B for ; Thu, 15 Oct 2020 08:19:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 47222437505; Thu, 15 Oct 2020 08:19:50 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 46EFA4371E2 for ; Thu, 15 Oct 2020 08:19:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBhzB1F8Sz4BsF for ; Thu, 15 Oct 2020 08:19:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0F2441CB6F for ; Thu, 15 Oct 2020 08:19:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09F8JnSp086817 for ; Thu, 15 Oct 2020 08:19:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09F8Jn7i086816 for net@FreeBSD.org; Thu, 15 Oct 2020 08:19: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 250360] [tcp] connections should be closed if a same packet without FIN is received after FIN received Date: Thu, 15 Oct 2020 08:19:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified 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.33 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, 15 Oct 2020 08:19:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250360 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 15 09:47:03 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 666AC439513 for ; Thu, 15 Oct 2020 09:47:03 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBkvp3Rwbz4HCF for ; Thu, 15 Oct 2020 09:47:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 09F9kefe090625 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Oct 2020 09:46:43 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: guru@unixarea.de Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.16.1/8.16.1) with ESMTPS id 09F9khWW031781 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 15 Oct 2020 16:46:43 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: How to connect to a Wifi AP w/o much information from its provider To: Matthias Apitz , freebsd-net@freebsd.org References: <20201015060214.GA6590@r314251-amd64> From: Eugene Grosbein Message-ID: <98fcf8ab-2e07-a43c-714e-49cc1f0052f8@grosbein.net> Date: Thu, 15 Oct 2020 16:46:36 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20201015060214.GA6590@r314251-amd64> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains * -0.0 NICE_REPLY_A Looks like a legit reply (A) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 4CBkvp3Rwbz4HCF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-2.25 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[eugen]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.896]; NEURAL_HAM_LONG(-0.85)[-0.847]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_PERMFAIL(0.00)[empty SPF record]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.41)[-0.411]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 15 Oct 2020 09:47:03 -0000 15.10.2020 13:02, Matthias Apitz wrote: > > Hello, > > The school of my son offers Wifi to the pupil. The SSID is "Schueler" > and each of the kids has a login and password assigned from the school. Not more > information. An iPhone connects out of the box by just asking for the > two values (login/password). With our wpa_supplicant I couldn't get how to > set accepted values. > > I have here what the ifconfig command on my laptops says about the AP values: > > > # ifconfig -v wlan0 list ap | egrep 'SSID/MESH|Schueler' > > Schueler 20:a6:cd:04:d8:63 6 54M -73:-96 100 EPS SSID RATES DSPARMS<6> TIM<050400010000> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME VEN This looks like "WPA-Enterprise" authentication method, see section 31.3.4.1.3.2 of the Handbook: https://www.freebsd.org/doc/handbook/network-wireless.html From owner-freebsd-net@freebsd.org Thu Oct 15 12:14:53 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA2EE43CB97 for ; Thu, 15 Oct 2020 12:14:53 +0000 (UTC) (envelope-from david@schlachter.ca) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBpBP0mmCz4QMb for ; Thu, 15 Oct 2020 12:14:52 +0000 (UTC) (envelope-from david@schlachter.ca) Received: by mail-qt1-x82f.google.com with SMTP id j62so1473881qtd.0 for ; Thu, 15 Oct 2020 05:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schlachter-ca.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ObAT11WWsmK67mLiTJnL7ns8sBo0DDfVsgN+MdNJDHw=; b=A6z/pnur+26Crj+TNTgPofL13AsGOfs9oJ11fVO51jxsb5Lj3nnhYGFc11Jw0Fyqae GzOvUS8sVGuzAYAv/tz1pshuKjOqgYH/sEGSuIhgTrw8oyJivEx2LWm19Bnu7woHJ3dC p2qN7p4jZ58IE5QMd9ezGa3ORsvGkTO2YlZEl/AW8jb8fWaFbogD+aS3+IjISkfbYqNQ VSjcRXUAmx1GRO0yGAXP27dfZGdkHNp255UAoW7vQ6dfGRsUz9BxHb/xtOnucd9EQLnC gYgFUYunuQU6eHKllC1kbGFwz/oO7txIalIuluB2CKey/OebJlnRhymJ7Ev8r1xjzzAr z68Q== 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=ObAT11WWsmK67mLiTJnL7ns8sBo0DDfVsgN+MdNJDHw=; b=bxdjt+RwUDNO8K6Z9nfflzoLTozX3+hFDVmYj280iWvN68QIMpcYIAed3LUs7kcpsK ISlFsN1Mhox4yQKCPB8TrpyAhOgLvLNMFlWuROYNFpuNc5sdC23m/1ghvfcuWAgjPQ9g qyzsqRLiKIGEpDTPq1H77ra8KyAyDGvFYGDYvzHjWunWDp1B+5t5HkVOsBWbPQxzjkC1 sG5/j5jNVQ6hJ+qjx1l0AJb6aBdSM5PPZZfXBCcoA9NCunasYnZXDPHC6DGBT6tQKbcN FD9nis2uorAkDY/u/1rsgm2yoAYUCpVfQVt6uDDo+OmDx6w/1FfI4GQ3m5NJyyOdOdNp P9xw== X-Gm-Message-State: AOAM531QB88tIyjNck5fZlBC0XuHzsUBY+OSSJ5DkEekjLusH6YuUwF9 G9/21UcOsQbZq0kgL2GRvl94ECH5sfA9pi+WI54l0vYvka0qG63a X-Google-Smtp-Source: ABdhPJz0wIQIUU3ZIJLfdxWdlk4kPuL2sPwNQYplEccWAeNoTg77+GCThT9/lzKk71wo02j2OXXgAoeHTFYGbZlbmnE= X-Received: by 2002:ac8:1af1:: with SMTP id h46mr3608312qtk.371.1602764091944; Thu, 15 Oct 2020 05:14:51 -0700 (PDT) MIME-Version: 1.0 References: <20201015060214.GA6590@r314251-amd64> In-Reply-To: <20201015060214.GA6590@r314251-amd64> From: David Schlachter Date: Thu, 15 Oct 2020 08:14:14 -0400 Message-ID: Subject: Re: How to connect to a Wifi AP w/o much information from its provider To: Matthias Apitz , freebsd-wireless@freebsd.org, freebsd-net@freebsd.org X-Rspamd-Queue-Id: 4CBpBP0mmCz4QMb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=schlachter-ca.20150623.gappssmtp.com header.s=20150623 header.b=A6z/pnur; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@schlachter.ca designates 2607:f8b0:4864:20::82f as permitted sender) smtp.mailfrom=david@schlachter.ca X-Spamd-Result: default: False [-2.56 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[schlachter-ca.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[schlachter.ca]; NEURAL_HAM_LONG(-0.99)[-0.992]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[schlachter-ca.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.04)[-0.042]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82f:from]; NEURAL_HAM_MEDIUM(-1.03)[-1.026]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 15 Oct 2020 12:14:53 -0000 Hi Matthias, If each student has a unique login and password for the WiFi network, the network probably uses WPA-802.1X (WPA-Enterprise). A variety of Extensible Authentication Protocol (EAP) modes are used with WPA-802.1X, and you can see them all described in `man 5 wpa_supplicant.conf`. However, your entry in wpa_supplicant.conf will have be similar to this one that I use to connect to a university WiFi network: network=3D{ ssid=3D"UniversitySSID" identity=3D"MyLogin" password=3D"MyPassword" key_mgmt=3DWPA-EAP eap=3DTTLS phase2=3D"auth=3DMSCHAPV2" } I'm not sure how to determine the exact parameters from the log output you gave, but hopefully this can get you started. Best, David Le jeu. 15 oct. 2020, =C3=A0 02 h 02, Matthias Apitz a = =C3=A9crit : > > Hello, > > The school of my son offers Wifi to the pupil. The SSID is "Schueler" > and each of the kids has a login and password assigned from the school. > Not more > information. An iPhone connects out of the box by just asking for the > two values (login/password). With our wpa_supplicant I couldn't get how t= o > set accepted values. > > I have here what the ifconfig command on my laptops says about the AP > values: > > > # ifconfig -v wlan0 list ap | egrep 'SSID/MESH|Schueler' > > Schueler 20:a6:cd:04:d8:63 6 54M -73:-96 100 EPS > SSID RATES DSPARMS<6> TIM<050400010000> > ERP<0x0> RSN HTCAP param 0x17 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO 0,0,0,0 basicmcs[]> ???<7f080400080000000040> WME cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 > cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> > VEN > Schueler 48:4a:e9:fd:dd:c3 1 54M -88:-96 100 EPS > SSID RATES DSPARMS<1> ERP<0x0> RSN mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO basicmcs[]> ???<7f080400080000000040> WME cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 > cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> > Schueler 20:a6:cd:04:d8:73 64 54M -68:-96 100 EP > SSID RATES DSPARMS<64> TIM<050400010000> > RSN HTCAP mcsset[0-31] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO basicmcs[]> ???<7f080400080000000040> VHTCAP 0xffaa rx_highest 0 tx_mcs_map 0xffaa tx_highest 0> VHTOPMODE freq1_idx 58 freq2_idx 0 basic_mcs_set 0x0000> WME cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 > cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> > VEN > Schueler e8:26:89:45:38:33 36 54M -91:-96 100 EP > SSID RATES DSPARMS<36> TIM<050400010000> > RSN HTCAP mcsset[0-31] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO basicmcs[]> ???<7f080400080000000040> VHTCAP 0xffaa rx_highest 0 tx_mcs_map 0xffaa tx_highest 0> VHTOPMODE freq1_idx 42 freq2_idx 0 basic_mcs_set 0x0000> WME cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 > cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> > VEN > Schueler 48:4a:e9:fd:dd:d3 124 54M -90:-96 100 EP > SSID RATES DSPARMS<124> TIM<050400010000> > RSN HTCAP mcsset[0-31] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO basicmcs[]> ???<7f080400080000000040> VHTCAP 0xffaa rx_highest 0 tx_mcs_map 0xffaa tx_highest 0> VHTOPMODE freq1_idx 122 freq2_idx 0 basic_mcs_set 0x0000> WME cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 > cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> > VEN > Schueler 48:4a:e9:6f:40:c3 11 54M -92:-96 100 EPS > SSID RATES DSPARMS<11> ERP<0x0> RSN mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO basicmcs[]> ???<7f080400080000000040> WME cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 > cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> > Schueler e8:26:89:45:38:23 1 54M -85:-96 100 EPS > SSID RATES DSPARMS<1> ERP<0x0> RSN mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO basicmcs[]> ???<7f080400080000000040> WME cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 > cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> > Schueler 48:4a:e9:6d:b8:c3 1 54M -91:-96 100 EPS > SSID RATES DSPARMS<1> ERP<0x0> RSN mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO basicmcs[]> ???<7f080400080000000040> WME cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 > cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> > > Has someone an idea how to make a wpa_supplicant.conf entry for this > SSID? > > Thanks > > matthias > > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ > +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > =D0=91=D0=B5=D0=B7 =D0=BA=D0=BD=D0=B8=D0=B3=D0=B8 =D0=BD=D0=B5=D1=82 =D0= =B7=D0=BD=D0=B0=D0=BD=D0=B8=D1=8F, =D0=B1=D0=B5=D0=B7 =D0=B7=D0=BD=D0=B0=D0= =BD=D0=B8=D1=8F =D0=BD=D0=B5=D1=82 =D0=BA=D0=BE=D0=BC=D0=BC=D1=83=D0=BD=D0= =B8=D0=B7=D0=BC=D0=B0 (=D0=92=D0=BBa=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 =D0=98= =D0=BB=D1=8C=D0=B8=D1=87 =D0=9B=D0=B5=D0=BD=D0=B8=D0=BD) > Without books no knowledge - without knowledge no communism (Vladimir > Ilyich Lenin) > Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich > Lenin) > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g > " > From owner-freebsd-net@freebsd.org Thu Oct 15 12:36:17 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA3AD43D4AB for ; Thu, 15 Oct 2020 12:36:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBpg545ywz4R74 for ; Thu, 15 Oct 2020 12:36:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8CD0A43D050; Thu, 15 Oct 2020 12:36:17 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C93C43D348 for ; Thu, 15 Oct 2020 12:36:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBpg53ChVz4RCq for ; Thu, 15 Oct 2020 12:36:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 51BFF1F5D5 for ; Thu, 15 Oct 2020 12:36:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09FCaH86078355 for ; Thu, 15 Oct 2020 12:36:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09FCaHur078353 for net@FreeBSD.org; Thu, 15 Oct 2020 12:36:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 250363] [tcp] data in syn_ack should be ignored Date: Thu, 15 Oct 2020 12:36:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified 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.33 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, 15 Oct 2020 12:36:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250363 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 15 12:37:07 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E73E43D6B9 for ; Thu, 15 Oct 2020 12:37:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBph33lCmz4RMY for ; Thu, 15 Oct 2020 12:37:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 807AB43D814; Thu, 15 Oct 2020 12:37:07 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8048D43D7A1 for ; Thu, 15 Oct 2020 12:37:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBph32w60z4RYR for ; Thu, 15 Oct 2020 12:37:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4673E1F653 for ; Thu, 15 Oct 2020 12:37:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09FCb7Qw079134 for ; Thu, 15 Oct 2020 12:37:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09FCb73K079133 for net@FreeBSD.org; Thu, 15 Oct 2020 12:37:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 250366] [tcp] The ioctl of socket fd should return -1 after listen to avoid misusing. Date: Thu, 15 Oct 2020 12:37:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 15 Oct 2020 12:37:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250366 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 Fri Oct 16 01:35:31 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 757E844BF35 for ; Fri, 16 Oct 2020 01:35:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC7yC2Lf8z4H2g for ; Fri, 16 Oct 2020 01:35:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4682F44BD66; Fri, 16 Oct 2020 01:35:31 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 463EF44BD65 for ; Fri, 16 Oct 2020 01:35:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CC7yB3WFKz4GxK for ; Fri, 16 Oct 2020 01:35:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 33AB08962 for ; Fri, 16 Oct 2020 01:35:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09G1ZUp5097156 for ; Fri, 16 Oct 2020 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 09G1ZUYK097155 for net@FreeBSD.org; Fri, 16 Oct 2020 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 250357] RFC 5961 is not implemented completely Date: Fri, 16 Oct 2020 01:35:29 +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: Unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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.33 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, 16 Oct 2020 01:35:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250357 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Keywords| |needs-qa --- Comment #1 from Kubilay Kocak --- @Reporter Can you please provide additional information: - What is the expected behaviour and what is the actual/current behaviour? - What FreeBSD version? (uname -a output) - /var/run/dmesg.boot output (as an attachment) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 16 02:56:58 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD6FA44D750 for ; Fri, 16 Oct 2020 02:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC9mB4C7cz4LSt for ; Fri, 16 Oct 2020 02:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8E05F44D74F; Fri, 16 Oct 2020 02:56:58 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8CAD344D5B7 for ; Fri, 16 Oct 2020 02:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CC9mB33K2z4LN2 for ; Fri, 16 Oct 2020 02:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 480849C97 for ; Fri, 16 Oct 2020 02:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09G2uw7r093507 for ; Fri, 16 Oct 2020 02:56:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09G2uwhu093506 for net@FreeBSD.org; Fri, 16 Oct 2020 02:56:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 250357] RFC 5961 is not implemented completely Date: Fri, 16 Oct 2020 02:56:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yonghaoz1994@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 16 Oct 2020 02:56:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250357 --- Comment #2 from Yong-Hao Zou --- Created attachment 218783 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218783&action= =3Dedit dmesg.boot --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 16 02:57:17 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E977444CF7C for ; Fri, 16 Oct 2020 02:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC9mY3TYYz4LNg for ; Fri, 16 Oct 2020 02:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7777F44CF7A; Fri, 16 Oct 2020 02:57:17 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7744944D63E for ; Fri, 16 Oct 2020 02:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CC9mY2gbyz4LWv for ; Fri, 16 Oct 2020 02:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 40BB3977A for ; Fri, 16 Oct 2020 02:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09G2vHXI093828 for ; Fri, 16 Oct 2020 02:57:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09G2vHJ3093826 for net@FreeBSD.org; Fri, 16 Oct 2020 02:57:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 250357] RFC 5961 is not implemented completely Date: Fri, 16 Oct 2020 02:57:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yonghaoz1994@gmail.com X-Bugzilla-Status: Open 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.33 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, 16 Oct 2020 02:57:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250357 --- Comment #3 from Yong-Hao Zou --- (In reply to Kubilay Kocak from comment #1) 1. The last "read" in the script should return -1 because the ack value of = the packet before this read is out of range, but currently FreeBSD accept this packet and the read return 9168. 2. FreeBSD freebsd 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC amd64 3. see attachment --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 16 11:39:35 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E615D431F94 for ; Fri, 16 Oct 2020 11:39:35 +0000 (UTC) (envelope-from rodoslav@e-mail.ua) Received: from mail.e-mail.ua (e-mail.ua [46.101.220.183]) (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 4CCPMB6XZBz4qX6 for ; Fri, 16 Oct 2020 11:39:34 +0000 (UTC) (envelope-from rodoslav@e-mail.ua) Sender: rodoslav@e-mail.ua DKIM-Filter: OpenDKIM Filter v2.11.0 mail.e-mail.ua 58475E431A4 From: "rajasooriyar lakshman" To: "freebsd net" Reply-To: "rajasooriyar lakshman" Subject: Date: Fri, 16 Oct 2020 14:03:38 +0300 Message-Id: <745919k7mmup$mvfyy4y7$g3gkzszd$@e-mail.ua> MIME-Version: 1.0 Thread-Index: eF9wcGVjXjcjOGF3LmR4ZHBzZzFuKA== Content-Language: en-us X-Rspamd-Queue-Id: 4CCPMB6XZBz4qX6 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rodoslav@e-mail.ua designates 46.101.220.183 as permitted sender) smtp.mailfrom=rodoslav@e-mail.ua X-Spamd-Result: default: False [3.42 / 15.00]; HAS_REPLYTO(0.00)[laks_guyv@yahoo.com]; R_SPF_ALLOW(-0.20)[+mx]; FREEMAIL_FROM(0.00)[e-mail.ua]; REPLYTO_DN_EQ_FROM_DN(0.00)[]; TO_DN_ALL(0.00)[]; FORGED_SENDER(0.30)[laks_guy@e-mail.ua,rodoslav@e-mail.ua]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[e-mail.ua]; ASN(0.00)[asn:14061, ipnet:46.101.128.0/17, country:US]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[laks_guy@e-mail.ua,rodoslav@e-mail.ua]; RWL_MAILSPIKE_NEUTRAL(0.00)[46.101.220.183:from]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.90)[0.902]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.com]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_SPAM_MEDIUM(0.67)[0.667]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[e-mail.ua]; NEURAL_SPAM_LONG(0.85)[0.854]; EMPTY_SUBJECT(1.00)[]; MAILMAN_DEST(0.00)[freebsd-net] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 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, 16 Oct 2020 11:39:36 -0000 Freebsd=0A=C2=A0=0A=C2=A0=0Ahttps://j.mp/31c0ABo=0A=C2=A0=0A=C2=A0=0A=C2= =A0=0Arajasooriyar lakshman=0A=C2=A0