{"id":2003666,"url":"http://patchwork.ozlabs.org/api/patches/2003666/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/patch/20241029101608.2991596-5-i.maximets@ovn.org/","project":{"id":47,"url":"http://patchwork.ozlabs.org/api/projects/47/?format=json","name":"Open vSwitch","link_name":"openvswitch","list_id":"ovs-dev.openvswitch.org","list_email":"ovs-dev@openvswitch.org","web_url":"http://openvswitch.org/","scm_url":"git@github.com:openvswitch/ovs.git","webscm_url":"https://github.com/openvswitch/ovs","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20241029101608.2991596-5-i.maximets@ovn.org>","list_archive_url":null,"date":"2024-10-29T10:15:02","name":"[ovs-dev,4/9] ipsec: libreswan: Fix regexp for connections waiting on child SA.","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":false,"hash":"2becf4e15fa3b0f7032c66a2cb542b74e2546cfd","submitter":{"id":76798,"url":"http://patchwork.ozlabs.org/api/people/76798/?format=json","name":"Ilya Maximets","email":"i.maximets@ovn.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/openvswitch/patch/20241029101608.2991596-5-i.maximets@ovn.org/mbox/","series":[{"id":430270,"url":"http://patchwork.ozlabs.org/api/series/430270/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/list/?series=430270","date":"2024-10-29T10:14:58","name":"ipsec: Resiliency to Libreswan failures.","version":1,"mbox":"http://patchwork.ozlabs.org/series/430270/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2003666/comments/","check":"success","checks":"http://patchwork.ozlabs.org/api/patches/2003666/checks/","tags":{},"related":[],"headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","ovs-dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ovs-dev@lists.linuxfoundation.org"],"Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)","smtp3.osuosl.org;\n dmarc=none (p=none dis=none) header.from=ovn.org"],"Received":["from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4Xd5l94C0lz1xxC\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 29 Oct 2024 21:16:37 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id C7E444076C;\n\tTue, 29 Oct 2024 10:16:35 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id XasCG88ezoyy; Tue, 29 Oct 2024 10:16:34 +0000 (UTC)","from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp4.osuosl.org (Postfix) with ESMTPS id 791424088E;\n\tTue, 29 Oct 2024 10:16:34 +0000 (UTC)","from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 22635C08AA;\n\tTue, 29 Oct 2024 10:16:34 +0000 (UTC)","from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 11974C08A9\n for <ovs-dev@openvswitch.org>; Tue, 29 Oct 2024 10:16:33 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 25E2860D67\n for <ovs-dev@openvswitch.org>; Tue, 29 Oct 2024 10:16:29 +0000 (UTC)","from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 0MrsnXA_cGw0 for <ovs-dev@openvswitch.org>;\n Tue, 29 Oct 2024 10:16:27 +0000 (UTC)","from mail-lf1-f66.google.com (mail-lf1-f66.google.com\n [209.85.167.66])\n by smtp3.osuosl.org (Postfix) with ESMTPS id F2C1C60D5D\n for <ovs-dev@openvswitch.org>; Tue, 29 Oct 2024 10:16:25 +0000 (UTC)","by mail-lf1-f66.google.com with SMTP id\n 2adb3069b0e04-539f0f9ee49so5593483e87.1\n for <ovs-dev@openvswitch.org>; Tue, 29 Oct 2024 03:16:25 -0700 (PDT)","from im-t490s.redhat.com (ip-86-49-44-151.bb.vodafone.cz.\n [86.49.44.151]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-431b4594ec3sm20279685e9.1.2024.10.29.03.16.21\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 29 Oct 2024 03:16:21 -0700 (PDT)"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections -\n client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp4.osuosl.org 791424088E","OpenDKIM Filter v2.11.0 smtp3.osuosl.org F2C1C60D5D"],"Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.66;\n helo=mail-lf1-f66.google.com; envelope-from=i.maximets.ovn@gmail.com;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp3.osuosl.org F2C1C60D5D","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1730196982; x=1730801782;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=ExnzGMXQlKnNTYcuh0dGEVNPSlvLcVyJRnJ+AkcF2Fc=;\n b=MnHvf1f/6FPCn2N7HpTnhRztMDFOH0p7ZgurjuxwxEd+resLRu9NXnU2ONJN+8iKZk\n m77UMrqmNnuka1xKcIM7Lr7tN1iZfWU3S9UouvIrxwwVqFvqA/FEd6fqswC00S6qRt/t\n 2VPWp/iJmtNeHz0B0ZSYdkuz9x0uzv2IRuf1GqfWamyEO+71LZn5s5oXizM8a7E9jUax\n MRFkCLDHPMJ6kGaxfIv4A+vXg3LP/IcoClc9WoOTewJN2JEQ2NC/UvXRw/nCPHULHLwY\n uHZOs9FhfXP4tGPUkw5Cn9LLtaY33u5hfM3jh4ygX7vNR4tmsE+TbnUfD3q/uP88uPIN\n XU9Q==","X-Gm-Message-State":"AOJu0YzDPqYHt22r/SbjapWm2aNCUFY5nKPtp+XZPfOTQZMgY2hwIJUW\n P6gG7uYTaC5+YeHLc6VnuPLGmA8n9ITL3AELdfY7nXu29c/84uaknRHhEwWl","X-Google-Smtp-Source":"\n AGHT+IFoWG40VQX3zmBAigRPrsOGkKPrGJ/bYVr0//B9DlASwNxJwyLqZ/4sspRwWmlw4//248ZFvg==","X-Received":"by 2002:a05:6512:2385:b0:539:e14b:309c with SMTP id\n 2adb3069b0e04-53b348cb1c6mr4477163e87.19.1730196982092;\n Tue, 29 Oct 2024 03:16:22 -0700 (PDT)","From":"Ilya Maximets <i.maximets@ovn.org>","To":"ovs-dev@openvswitch.org","Date":"Tue, 29 Oct 2024 11:15:02 +0100","Message-ID":"<20241029101608.2991596-5-i.maximets@ovn.org>","X-Mailer":"git-send-email 2.46.0","In-Reply-To":"<20241029101608.2991596-1-i.maximets@ovn.org>","References":"<20241029101608.2991596-1-i.maximets@ovn.org>","MIME-Version":"1.0","Subject":"[ovs-dev] [PATCH 4/9] ipsec: libreswan: Fix regexp for connections\n waiting on child SA.","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Cc":"Ilya Maximets <i.maximets@ovn.org>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ovs-dev-bounces@openvswitch.org","Sender":"\"dev\" <ovs-dev-bounces@openvswitch.org>"},"content":"These should be considered active, because pluto is waiting for the\nother side to react.  We should not remove them or try to repair.\nSuch connections have an extra text between the SA number and the\nname of the connection.\n\nIdeally, we would like not to parse the output of ipsec status, since\nit's very error prone, but there is, unfortunately, no other interface.\n\nSigned-off-by: Ilya Maximets <i.maximets@ovn.org>\n---\n ipsec/ovs-monitor-ipsec.in | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/ipsec/ovs-monitor-ipsec.in b/ipsec/ovs-monitor-ipsec.in\nindex d667c08bc..3b2057389 100755\n--- a/ipsec/ovs-monitor-ipsec.in\n+++ b/ipsec/ovs-monitor-ipsec.in\n@@ -765,7 +765,7 @@ conn prevent_unencrypted_vxlan\n         return conns\n \n     def get_active_conns(self):\n-        return self.get_conns_from_status(r\"#\\d+: \\\"(.*)\\\".*\")\n+        return self.get_conns_from_status(r\"#\\d+: .*\\\"(.*)\\\".*\")\n \n     def get_loaded_conns(self):\n         return self.get_conns_from_status(r\"\\\"(.*)\\\":.*(===|---).*\")\n","prefixes":["ovs-dev","4/9"]}