From nobody Mon Apr 29 03:29:52 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VSTNK4l2Jz5J5yM for ; Mon, 29 Apr 2024 03:29:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) 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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VSTNK3Dbgz4tMw for ; Mon, 29 Apr 2024 03:29:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714361393; a=rsa-sha256; cv=none; b=NNTBDmfG9wHDJW0pNdVcUPcpDa1tYtZrpOg6gPgD84mfH9fZMoEP4b0vE7GeoGFzLd9Q1P PFX7B3N7nJxLV7rML/Z2li11ZCa6sdB9ncL/UPlXx+diTILOEcuGGmdPGg8B1ViDmeTWd8 JFpHpVTpgYNrfnZ9B6RTF+KSNuRy2DA+OCsEh8QleS+2J4jRLhGwDwfeqnMsd05odCiraB YWYjITGZGOcix/ST56qApbyeH0qbENpAzeDGF3u0CKXBB6HS1BpRZnyYvjeygSZZHBer+d Jui2yVPrxkx082IlrXcOrrU27nRndOHxW6z+gHPdxhzktg8fSobzp7cXBaWsLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714361393; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9LRfcIoIqZBYqivqG7dIkNQqY5gPtWC6TUuwt021yOE=; b=ejXc8OwjzY6lQLqntkxHxdNqyVB4ajvGq3Hf7VMTJCQjF9hNHTFdYrlnIvzpoGnSVDJFTh wnb2a6IFJMcG4Xz6YW0U+WHQfEKkPDXxNFpp1EBSwJZ2zykUcpQFUATbPsEJHvQeK2BkLJ /+3EWA71QH1ABtsb96R8/2cIcKmn7W7tvYbZxZHuvgQRNNA6f6LhElm7UNSr+qcup3oZWK 6s6mEJCOy6BUAKO/3Wf4gWYU4843t357yIaHkUzWayUzySsT8J/OoegddZx6x1zbE458Aj 2Jqwr2+u9FHxwE6Vczj6TqQtLjw0avUf9McCZjdaZb2U7RvA3UnHJtxzWV4k5Q== 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 4VSTNK1xJFzsj6 for ; Mon, 29 Apr 2024 03:29:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43T3Tr22046032 for ; Mon, 29 Apr 2024 03:29:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43T3Tr24046027 for net@FreeBSD.org; Mon, 29 Apr 2024 03:29:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 237921] wpi: Memory leak in function wpi_free_tx_ring of sys/dev/wpi/if_wpi.c Date: Mon, 29 Apr 2024 03:29:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yusisamerican@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237921 --- Comment #6 from Yusuf Khan --- This getting merged? Its been 5 years now --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Apr 29 14:35:03 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VSm7t68T3z5JRkh for ; Mon, 29 Apr 2024 14:35:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) 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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VSm7t3TqRz4JqG for ; Mon, 29 Apr 2024 14:35:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714401306; a=rsa-sha256; cv=none; b=FrPcsQTxQ44cEvuOQOBjpleU2vArkYc+VVoADTxVmQqWGmMcgRsAhE8oixrW6z1uN6cmv4 7e3k1FfYFb0sW9hkv+gI4HGZFK6AD2jz4Pif74oIrCV4pcHGE4OlDaQN4ZYRM5WnTkEkpd J4Qijqi/CZLLRPkE4eMcRu735zd5D6SkAiROBd1YlBMNPeZp9Va5DTeZzS2Ev1xcU16/PC RFN0CxvGl1ePLmwn85kP7bnocTQnCWYKyTrZjHR54wRSgsfVhXkr9OTtMRCoMcZwkghapK OShOkugy6IRPWoVFKNolYleDA9P0ki/WaP8Ko14rIze1xbLQFl+WlwJmAQ+emA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714401306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xYW+kLAu3Ben04LVe6QyPPbjOaHmcn9HRNqa5ZFySIc=; b=Zvbz9yg+y7XEkLhA1bakYZWZgLZtSTBbXmGbGM26N4FxPtvuB7ZZfkTrLnTaiS+MrrI4i4 VVXmaAk1puSCmembV9qvjDbQLTSqKl/R0X9nEnY1a+42+V0bQILzNlQJ9dTNGxHRzkZX0c m4Gx3hf+XmUv0GPdzPpmOlO3knENcyOwgQiKd9w2EW03937IeECl8nCl+lIvzwa76avnnZ frV9hJWQux/hkPHQzRk5nY1CQoUPWXtkLnPlMboNVSbas4ZiVRfNjVF6kj1TiiYN5WAvuG qIXrrig7Ct6II7X0u8RgPIcqHU2VhuCwDJRVopegX8ys4vPGdRII4UaLSmMjNw== 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 4VSm7t35BMz1CJZ for ; Mon, 29 Apr 2024 14:35:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43TEZ6R8004906 for ; Mon, 29 Apr 2024 14:35:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43TEZ6ou004880 for net@FreeBSD.org; Mon, 29 Apr 2024 14:35:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 274483] route(8) change -interface is not effective Date: Mon, 29 Apr 2024 14:35:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: karels@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: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274483 Mike Karels changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |karels@freebsd.org --- Comment #2 from Mike Karels --- Note, I don't think -interface is the keyword that you want here; it means = that no gateway is used. From route(8): "If the destination is directly reachab= le via an interface requiring no intermediary system to act as a gateway, the -interface modifier should be specified; the gateway given is the address of this host on the common network, indicating the interface to be used for transmission. Alternately, if the interface is point to point the name of = the interface itself may be given," In this case, the tunnel ignores the first= -hop destination address, so this works by accident. The -ifp modifier is inten= ded for this usage, but is currently broken. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 13:06:55 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VTL7h6WZbz5JCQC for ; Tue, 30 Apr 2024 13:06:56 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VTL7h2rBfz4YMP for ; Tue, 30 Apr 2024 13:06:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714482416; a=rsa-sha256; cv=none; b=NXNBl8PKQ3N6i2L6yT/5LN0iscTrVHl6seH2xDFZ41huDqqiwK7LxfVas5T0OPqgoPCTjj WHmQu4wv0LHt4IFs14Y9CxlK3geOL4jC8oiiyhjz7TYs0FEMAeE7Mx2ETrDdnzIZGtyxDG Kh1ec89aTx4rS5yHqySVXE/vUYDCvso1ULX4KxwBi+5/gIRTvWS4fAMTvcaXG/29jhBIAf kWxj6/8L4ZepExgs3JDo4r7Rj1W7cgTKu8GIIGBc3CV0NfDEeJfzCCtSGroRlYeAHt0HSB 0z/Q5u99zihvI+VhvAHm3t4xFfuTYOkJFsQkJ7MJhgb5tA+yyr/Wa16fbUH0Xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714482416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q2dkR+W+ebTWH5nj8wuzbS8MtxfdAfLmgbgWNgPxMhU=; b=dsrEAbw146jhb/5Q8nOAyHSchw9hV6ZbGjPTUA+cKKE0SrJC+FBVQIwe5QwJExEDI7wZZq hcGS335nT7pmrdStHt7Y7L0kbGDN7u84CUkq0b6tT0LHyaHeaxBBQ1Izc3eXOVHQuGLztN qpiyr95ODXGY4+CnMEqS1TiJagVVTpki5Djl3mq3icHiQegQYT8bm0mRruiyiSzWBtQtHy pdiOeN8UJBgWZz9urpAXqLCK5WrVf3karFK9EqhTkN6QKKC2TVM6yrgLry1xGFgU/OhCBk +OGxldWWtEPIDeIHUQ4CBaWYeNC8NnZqp2FJr7FjmKnlDjZ3wkL8kGPJLZpReg== 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 4VTL7h2RZMzc69 for ; Tue, 30 Apr 2024 13:06:56 +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 43UD6uhi003165 for ; Tue, 30 Apr 2024 13:06:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43UD6udM003161 for net@FreeBSD.org; Tue, 30 Apr 2024 13:06:56 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 237921] wpi: Memory leak in function wpi_free_tx_ring of sys/dev/wpi/if_wpi.c Date: Tue, 30 Apr 2024 13:06:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237921 Cheng Cui changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cc@FreeBSD.org --- Comment #7 from Cheng Cui --- (In reply to Yusuf Khan from comment #6) wpi -- Intel 3945ABG Wireless LAN IEEE 802.11 driver I would like to help with the patch merge, but I don't have the device to t= est. Yusuf, are you able to help test it? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed May 1 01:07:16 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VTf6t4jfvz5HnFn for ; Wed, 1 May 2024 01:07:18 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VTf6t2wZSz4rhy for ; Wed, 1 May 2024 01:07:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714525638; a=rsa-sha256; cv=none; b=Tv8ZUKJvHKYzG1+ZOcQq9vTkZP1xNWoDe0zdjDno2Shg/HtRbbvlbt4yE9egvWquwumuuU KGCem3NSPzed7pAopetZ8ZIofQ3GPz1/wtbhzDWasjirp3rXqmwbPjb8bA6kH/s1RuQMHY Dc2t5MlA501mznEmhzaiSMY4uS3Ak33UfqoUDZKKD5/K6tVK7kxKLgQFJ4YKXUNin+ydx9 CZz4bipQaXi3UP3R3ggGWsXJZdaWYllCrX5cpkuBHM3gV+R7GD2IHGtMZiOppvlOivZg+a 79szt96fU3fsiA27ct51LdCRBrjvs4Qxt2+4kj8kvKyO1P8+d1UR9zAAScETSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714525638; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sBHJKs8aJ3wv0N8JR1SxZU21m3v7drywSe+BdUblfNI=; b=jr0GUf4bAXPPad4fqYfh0UrXAEgbEL2sXwPc8tiCuDZl8tQWIpA8oTSMfQwuFyxZ3Z6hAk +mrStivRlQ50NCrNaNkpK5xE5C/6frNMfDHZEfvpvef4kAN5i9fdpEDJv1XTMc9i40Psgg RQZ3nnfDQHam+LA/95CSwDOtIX1GY1JlQz/OclFBriSoC1NNSbGA/bkmAxY1xHyZZk1Qvs L9KQy4PHmI+YYjLeiu4TiWS+cmZrGuX9ydbgTw6T1sfnTIeytHLFZSbJsnmvTsfRMKCNk8 vYl3pQq96z7XEswTEN48tUJTvQ5DYsQuuve/50gvDctQN9Ah3fke6pYAbMsBOg== 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 4VTf6t2VP7zx7v for ; Wed, 1 May 2024 01:07:18 +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 44117I9M082753 for ; Wed, 1 May 2024 01:07:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44117IW2082745 for net@FreeBSD.org; Wed, 1 May 2024 01:07:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 278666] [sctp] Heartbeat jittering is not +- anymore Date: Wed, 01 May 2024 01:07:16 +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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278666 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 nobody Wed May 1 06:28:15 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VTnFH6CjNz5JHXY for ; Wed, 1 May 2024 06:28:19 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VTnFH53KTz4MdP for ; Wed, 1 May 2024 06:28:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714544899; a=rsa-sha256; cv=none; b=JAZOo8yPielDmiPQs00Vvdi4zgTsc0F9J8cMFhr7DZw7DpqxT2mtWup7INl7wkSPEKRQIL +R0LxuSlasEGcHUASXimEZPwjxU3VMzc6KIfPNK6RbV9R1c7EL7cNkTXEddL0/wmG2s1oC U8CDYFEltrUIAqcnScQQaen2zj4HrTjb84hrJpYW0z5NpXMUroGCK6HRGSBr6dVm9FlzHM uWZeA9zA7u18h/R8b39oFg/GBrASdK2v1FGnjhnqXgRrz0g9tstPx0Rx1zDJqdKARnnsOX RFGyUWLmg3vffqaasItmnG41SlDfaBu5ZPVBLrXcxLBvxEHjX/FS4/PPWBvHzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714544899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WVryiNRc+A6+IdlfuNhrNyNE6c2V86MhwEWFN6jMq5g=; b=IJ2wWnQuV7vD8l7cftpb9yPzsHl0yQDf8eH8k+WltSuj7/ME9Paok43OiPsUF5U2WGwqk4 uIG7MNm5N3szjcKntjFyptxsULyqz+MkW91Xs/E8vQ2Zk5vWOKoW8q4HrIte2qvR3U+dlQ zrA4jqVfEqjRLk4Ig4qc9Pdbto/Z0AdNykH2Xr4NrDk5ahIPhBDg803WxzHMMNg7TNXAMO y0NLW1JChAmGACJYyM0J8OJyAO2J9SUkurZTbBXPpkf7me2NqzZzEceNF+RA1OsaL1tBbM pQNpVhPpfzA9XQ0E93cjqox/6K672S+22B3cvd77bRgOzttvndK3ggIDW+ugIg== 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 4VTnFH4f27z17Dd for ; Wed, 1 May 2024 06:28:19 +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 4416SJTt062428 for ; Wed, 1 May 2024 06:28:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4416SJLl062425 for net@FreeBSD.org; Wed, 1 May 2024 06:28:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 278666] [sctp] Heartbeat jittering is not +- anymore Date: Wed, 01 May 2024 06:28:15 +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: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278666 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |tuexen@freebsd.org CC| |tuexen@freebsd.org --- Comment #1 from Michael Tuexen --- It is intended to be [-RTO/2, RTO/2]. Let me look into this. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat May 4 10:06:44 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWjy749Wjz5KH6B for ; Sat, 4 May 2024 10:06:55 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [81.187.47.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4VWjy65Dskz4mZN for ; Sat, 4 May 2024 10:06:54 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b=ll63AOsp; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 81.187.47.195 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 26A04A78E for ; Sat, 04 May 2024 10:06:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1714817205; bh=8u06D0CxAP4YU1l4RF8xTn2/ps/vulU0x61ttRoxz3Y=; h=Date:From:To:Subject; b=ll63AOspGkYXwgGAhuBvoxrM3wJ3Fh/5AZDKdmoueekyGwPOKh4d3iMNGXMWY60xB xE4cetirir0Ha2nOF/I6MaGrEDs4KTk8Spzu2L+V6Qc2rYV9LJ177+JiwQN5m3Ik09 Mb+608ltZxaegNlMCAfMHtOu4SZiMK8ld4o17uGs= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 29D0F2C0421 for ; Sat, 04 May 2024 11:06:45 +0100 (BST) Date: Sat, 4 May 2024 11:06:44 +0100 From: Lexi Winter To: net@freebsd.org Subject: IPv6 neighbour solicitations being sent from wrong address? Message-ID: Mail-Followup-To: net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oC6HI6g2bzJqAwSJ" Content-Disposition: inline X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.49 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.995]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:81.187.47.195]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; RCVD_NO_TLS_LAST(0.10)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[le-fay.org:+]; DMARC_NA(0.00)[le-fay.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; MLMMJ_DEST(0.00)[net@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim] X-Rspamd-Queue-Id: 4VWjy65Dskz4mZN --oC6HI6g2bzJqAwSJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi, running: FreeBSD 15.0-CURRENT #35 lf/main-n269047-3466614a5454: Tue Apr 30 03:48:53 BST 2024 srcmastr@daphne.eden.le-fay.org:/src/obj/src/freebsd/lf/main/amd64.amd64/sys/LF i have a host with a single vnet jail. the host has an epair interface: # ifconfig epair0a epair0a: flags=1008843 metric 0 mtu 1500 options=8 ether 020c.2a51.7a0a inet6 fe80::1%epair0a/64 scopeid 0x6 groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=1 the jail has the other end of the epair interface: # ifconfig epair0b epair0b: flags=1008843 metric 0 mtu 1500 options=8 ether 020c.2a51.7a0b inet 185.73.44.139/32 broadcast 185.73.44.139 inet6 fe80::2%epair0b/64 scopeid 0x7 inet6 2001:ba8:4015:ffff::1/128 groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=1 the host has a route to 2001:ba8:4015:ffff::1/128 via the epair interface: Internet6: Destination Gateway Flags Nhop# Mtu Netif Expire 2001:ba8:4015:ffff::1 link#6 UH 22 1500 epair0a looking at tcpdump, it seems like the host is sending ICMP neighbour solicitation over the epair interface from a strange IP address, and the jail ignores the requests until the host sends from fe80::1 instead: 11:03:13.418029 02:0c:2a:51:7a:0a > 02:0c:2a:51:7a:0b, ethertype IPv6 (0x86dd), length 86: 2001:ba8:4015:1::1 > 2001:ba8:4015:ffff::1: ICMP6, neighbor solicitation, who has 2001:ba8:4015:ffff::1, length 32 11:03:14.417986 02:0c:2a:51:7a:0a > 02:0c:2a:51:7a:0b, ethertype IPv6 (0x86dd), length 86: 2001:ba8:4015:1::1 > 2001:ba8:4015:ffff::1: ICMP6, neighbor solicitation, who has 2001:ba8:4015:ffff::1, length 32 11:03:16.527722 02:0c:2a:51:7a:0a > 33:33:ff:00:00:01, ethertype IPv6 (0x86dd), length 86: fe80::1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2001:ba8:4015:ffff::1, length 32 11:03:16.527746 02:0c:2a:51:7a:0b > 02:0c:2a:51:7a:0a, ethertype IPv6 (0x86dd), length 86: fe80::2 > fe80::1: ICMP6, neighbor advertisement, tgt is 2001:ba8:4015:ffff::1, length 32 2001:ba8:4015:1::1 is configured on a different interface on the host, xn0. is this expected behaviour? i would have expected the host to send these from the IP addressed configured on the relevant interface, which is fe80::1. --oC6HI6g2bzJqAwSJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmY2CLEACgkQDHqbqZ41 x5mT5gv/c0o3i6wVcGczqGl0nb/b9OVUDnr9tbsZquxFazYx8htxHefrvqkUJNTi 8e04fDBk3qsbGZlc1wR1qPqRMHtHtRH5+4PKBKHCWohvhcVQWSZo6X7ygt9WXtWb mIGoT4MI7LO8Or7hPwbqs6vRMB2X1nklbavG3O7tOh6gZWdGn4TC1u0mkmF0Zizz +vMbeDwBWusIY4pKNemWS7gWHfn7CZ1ZsmRn97vphMC4k4M2aHB762KLwJW841Tb /PM9MSUczLUYUlmP295v3S9kHCiVAi9buWCjPIx4t68QdurtGmJv9BaAmiowB3VX mYQDOyGUiQGrkcQdTGgb6ayAiOmXvreri+cbR4o4Ei5bV7TgChFI3DbOVZYeO58H obLolOSg6OrrAw+2I45oR0HJaAqBsGPafON0OyBJnPGpFVhfE9JBroMv/KoP2cEy 5ETXxNaqUxMrHQ+lKOOUjBm21Ii2P/vhPrc5wR7NQt6Oc3TJvn3BwWxr9oEzzQRV DJMzbJhV =GE8S -----END PGP SIGNATURE----- --oC6HI6g2bzJqAwSJ-- From nobody Sat May 4 10:59:30 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWl6q6LXvz5KLhW for ; Sat, 4 May 2024 10:59: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VWl6q5D7hz4rWT for ; Sat, 4 May 2024 10:59:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714820371; a=rsa-sha256; cv=none; b=Uyy40MsgxiXzG0KRV/41HLQmifnEBrEvUir7qtxhBfIEV5jn5CDoY01kAK/tkI8CgtYDvU p4H3Fh2+6rcOD4VN9SRprX/YyQhorjwqGzELw5+F6JGgbOttjG9agzg0OzQyN7KqTBoUJ/ vNVU6HnY5h3Xbq0W3/edBhGYLCUOGWKO3yD6U2U5CLara016N7wcpiL8+/QtQq7fhauBzr 4ReAjkE3iTU0bK1Buhf/o3+bWiL5xv7mQQiGaTve9PkpOGO7MhweHTmPBtAVFLnVIX43QY hyC0u+6A0xqq9Bviitmh7uuu4UyQ50A57w/paUvuzHprzDuo3GsklIczL7cVbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714820371; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y4SIAF+OmYXAbbT8Gzq8oWcSxnqoP8Ig3lPRkXmHf4g=; b=iCYgCOHDkGgh7rsMdtYwl5KLTDV+XsSGLof2fuNMWmBLHGxejoaYufmpthTlwoz3C8jJ97 Q3GuYS11B3m4QM0kf5CXCZPw1QnCEkhCKDovUvnlD+n1ik9W+zCuq7WvM0SjQ9lZX0HP1i ZTEr2i2h20wyBfJfLfeDhV/G9wbgxa0DRoXFj6rd97H46xhWtKGszrlCdeK9sBYh7jQL26 oVYpvxanZXZSQ012Gt+4w7DUgqEXJ4VbQF0ijQt6EcoObTFL5K1eI9LSWvOvuCE9+B6yX1 ENH+W6oWH1jDD+I56N2mnyJ2AKdVkZU8wqDL4ahHDWlav9rauPNAiig7+JWovA== 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 4VWl6q4VhCzRlG for ; Sat, 4 May 2024 10:59:31 +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 444AxVdX089117 for ; Sat, 4 May 2024 10:59:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 444AxVk1089116 for net@FreeBSD.org; Sat, 4 May 2024 10:59:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 271366] Invoking IPv6 network device address event may sleep with the following non-sleepable locks held Date: Sat, 04 May 2024 10:59:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rbranco@suse.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271366 Ricardo Branco changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbranco@suse.com --- Comment #3 from Ricardo Branco --- Same here on QEMU VM: Invoking IPv6 network device address event may sleep with the following non-sleepable locks held: exclusive sleep mutex vtnet0-rx0 (vtnet0-rx0) r =3D 0 (0xfffff80002988600) = locked @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2212 stack backtrace: #0 0xffffffff804a587c at witness_debugger+0x6c #1 0xffffffff804a6a59 at witness_warn+0x3e9 #2 0xffffffff805d1f41 at in6_update_ifa+0xc81 #3 0xffffffff805fd6cf at in6_ifadd+0x1ef #4 0xffffffff805f9db0 at nd6_ra_input+0x1030 #5 0xffffffff805cbbba at icmp6_input+0x5ea #6 0xffffffff805e4241 at ip6_input+0xd41 #7 0xffffffff805618fd at netisr_dispatch_src+0xad #8 0xffffffff8055bf9a at ether_demux+0x16a #9 0xffffffff8055d67a at ether_nh_input+0x3ea #10 0xffffffff805618fd at netisr_dispatch_src+0xad #11 0xffffffff8055c3f5 at ether_input+0xe5 #12 0xffffffff8035b594 at vtnet_rx_vq_process+0x7b4 #13 0xffffffff803f5b16 at ithread_loop+0x266 #14 0xffffffff803f1f32 at fork_exit+0x82 #15 0xffffffff80724a4e at fork_trampoline+0xe lock order reversal: (sleepable after non-sleepable) 1st 0xfffff80002988600 vtnet0-rx0 (vtnet0-rx0, sleep mutex) @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2212 2nd 0xffffffff80faf7c8 in6_multi_sx (in6_multi_sx, sx) @ /usr/src/sys/netinet6/in6_mcast.c:1217 lock order vtnet0-rx0 -> in6_multi_sx attempted at: #0 0xffffffff804a544b at witness_checkorder+0xb7b #1 0xffffffff8043e2ed at _sx_xlock+0x5d #2 0xffffffff805d9001 at in6_joingroup+0x31 #3 0xffffffff805d22f4 at in6_update_ifa+0x1034 #4 0xffffffff805fd6cf at in6_ifadd+0x1ef #5 0xffffffff805f9db0 at nd6_ra_input+0x1030 #6 0xffffffff805cbbba at icmp6_input+0x5ea #7 0xffffffff805e4241 at ip6_input+0xd41 #8 0xffffffff805618fd at netisr_dispatch_src+0xad #9 0xffffffff8055bf9a at ether_demux+0x16a #10 0xffffffff8055d67a at ether_nh_input+0x3ea #11 0xffffffff805618fd at netisr_dispatch_src+0xad #12 0xffffffff8055c3f5 at ether_input+0xe5 #13 0xffffffff8035b594 at vtnet_rx_vq_process+0x7b4 #14 0xffffffff803f5b16 at ithread_loop+0x266 #15 0xffffffff803f1f32 at fork_exit+0x82 #16 0xffffffff80724a4e at fork_trampoline+0xe pflog0: promiscuous mode enabled --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat May 4 11:38:18 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWlzZ5Tgkz5KQ7Q for ; Sat, 4 May 2024 11:38:18 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VWlzZ3Vpmz4vlF for ; Sat, 4 May 2024 11:38:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714822698; a=rsa-sha256; cv=none; b=wEKeQwjdCLhdmIeN0iQI74iqA+RIk7/CPUXTmsw1aljXSvFYA9DPRPc2ro9Dk/QNCVL3pt nFPZ00i+ZFTj0BtFJ3R7CGo5WCAvN9yHx87TD5Q23hJNnfNAcZujzIOeIH+Og9Ti21Wa5L TJR6kltgKKS6v2cp03M3ZyRDIUWobpdubNHRPTFaYFQFe86HR0QlbKrEHNAHhoeLTQ/6x7 319OZVSVo/8CDNkdRoLmLhfPkc74MsM08x8pfpDZiw/C0RKXtcH8PoSAsJshgCdrVSgWZ2 CTLfLFiKD44R1tW/77WaxaXDwbxGf/vnHkg39coo7pL7wlAUY3AZIEnxAA3w4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714822698; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B/tvMLv/+yPYMwwrqKWQDKn6UyBlZQKntG0zEWVp1VM=; b=iZlqwBskS769WQ1gYSk3TTQVfGl7y8WfXCYmQSIGk/PY/kAmmrkZVH84FtbjEV/yy9WMeR O8H7uf7CwL82Sq+d93w8W1lxOBUjF8if/788Z9JdvHVxDYehmaklqZaMTDYlmd1adB172y UuAnwHUU4HrZCMkyFVgNT1OR+6EqmkaRt3SuO9Y6ONg17uUJU4jjqfDSDxdlOq3ray9Xx2 NUZWIF5DWH7atwO9i9Zs3oIMdFT/Az/2Dze8I/uCvv8k9uMvABVu76puW814bczWI+L3FM 0rpZI7LyKaCzU1eVh+CxM0+EHhkjRqoFt9p//7qL8LnYJgky1POCmtWw3mqAIw== 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 4VWlzZ2xPqzSWD for ; Sat, 4 May 2024 11:38:18 +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 444BcIOg002617 for ; Sat, 4 May 2024 11:38:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 444BcIi1002616 for net@FreeBSD.org; Sat, 4 May 2024 11:38:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253888] exclusive sleep mutex vtnet0-rx0 (vtnet0-rx0) r = 0 (0xfffff800035d4780) locked Date: Sat, 04 May 2024 11:38:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rbranco@suse.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: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253888 Ricardo Branco changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbranco@suse.com --- Comment #6 from Ricardo Branco --- Perhaps related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D2713= 66 ? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat May 4 15:34:03 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWsCg51Vdz5J2KT; Sat, 4 May 2024 15:34:07 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [IPv6:2001:8b0:aab5:107::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4VWsCf07FSz4YJ2; Sat, 4 May 2024 15:34:06 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b=JGFD0lOw; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 2001:8b0:aab5:107::11 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 223AFA7A9; Sat, 04 May 2024 15:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1714836844; bh=T27hUvi9TYpOX3x/thS7tDahhyH1NFoECU8kdTvdcc0=; h=Date:From:To:Cc:Subject; b=JGFD0lOw8PlsAV10RmJew69sySAPq2sYx2gJZl8n83IYk6PbQGPl85UyVWXTY/soa nOz6juc/ILlcoLqSKs32o5CpPbZ8q6JAem+mPt0lSNk3Z/2XPv5z+F7U583206Z+lA 1zppXGkV4S/ZwP2izD/2Wc8kt9fW4bm9W0ssGMMM= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 5488D2C0421; Sat, 04 May 2024 16:34:04 +0100 (BST) Date: Sat, 4 May 2024 16:34:03 +0100 From: Lexi Winter To: arch@freebsd.org Cc: net@freebsd.org Subject: review request: changing the default ifconfig(8) address format to CIDR Message-ID: Mail-Followup-To: arch@freebsd.org, net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="atEjnsVICxrcF9zt" Content-Disposition: inline X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2001:8b0:aab5:107::11]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; RCVD_NO_TLS_LAST(0.10)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; ARC_NA(0.00)[]; DMARC_NA(0.00)[le-fay.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[arch@freebsd.org,net@freebsd.org]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4VWsCf07FSz4YJ2 --atEjnsVICxrcF9zt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi, i've just submitted this PR: https://github.com/freebsd/freebsd-src/pull/1216 which contains this commit: commit 57d273c90ee1c17446236aba25ed0bd291c4f126 (HEAD -> lf/main, hemlock/lf/main) Author: Lexi Winter Date: Sat May 4 16:11:21 2024 +0100 ifconfig(8): change default IP address format to 'cidr' 'netmasks' haven't been used in IP networking for decades. Change the default address format for both IPv4 and IPv6 addreses in ifconfig(8) to 'cidr', which prints addreses in the format most users will be more familiar with. The previous format is still available using -finet:hex or -finet6:numeric. imp@ suggested i should ask arch@ and net@ about this, so here i am! i understand there might be some backward-compat concerns with scripting here, but it's well past time this change was made, and anyone who really can't update their scripts can use ifconfig -f or $IFCONFIG_FORMAT to retain the old behaviour. --atEjnsVICxrcF9zt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmY2VWgACgkQDHqbqZ41 x5lJsgv8DYjMU6b/tyS5c4pKQnHQNvo9HuvHxZ5u0wj6ixPDyQl7zavO6VUEniEG f5vp1JEtYFDpdsBgwY5d8zBMDbJpudohcuEuqIotE6MFefYhDZRoCxewogb0HWXn V0leN/WcpURxctXppL/uH16Lbt2UL/GGfwX5YJqWqW+zzCWdDD+oyECFqljMhDGN B5Nqmgx0QvzU+nDUf0poNm2uCZYB5IIoOxbokC6nqD0edhOg3WWZqI4RHagcfAle bTHzq5ph+Az9b8iIB1N2vrSbWQj8sgoxew2BXbV6jccR4O8J/eqQppONAykqnSHZ OZennSeHJGLtCvm1BVIavTLoLwCQWkKsizV9k7yskETurg+n8K3qYTnYaAMr/utB qZ95ZR3xnvzUVjfOtPxKRS9CL41bQHqawGxBTIwAv+hD+s58U+wym87uhUT3xtXy UBctmped9iTBU7sBBiDbwaJoc0vFSoSEaYnsqkCr0VuloU5lX0CrLubehHqm9KqR 6R4U2LOV =j6VJ -----END PGP SIGNATURE----- --atEjnsVICxrcF9zt-- From nobody Sat May 4 18:52:58 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWxds4zt6z5JNNm for ; Sat, 4 May 2024 18:53:37 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VWxdr4mxKz43v3 for ; Sat, 4 May 2024 18:53:36 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=XcOiQq4J; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-61f2dc31be4so836745a12.1 for ; Sat, 04 May 2024 11:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714848815; x=1715453615; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=X54nZ6xbIkPS3QjzoOM2IHJ8jVPRmYOHMrt52vlnAX0=; b=XcOiQq4J9D2w952MKjfebaBBYF3m5C/RJ2jVOpM6IpHT2Pwx4V2qAj/vUpO1nYgfiX Nbq62UvNaiAHz03TLmvTRdgbEdqqJLdSpN6H5/xWAuFzLXj+K81jdW5W6JZcsbQ4BWq9 3SzQn95QKLfjKaPUPFm2QnssalqIic6wMvMUk1sXa+NBC0YAM21I04av7TFuhqMoZqPD seWsm8JpwD0VTa/YTi1dQpv8NZcNvlhXiT4m6JlYxU4qaXk3+EpLT8RJK0X5+fhOQeoJ 4K+UVxrHGIRE/6LCEe/iMn5eS1wvWFoUU/e/SEoDcIzJUn/IluTjEGgNmESfow7QEw7L Oacg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714848815; x=1715453615; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=X54nZ6xbIkPS3QjzoOM2IHJ8jVPRmYOHMrt52vlnAX0=; b=D/Zeud77OEFM+cbSlvWMDbMOTuUfCKKgmfXrgwPtnBIbK0Aq1VjAYTGVgDMwYAhYrk 3ZuWv5GKbAl+4/KPk9rsv/s0uVaYAGgWjri+zNWIqHtQ7HS/cOM8rrG+g2DvzHtgon1/ tPlcLMZii2bw9r6W5YLdY0wn95hwkfdrbb/g86HgypIGkc3kJ/nW/Dn7f0lQsKUUDFf3 slb0riMvv1QXw1X3RsWV1bgJpn0KVXMLD3ysHLG9CsjxudNudcR+Mupris6vOeS4i1Rm A/x0o/XsjruuR1kFvW8HsN9zzN7S/xoEPkbtQTArz5dg2OZo5FJJEV42Ky84XbTiE+BL ceEw== X-Gm-Message-State: AOJu0YyLv7Uj+vGw69sQcvtCLAB+vna0HagZh0Ng7dUPLwzt8u90VV5c 8BItTivx0/0T461Kf1OX/ycu1m7pycf+KRlMjRyNSdsaWmVFarQt1iTMkHp0hRriBPcJaFoHLBq 5sy93KRPI8rdPk+0ZMLktXMe1PbtiauvdfiNtboGT X-Google-Smtp-Source: AGHT+IHB8RyBKhlEUS6BogbMTHw1YQOiawchSwV1PGJKutKnC060SzH49CQwkZXlVtkJ1hIBNS2s6yjjst/gndESc2Q= X-Received: by 2002:a17:90a:fb52:b0:2a2:f4f4:2c4a with SMTP id iq18-20020a17090afb5200b002a2f4f42c4amr12892089pjb.21.1714848814459; Sat, 04 May 2024 11:53:34 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 From: Mario Marietto Date: Sat, 4 May 2024 20:52:58 +0200 Message-ID: Subject: How to configure the networking on FreeBSD to assign the same IP between host and guest in order to make work CloudFlare Warp on FreeBSD To: "freebsd-net@FreeBSD.org" Content-Type: multipart/alternative; boundary="0000000000006df51d0617a55aa0" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.61 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.61)[-0.614]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_EQ_ADDR_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::531:from] X-Rspamd-Queue-Id: 4VWxdr4mxKz43v3 --0000000000006df51d0617a55aa0 Content-Type: text/plain; charset="UTF-8" Hello. I've just installed the CloudFlare client + GUI on Ubuntu,that I have virtualized with bhyve. Cloudflare does not work on FreeBSD. The instructions that I have followed are located here : https://youtu.be/4JuOUjCSj44 Installing it in this way,it will run only on the IP assigned to Ubuntu inside the VM. For me the IP of FreeBSD is different from the IP assigned to Ubuntu. Configured in this way it's not useful. I want Cloudflare to take the IP address of FreeBSD. To achieve this goal,I should change my network configuration,in a way that I use the same IP for FreeBSD and Ubuntu. That's what I want to do,but I don't know how to do it. But I'm sure that I will be able to do it if someone can give me some advice. I can explain how I have configured my network,so you can explain what I should change to have the same IP. For example,to boot Ubuntu with bhyve,I use the following parameter : -s 13,virtio-net,tap19 \ /etc/rc.conf : ifconfig_em0="DHCP" local_unbound_enable="YES" cloned_interfaces="bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 tap8 tap9 tap10 tap11 tap12 tap13 tap14 tap15 tap16 tap17 tap18 tap19 tap20 em0" ifconfig_bridge0="addm em0 addm tap0 addm tap1 addm tap2 addm tap3 addm tap4 addm tap5 addm tap6 addm tap7 addm tap8 addm tap9 addm tap10 addm tap11 addm tap12 addm tap13 addm tap14 addm tap15 addm tap16 addm tap17 addm tap18 addm tap19 addm tap20" /boot/loader.conf if_tap_load="YES" if_bridge_load="YES" bridgestp_load="YES" /etc/sysctl.conf net.link.tap.up_on_open=1 net.inet.ip.forwarding=1 net.inet.ip.random_id=1 So,ok. I think you have understood what I want to do. Please help me. Thanks. -- Mario. --0000000000006df51d0617a55aa0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

