public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Want to count the number of nodes connecting to a batman gateway
@ 2008-12-05  0:51 david johnson
  2008-12-05  7:46 ` Marek Lindner
  2008-12-11  9:50 ` Axel Neumann
  0 siblings, 2 replies; 3+ messages in thread
From: david johnson @ 2008-12-05  0:51 UTC (permalink / raw)
  To: batman

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [B.A.T.M.A.N.] Want to count the number of nodes connecting to a batman gateway
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Marek Lindner @ 2008-12-05  7:46 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Friday 05 December 2008 08:51:42 david johnson wrote:
> 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

The batgat kernel module has that feature exposed via /proc but I have no idea 
what bmx can do for you.

Regards,
Marek


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [B.A.T.M.A.N.] Want to count the number of nodes connecting to a batman gateway
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Axel Neumann @ 2008-12-11  9:50 UTC (permalink / raw)
  To: david.lloyd.johnson,
	The list for a Better Approach To Mobile Ad-hoc Networking

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-11  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox