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 8E5A95A0265 for ; Wed, 26 Oct 2022 16:28:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666794513; 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=1r7QS3HOsTxPR/vP3n7y2ZgCFvgzh+fa0LCaSrPSC3I=; b=GQHNQKINryBCdNlSlCi8845MdTGCuDpDI4mIueEmAu26M0pvT7WJFfurnaajXZtAL9LBNz VKjaV/UQMBFo5e/E/DbCh26n3QrYNMTz/jo+rLQXTz3KQpQXmwfi48OUboxXpOtqlGHtlw 174Ljuok6L3y0ghDbNNRFWUde9qQAz8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-523-RVs86Xv1Nw-fDySI730hzQ-1; Wed, 26 Oct 2022 10:28:32 -0400 X-MC-Unique: RVs86Xv1Nw-fDySI730hzQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C78CF95E1CF; Wed, 26 Oct 2022 14:28:26 +0000 (UTC) Received: from maya.cloud.tilaa.com (ovpn-208-31.brq.redhat.com [10.40.208.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 93364492B16; Wed, 26 Oct 2022 14:28:19 +0000 (UTC) Date: Wed, 26 Oct 2022 16:28:16 +0200 From: Stefano Brivio To: Paul Holzinger Subject: Re: [PATCH] checksum: Fix calculation for ICMP checksum on IPv4 Message-ID: <20221026162816.53c02f48@elisabeth> In-Reply-To: <20221026154056.5a881b91@elisabeth> References: <20221025160713.1024373-1-sbrivio@redhat.com> <20221026145750.49fd26da@elisabeth> <20221026154056.5a881b91@elisabeth> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: BB24H76XLACEL52ZWCKF7WCRHL67TNP3 X-Message-ID-Hash: BB24H76XLACEL52ZWCKF7WCRHL67TNP3 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-dev@passt.top X-Mailman-Version: 3.3.3 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, 26 Oct 2022 15:40:56 +0200 Stefano Brivio wrote: > On Wed, 26 Oct 2022 15:07:42 +0200 > Paul Holzinger wrote: > > > Pcap file is attached. > > Thanks, it's not the issue I had in mind. Here the ARP exchange already > happened, and the ICMP proxy is not tracking the first reply. Somewhat interestingly: $ ./pasta --config-net -- sh -c 'sleep 0.05; ping -c1 88.198.0.161' PING 88.198.0.161 (88.198.0.161) 56(84) bytes of data. 64 bytes from 88.198.0.161: icmp_seq=1 ttl=255 time=0.593 ms --- 88.198.0.161 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.593/0.593/0.593/0.000 ms $ ./pasta --config-net -- sh -c 'ping -c1 88.198.0.161' ping: connect: Network is unreachable ...but that's not the same that happens with Podman, I'm still debugging that. -- Stefano