From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=dz3/aE7W; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id 46BDD5A0657 for ; Sat, 13 Dec 2025 02:55:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1765590918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WOW19WAQjkzWpU/VlRsNjx6F9Aozhbz8HAE6vGbjrtQ=; b=dz3/aE7WODPNzSZeNVISVzTWGz7P+ist7t5EAQ613vkma7RpE0lGO6kIxCf9Cmk2KHHchK IsRKsYsWoWK6On9jQ+VPbjEfg45eQsY8IHpllEp5HcWzfRi/hwRC6wTiOlQ2ceAb8ZZUf6 5bHAOd7EPb2am55rdD4LjNsGdh9e7H0= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-92-PDMFbsFWNVSROebh-Xa0jA-1; Fri, 12 Dec 2025 20:55:16 -0500 X-MC-Unique: PDMFbsFWNVSROebh-Xa0jA-1 X-Mimecast-MFC-AGG-ID: PDMFbsFWNVSROebh-Xa0jA_1765590915 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-42fd46385c0so138251f8f.0 for ; Fri, 12 Dec 2025 17:55:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765590915; x=1766195715; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WOW19WAQjkzWpU/VlRsNjx6F9Aozhbz8HAE6vGbjrtQ=; b=aTyA6lykSStAwhUDARLZ0VFHWgyB3u1/NbI1WtL5yNfXyl38gW1zo0xMERleTfGnXt hXbYe2amIb3kmoWM600PVpyQaDmdTY7Q1Dycvh9BgB81XVKQ8juDm5KiMLEveHnsqLgN nSMO2+ltolm/pTzqQ5TQaaYsN7IACOmdEIKDWf3M0jbnPtJFmkaKWYccAaXpeDmJZUms jgGI+Gj4MFGMEfy8CCpWASr+YlsjDgJVK9OqlR47IWJHXA6g0kp8dcV0d29qSf8DmUGd dp35A0+Y+MyIw+96ibxoaio43jvUay5pHgGn9LJMzkv6vX6czLTn3loRnsi385Y98DZH QjSg== X-Gm-Message-State: AOJu0Yyd4iGpep15BVYF1b+IrDXfgJ6ylRnSOr9Qv/CHGU45pIt//BKP znT6w0+31WoKPVmfTI7I2ueHzoMAh0QEPhnmJkRtE9QzYKpzyl+/sMAXTKhjHQ7zdeDYuAg5k+G 7i2ee0FYfMHl3nVt55ptOPIIag2FbU2BBpUAJX4MWU+ZyRA/04LUBO+ncTafJ8A== X-Gm-Gg: AY/fxX7vYN2oEhkbEmNq3z+423Q446ZCSC/aJ8MWffPFYQZY4eYQpP2dG400tUBthBO I8q5eMtjTF+6hajBsN1LTWm0fiJMRigrVr9oJPHLuMlf0NZQ9HPsrYdVslmxGplq6U6gBQa3+Ke VcWahK/zVYKLYg+f9hXrJqIC8w2BDdMw8Z1+qUtF7c7XOR7VQ6ySFgpH4HTGf6xHVC4P8anePAn 4wuLEG32+bNcoExrkh32N2f1jA3c1dtt9JTsWIkbz/ptRklQzwbAWPDFb8f6uZBHisWzj7BfmlE DyEmoxP+mYinMTC8pOYc2ZR11LFbyWax6aKeGAqXNWvbkstWqPQNtPXy57HLB2IcghX+wANZQgU YaKgTX6GL7Rw5G7kJq4wIQVLFnOyj7vfEttNOlA== X-Received: by 2002:a05:600c:46cb:b0:47a:810f:1d06 with SMTP id 5b1f17b1804b1-47a8f89cb47mr41873065e9.4.1765590914781; Fri, 12 Dec 2025 17:55:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGd5kLRopJvIjP1iiFkk9NkOuObTVN9e/m9+yDQDzIhKHhp5TckWkUjmmCNt/oaHNSBAMxqRA== X-Received: by 2002:a05:600c:46cb:b0:47a:810f:1d06 with SMTP id 5b1f17b1804b1-47a8f89cb47mr41872935e9.4.1765590914368; Fri, 12 Dec 2025 17:55:14 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47a8f721a61sm21302105e9.20.2025.12.12.17.55.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Dec 2025 17:55:13 -0800 (PST) Date: Sat, 13 Dec 2025 02:55:12 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 0/5] RFC: Forwarding table data structure Message-ID: <20251213025512.5240a38b@elisabeth> In-Reply-To: <20251212071038.3943933-1-david@gibson.dropbear.id.au> References: <20251212071038.3943933-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: hFx6wJfYR4-cWebcSe-Gq0FolucQImnrR6QHhcw0BG4_1765590915 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: KR43OZBCE6U2QBNF5A22WNBXJV6N3I2F X-Message-ID-Hash: KR43OZBCE6U2QBNF5A22WNBXJV6N3I2F X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, 12 Dec 2025 18:10:33 +1100 David Gibson wrote: > Here's some patches starting to create a data structure to store more > flexible (and eventually dynamically updateable) forwarding > configuration. > > So far this is just creating the data structures, not actually using > them to drive the rest of the code, so it's not ready for merge (but > the preliminaries in 1..2/5 could be merged if you like). Putting it > out there for early review. > > David Gibson (5): > tcp: Remove extra space from TCP_INFO debug messages (trivial) > conf, fwd: Move initialisation of auto port scanning out of conf() > conf, fwd: Keep a table of our port forwarding configuration > conf: Accurately record ifname and address for outbound forwards > conf, fwd: Record "auto" port forwards in forwarding table Applied up to 2/5, review of the rest will come in a bit. -- Stefano