public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Axel Neumann <neumann@cgws.de>
To: david.lloyd.johnson@gmail.com,
	The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] Want to count the number of nodes connecting to a batman gateway
Date: Thu, 11 Dec 2008 10:50:53 +0100	[thread overview]
Message-ID: <200812111050.54047.neumann@cgws.de> (raw)
In-Reply-To: <1228438302.11385.65.camel@desiree>

Hi,

Currently this information is not provided by bmx. 
In two-way-tunnel mode this information is knwon by the daemon but not 
accessible with any debug output. I've also casually recognized the need for 
this information (including timeout and last request timestamps) in order to 
better understand and debug various gw scenarios.  So for the two-way-tunnel 
its not a big issue, I have it on my todo list. 
But for one-way-tunnel it would mean additional overhead and introducing some 
stateful functions&datastructures into a currently stateless gw mechanism.

Theoretically, the connected gw-clients could be identified by the different 
source addresses passing the bat0 interface of the gateway node (using 
tcpdump, iptables,...).  But honestly, I am not aware of any elegant way to 
catch these addresses.

ciao,
axel



On Freitag 05 Dezember 2008, david johnson wrote:
> Hi
>
> I'm busy trying to adapt batman-exp to do some fair bandwidth allocation
> and to do this I need each tunnel from a client to be shown as a
> seperate vpn.  Or I need a way to count the number of nodes connecting
> to the gateway
>
> Do you know how I could  do this?
>
> David
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n



      parent reply	other threads:[~2008-12-11  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05  0:51 [B.A.T.M.A.N.] Want to count the number of nodes connecting to a batman gateway david johnson
2008-12-05  7:46 ` Marek Lindner
2008-12-11  9:50 ` Axel Neumann [this message]

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=200812111050.54047.neumann@cgws.de \
    --to=neumann@cgws.de \
    --cc=b.a.t.m.a.n@open-mesh.net \
    --cc=david.lloyd.johnson@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox