Re: [manet] AODVv2 implementation

Henning Rogge <hrogge@gmail.com> Sat, 03 February 2024 07:53 UTC

Return-Path: <hrogge@gmail.com>
X-Original-To: manet@ietfa.amsl.com
Delivered-To: manet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E9D6C14F713 for <manet@ietfa.amsl.com>; Fri, 2 Feb 2024 23:53:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A-q6ijNxa8NY for <manet@ietfa.amsl.com>; Fri, 2 Feb 2024 23:53:03 -0800 (PST)
Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BC66AC14F708 for <manet@ietf.org>; Fri, 2 Feb 2024 23:53:03 -0800 (PST)
Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a350bfcc621so342681966b.0 for <manet@ietf.org>; Fri, 02 Feb 2024 23:53:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706946782; x=1707551582; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OfLPvICKvq6RSCEacaGYHaNaO23AIK9uvvBQVjo62/k=; b=aq/EiQ6fpU6l4L+nCX2BiB3fKmRS8BSC1wQ1ZlfJC93OEmHRrH8Zhz3KD93G7KIeVt 2jG6xJZkMvbwdtbwlHdH40bbswtZ0SIIy52QH9JeyCI7OW1D+eO0hp1txeWhODK1D2t6 LKyouepTnyQcmKlrliZVzaB/uA0NHdcx6GWPlXL5+4sOJZxedV6XaMPlnTqbIlInDrIe SXiwsJR4/Nl9L71xbg98xKkhEDmuG68dykKIMDyA5WUg9pp5MCIbFRcg8n5xMN0jrmHM H0A2Nq9nLaE+ZliTCebkqHItC3feElFYn2CYUC6WeImO1IlpRGQL7NXhkvGy3F8zWcu7 8Ttw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706946782; x=1707551582; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OfLPvICKvq6RSCEacaGYHaNaO23AIK9uvvBQVjo62/k=; b=uCFerHgFTylEukUZ4wZ3K5Gj5cVAUEjyZ0QF4vHIwv0VG2I08LM+34O2367MhYE/FK Ns0gckp2OpgVIi5E/cjIPoMP2u0i2LJidr21pmGFvptOLieK/I5cu0EDtZClHqKWsMch SUhTcF8/F3UuGcdCh9KB4eHi9dHxggPvhqKssbI5Hr2GpFfEkL4tC40RsQSVot+DahjT Jsy1eNRt6iRes/DJDP6/qr3qMU22cdDUf3Cp5jUxWhrr/ijOzZTsz9VQ0Jv1wMnusnti aZKTOYr/zOwh6JbodnKFLYKLlQo+C0PAwPADPCCgmsxBevRpzO4ewqvefWZKnJ0dIB7D BW4w==
X-Gm-Message-State: AOJu0YzYMEUAgg6UxLKpVHRa71OppBoWopiPGDiTatqZRRrxhUVK9UTu E7XWW4Ne5VhUcG+lneIJqOp4LGF+q0kO65HB4ghhXM4JsDWVR4iPaPbQqg+wbG0MqReegJu+owr VoT6sUctro4q8LjmNsC/CXPAdTh1UrDou
X-Google-Smtp-Source: AGHT+IHH4EBEITQEel3pluw3KV+B9xAKRO7UC9eZxiSkxWERuWeS3+pIn6psTEBT5K+016t+FH6IQPZmEUlAuw7yBF8=
X-Received: by 2002:a17:906:c450:b0:a27:5446:27d9 with SMTP id ck16-20020a170906c45000b00a27544627d9mr2995824ejb.5.1706946781723; Fri, 02 Feb 2024 23:53:01 -0800 (PST)
MIME-Version: 1.0
References: <PH7PR14MB5368D3F677021CAFA04831F4BBB1A@PH7PR14MB5368.namprd14.prod.outlook.com> <740cf920-605d-4376-9db5-4409794bedb0@computer.org> <CAGnRvur98cmOqrB6b7Q=VsfvrBEY9goWn-zrXWM49mCj-+7zPw@mail.gmail.com> <7334e18e-d2aa-4f99-b79c-869b7ee1c836@computer.org> <87h6l9oqdk.wl-jch@irif.fr> <CAGnRvur17OvFogQnJspv=2ezuE41LQkgj5fEv5mJRGG9iYxZDw@mail.gmail.com> <CAL95ndJoFOay1Spin5vMfZV5KMHO5DkG7KhyHNo6KuAC3vm74w@mail.gmail.com> <875y1mgc9g.wl-jch@irif.fr> <CAGnRvurA7rg1R74-S4OgmFBE-3dqtgurF2=dGqYo69WMn6ynyA@mail.gmail.com> <c8fb9dfe-59d7-49b5-9d4d-33470a79dee8@earthlink.net>
In-Reply-To: <c8fb9dfe-59d7-49b5-9d4d-33470a79dee8@earthlink.net>
From: Henning Rogge <hrogge@gmail.com>
Date: Sat, 03 Feb 2024 08:52:36 +0100
Message-ID: <CAGnRvuqKGm6XVLkOOMG28EXuBRXkvTqGVEf-du8q220S3H2aiA@mail.gmail.com>
To: Charlie Perkins <charles.perkins@earthlink.net>
Cc: Anders Nilsson Plymoth <lanilsson@gmail.com>, "manet@ietf.org" <manet@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/W2VfHjWhI0DF1JB8-C12iKQFBWQ>
Subject: Re: [manet] AODVv2 implementation
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Mobile Ad-hoc Networks <manet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/manet>, <mailto:manet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/manet/>
List-Post: <mailto:manet@ietf.org>
List-Help: <mailto:manet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/manet>, <mailto:manet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Feb 2024 07:53:05 -0000

Hi Charlie,

yes it would be great to learn how much tracking a route needs... and
maybe we find a good way to do this tracking without using userspace
forwarding, e.g. doing some counting with nftables and/or ebpf-helpers
(at least for Linux).

For detecting a route request for a non-existing route my idea always
was to use a TUN device and point a route to the whole MANET (or even
the default route) into it. This way normal (existing) routes have
priority but you get traffic going somewhere else into userspace to
parse it without needing a raw-socket.

Henning Rogge

On Sat, Feb 3, 2024 at 12:51 AM Charlie Perkins
<charles.perkins@earthlink.net> wrote:
>
> Hello Henning,
>
> As I remember, there were some more theoretical reasons why routes
> should be timed out, but I would need to go back a long time to
> resurrect the exact reasoning.  As an error-prone guess, it could have
> to do with sequence number rollover.  Anyway, after a certain amount of
> time a route is considered invalid.  Nevertheless, the route should be
> kept in order to maintain pertinent information information.
>
> We might want to revisit this and determine how strong the mandate
> should be.
>
> Regards,
> Charlie P.
>
>
> On 12/4/2023 1:03 AM, Henning Rogge wrote:
> > Hi,
> >
> > I was thinking about how to implement AODV2 on a TUN but hit an
> > interesting issue when reading through the "Interaction with the
> > Forwarding Plane" chapter of AODVv2...
> >
> > Chapter 6.4:
> > "AODVv2 needs to update the record of when a route was last used to
> > forward a packet".
> >
> > Does this mean AODV cannot use the kernel routing forwarding system
> > and is expected to do everything in user space? I ask because the
> > "routing cache" (and its statistics for each route) were removed from
> > Linux in version 3.6.
> >
> > Henning Rogge
>