I've just installed the CloudFlare client + GUI on Ubuntu,that I have= =20 virtualized with bhyve. Cloudflare does not work on FreeBSD. The=20 instructions that I have followed are located here :

https://youtu.be/4JuOUjCSj44

=

I want Cloudflare to take the IP address of FreeBSD.

To achieve this goal,I should change my network configuration,in a way that= I use the same IP for FreeBSD and Ubuntu.

That's what I want to do,but I don't know= how to do it. But I'm sure=20 that I will be able to do it if someone can give me some advice.
=

I can explain how I have configured my network,so you can explain what I sh= ould change to have the same IP.

For example,to boot Ubuntu with bhyve,I use the following parameter :

=09 =09
=09
-s 13,virtio-net,tap19 =
\

/etc/rc.conf :
=09 =09
=09
ifconfig_em0=3D"DH=
CP"
local_unbound_enable=3D"YES"
cloned_interfaces=3D"bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 t=
ap8 tap9 tap10 tap11 tap12 tap13 tap14 tap15 tap16 tap17 tap18 tap19 tap20 =
em0"
ifconfig_bridge0=3D"addm em0 addm tap0 addm tap1 addm tap2 addm tap3 a=
ddm tap4 addm tap5 addm tap6 addm tap7 addm tap8 addm tap9 addm tap10 addm =
tap11 addm tap12 addm tap13 addm tap14 addm tap15 addm tap16 addm tap17 add=
m tap18 addm tap19 addm tap20"

/boot/loader.conf
=09 =09
=09
if_tap_load=3D"YES=
"
if_bridge_load=3D"YES"
bridgestp_load=3D"YES"

/etc/sysctl.conf
=09 =09
=09
net.link.tap.up_on_open=
=3D1
net.inet.ip.forwarding=3D1
net.inet.ip.random_id=3D1

So,ok. I think you have understood what I want to do. Please help me. Thank= s.

--
Mario= .
--0000000000006df51d0617a55aa0-- From nobody Sat May 4 19:22:00 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWyGs1N42z5JRCx for ; Sat, 4 May 2024 19:22:13 +0000 (UTC) (envelope-from apoorv.99.sachan@gmail.com) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VWyGr4PPWz47jd for ; Sat, 4 May 2024 19:22:12 +0000 (UTC) (envelope-from apoorv.99.sachan@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-79291262dc2so39284885a.2 for ; Sat, 04 May 2024 12:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714850531; x=1715455331; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FIGWjL9vwp5eb1nOF+Z43EbKhGCERevbJsaFaXhEo9s=; b=k80cvzq9uJGwQonvtkzigHBGPRUYo9wJEFxtotLki75RSsqA006WEWOwfRhr+zvs7X lDwqT6MZ34zttxRroHiFOPGWZV97mScZofnfaMShsLHlLA1YvefzEV0+kCqc5OHvXXMM bU44+og9QA16mrOVAlN2j0n9gXo85l7gQ+DvT7gXqlVqH5eZlHzfKNb0ENUAe3rEjd7N pMw9qB7u44aez7UHayWQ2LRgh2OCRLA+WjuzQq5EZFiUE4n9xQ++tHsclkzERDbdDbV/ AGFJWfcbhqxgyR8iLiOMDL5NMnJTahiLBK1eQ1Dadv7P/ZbAs76JdL88rsTHZcgDSFvG XQLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714850531; x=1715455331; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FIGWjL9vwp5eb1nOF+Z43EbKhGCERevbJsaFaXhEo9s=; b=m5Ra939MDZU9QC5nMVOQw0cqoGVHPgM/taGHJCDrz8ck/TnTbeblpIKaUSb806usZj fbyzGpOgxPzf4SoBp166QajjNIUNJbnXZOM17n7yoq0MlcQ6cVXg+CjPrlVdQVyaAM+3 oas8lz7Vin442n42wsj1T0FYXesTIiDIBT4iXnvXCYkR1jtb04qjHzJR5lv3QKYo2F8b gmoTILstW4FABieny1OoOMHZbcp1K6/nzpa1ngldYFkl+ha5Z/Sn7wD+kCrcS2/Ovw95 uoRlT0yPsO75ay9TU8P1dWi0wQRJ9CV5ZD1JJpEwwSKuYaIERYnK6X/9QCb1HghCBH1f eiag== X-Gm-Message-State: AOJu0YwZd8MdLV1g8XgHtKxlyMfkjnzUe5ZjP2f5K3CNvdXTnacNEb+c Iqwl7xrNPgyBu9ycLFT2dGqUC+fCL8sgBtkpQiU65n0D+PIcgle0/ZdwYen5c1pA13K1DRi7U7p IwJ3qRFu4oQrV6qLThbIUgwdIfCw= X-Google-Smtp-Source: AGHT+IEOi5cfkWgNKyqubIARM48kXXeEQyvi9J/e37ltVCgqCOTU3ll2ikWa4vgL0vQz6+qYrk2t6d0/ujdBq3GZl5c= X-Received: by 2002:a05:6214:c84:b0:6a0:6167:9eab with SMTP id r4-20020a0562140c8400b006a061679eabmr8850964qvr.16.1714850531468; Sat, 04 May 2024 12:22:11 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Apoorv Sachan Date: Sun, 5 May 2024 00:52:00 +0530 Message-ID: Subject: Re: How to configure the networking on FreeBSD to assign the same IP between host and guest in order to make work CloudFlare Warp on FreeBSD To: Mario Marietto Cc: "freebsd-net@FreeBSD.org" Content-Type: multipart/alternative; boundary="000000000000c56cba0617a5c01a" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4VWyGr4PPWz47jd --000000000000c56cba0617a5c01a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Mario You can set the ip if the Ubuntu machine as the default route on the freeBSD host. This will take all the traffic oroginating in freeBSD host through the warp-tunnel. And configure a DNAT iptables rule in the Ubuntu machine to return the traffic back to freeBSD machine. This way you could utilise the warp-cloud flare tunnel from the freeBSD host even though it runs on the Ubuntu guest. And both have different IPs. On Sun, 5 May 2024 at 12:23=E2=80=AFAM, Mario Marietto wrote: > Hello. > > I've just installed the CloudFlare client + GUI on Ubuntu,that I have > virtualized with bhyve. Cloudflare does not work on FreeBSD. The > instructions that I have followed are located here : > > https://youtu.be/4JuOUjCSj44 > > Installing it in this way,it will run only on the IP assigned to Ubuntu > inside the VM. For me the IP of FreeBSD is different from the IP assigned > to Ubuntu. Configured in this way it's not useful. > > I want Cloudflare to take the IP address of FreeBSD. > > To achieve this goal,I should change my network configuration,in a way > that I use the same IP for FreeBSD and Ubuntu. > > That's what I want to do,but I don't know how to do it. But I'm sure that > I will be able to do it if someone can give me some advice. > > I can explain how I have configured my network,so you can explain what I > should change to have the same IP. > > For example,to boot Ubuntu with bhyve,I use the following parameter : > > -s 13,virtio-net,tap19 \ > > > /etc/rc.conf : > > ifconfig_em0=3D"DHCP" > local_unbound_enable=3D"YES" > cloned_interfaces=3D"bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 tap8= tap9 tap10 tap11 tap12 tap13 tap14 tap15 tap16 tap17 tap18 tap19 tap20 em0= " > ifconfig_bridge0=3D"addm em0 addm tap0 addm tap1 addm tap2 addm tap3 addm= tap4 addm tap5 addm tap6 addm tap7 addm tap8 addm tap9 addm tap10 addm tap= 11 addm tap12 addm tap13 addm tap14 addm tap15 addm tap16 addm tap17 addm t= ap18 addm tap19 addm tap20" > > > /boot/loader.conf > > if_tap_load=3D"YES" > if_bridge_load=3D"YES" > bridgestp_load=3D"YES" > > > /etc/sysctl.conf > > net.link.tap.up_on_open=3D1 > net.inet.ip.forwarding=3D1 > net.inet.ip.random_id=3D1 > > > So,ok. I think you have understood what I want to do. Please help me. > Thanks. > > -- > Mario > --000000000000c56cba0617a5c01a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Mario=C2=A0

You can set the ip if the Ubuntu machine as the default route on = the freeBSD host.=C2=A0
This will take all the traff= ic oroginating in freeBSD host through the warp-tunnel.

And configure a DNAT iptables rule in the U= buntu machine to return the traffic back to freeBSD machine.=C2=A0

This way you could utilise the w= arp-cloud flare tunnel from the freeBSD host even though it runs on the Ubu= ntu guest. And both have different IPs.

Hello.

I've just installed the CloudFlare client + GUI on Ubuntu,that I have= =20 virtualized with bhyve. Cloudflare does not work on FreeBSD. The=20 instructions that I have followed are located here :

https://youtu= .be/4JuOUjCSj44

Installing it in this way,it w= ill run only on the IP assigned to Ubuntu=20 inside the VM. For me the IP of FreeBSD is different from the IP=20 assigned to Ubuntu. Configured in this way it's not useful.=C2=A0
=

I want Cloudflare to take the IP address of FreeBSD.

To achieve this goal,I should change my network configuration,in a way that= I use the same IP for FreeBSD and Ubuntu.

That's what I want to do,but I don't know= how to do it. But I'm sure=20 that I will be able to do it if someone can give me some advice.
=

I can explain how I have configured my network,so you can explain what I sh= ould change to have the same IP.

For example,to boot Ubuntu with bhyve,I use the following parameter :

=09 =09
=09
-s 13,virtio-net,tap19 \

/etc/rc.conf :
=09 =09
=09
ifconfig_em0=3D"DHCP"
local_unbound_enable=3D"YES"
cloned_interfaces=3D"bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 t=
ap8 tap9 tap10 tap11 tap12 tap13 tap14 tap15 tap16 tap17 tap18 tap19 tap20 =
em0"
ifconfig_bridge0=3D"addm em0 addm tap0 addm tap1 addm tap2 addm tap3 a=
ddm tap4 addm tap5 addm tap6 addm tap7 addm tap8 addm tap9 addm tap10 addm =
tap11 addm tap12 addm tap13 addm tap14 addm tap15 addm tap16 addm tap17 add=
m tap18 addm tap19 addm tap20"

/boot/loader.conf
=09 =09
=09
if_tap_load=3D"YES"
if_bridge_load=3D"YES"
bridgestp_load=3D"YES"

/etc/sysctl.conf
=09 =09
=09
net.link.tap.up_on_open=3D1
net.inet.ip.forwarding=3D1
net.inet.ip.random_id=3D1

So,ok. I think you have understood what I want to do. Please help me. Thank= s.

-= -
Mario
--000000000000c56cba0617a5c01a-- From nobody Sat May 4 19:29:52 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWySR6D68z5JRkN for ; Sat, 4 May 2024 19:30:31 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VWySQ6kxpz49lB for ; Sat, 4 May 2024 19:30:30 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b="IYt/ZcJ0"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::52c as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-53fa455cd94so551453a12.2 for ; Sat, 04 May 2024 12:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714851029; x=1715455829; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=R6j/RWb/+sHcegdIVpdQXgx9Wa9+I/L46P8k7GrPMJs=; b=IYt/ZcJ0byW7H2F58ZU4gpb23QR+PJfQk+BRWmSDdaFlIqnnCsEPwUx5S5a5Y3wytM lx7i3MA8fBAtY5HiKpFTNx3kN5GcEBUmAb8TEb78UJVLidDdUTSLs/PWWeKJp9Rai1ap zy+61ONKO3qudAMlPT4BY0eNH0H9eG1PTeTsjKQe2yTdULNkOP05TFI2dka6loIZMxrG e3ysEdV782a7djVdr9koebZSlF+WJNM2108csvDVypvJa/R9DvEioIPOUtknGYE57str vO8z9726Ywi5a3NFu4sqAUQeIq7LRmgu8DtasezcSKoW/bD1zTSEPCKsvCkZ4nAoYx6C EYcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714851029; x=1715455829; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=R6j/RWb/+sHcegdIVpdQXgx9Wa9+I/L46P8k7GrPMJs=; b=pGFOe4KDL7fNfJwMOXIqa9hmJWaBoGbFarUF/zWyBEO09ZuPMgnT0YLKIXB3AwaAK1 47xN6mF9RBK86fZLZP13u8ZZK3lQU8M3IgTMgjs8Mud4U4I1IXrmUPOLp2I8BXQeN2e/ 5NZIX3vI9OcS0ONkXdupG24zYAYxXvpPvc5+57uy7MHvBbJBdyVVC3IN5BTwb4hsvbON tsSjouORBj0Hy5EXeiqEu+flbAeE1FSnMwoXocUVbSFibMeLPIJ1492l8+cOFXIM0GeN xsqrH77WUVVwtzceJsne644pXElJ8dSxHC/uWc1RyF3mC1dXx3oPslI+EeyVjavN9cRR vyWg== X-Gm-Message-State: AOJu0YxEql6x8Mew0sQ44Q7F5rvCIoDD9z2aQpDAytsJmhxsd/Pv5/4J G/DIBQMKl36LAzZGT5UFMxFw2DENFsBFAC8D3KUy/mWLY3h6pUgxaQgB9KkVC9+1rAwG5/C88u8 yXR3YHt4KMwIOzNRIwCplv6yXvA/SqrSBdFAOnDTR X-Google-Smtp-Source: AGHT+IGuThfY/SqbV/GI4JLqVfDEO/8qHavC8573RUWehRr6ym7coYZZTXBALIYkZ7LzAmkopniyqcXSKoYWJFUwm1s= X-Received: by 2002:a05:6a21:33a6:b0:1ac:4272:5f88 with SMTP id yy38-20020a056a2133a600b001ac42725f88mr6890900pzb.17.1714851029127; Sat, 04 May 2024 12:30:29 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Sat, 4 May 2024 21:29:52 +0200 Message-ID: Subject: Re: How to configure the networking on FreeBSD to assign the same IP between host and guest in order to make work CloudFlare Warp on FreeBSD To: Apoorv Sachan Cc: "freebsd-net@FreeBSD.org" Content-Type: multipart/alternative; boundary="0000000000006f1f600617a5de8c" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.53 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.53)[-0.530]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::52c:from] X-Rspamd-Queue-Id: 4VWySQ6kxpz49lB --0000000000006f1f600617a5de8c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So. Please help me further... Let's say that the IP number assigned to Ubuntu is 192.168.1.9,on FreeBSD I do : /etc/rc.conf : defaultrouter=3D"192.168.1.9" ? even if the VM starts after the booting of FreeBSD ? About configuring the DNAT iptables rule I have no idea. Please help me to understand how to do it. On Sat, May 4, 2024 at 9:22=E2=80=AFPM Apoorv Sachan wrote: > Hi Mario > > You can set the ip if the Ubuntu machine as the default route on the > freeBSD host. > This will take all the traffic oroginating in freeBSD host through the > warp-tunnel. > > And configure a DNAT iptables rule in the Ubuntu machine to return the > traffic back to freeBSD machine. > > This way you could utilise the warp-cloud flare tunnel from the freeBSD > host even though it runs on the Ubuntu guest. And both have different IPs= . > > On Sun, 5 May 2024 at 12:23=E2=80=AFAM, Mario Marietto > wrote: > >> Hello. >> >> I've just installed the CloudFlare client + GUI on Ubuntu,that I have >> virtualized with bhyve. Cloudflare does not work on FreeBSD. The >> instructions that I have followed are located here : >> >> https://youtu.be/4JuOUjCSj44 >> >> Installing it in this way,it will run only on the IP assigned to Ubuntu >> inside the VM. For me the IP of FreeBSD is different from the IP assigne= d >> to Ubuntu. Configured in this way it's not useful. >> >> I want Cloudflare to take the IP address of FreeBSD. >> >> To achieve this goal,I should change my network configuration,in a way >> that I use the same IP for FreeBSD and Ubuntu. >> >> That's what I want to do,but I don't know how to do it. But I'm sure tha= t >> I will be able to do it if someone can give me some advice. >> >> I can explain how I have configured my network,so you can explain what I >> should change to have the same IP. >> >> For example,to boot Ubuntu with bhyve,I use the following parameter : >> >> -s 13,virtio-net,tap19 \ >> >> >> /etc/rc.conf : >> >> ifconfig_em0=3D"DHCP" >> local_unbound_enable=3D"YES" >> cloned_interfaces=3D"bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 tap= 8 tap9 tap10 tap11 tap12 tap13 tap14 tap15 tap16 tap17 tap18 tap19 tap20 em= 0" >> ifconfig_bridge0=3D"addm em0 addm tap0 addm tap1 addm tap2 addm tap3 add= m tap4 addm tap5 addm tap6 addm tap7 addm tap8 addm tap9 addm tap10 addm ta= p11 addm tap12 addm tap13 addm tap14 addm tap15 addm tap16 addm tap17 addm = tap18 addm tap19 addm tap20" >> >> >> /boot/loader.conf >> >> if_tap_load=3D"YES" >> if_bridge_load=3D"YES" >> bridgestp_load=3D"YES" >> >> >> /etc/sysctl.conf >> >> net.link.tap.up_on_open=3D1 >> net.inet.ip.forwarding=3D1 >> net.inet.ip.random_id=3D1 >> >> >> So,ok. I think you have understood what I want to do. Please help me. >> Thanks. >> >> -- >> Mario >> > --=20 Mario. --0000000000006f1f600617a5de8c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So. Please help me further...

Let's say that the IP number assigned to Ubuntu is 192.168.1.9,on Fre= eBSD I do :

/etc/rc.conf :

defaultrouter=3D"192.168.1.9"

? even i= f the VM starts after the booting of FreeBSD ?

About configuring the DNAT iptables rule I have no idea. Please help me t= o understand how to do it.

<= div dir=3D"ltr" class=3D"gmail_attr">On Sat, May 4, 2024 at 9:22=E2=80=AFPM= Apoorv Sachan <apoorv.99.= sachan@gmail.com> wrote:
Hi Mario=C2=A0
You can set the ip if the Ubuntu machine as the de= fault route on the freeBSD host.=C2=A0
This will tak= e all the traffic oroginating in freeBSD host through the warp-tunnel.

And configure a DNAT iptable= s rule in the Ubuntu machine to return the traffic back to freeBSD machine.= =C2=A0

This way you coul= d utilise the warp-cloud flare tunnel from the freeBSD host even though it = runs on the Ubuntu guest. And both have different IPs.

On Sun, 5 May 20= 24 at 12:23=E2=80=AFAM, Mario Marietto <marietto2008@gmail.com> wrote:
=
Hello.
I've just installed the CloudFlare client + GUI on Ubuntu,that I have= =20 virtualized with bhyve. Cloudflare does not work on FreeBSD. The=20 instructions that I have followed are located here :

https://youtu= .be/4JuOUjCSj44

Installing it in this way,it w= ill run only on the IP assigned to Ubuntu=20 inside the VM. For me the IP of FreeBSD is different from the IP=20 assigned to Ubuntu. Configured in this way it's not useful.=C2=A0
=

I want Cloudflare to take the IP address of FreeBSD.

To achieve this goal,I should change my network configuration,in a way that= I use the same IP for FreeBSD and Ubuntu.

That's what I want to do,but I don't know= how to do it. But I'm sure=20 that I will be able to do it if someone can give me some advice.
=

I can explain how I have configured my network,so you can explain what I sh= ould change to have the same IP.

For example,to boot Ubuntu with bhyve,I use the following parameter :

=09 =09
=09
-s 13,virtio-net,tap19 \

/etc/rc.conf :
=09 =09
=09
ifconfig_em0=3D"DHCP"
local_unbound_enable=3D"YES"
cloned_interfaces=3D"bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 t=
ap8 tap9 tap10 tap11 tap12 tap13 tap14 tap15 tap16 tap17 tap18 tap19 tap20 =
em0"
ifconfig_bridge0=3D"addm em0 addm tap0 addm tap1 addm tap2 addm tap3 a=
ddm tap4 addm tap5 addm tap6 addm tap7 addm tap8 addm tap9 addm tap10 addm =
tap11 addm tap12 addm tap13 addm tap14 addm tap15 addm tap16 addm tap17 add=
m tap18 addm tap19 addm tap20"

/boot/loader.conf
=09 =09
=09
if_tap_load=3D"YES"
if_bridge_load=3D"YES"
bridgestp_load=3D"YES"

/etc/sysctl.conf
=09 =09
=09
net.link.tap.up_on_open=3D1
net.inet.ip.forwarding=3D1
net.inet.ip.random_id=3D1

So,ok. I think you have understood what I want to do. Please help me. Thank= s.

-= -
Mario


