All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: Moullick Mehra <dedamamoge@gmail.com>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: batman-adv: User defined nonce in packet header [was: batman-adv related query]
Date: Sat, 30 Jan 2021 10:36:42 +0100	[thread overview]
Message-ID: <1708045.1bVLHfgjVF@sven-edge> (raw)
In-Reply-To: <CAJZjC1surX81hwZLchC6jfETiFGE9F1tZbUJKhbbwE7Q5UOqXQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 783 bytes --]

[please use a relevant subject when writing to the mailing list]

On Saturday, 30 January 2021 10:25:51 CET Moullick Mehra wrote:
> Is there any way to add a nonce value to the
> packet header? The reason being that I want to add an authentication
> mechanism where the firewall permits only selected headers that have
> this nonce. Hope this makes sense.

Not with the mainline batman-adv. But you can always add your own changes to 
your code - making it incompatible with mainline batman-adv.

But I would highly recommend to handle authentication on a layer outside of 
batman-adv.

Btw. "nonce" is a "number only used once". And you wrote here that the 
firewall only whitelist one specific nonce. Which would imply that your nonce 
is not used only once...

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-01-30  9:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-30  9:25 batman-adv related query Moullick Mehra
2021-01-30  9:36 ` Sven Eckelmann [this message]
     [not found]   ` <CAJZjC1sCQRd_QBYcaQUWADTjgA6FBp0qshhUxrmw9tXkjYKu3Q@mail.gmail.com>
2021-01-30 10:06     ` batman-adv: User defined nonce in packet header Sven Eckelmann
2021-01-30 14:01       ` Sven Eckelmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1708045.1bVLHfgjVF@sven-edge \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=dedamamoge@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.