From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from esa1.hc1292-66.eu.iphmx.com (esa1.hc1292-66.eu.iphmx.com [23.90.118.89]) by passt.top (Postfix) with ESMTPS id 4BD515A005E for ; Mon, 21 Nov 2022 17:08:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=neuroblade.com; i=@neuroblade.com; q=dns/txt; s=nbselector1; t=1669046918; x=1700582918; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=9/x/ht7GZ45u6HQwP6H2FTwsQIB1JQfcGiBnVJ0HybA=; b=qwT99WpR5A+IIjvjKRqEayUtECUlWF6lh0eaC49ZRB4yZ/RZBPCGRJr8 PCRanX9s9gZQIyEaq5WIDVZMFBNVLB9l34+WaoiXV6O5y6xTTOe2VP3Xk qtCKyo0bLvYVA6Y+JeS2161gTN7LEG4xATwXs9yCqBoKAaaVNqs8u80OW KcxN9sYKxpxHNe+Ta2iCJ/oITWL7CG9XuN+KZSJad6cTLUQwag5DRKk0x y5DFiBm+G11BKQwZpuCoYRdff9vvK2Nom27xBIfJNwW1h23QZNgjLiGxU WAGAxUAwMTmUdapSDzsX6TBIzlHxYppXqBa4ggQsqyAjekBxp17qG3aRK w==; X-IronPort-RemoteIP: 104.47.11.113 X-IronPort-MID: 218500 X-IronPort-Reputation: None X-IronPort-Listener: OutgoingMail X-IronPort-SenderGroup: RELAY_O365 X-IronPort-MailFlowPolicy: $RELAYED Received: from mail-db5eur02lp2113.outbound.protection.outlook.com (HELO EUR02-DB5-obe.outbound.protection.outlook.com) ([104.47.11.113]) by ob1.hc1292-66.eu.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 18:08:37 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FMS5cx9vxIZPaVW+2aB+1rcJT9gT5QT4iqxpfyLHCZLhRS6Me0SKLa+heC93uNfW1MQ/xM8FrzlzhAhYFrGOqYFXiGqoW8Nr8PQuMl/lW2ty76Ed/LP1AgrVpw46QflpED2JjnY/IUDSEIJB7ArF9TPPSIYh3d7xtaQ2omuW6CEBGUgtfkZYcRPyzHgleXaOHyeso+2RqXb/Ks4YaiT4CvNixjMvOUAotxfzYo45T8xtySgi5rXuTIi1mK4dlG8OJa6a7NAmiGW5nRiWvS4BW/1bgFeXudYjhM1bjlGXB7ogsbNHRtu5yFujTZjc48u3Awz8Kzk2ptXtQxKb7fGRug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Q5aMelXwYcuub4CMUo8gw/y4hCr72fAWGIwL2zK5x3o=; b=Y13BDouLsdv3PaKAdiBHiRJs3/9XfBxUq6s0LrYQ6c3avkMnNl3DY18q/Ai3tF1zRA1o6xhL7cw26GcdVi7vj2f6mFcanHAED1AdnBU4O4GJdhTlE6JhePNYUhDzl5YpyQ42wZC9xfrDKSkgG5pmJ5WNPItInWqXUuLIXKtpbCB/7rTldNoxNL0q+/h0sUgtOBjotj1/buHcwXJguPbUes9xxOhieGIpl2IDZyiMnROJjaqs6y2bb3/3hpsFQVT8VaFO9Gv3gplH04NE7KXOtLBRZibBpg307O9d2Ber6UeaLff5zI4ZCV6b+VHUfWA2BiXNF5pMyEIAkG/QtZ2LSg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=neuroblade.com; dmarc=pass action=none header.from=neuroblade.com; dkim=pass header.d=neuroblade.com; arc=none Received: from PA4PR09MB4880.eurprd09.prod.outlook.com (2603:10a6:102:e0::15) by DB4PR09MB5845.eurprd09.prod.outlook.com (2603:10a6:10:38f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15; Mon, 21 Nov 2022 16:08:35 +0000 Received: from PA4PR09MB4880.eurprd09.prod.outlook.com ([fe80::a3fa:8eb2:b2aa:2456]) by PA4PR09MB4880.eurprd09.prod.outlook.com ([fe80::a3fa:8eb2:b2aa:2456%8]) with mapi id 15.20.5834.015; Mon, 21 Nov 2022 16:08:35 +0000 From: Amir Gonnen To: "passt-user@passt.top" , Stefano Brivio Subject: Handshake timeout? Thread-Topic: Handshake timeout? Thread-Index: Adj9wfXBCfFnsxilST6YjAL7QXocTw== Date: Mon, 21 Nov 2022 16:08:35 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=neuroblade.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PA4PR09MB4880:EE_|DB4PR09MB5845:EE_ x-ms-office365-filtering-correlation-id: f5bf0569-4990-4c99-66dc-08dacbdaa50d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jKuNjF4eTBcNHqdbOyocwAe5aaKAikIE7WPJlwVWFFGkNMFgLDjLQ1t+0IlFQ/oHswYQm16QmriJmE4mhFAHLuSkQedJ1kze6ZRUgYy74/XjWh59CXzdTbbW0qIqjQSpZ6/wRy+HtSXmXip0kFvKhkwaWMtWzjPfP0o9S5rvI9a8/lq0YT9hoCDfSAX2QdwHLPv487fA1A6+DOJZSwOF3AwUsMafriG47hDscI31vZM+PaQ7gy0copkz13DdXPSl8j5ByHuj0UKhn794/oDWL+/YmPSAjl2+E715xzdDTF0zuOjLVoDS/hrvmfWUV7ZWp/hZBRJjzND/00EPrxpKlsIruXUIbANBcuRTczsTl1GidZSB0+qUJ/8zN2x71WXeNiSgM4twaVvvrxyuWGaPbsTjw84yrTX10Vbokogi01vHwEAmm8GGUFttqMLgWMgaIBMokZVRrp0H3wcf8BM6mfkM1CjVhpQPWIpAtw+WWKgTw0PFwW02+aIp0HLo37shZCumj1kaFzBYmxfHYteOoj8hupbc/YeB/bkh8RZARLdsvmMWJA35RsagkyqX7aRqtjF5Lpn474TylVft1jjqV7/pEPgMb+6cVaNQ0RXyl1zW6euMvNB4XOas7dEW3M+qV9cLmT8h9+z5DL8/9i6aXfc9rQJog4DmyIyxteBckUP2zKQMabGne1DWwMxYDAISEzYavsDI9HmawFKUO36LdA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR09MB4880.eurprd09.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(39830400003)(376002)(396003)(346002)(366004)(451199015)(33656002)(86362001)(38070700005)(41300700001)(76116006)(66556008)(66946007)(316002)(66446008)(64756008)(122000001)(66476007)(8676002)(7116003)(55016003)(38100700002)(3480700007)(83380400001)(66574015)(478600001)(71200400001)(110136005)(44832011)(8936002)(5660300002)(52536014)(2906002)(186003)(9686003)(26005)(7696005)(6506007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?E5MWTSeqpZnc2eq95EBi0qfjjKhZvpQNLr1dTW0qb308U6lMtfWaeowmeA6u?= =?us-ascii?Q?tkyaB10w4Czud6n7JE6P0OipzNTvT5LkLScVaHBSxIsSdQVt4usoPKH2/6ks?= =?us-ascii?Q?CnJ+c2eLjvHWNEWhiYMYHJF2cH0TNPvObeRICD3J8ERfXM3TsW+JY4caqaDU?= =?us-ascii?Q?dNW7aeKYj6/JkZBsNwBrSHyn2PLWMM5sgoii9KGhKlmyIL9xXlkrOCh7UtGO?= =?us-ascii?Q?YbAUZkQnG5kSMDEiiRDFBcKRjT5EKn3lI9jWnF5LqcGDq8pSAQyGXtX8L+Pk?= =?us-ascii?Q?mOVi00Si5KljwlIN/PMQuyTsrYLnNu2VdEVc8umroWYQms+k0tBDPIbPyloO?= =?us-ascii?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lVJ?= =?us-ascii?Q?1ahKGFGEz1TBOxn3jxMMctofaZhvoLS4sS+8g+f4LvwL+MONiX1Jl302qZQH?= =?us-ascii?Q?6tS6PhQPjdo3Dt15QdtcTD8oVh/6dCRx9HXC7xgupG5fou8mPwdDOGtgkrfw?= =?us-ascii?Q?tmVUAcCtt40U7WPFl1IjO92quOlK7W/m3BMCTM6V1tQn8beY5ZbYUzt//tqY?= =?us-ascii?Q?ZfU/OmTLqxlQmJg1oi+iHjMuRtl3HGTB/1k7tf4KC/7EMPkT9WFJpl4jxhwM?= =?us-ascii?Q?oVmn2FTkVBwK6qUwtaIagrtWEzkl8+8MemHtnRlXj8aJeWF5HUR8oRg9Yrat?= =?us-ascii?Q?PgG5sXRJk+YDmvE08LJJq9CbIziLCbyUS35o5ifhjeiSA+7iXUnTChpJIbVx?= =?us-ascii?Q?aA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: imllXCm2rfC3SdK56etrnLYPcIszc0Fhv9oiAuBgCMGnlr2OeVTGmBfVWb0lkV4ZF6cf5y82U7T+vujuF1MB2ktvwZ8RkK2pip4xbDx3ke0TD3J+IUmabjapZ7btY03cx5IQKXD0r7PKmC2+8jqfNSY/9+ng2uTQDE99rXhrED4ANVbZmpUm5UzFHvXNdlNUdyhGvyPfwOh9yJ6qdElLPwQMfh1pGHLi6oLRV1ce0jZb/jWOIoaO5k/bZXGcBL+jPd0bMiIijKExtJaWSJb5WjU63Z2zaRH7TL6G/nhriPZU75mvsLcCOgmEra+eTgMqYVffnIvzsffiES6wSPdTT7pDbwLRYInYkC//w7tkQ8bLaRNpw6hWhkEGfKaZGmbqA6qVQaeZaKqdJhWgPrkh71pHvEDjlzhiSNOGVx6/eeEheHay1q0pgpohOzkxnmccaDWicchEtABxNdi8Onrt2GhGw8TNhuq1GxyZZIJhngivtv+oJ7wG6OOXYDTdfzoaSEhdUZdcr+3sKaifNYEqDxGq/7kF3IJpUql3ZmWTgy0FsRvORX2NkRsaiprIlt5cDJlXzp+gfwNovmykAei7t7p2tQrfed73iFCVX7X0SP/7zt3teWWI5kBeWMf8jeSWmMb5jm9NFvVs2qNrmw+xVQybEgz41YGa8i+UcLdbNzQCughViEgzLg1rCsp0Y3Fy8xOeIW3oqpVCYiH3ZS51KMLTV+dRkKPjHi3qA4ZdRkbPVi2rMJAAg4cWEqHCpiqy4Tfd9tpK9wRA+qkw5Iw7Ie+4rY81EHY+hpC5F0PSKmQ= X-OriginatorOrg: neuroblade.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PA4PR09MB4880.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5bf0569-4990-4c99-66dc-08dacbdaa50d X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2022 16:08:35.8618 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 63c61203-65af-4cf8-98e5-d12f35edaefa X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qchJcpvS1TPJkFp28o/pmqGKvd6/U1x/RHOXJ1YeUwj0sAWGEReQcJ+4+MeJc3Yd/kAWOB0wwBFZv+3qT1DHPmsn/mZS/XjLD4wnxZKSX74= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR09MB5845 X-MailFrom: amir.gonnen@neuroblade.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: LPRKXJEW4VRIPABX46YVVPXVINMRY5X3 X-Message-ID-Hash: LPRKXJEW4VRIPABX46YVVPXVINMRY5X3 X-Mailman-Approved-At: Mon, 21 Nov 2022 17:11:50 +0100 X-Mailman-Version: 3.3.3 Precedence: list List-Id: "For users: support, questions and answers" Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi, I'm trying out passt with custom QEMU (we emulate a proprietary device). On one terminal I'm running latest passt (3eb26fe): ./passt --debug -f -t 55556:22 -s /tmp/passt.socket On another terminal I'm running our qemu-system-x86_64 with: -device virtio-net-pci,netdev=3Dnet0 -netdev stream,id=3Dnet0,server=3Dof= f,addr.type=3Dunix,addr.path=3D/tmp/passt.socket QEMU starts and the VM boots, but without network: [FAILED] Failed to start NetworkMan...[0m - Network Manager Wait Online. On passt side I see this log: No external routable interface for IPv6 Outbound interface (IPv4): ens160 MAC: host: 00:50:56:87:50:45 DHCP: assign: 192.168.120.119 mask: 255.255.255.0 router: 192.168.120.1 DNS: 192.168.3.240 0.8229: UNIX domain socket bound at /tmp/passt.socket 0.8245: You can now start qemu (>=3D 7.2, with commit 13c6be96618c): 0.8247: kvm ... -device virtio-net-pci,netdev=3Ds -netdev stream,id=3Ds= ,server=3Doff,addr.type=3Dunix,addr.path=3D/tmp/passt.socket 0.8250: or qrap, for earlier qemu versions: 0.8252: ./qrap 5 kvm ... -net socket,fd=3D5 -net nic,model=3Dvirtio 143.3596: accepted connection from PID 1704978 144.3168: TCP: index 0, SOCK_ACCEPTED: CLOSED -> SYN_RCVD 144.3168: TCP: hash table insert: index 0, sock 41, bucket: 59909, next: (n= il) 144.3169: TCP: index 0: ACK_FROM_TAP_DUE 144.3170: TCP: index 0, timer expires in 10.000s 154.3170: TCP: index 0, handshake timeout 154.3170: TCP: index 0, reset at tcp_timer_handler:2965 154.3170: TCP: index 0, CLOSED: SYN_RCVD -> CLOSED 154.3171: TCP: hash table remove: index 0, sock 41, bucket: 59909, new: (ni= l) 154.3172: TCP: hash table compaction: maximum index was 0 (0x5600919ac500) 159.3257: TCP: index 0, SOCK_ACCEPTED: CLOSED -> SYN_RCVD 159.3257: TCP: hash table insert: index 0, sock 41, bucket: 134652, next: (= nil) 159.3258: TCP: index 0: ACK_FROM_TAP_DUE 159.3258: TCP: index 0, timer expires in 10.000s 169.3258: TCP: index 0, handshake timeout 169.3258: TCP: index 0, reset at tcp_timer_handler:2965 169.3259: TCP: index 0, CLOSED: SYN_RCVD -> CLOSED 169.3259: TCP: hash table remove: index 0, sock 41, bucket: 134652, new: (n= il) 169.3259: TCP: hash table compaction: maximum index was 0 (0x5600919ac500) 174.3371: TCP: index 0, SOCK_ACCEPTED: CLOSED -> SYN_RCVD ... Looks like a handshake timeout. Am I doing something wrong? Thanks, Amir The contents of this email message and any attachments are intended solely = for the addressee(s) and may contain confidential and/or privileged informa= tion and may be legally protected from disclosure. If you are not the inten= ded recipient of this message or their agent, or if this message has been a= ddressed to you in error, please immediately alert the sender by reply emai= l and then delete this message and any attachments. If you are not the inte= nded recipient, you are hereby notified that any use, dissemination, copyin= g, or storage of this message or its attachments is strictly prohibited.