Re: [babel] MAC: rate limit challenge replies

David Schinazi <dschinazi.ietf@gmail.com> Sat, 17 August 2019 01:11 UTC

Return-Path: <dschinazi.ietf@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 22E901200F7 for <babel@ietfa.amsl.com>; Fri, 16 Aug 2019 18:11:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wvMklCWo0afL for <babel@ietfa.amsl.com>; Fri, 16 Aug 2019 18:11:04 -0700 (PDT)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 611B61200EF for <babel@ietf.org>; Fri, 16 Aug 2019 18:11:04 -0700 (PDT)
Received: by mail-lj1-x22f.google.com with SMTP id t14so6810971lji.4 for <babel@ietf.org>; Fri, 16 Aug 2019 18:11:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pXx/LG3jVedzJIrdaC2NyRKBBu77kr2bWnPm4jva5es=; b=hz46lxTXqRoUIDCJliKzvkYpepfpKJtDQpZv3tmB/NYY+mcxpCBBkIblPW1Gz+5RUY JlpJ1wJT0u8AvG1Qy4cSCT+OJy3hihK8VPsUgDjEVECqIJ6ObHhXfdtv6wdKVs1T3ZlO sLRI30RVsUXKU5wYxKRf+AHDuP59QHW0tB3biAxIBdQCxrf92vvTRSno4bwTZ9ASWa81 k7VQeDmaZzQHapBjXiOz4PwHkilhOvP5BH0OK9LzjRLPCTTJwbwVP3pDqEzdRAyZrbBq gIeHy99xgemktzjbrDkzfPPB2SoSJMv+l5fLX6sNHluLV8XLuoGS7X3sKcG1hYW3nBZd ZMjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pXx/LG3jVedzJIrdaC2NyRKBBu77kr2bWnPm4jva5es=; b=r5Vxa4QVyeO9qEwmp6Vkv1lSXd99kiSi+W7xS+xf1XMtsEbuRY7IlGFtYKj6NHydlB g4S6clK8wuEllCqYNRyI1bIlFcH8WXdbA5NodkpNBINF9I1u9z6uyLltZDPIc7FxC0C3 hCRfcYUBbQQuki/2xxcvuE+Ob3AydIaU3S8xK+vk+kTKm1a0CxuVRleiGpiYl2f191XV xEZ9iiUfzEzmcC14DlsKbwBoU9jzk6EuULxIyvMGdf//wmSDUu10X4Je8mThpjsgzYqt y9dx/OR4A/qrOkIjX8qmqYYBQZ82Bw1kg8aKvcmKggERGKvkKAf/1Lkx27/NGt4fQJyE ZviA==
X-Gm-Message-State: APjAAAUfkNyjJn8Q3h+SMNYIn0ynNoBcjuKuoOX9MXasinFZOx3pmHli onRo03Z4o9tNpuZzF0om4Vv1F2yEUeDDT2QJ7OQ=
X-Google-Smtp-Source: APXvYqz9HbvDRHp0+7xecqAU/YAYavaAXtKFw4sljNhxT+UfupJa0h+yxGQOPe5beViwIcTSpIgRgN60XnawlY5F6kA=
X-Received: by 2002:a2e:94cb:: with SMTP id r11mr6524070ljh.212.1566004262396; Fri, 16 Aug 2019 18:11:02 -0700 (PDT)
MIME-Version: 1.0
References: <87blwozn26.wl-jch@irif.fr>
In-Reply-To: <87blwozn26.wl-jch@irif.fr>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Fri, 16 Aug 2019 18:10:51 -0700
Message-ID: <CAPDSy+56LQ+MWyGa85XLjp74O7LV6rx_OMYyueoY01pRTwYzMA@mail.gmail.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: Babel at IETF <babel@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c6e6c3059045c77a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/ZwY_FKAcORRO_Rusrt6ZhAStmK0>
Subject: Re: [babel] MAC: rate limit challenge replies
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 17 Aug 2019 01:11:06 -0000

Sounds like a good idea to me.

David

On Fri, Aug 16, 2019 at 4:51 PM Juliusz Chroboczek <jch@irif.fr> wrote:

> Since we are limiting challenge requests, it makes no harm to limit
> challenge replies, and it increases our resistence to DoS.  I've added the
> following text to the MAC draft:
>
>    Since a challenge reply might be caused by a replayed challenge
>    request, a node MUST impose a rate limitation to the challenge
>    replies it sends; the limit SHOULD default to one challenge reply for
>    each peer every 300ms and MAY be configurable.
>
> I hope nobody objects.
>
> -- Juliusz
>
> _______________________________________________
> babel mailing list
> babel@ietf.org
> https://www.ietf.org/mailman/listinfo/babel
>