--
Mario.
--0000000000006f1f600617a5de8c-- From nobody Sat May 4 19:42:24 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWykP6jxzz5JT21 for ; Sat, 4 May 2024 19:42:37 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VWykP3CxPz4F7g for ; Sat, 4 May 2024 19:42:37 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-34db6a29a1eso530064f8f.1 for ; Sat, 04 May 2024 12:42:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714851756; x=1715456556; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6XOdtRsKjkFpY9uSvQ/n0qkpEFAOiK3ONV1vNQ2umS8=; b=lqSGB515UKfMloQ789JNnf7xvu4J6ZqktnQHnUwMx0qjUdl8fcvjDr3yhMZQVA1dXg MVpE7CAfIJTbNAaOZtRKGO7Nj1qDn+GY5Qa9jLLGqiugu6qarKgOHehIJoNLpdxa3l9k A6CK8AeCMapzD50sKzziFpSk4qCj3u2hrW85yxRFa2WuTTPuLphhl0KhtWdNeZozkwIZ 849UPtJCtp3TnD5nrKoSnkRVD8iRH3FnnqBjbA3ddc8OnAY4fGHUQBfbuwgocoJ/MnrS JTbmdSp+2j1r8V7CiqXat34kqT4epefSs5FvUeK9zSv7/z38xSR0oOj43bKJ05byjZfL XKOA== X-Forwarded-Encrypted: i=1; AJvYcCWu35ViEBGFNqDU+O50WrmdN5T4kvXf2Z7GfmrIz1UDwZ5CQLYeZuLsSH1FU2YH3dUI2LArqOFXdAwxKpTqVks= X-Gm-Message-State: AOJu0Yy/FelkCXh2PGphL7SfabJ2DFPvF52hvKOJCYhTSeyWlAPDWySU EzvK0wen235gBZiTo0DLF1Dlk1zia09zFwH4qnoOLK5RDGTuY3xiZOExn6mC+5Y= X-Google-Smtp-Source: AGHT+IG/0UmHc2kGk8Js/nm3HQWptGOP1cflzO6bpY+56r+sSV++tarsZEND/V845ZkR3E2g4Z3Kqw== X-Received: by 2002:a05:6000:1e84:b0:34d:ae55:8fb9 with SMTP id dd4-20020a0560001e8400b0034dae558fb9mr3623457wrb.66.1714851755493; Sat, 04 May 2024 12:42:35 -0700 (PDT) Received: from smtpclient.apple ([131.111.5.246]) by smtp.gmail.com with ESMTPSA id p13-20020a5d638d000000b0034de69bb4bcsm6760504wru.85.2024.05.04.12.42.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 May 2024 12:42:35 -0700 (PDT) Content-Type: text/plain; charset=utf-8 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: review request: changing the default ifconfig(8) address format to CIDR From: Jessica Clarke In-Reply-To: Date: Sat, 4 May 2024 20:42:24 +0100 Cc: arch@freebsd.org, net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <2A85E653-1228-4635-83A4-BED72AEE9420@freebsd.org> References: To: Lexi Winter X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4VWykP3CxPz4F7g On 4 May 2024, at 16:34, Lexi Winter wrote: > hi, >=20 > i've just submitted this PR: >=20 > https://github.com/freebsd/freebsd-src/pull/1216 >=20 > which contains this commit: >=20 > commit 57d273c90ee1c17446236aba25ed0bd291c4f126 (HEAD -> lf/main, = hemlock/lf/main) > Author: Lexi Winter > Date: Sat May 4 16:11:21 2024 +0100 >=20 > ifconfig(8): change default IP address format to 'cidr' >=20 > 'netmasks' haven't been used in IP networking for decades. Change = the > default address format for both IPv4 and IPv6 addreses in = ifconfig(8) to > 'cidr', which prints addreses in the format most users will be more > familiar with. >=20 > The previous format is still available using -finet:hex or = -finet6:numeric. >=20 > imp@ suggested i should ask arch@ and net@ about this, so here i am! >=20 > i understand there might be some backward-compat concerns with = scripting > here, but it's well past time this change was made, and anyone who > really can't update their scripts can use ifconfig -f or > $IFCONFIG_FORMAT to retain the old behaviour. Do we need to care about supporting (/ do we currently support) historical non-contiguous netmasks? At a glance the CIDR code doesn=E2=80=99= t handle that and will stop at the first 0, so changing to that by default would break such setups. Jess From nobody Sat May 4 19:50:39 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWyvh4Gx4z5JT9h; Sat, 4 May 2024 19:50:40 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [81.187.47.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4VWyvh3bW5z4GGh; Sat, 4 May 2024 19:50:40 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; none Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 8A80DA88B; Sat, 04 May 2024 19:50:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1714852239; bh=yVnKxmyckbNoOG0JSW6AXT3CjnX3hd9Zb9S4m1D8ons=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=sclHb0DnW/v6MDIgywrSstumVw38uluNlXnRZ5WEaHLy7iRc5fi57wc2mDYuvnlAZ IuX1DuspSC2c/aXGIPh92E7DoD/m3ZFm4M9kxaBZ1Tqq3gLq6xd/yNwkw+C3SgWiC7 CqMhRWSi6WWG/3vj0jCp4Pt33DVszedWhsVB6Bww= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id D1E6B2C0421; Sat, 04 May 2024 20:50:39 +0100 (BST) Date: Sat, 4 May 2024 20:50:39 +0100 From: Lexi Winter To: Jessica Clarke Cc: arch@freebsd.org, net@freebsd.org Subject: Re: review request: changing the default ifconfig(8) address format to CIDR Message-ID: Mail-Followup-To: Jessica Clarke , arch@freebsd.org, net@freebsd.org References: <2A85E653-1228-4635-83A4-BED72AEE9420@freebsd.org> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uGq1e1iwJkdg74dg" Content-Disposition: inline In-Reply-To: <2A85E653-1228-4635-83A4-BED72AEE9420@freebsd.org> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB] X-Rspamd-Queue-Id: 4VWyvh3bW5z4GGh --uGq1e1iwJkdg74dg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jessica Clarke: > On 4 May 2024, at 16:34, Lexi Winter wrote: > Do we need to care about supporting (/ do we currently support) > historical non-contiguous netmasks? At a glance the CIDR code doesn=E2=80= =99t > handle that and will stop at the first 0, so changing to that by > default would break such setups. i have never had a need to try this, but i just tested it and it does not appear to be supported at least in 15.0: # ifconfig bridge2 create # ifconfig bridge2 192.0.2.1 netmask 255.0.255.0 # ifconfig bridge2 bridge2: flags=3D1008843 m= etric 0 mtu 1500 options=3D0 ether 58:9c:fc:00:16:69 inet 192.0.2.1 netmask 0xffff0000 broadcast 192.0.255.255 [snip] # ifconfig bridge2 destroy # ifconfig bridge2 create # ifconfig bridge2 192.0.2.1 netmask 255.255.255.88 # ifconfig bridge2 bridge2: flags=3D1008843 m= etric 0 mtu 1500 options=3D0 ether 58:9c:fc:00:16:69 inet 192.0.2.1 netmask 0xffffffe0 broadcast 192.0.2.31 [snip] (0xffffffe0 =3D 255.255.255.224) a quick Internet search suggests that non-contiguous netmasks were deprecated when CIDR was introduced, so around 1993. --uGq1e1iwJkdg74dg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmY2kYwACgkQDHqbqZ41 x5mQNwv8D+5WX257JQXFthozh0HwRkhRsqM425M4eGd/DzATCFlh0qG5zxA8u7NQ alHaVuLA2s2DtBXvzyBVpfFc5+/rNK92XAMIU6RjCdsqOyNzZ6NZHZb0phDhfz8s o/n2w1r9BeyIH1jbruD9h9uvcDDrQI2BLORcWcSk6s7aQEr3oVtpXcwYlQZhCXx1 jAXgdUtpNzEeJ4V96SeZBe5nmHTqO+PmPrVI64osPEtBfdiEo36NCHemKeri3h7b vhuv2nb1VOXNysBGtw5Klb/6jemIExknhsAXzv8whrnAZex5dAPRh1ZhPfuDZthK xnr7PgkjePp2BOrbli85UhhiLokjgMPpRcxD5zEAjurxfZbZrqAXZLXbJNRobHK9 t0/231XRx1sOXaTvd8qna2zfllZKPhyi5DNqK6A9Vr66IHqh7u0s2PM9YqAD26pK XeU6m4fuIhxNeD2yR4xT9B5crILs1jSjKpJLeokBCdXmn/snk3Je6SrnDbcZXSDw CJZZOeqK =LucQ -----END PGP SIGNATURE----- --uGq1e1iwJkdg74dg-- From nobody Sun May 5 02:58:16 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VX8P60YcNz5BKrm for ; Sun, 05 May 2024 02:58:18 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VX8P56SYHz4wcH for ; Sun, 5 May 2024 02:58:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714877897; a=rsa-sha256; cv=none; b=LJxGqNk2b3UT9AKUMXEgjD1uWFSGPx5N2SXe8zmyy3ymKIJMf/2+S1BzVdOczmHgM7nfsQ svO/TdlqxPAIPo6fXd9Tn5Xb3bMDK5pXYKPBic04DBMmAW7idjPi04OzhElx9d0bhsIGRg jaaVltWpwe9UczX0713WALTdqle1a9Xq0tyHYSlasRHh1358KxurWdmHgdCtYl6wV4IaaV LNnpkS7gvdiKvrw2/nLk1Eu5dc1PlAs7Tsc9Na4riluTPC+6SNZnrSRNNxwItmeWXn4GSC /RFcl7Gr5LuDCmbPLkRiOPYLd0XWSOhMF/GPh+mjNj6AfI0PqFje3KsmnOZHJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714877897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aWlTnox/LWSlX2hyXX0MXcApm3bXhH/JUZNCL/MWz6Y=; b=g7hYkOAJQHfVXFT73xM+bYidUSxyDGO4wspJ1ubJVBooNkmKh8U2iZplSvnZ11gq2z6/EZ S7d9HroDXa0Rfqp6HzuVvp1svJsFHQTruvJ5g5qragpy850xQ7enf1g6U0FhN6n/T03oLJ XAXnIj2ctAZJ3q2wB4QLh/4yQ+mgut2uxf+FQWW0SIR+GTf4yn39W03d0HBNKvGYJ8XgNa 6BdZlQOdKVzHPH5szoTIZAB291cauQv7tLoAwi4KF0qJc7KDSsWFTmazs8P2FnSABFK0YG /I6XN6TIfev14/foI5wUpY/jxoQqU4p150giBDrzZe1yl86RqlYsUETqDTq+Qw== 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 4VX8P55z2qzwc8 for ; Sun, 5 May 2024 02:58: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 4452wH4r019059 for ; Sun, 5 May 2024 02:58:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4452wHJw019058 for net@FreeBSD.org; Sun, 5 May 2024 02:58: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 275920] Kernel crash in sys/netlink/route/iface.c:124 Date: Sun, 05 May 2024 02:58:16 +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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cuicui@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275920 --- Comment #5 from Mike Cui --- Any chance we can get this fixed for 14.1? It would be nice if 14.1 worked out of the box without having to cross comp= ile my own custom kernel. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun May 5 07:20:54 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VXGDs6C1Cz5JG7C for ; Sun, 05 May 2024 07:21:33 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VXGDr2NnRz43mV for ; Sun, 5 May 2024 07:21:32 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=m0gByuy3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::533 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-61eba9f9c5dso754978a12.0 for ; Sun, 05 May 2024 00:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714893690; x=1715498490; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ic+cqiiFqZ9gAk06V57xilVArxOWLRd9oTXdtwlAEbM=; b=m0gByuy3e8t8jJI21m9sSHnpgBvJ/tou9639t4Td2sQWG/NK8Ru0KbqO8mKSiUuR41 fCIm4I4YWQ1+SS4k7jPRcRjqt+yeIvTHcPOhK7rnqiouFv67TS498YJhy9aCNsvOKn4b HbkgoTzzlxS3JBSkkOMKcLjLvrdWnCZKRWRBK0VpeZRGeTMtX5RcCibl0JjT7b3xIgUm 5YEsFjXVInyqynAcReNGKVREQsOW8cPfo8qH5Uzk/GMO2VZJmzKJrc7CCh7R+LffDSpg wXJh+3lEkKHKPbDj3ksTgPUnSpFoQVae6o2ApXKM0NVgOx9R5npm44espGF1DTjuXeOQ DdSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714893690; x=1715498490; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ic+cqiiFqZ9gAk06V57xilVArxOWLRd9oTXdtwlAEbM=; b=KFsQZvdoTPUKac/6lI/OU0yMjglm+KhrrBRP+/Es2sWlA+AkEBfCIBQY2V9I+2mXA1 Yij9DXJ9PY0+n7xd6/vKl3sBSV6BGe6rZJaFl/dmahTevfd8K8c6qXuFHSbcoz7Xsin8 EliX3rxH3ZLASZ3TEnxUi0ndWPkECGh4caRAjxg0m1Z4UT4myQDmkBawvbYIh/vVeVOP I0xV4jMUrRqp0+7cdHpkk4L9Nf2W6iBZoPjMCr1aEWde5CxiTarqwy/bcEm5ABOHF8Lc WNmYge0huUspJ5WlUb9qGH8I6WOL89at6DuI7lI+4toBWuWUiaADa08HMs4pt+mL7CmW v+Gw== X-Gm-Message-State: AOJu0YzMe2rMuyJhkhclvEOg6Pot6mwZ5u6wxzLpQWA+JOlvWqExSupl 7CvnLUmVoZfGZ0XIk+SUexpefse/ACXwJjFPdhavl++7uxFTTGTbc8qPOL2pj8QQL0MXenuctfR xflKHk/2yOCWIWPFJ0U1gEOkYaUPn5F218B0h8w== X-Google-Smtp-Source: AGHT+IFSXUKbMx9aiYN+NOOsNpEnAUs8ynYYKvkiCUT13HYAktQnHcdLKt+adPQgHDr81+UDzB5FaTLsVU/uK2salaw= X-Received: by 2002:a05:6a21:788b:b0:1af:3cb3:a744 with SMTP id bf11-20020a056a21788b00b001af3cb3a744mr8168689pzc.6.1714893690391; Sun, 05 May 2024 00:21:30 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Sun, 5 May 2024 09:20:54 +0200 Message-ID: Subject: Re: How to configure the networking on FreeBSD to assign the same IP between host and guest in order to make work CloudFlare Warp on FreeBSD To: Apoorv Sachan Cc: "freebsd-net@FreeBSD.org" Content-Type: multipart/alternative; boundary="0000000000003e57d40617afcd5a" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::533:from] X-Rspamd-Queue-Id: 4VXGDr2NnRz43mV --0000000000003e57d40617afcd5a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This is what I did : on FreeBSD : /etc/rc.conf : ifconfig_em0=3D"inet 192.168.1.5 netmask 255.255.255.0" defaultrouter=3D"192.168.1.10" On Ubuntu : echo 1 > /proc/sys/net/ipv4/ip_forward iptables -A PREROUTING -t nat -p tcp -d 192.168.1.10 -j DNAT --to-destination 192.168.1.5 iptables -A POSTROUTING -t nat -o enp0s13 -j MASQUERADE warp-cli connect What's the problem ? I'm able to connect to Ubuntu,but on FreeBSD I can't surf. On Sat, May 4, 2024 at 9:29=E2=80=AFPM Mario Marietto wrote: > So. Please help me further... > > Let's say that the IP number assigned to Ubuntu is 192.168.1.9,on FreeBSD > I do : > > /etc/rc.conf : > > defaultrouter=3D"192.168.1.9" > > ? even if the VM starts after the booting of FreeBSD ? > > About configuring the DNAT iptables rule I have no idea. Please help me t= o > understand how to do it. > > On Sat, May 4, 2024 at 9:22=E2=80=AFPM Apoorv Sachan > wrote: > >> Hi Mario >> >> You can set the ip if the Ubuntu machine as the default route on the >> freeBSD host. >> This will take all the traffic oroginating in freeBSD host through the >> warp-tunnel. >> >> And configure a DNAT iptables rule in the Ubuntu machine to return the >> traffic back to freeBSD machine. >> >> This way you could utilise the warp-cloud flare tunnel from the freeBSD >> host even though it runs on the Ubuntu guest. And both have different IP= s. >> >> On Sun, 5 May 2024 at 12:23=E2=80=AFAM, Mario Marietto >> wrote: >> >>> Hello. >>> >>> I've just installed the CloudFlare client + GUI on Ubuntu,that I have >>> virtualized with bhyve. Cloudflare does not work on FreeBSD. The >>> instructions that I have followed are located here : >>> >>> https://youtu.be/4JuOUjCSj44 >>> >>> Installing it in this way,it will run only on the IP assigned to Ubuntu >>> inside the VM. For me the IP of FreeBSD is different from the IP assign= ed >>> to Ubuntu. Configured in this way it's not useful. >>> >>> I want Cloudflare to take the IP address of FreeBSD. >>> >>> To achieve this goal,I should change my network configuration,in a way >>> that I use the same IP for FreeBSD and Ubuntu. >>> >>> That's what I want to do,but I don't know how to do it. But I'm sure >>> that I will be able to do it if someone can give me some advice. >>> >>> I can explain how I have configured my network,so you can explain what = I >>> should change to have the same IP. >>> >>> For example,to boot Ubuntu with bhyve,I use the following parameter : >>> >>> -s 13,virtio-net,tap19 \ >>> >>> >>> /etc/rc.conf : >>> >>> ifconfig_em0=3D"DHCP" >>> local_unbound_enable=3D"YES" >>> cloned_interfaces=3D"bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 ta= p8 tap9 tap10 tap11 tap12 tap13 tap14 tap15 tap16 tap17 tap18 tap19 tap20 e= m0" >>> ifconfig_bridge0=3D"addm em0 addm tap0 addm tap1 addm tap2 addm tap3 ad= dm tap4 addm tap5 addm tap6 addm tap7 addm tap8 addm tap9 addm tap10 addm t= ap11 addm tap12 addm tap13 addm tap14 addm tap15 addm tap16 addm tap17 addm= tap18 addm tap19 addm tap20" >>> >>> >>> /boot/loader.conf >>> >>> if_tap_load=3D"YES" >>> if_bridge_load=3D"YES" >>> bridgestp_load=3D"YES" >>> >>> >>> /etc/sysctl.conf >>> >>> net.link.tap.up_on_open=3D1 >>> net.inet.ip.forwarding=3D1 >>> net.inet.ip.random_id=3D1 >>> >>> >>> So,ok. I think you have understood what I want to do. Please help me. >>> Thanks. >>> >>> -- >>> Mario >>> >> > > -- > Mario. > --=20 Mario. --0000000000003e57d40617afcd5a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=09 =09 =09 =09 =09
=09
This is what I did :

on FreeBSD :

/etc/rc.conf :

ifconfig_em0=3D"inet 192.168.1.5 netmask 255.255.255.0"
defaultrouter=3D"192.168.1.10"

On Ubuntu :

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A PREROUTING -t nat -p tcp -d 192.168.1.10 -j DNAT --to-destinati= on 192.168.1.5
iptables -A POSTROUTING -t nat -o enp0s13 -j MASQUERADE
warp-cli connect

What's the problem ? I'm able to connect to Ubuntu,but on FreeBSD I= can't surf.

On Sat, May 4, 2024 at 9:29=E2=80=AFPM Ma= rio Marietto <marietto2008@gma= il.com> wrote:
So. Please help me further...

Let's say that the IP number assigned to Ubuntu is 192.168.1.9,= on FreeBSD I do :

/etc/rc.conf :

defaultrouter=3D"192.168.1.9"

? = even if the VM starts after the booting of FreeBSD ?

About configuring the DNAT iptables rule I have no idea. Please hel= p me to understand how to do it.

On Sat, May 4, 2024 at 9:22=E2= =80=AFPM Apoorv Sachan <apoorv.99.sachan@gmail.com> wrote:
Hi Mario=C2=A0<= /div>

You can set the ip if th= e Ubuntu machine as the default route on the freeBSD host.=C2=A0
This will take all the traffic oroginating in freeBSD host thr= ough the warp-tunnel.

An= d configure a DNAT iptables rule in the Ubuntu machine to return the traffi= c back to freeBSD machine.=C2=A0

This way you could utilise the warp-cloud flare tunnel from the f= reeBSD host even though it runs on the Ubuntu guest. And both have differen= t IPs.

On Sun, 5 May 2024 at 12:23=E2=80=AFAM, Mario Marietto <marietto2008@gmail.c= om> wrote:
Hello.

I've just installed the CloudFlare client + GUI on Ubuntu,that I have= =20 virtualized with bhyve. Cloudflare does not work on FreeBSD. The=20 instructions that I have followed are located here :

https://youtu= .be/4JuOUjCSj44

Installing it in this way,it w= ill run only on the IP assigned to Ubuntu=20 inside the VM. For me the IP of FreeBSD is different from the IP=20 assigned to Ubuntu. Configured in this way it's not useful.=C2=A0
=

I want Cloudflare to take the IP address of FreeBSD.

To achieve this goal,I should change my network configuration,in a way that= I use the same IP for FreeBSD and Ubuntu.

That's what I want to do,but I don't know= how to do it. But I'm sure=20 that I will be able to do it if someone can give me some advice.
=

I can explain how I have configured my network,so you can explain what I sh= ould change to have the same IP.

For example,to boot Ubuntu with bhyve,I use the following parameter :

=09 =09
=09
-s 13,virtio-net,tap19 \

/etc/rc.conf :
=09 =09
=09
ifconfig_em0=3D"DHCP"
local_unbound_enable=3D"YES"
cloned_interfaces=3D"bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 t=
ap8 tap9 tap10 tap11 tap12 tap13 tap14 tap15 tap16 tap17 tap18 tap19 tap20 =
em0"
ifconfig_bridge0=3D"addm em0 addm tap0 addm tap1 addm tap2 addm tap3 a=
ddm tap4 addm tap5 addm tap6 addm tap7 addm tap8 addm tap9 addm tap10 addm =
tap11 addm tap12 addm tap13 addm tap14 addm tap15 addm tap16 addm tap17 add=
m tap18 addm tap19 addm tap20"

/boot/loader.conf
=09 =09
=09
if_tap_load=3D"YES"
if_bridge_load=3D"YES"
bridgestp_load=3D"YES"

/etc/sysctl.conf
=09 =09
=09
net.link.tap.up_on_open=3D1
net.inet.ip.forwarding=3D1
net.inet.ip.random_id=3D1

So,ok. I think you have understood what I want to do. Please help me. Thank= s.

-= -
Mario


--
Mario.


--
Mario.
--0000000000003e57d40617afcd5a-- From nobody Sun May 5 16:23:41 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VXVGh5Vqwz5KF2G for ; Sun, 05 May 2024 16:23:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VXVGg6Sbqz430k for ; Sun, 5 May 2024 16:23:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-51f174e316eso1231984e87.0 for ; Sun, 05 May 2024 09:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1714926234; x=1715531034; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sjcNPzCMpkWEo1T19QtuDc2t7hRJXfU5qN0x5sFtCQ4=; b=ZWSujDVNQ1JEdLmDPjykCF8J6cCp8V+BiTy4VGy+PhKlZHGha2D/+v5NRYFet2DMek xm03NQPCphYNUMw8OaF8QcUFkL4Q4jBKxmnZAYkGdsKQEp19BnEOJI7DIrXvF4wEnFIi WIV0CQKm26nS4aV+QFCZcRoT9APjelkWNDCaNmtDsmvLkGxPVu0zKGCMT9iDVG4VmMoW uzMJZdtdx/9Cc41ZcgE9YM6ZuGO262eY1LHAAqAwdr3j2enK0cXU2y65NUxci/Vax8JB rFCMvkxE+arO5hXWiBk1fUjkWGzAb4cWhYcJXYJ6/+GgAI02mS7bBd9WZ9tbLsgkkFMJ wuCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714926234; x=1715531034; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sjcNPzCMpkWEo1T19QtuDc2t7hRJXfU5qN0x5sFtCQ4=; b=bsO/snliVxuelfzv3ZflEwjMgqxQFp5tL9zes9RUkBMCV0l05sNZSh4A4LfU9vAD8/ PIs1FpfUcpjsyCFd3jxO9xWE5abCrxOdWBfO6JdvPD+2wmCa32pWfYEcgDmDEs9GDVYr /esXjuKYCnhd1YoJRfnnflTumzmPoORFY9Of7jJM/1SAOzb3GeXrQzWr66yoYMPai77C 1QknE2aTkKUXR09tsxJT/kpTAWRQaY/wGmReNtbNFOSimbVgri3oalYG4i4VE4y3y9Wh ya2QxmD8LxbLizvpsw8bkr6XwWjA7zOiuWHoi9dsCL+ZOit2xS55NfFIy3FNgAq/aO/j OFsw== X-Forwarded-Encrypted: i=1; AJvYcCWlgKwAlYTXBUWozw2ryOZego9QMb36L7ToT9nXg2HY1I9GuGeBUfnraOZC9GTU40FpO+zDyc7lBotjYXXNc2o= X-Gm-Message-State: AOJu0Yz27YFGp3Yc0f2NzQMZM1ozqZ44gVvDjXMlGwi83tOO7PAnmhom huOKshPZv1VvKN/yrV1mRQh+sBtvibW2ENCaAikBeBjOv8ffe3gTyLFUmiG9jqtzeCNMYxIDMg4 OlJ+DCrIek24vMOeYMsvxQibZUHWyRb2AhoQpaw== X-Google-Smtp-Source: AGHT+IH3zNVk2YUho4fkjrtEtU1m7hs6Uru6ByCA/xYVlmJJbM1yMQz9IvTSXABSMqPA/yjprFms+qDKnLM8VHOLd+I= X-Received: by 2002:a05:6512:3f16:b0:51d:998e:e0c1 with SMTP id y22-20020a0565123f1600b0051d998ee0c1mr6454314lfa.13.1714926233829; Sun, 05 May 2024 09:23:53 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: <20240505033504.772826db43da54f323f5e993@dec.sakura.ne.jp> In-Reply-To: <20240505033504.772826db43da54f323f5e993@dec.sakura.ne.jp> From: Warner Losh Date: Sun, 5 May 2024 10:23:41 -0600 Message-ID: Subject: Re: review request: changing the default ifconfig(8) address format to CIDR To: Tomoaki AOKI Cc: Lexi Winter , arch@freebsd.org, net@freebsd.org Content-Type: multipart/alternative; boundary="000000000000fbf6df0617b76052" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4VXVGg6Sbqz430k --000000000000fbf6df0617b76052 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'll remind everybody that ifconfig has had IFCONFIG_FORMAT since ``` commit 7c2aa744374aa3449ad81f60852e74ad73d823e6 Author: Allan Jude Date: Tue May 31 17:30:08 2016 +0000 ifconfig(8) now supports some output formatting options ``` so we've already 7 years into this process. This is nothing new and the desire to migrate has been around a long time. As such, we can transition in 15, and put a release note into 14.1 release that's coming up and still give people years worth of notice. We don't need to give 4 or 5 years notice to do this in 16. That's too long and people will take their eye off the ball and it will be 17 or 18 before it happens. I've had several things I "gratuitously" had a long horizon on, only to forget about until it was too late (14.0 was supposed to have an awk that didn't decode hex number, for example). Also, broken scripts are a 1 line fix away from working, so the impact is rather small, and that one line can be set globally for people that have a lot of these scripts. The fix can be placed into the release notes as well. In addition, there's plenty of time for us to get a feel on how many scripts there actually are here. We can back off to a longer time horizon if it proves to be too disruptive. It would be even better if ifconfig, or a similar tool, could produce easy to use in scripts data (like json via libxo). I'm surprised there's no libxo option to it today. Of course these would be a more intrusive change, but would insulate us from data change like we've done in nearly every other system. I don't support more weird options, though, to make the current formats more maillable. We need to start pushing people into scripting with useful data formats. That includes doing stragglers like nvmecontrol, camcontrol, ifconfig up with libxo options. So I agree with Mike Karels's post in the bug review on this... We should do it *NOW* for 15, document well the workarounds and collect data to see if people are right about the scope. If so, we take a step back and do this in 16. If not, we go forward. This will still give corporate users 2 or 3 years to get their act together for a release (dropping in the IFCONFIG_FORMAT today in their scripts will work and keep them working well into the future with all supported FreeBSD version, and then some). Warner On Sat, May 4, 2024 at 12:35=E2=80=AFPM Tomoaki AOKI wrote: > On Sat, 4 May 2024 16:34:03 +0100 > Lexi Winter wrote: > > > hi, > > > > i've just submitted this PR: > > > > https://github.com/freebsd/freebsd-src/pull/1216 > > > > which contains this commit: > > > > commit 57d273c90ee1c17446236aba25ed0bd291c4f126 (HEAD -> lf/main, > hemlock/lf/main) > > Author: Lexi Winter > > Date: Sat May 4 16:11:21 2024 +0100 > > > > ifconfig(8): change default IP address format to 'cidr' > > > > 'netmasks' haven't been used in IP networking for decades. Change > the > > default address format for both IPv4 and IPv6 addreses in > ifconfig(8) to > > 'cidr', which prints addreses in the format most users will be more > > familiar with. > > > > The previous format is still available using -finet:hex or > -finet6:numeric. > > > > imp@ suggested i should ask arch@ and net@ about this, so here i am! > > > > i understand there might be some backward-compat concerns with scriptin= g > > here, but it's well past time this change was made, and anyone who > > really can't update their scripts can use ifconfig -f or > > $IFCONFIG_FORMAT to retain the old behaviour. > > Hi. > > If you raally want it to be landed, you should wait at least 2 major > releases. Propagate the future change on Relesase Notes at 15.0, then, > actually change in 16.0 shoule be the earliest. Maybe 17.0 would be > reasonable. > > This could be toooooooo hazardous on corporate-class users having > scripts/configurations for current style. > > We SHALL give enough YEARS for their admins to look into ALL their > scripts/configuratins and fix everything affected. Moreover, if the > fixes are widely affecting with their internal apps, they could need to > acquire budgets to do so. > > Possibly, introducing environment variable set in /etc/defaults/rc.conf > to select which format to use could help them. With it, they can set it > to use current format for all their computers running FreeBSD until > they fix all they need. > Something like IP_FORMAT=3DCIDR or IP_FORMAT=3DNETMASK. > > Regards. > > -- > Tomoaki AOKI > > --000000000000fbf6df0617b76052 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'll remind everybody that ifconfig h= as had IFCONFIG_FORMAT since
```
commit 7c2aa744374aa3449ad81f60852e7= 4ad73d823e6
Author: Allan Jude <allanjude@FreeBSD.org>
Date: = =C2=A0 Tue May 31 17:30:08 2016 +0000

=C2=A0 =C2=A0 ifconfig(8) now = supports some output formatting options
```
so we've already 7 ye= ars into this process. This is nothing new and the desire to migrate has be= en around a long time. As such, we can transition in 15, and put a release = note into 14.1 release that's coming up and still give people years wor= th of notice. We don't need to give 4 or 5 years notice to do this in 1= 6. That's too long and people will take their eye off the ball and it w= ill be 17 or 18 before it happens. I've had several things I "grat= uitously" had a long horizon on, only to forget about until it was too= late (14.0 was supposed to have an awk that didn't decode hex number, = for example).

Also, broken scripts are a 1 line fix away from workin= g, so the impact is rather small, and that one line can be set globally for= people that have a lot of these scripts. The fix can be placed into the re= lease notes as well. In addition, there's plenty of time for us to get = a feel on how many scripts there actually are here. We can back off to a lo= nger time horizon if it proves to be too disruptive. It would be even bette= r if ifconfig, or a similar tool, could produce easy to use in scripts data= (like json via libxo). I'm surprised there's no libxo option to it= today. Of course these would be a more intrusive change, but would insulat= e us from data change like we've done in nearly every other system. I d= on't support more weird options, though, to make the current formats mo= re maillable. We need to start pushing people into scripting with useful da= ta formats. That includes doing stragglers like nvmecontrol, camcontrol, if= config up with libxo options.

So I agree with Mike Karels's post= in the bug review on this...=C2=A0 We should do it *NOW* for 15, document = well the workarounds and collect data to see if people are right about the = scope. If so, we take a step back and do this in 16. If not, we go forward.= This will still give corporate users 2 or 3 years to get their act togethe= r for a release (dropping in the IFCONFIG_FORMAT today in their scripts wil= l work and keep them working well into the future with all supported FreeBS= D version, and then some).

Warner
<= /div>
O= n Sat, May 4, 2024 at 12:35=E2=80=AFPM Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wrote:
On Sat, 4 May 2024 16:34= :03 +0100
Lexi Winter <lexi@l= e-fay.org> wrote:

> hi,
>
> i've just submitted this PR:
>
> https://github.com/freebsd/freebsd-src/pull/121= 6
>
> which contains this commit:
>
> commit 57d273c90ee1c17446236aba25ed0bd291c4f126 (HEAD -> lf/main, h= emlock/lf/main)
> Author: Lexi Winter <lexi@le-Fay.ORG>
> Date:=C2=A0 =C2=A0Sat May 4 16:11:21 2024 +0100
>
>=C2=A0 =C2=A0 =C2=A0ifconfig(8): change default IP address format to &#= 39;cidr'
>
>=C2=A0 =C2=A0 =C2=A0'netmasks' haven't been used in IP netw= orking for decades.=C2=A0 Change the
>=C2=A0 =C2=A0 =C2=A0default address format for both IPv4 and IPv6 addre= ses in ifconfig(8) to
>=C2=A0 =C2=A0 =C2=A0'cidr', which prints addreses in the format= most users will be more
>=C2=A0 =C2=A0 =C2=A0familiar with.
>
>=C2=A0 =C2=A0 =C2=A0The previous format is still available using -finet= :hex or -finet6:numeric.
>
> imp@ suggested i should ask arch@ and net@ about this, so here i am! >
> i understand there might be some backward-compat concerns with scripti= ng
> here, but it's well past time this change was made, and anyone who=
> really can't update their scripts can use ifconfig -f or
> $IFCONFIG_FORMAT to retain the old behaviour.

Hi.

If you raally want it to be landed, you should wait at least 2 major
releases. Propagate the future change on Relesase Notes at 15.0, then,
actually change in 16.0 shoule be the earliest. Maybe 17.0 would be
reasonable.

This could be toooooooo hazardous on corporate-class users having
scripts/configurations for current style.

We SHALL give enough YEARS for their admins to look into ALL their
scripts/configuratins and fix everything affected. Moreover, if the
fixes are widely affecting with their internal apps, they could need to
acquire budgets to do so.

Possibly, introducing environment variable set in /etc/defaults/rc.conf
to select which format to use could help them. With it, they can set it
to use current format for all their computers running FreeBSD until
they fix all they need.
Something like IP_FORMAT=3DCIDR or IP_FORMAT=3DNETMASK.

Regards.

--
Tomoaki AOKI=C2=A0 =C2=A0 <junchoon@dec.sakura.ne.jp>

--000000000000fbf6df0617b76052-- From nobody Sun May 5 21:00:14 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VXcPV6kTVz5KjX2 for ; Sun, 05 May 2024 21:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) 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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VXcPV2rFnz4bH8 for ; Sun, 5 May 2024 21:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714942814; a=rsa-sha256; cv=none; b=OICNr6vwET+i6O+iG7wwRuM7vyS2l6DYPPqQkI2DNcf1bt8LPsHbqmV/usOhIrgjfn9gOX HbmLRnrX2d3SoR3xJd4X6Dh2hVpz9lP/diO/Bs6PXbjYQVEcjdKMmib2YPnann1kJq6beM 2EwsnCQNs26NO5h7hIizsQl1cW49J8KxFXq5HK3OrmxGKsQA9KGEgdgo4r83gaf1kTRL2r Ouzj4Wr+vxH9JnyokltMXLdd528Nw5U23DXk4f+ffXiNk/T1n0tjfEF9awghQ0v7IcBPa9 RbThPR/2KKaJdTnLGhL9oYh+NeAvJDRA2bQaUXP9Z2vTme2zhQcmLWkkL6IB+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714942814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=++G/sd7/i0nLiOjqgmDuUZjtfWFCSJX5FplDVz4GVgM=; b=yCBFtt9EjkKZa4yJeEIfn9fyTUv4h41ZtSR3sPzNCleU7Us7rVu+BOetf3NmOh2euR1zXt LzL8eTz58Ltxp44BsiacpwkLxqD2TR1mSNtISEhnaCnQZIxH6yo2H1bU3ZhQthirx+EalV +q1l0I1KUiummnd4pOmQghTWSALThztNlHPzBI/efRrnIDQA+cAeRSFfafvflNnSSMFdJ3 k/IP0InfoHEjr9cOKNvI5cTwE760GzaaQG13isRbuG3rx3spZgdoC2+5MLyGodQ+i5z4kf N7LBAbXFoOWfJ/uO/n9R9m6hiVjYBfRgEIYqla4l6wvbPA+sOEiSf/lBDo5HbA== 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 4VXcPV2T0TzTHq for ; Sun, 5 May 2024 21:00:14 +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 445L0ENr091093 for ; Sun, 5 May 2024 21:00:14 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 445L0EZr091092 for net@FreeBSD.org; Sun, 5 May 2024 21:00:14 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202405052100.445L0EZr091092@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, 5 May 2024 21:00:14 +0000 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="17149428140.6DfAf9d.87189" Content-Transfer-Encoding: 7bit --17149428140.6DfAf9d.87189 Date: Sun, 5 May 2024 21:00:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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 ------------+-----------+--------------------------------------------------- New | 254445 | cloned_interfaces="bridge0" does not respect net. Open | 166724 | if_re(4): watchdog timeout Open | 200836 | iovctl(8): Return descriptions in the returned sc Open | 223824 | Panic in ng_base.c (netgraph) Open | 230807 | if_alc(4): Driver not working for Killer Networki Open | 232472 | ixgbe(4): SR-IOV passthru not working on Hyper-V Open | 234073 | ixl(4): Host X710-DA2 drops connect starting bhyv Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 245981 | bnxt(4): BCM57414 / BCM57416 not initializing: bn Open | 256217 | [tcp] High system load because of interrupts with Open | 257038 | em(4): Panic on HTTP traffic to or from jail thro Open | 257286 | gateway with `ping -6 -e` is ignored Open | 258623 | cxgbe(4): Slow routing performance: 2 numa domain Open | 258850 | lagg(4): interface vanishes when both member inte Open | 261866 | ixgbe(4): Resets media type -> autoselect after s Open | 262024 | em(4): iflib handles bad packets incorrectly Open | 262093 | ixl(4): RX packet errors on Intel X710 after 12.2 Open | 263568 | ix(4): SR-IOV connection lost after loading VM wi In Progress | 118111 | rc: network.subr Add MAC address based interface 19 problems total for which you should take action. --17149428140.6DfAf9d.87189 Date: Sun, 5 May 2024 21:00:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
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
------------+-----------+---------------------------------------------------
New         |    254445 | cloned_interfaces="bridge0" does not respect net.
Open        |    166724 | if_re(4): watchdog timeout
Open        |    200836 | iovctl(8): Return descriptions in the returned sc
Open        |    223824 | Panic in ng_base.c (netgraph)
Open        |    230807 | if_alc(4): Driver not working for Killer Networki
Open        |    232472 | ixgbe(4): SR-IOV passthru not working on Hyper-V 
Open        |    234073 | ixl(4): Host X710-DA2 drops connect starting bhyv
Open        |    241106 | tun/ppp: panic: vm_fault: fault on nofault entry 
Open        |    245981 | bnxt(4): BCM57414 / BCM57416 not initializing: bn
Open        |    256217 | [tcp] High system load because of interrupts with
Open        |    257038 | em(4): Panic on HTTP traffic to or from jail thro
Open        |    257286 | gateway with `ping -6 -e` is ignored
Open        |    258623 | cxgbe(4): Slow routing performance: 2 numa domain
Open        |    258850 | lagg(4): interface vanishes when both member inte
Open        |    261866 | ixgbe(4): Resets media type -> autoselect after s
Open        |    262024 | em(4): iflib handles bad packets incorrectly
Open        |    262093 | ixl(4): RX packet errors on Intel X710 after 12.2
Open        |    263568 | ix(4): SR-IOV connection lost after loading VM wi
In Progress |    118111 | rc: network.subr Add MAC address based interface 

19 problems total for which you should take action.
--17149428140.6DfAf9d.87189--