All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Bosch <patrick.bosch@uantwerpen.be>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] Integrity checks for packets, who does it?
Date: Fri, 20 Nov 2015 15:42:36 +0100	[thread overview]
Message-ID: <CANQCUf=qAPBc7qwTgYJ3KuPZVMm9crsoYLTXKePiCx1bQJkisw@mail.gmail.com> (raw)

Hi everyone

I have a little uncertainty regarding integrity checks in batman
advanced. I was wondering which encapsulation does it.

The situation:
- Ping to a batman node
- Normal ping, no batman ping (nodes have an IP)
- WPA2 active

ICMP should be encapsulated by IP, which is encapsulated by the Wi-Fi
mac header. Now I know that batman advanced inserts it's own header.
The question is, where exactly? Does it encapsulate the Wi-Fi mac and
takes over the integrity check or not? Also, how does it behave in the
case of enabled encryption? WPA2 has it's own integrity check.

The reason I ask, is that in Wireshark, it appears as ICMP when I
sniff the traffic without encryption enabled.

It would be great, if someone could shed light in this affair! Thank
you in advance!

Kind regards
Patrick

-- 
Patrick Bosch, PhD Student
University of Antwerp - iMinds
Dept. Mathematics and Computer Science
MOSAIC research group
Middelheimlaan 1 - Room M.G.215
2020 Antwerpen - Belgium
Email: patrick.bosch@uantwerpen.be
Phone: +3232653858

             reply	other threads:[~2015-11-20 14:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-20 14:42 Patrick Bosch [this message]
2015-11-20 16:37 ` [B.A.T.M.A.N.] Integrity checks for packets, who does it? 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='CANQCUf=qAPBc7qwTgYJ3KuPZVMm9crsoYLTXKePiCx1bQJkisw@mail.gmail.com' \
    --to=patrick.bosch@uantwerpen.be \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /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.