From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id 9F9945A026D for ; Sun, 19 Nov 2023 21:10:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700424637; 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=Qm43sSowC+cK6LnRSmqLqCiJKKx2uxn2QcXzoiS/IaI=; b=JlKvEaXF6kjfy9Ok98saCGQGfhBkFF8O9SxQaYoeMJGx2IXVrKqIRbO5jFT+VXeHhoI5PI NKkEk8FoIbDOJScl0Osd2pVwpAoBiXnn36ZcQGXbrv7ehBfAeTlFmWUP33s2PXpoV0+oM5 +PyWSGTd99SootiAncnl9inH5wK65CU= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-449-HFTv8g-GN7qWDGC0c5e3Jw-1; Sun, 19 Nov 2023 15:10:35 -0500 X-MC-Unique: HFTv8g-GN7qWDGC0c5e3Jw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1410D3C027B9; Sun, 19 Nov 2023 20:10:35 +0000 (UTC) Received: from elisabeth (unknown [10.39.208.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E421940C6EB9; Sun, 19 Nov 2023 20:10:33 +0000 (UTC) Date: Sun, 19 Nov 2023 21:10:30 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 0/3] pasta: Implement runtime auto-forwarding for UDP Message-ID: <20231119211018.5cc7fe97@elisabeth> In-Reply-To: <20231115052534.1826261-1-david@gibson.dropbear.id.au> References: <20231115052534.1826261-1-david@gibson.dropbear.id.au> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: KJ2YPQAFZ5NSCAT5CMGSBUUF4UZCYRMS X-Message-ID-Hash: KJ2YPQAFZ5NSCAT5CMGSBUUF4UZCYRMS 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 Wed, 15 Nov 2023 16:25:31 +1100 David Gibson wrote: > In "auto" mode port forwarding, we scan for listening TCP ports at > start up, and then every second thereafter. For UDP, however, we scan > only at start up. > > That's documented, but surprising, and there's no real reason for it > to be that way. Implement periodic scanning for UDP auto forwarding > too. > > Link: https://bugs.passt.top/show_bug.cgi?id=45 > > *** BLURB HERE *** > > David Gibson (3): > tcp: Use common helper for rebinding inbound and outbound ports > tcp: Simplify away tcp_port_rebind() > udp,pasta: Periodically scan for ports to automatically forward Applied. -- Stefano