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=PwJrO848; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id 3FDC45A026F for ; Thu, 06 Nov 2025 13:37:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1762432668; 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=/u+odAgyoPKOaznz5ZsPIzPo47AxTwG68Zcse/VuQlE=; b=PwJrO848jHLV7Fl317ONgnuskkImdSe7Sbu70/wtysa06aZayxXfO/I7Vzoluxo8zepQum 4mMcTgETm851MHHxK9Zgjaa93oyj4p1f5vCmzt15RCKEZU0sMMzJL3pFZLEmppcdHcQuQd xSuw4HCA7prwRpGXDKanR1K+1N7cPkg= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-427-dHFStxXhN_2gr-KkvmlqwQ-1; Thu, 06 Nov 2025 07:37:44 -0500 X-MC-Unique: dHFStxXhN_2gr-KkvmlqwQ-1 X-Mimecast-MFC-AGG-ID: dHFStxXhN_2gr-KkvmlqwQ_1762432664 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-471168953bdso11604645e9.1 for ; Thu, 06 Nov 2025 04:37:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762432663; x=1763037463; 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=/u+odAgyoPKOaznz5ZsPIzPo47AxTwG68Zcse/VuQlE=; b=OxbpHgW3QdkKiT+aWzyffWrRbPHnuI/8baWyQn7lubuwfnqH7gWV7/c+YtG3wms2Yc gXRiM7HExdgppXtMSDDbSzUSKT3dnOdMEAPn+noW80JadxwWmmeeI0aRs3vvq38Nvh51 s25yKKwbgln6GBdZktRK5XUCdb4EnQ8pckZxRXf6IB5oJvsYtFXufA25RSZ0Ky0OVbbx u0zPB+6/X1Zm10vk4QNfAC6hc63SiUr6mXYeX33Kd0DnaB67H7aVcjRm3YJgc2vtDz2A 7DQjxeP4ynus5FGZsTLFg/UhTDjxE23vaVobJyJ+RG8wIjULaY7zl0UhKWrzRobbkK99 vLKA== X-Forwarded-Encrypted: i=1; AJvYcCUdYD5oW60XdWo3+kjYWdH/42cuM0bAZfvcjN1cZtwZfFnnYtoFXx4QQB1f424XdkpDC/aGMlh7vToR@passt.top X-Gm-Message-State: AOJu0YzhQPMTbQTRSYmCcoGjyhVir6096drvHGRIG6PySvh1Z9YfJdLT vLsq/nCJyIBuCZxn87pURhYyg9hyYu+xQDzbCOnQln+ntvU2TsJnhWVHwAyYidHge31HFCgvBP5 ghtY4sQg37gfSr7nX4Fou+j1HaMaA/981G4u5XV38004clKVu3yVbKkkxCD3iXY8= X-Gm-Gg: ASbGncsiqMs+5HqN8fnnxECKthH6f2R2PKMptxvhPdok6hWprgcqHPykpMUoyBz4jXa XA3+n5ntS3ldJFFvDNJHpGtqqCpXIUKtTLylD0yTflq+TwRH2qU37AdpdxFtJlkP3Cbv7HV1a0b 1amn+1qhWKUC59gM+MV2KAb6POvrQ6Jl4/UfbqxgKdoFe6gIluRG0CiD+trnTz09X4Lt9eerdZK 5i2CTSsviUscAiuzuozKGfjOYcgo5KfYT8wyVVvKOpYD6F6CYlZrm3AaH/veHeXtK5A5WNQq2td WDs9kAML7t2xTOn2f48Yuv2fdlDvSn+0FoASr6MKof3Gqp5yqv7RgT98ZmxZHAvM7Shb6Vsfdwk 7Ks2aMGHm3hO1RguYJbbVLDDubsQ= X-Received: by 2002:a05:600c:228c:b0:477:348b:1182 with SMTP id 5b1f17b1804b1-477620b6569mr18081815e9.18.1762432663267; Thu, 06 Nov 2025 04:37:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8ADNRzcgNdH5iglISEQxIVrK9CNPIw2pGbpkRBwW6OQnCvOoqyEAeLKW+pulj84LgoeSE0w== X-Received: by 2002:a05:600c:228c:b0:477:348b:1182 with SMTP id 5b1f17b1804b1-477620b6569mr18081715e9.18.1762432662788; Thu, 06 Nov 2025 04:37:42 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429eb4771cfsm4672274f8f.30.2025.11.06.04.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Nov 2025 04:37:42 -0800 (PST) Date: Thu, 6 Nov 2025 13:37:36 +0100 From: Stefano Brivio To: James Sinton Subject: Re: Port Forwarding between host-guest via passt using QEMU-libvirt Message-ID: <20251106133736.40e4117e@elisabeth> In-Reply-To: References: 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: ctVmDdhbQP6hsyoElbjq798x1nWxmMppWQgArIkEkjc_1762432664 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: MKLLAQVOEAGWQUMKDIQTN2LUUL4JIYCR X-Message-ID-Hash: MKLLAQVOEAGWQUMKDIQTN2LUUL4JIYCR 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: David Gibson , passt-user@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: "For passt users: support, questions and answers" Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, 6 Nov 2025 12:08:07 +1100 David Gibson wrote: > That information might supply some clues, but it's pretty likely we'll > need debugging or packet capture output from passt to work this out. > Unfortunately, that's a bit trickier than it should be because libvirt > doesn't (yet) have the ability to pass the necessary options to passt. By the way, this feature request for libvirt is currently tracked at (public RHEL ticket, but applies to libvirt in general): https://issues.redhat.com/browse/RHEL-52281 Meanwhile, one thing you can do is to add a wrapper at /usr/local/bin/passt (don't forget to chmod 755 it) with these lines: --- #!/bin/sh /usr/bin/passt --debug --log-file /tmp/passt.log --pcap /tmp/passt.pcap $@ --- that's the way I currently debug stuff with libvirt, at least. Note that passt can take guest-side packet captures (you would find it at /tmp/passt.pcap, which you can open with Wireshark / tshark later), which is usually convenient for cases like these. -- Stefano