Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CAC1C43381 for ; Sun, 31 Mar 2019 10:26:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 32F3020828 for ; Sun, 31 Mar 2019 10:26:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731078AbfCaK0m (ORCPT ); Sun, 31 Mar 2019 06:26:42 -0400 Received: from ja.ssi.bg ([178.16.129.10]:44694 "EHLO ja.ssi.bg" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726760AbfCaK0m (ORCPT ); Sun, 31 Mar 2019 06:26:42 -0400 Received: from ja.home.ssi.bg (localhost.localdomain [127.0.0.1]) by ja.ssi.bg (8.15.2/8.15.2) with ESMTP id x2VAQYFT007503; Sun, 31 Mar 2019 13:26:34 +0300 Received: (from root@localhost) by ja.home.ssi.bg (8.15.2/8.15.2/Submit) id x2VAQYFx007502; Sun, 31 Mar 2019 13:26:34 +0300 From: Julian Anastasov To: Simon Horman Cc: lvs-devel@vger.kernel.org, Pablo Neira Ayuso , netfilter-devel@vger.kernel.org, Jacky Hu , jacky.hu@walmart.com, jason.niesz@walmart.com Subject: [PATCH net-next 0/3] Add UDP tunnel support for ICMP errors in IPVS Date: Sun, 31 Mar 2019 13:26:18 +0300 Message-Id: <20190331102621.7460-1-ja@ssi.bg> X-Mailer: git-send-email 2.17.1 Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org This patchset is a followup to the commit that adds UDP/GUE tunnel: "ipvs: allow tunneling with gue encapsulation". What we do is to put tunnel real servers in hash table (patch 1), add function to lookup tunnels (patch 2) and use it to strip the embedded tunnel headers from ICMP errors (patch 3). Julian Anastasov (3): ipvs: allow rs_table to contain different real server types ipvs: add function to find tunnels ipvs: strip udp tunnel headers from icmp errors include/net/ip_vs.h | 6 +++ net/netfilter/ipvs/ip_vs_core.c | 66 ++++++++++++++++++++++++++++++ net/netfilter/ipvs/ip_vs_ctl.c | 72 +++++++++++++++++++++++++++++---- 3 files changed, 136 insertions(+), 8 deletions(-) -- 2.17.1