Re-added several people dropped from CC, sorry
---------- Forwarded message ----------
From: Gui Iribarren <gui(a)altermundi.net>
Date: Fri, Nov 16, 2012 at 10:02 PM
Subject: Re: [Interop-dev] Web-based Visualisation Tool
To: interop-dev(a)lists.funkfeuer.at
>
>
> Hi,
>
> a precisation about nodeshot. Nodeshot does not really require the
> info about batman to be in an OLSR like format. It's just that the
> guys were lazy and outputted the topology data in an OLSR-like format
> because they didn't want to spend extra time developing another cron
> script that used another strategy.
> But it really only depends from a script that runs in a cronjob, so
> everyone can (and should with the current version) make its own
> script, infact some people in the US are working to make it work with
> another new thing called CJDNS (i don't know much about it). In the
> future version the approach will most likely be slightly different.
>
> Regarding the other things, I read a great deal of information about
> Javascript MVC frameworks, RESTful APIs and NoSQL databases. I think
> we're kinda heading in the same direction but with different
> strategies. It is good that we keep doing so, this way someone will
> surely get it right.
>
> My only worry is that some of these solutions are quite new in the
> web-dev world so they should be approached with caution.
>
> The idea of having a copy of the nodes locally is really cool.
>
> It would be good to make it possible for different Node DB apps to
> communicate to one another through some JSON Api. So +1 for having
> thought about that, if you didn't know we have been talking about it
> for quite a while.
> But i warn you, if we don't manage to lower our
> egos and agree to some compromises we'll risk to end up again with
> nothing done.
I agree, and apologize for the tone in my original email: I could have
used much less hype; thanks a lot for the comprehension!
>
> I think it's great you're experimenting with these solutions, please
> keep us updated and show us something working online when you have it
> ready.
Well, our idea was doing it the other way round :) first get an idea
of current interoperability efforts of existing solutions, and then
start to code
after the insightful discussions that went through the relevant
threads, Nico came up with a working PoC (no auth or security at all
yet, but draws nodes and links in realtime).
http://tilc.red.quintanalibre.org.ar:5984/altermap/_design/altermap/index.h…
(it's ipv6 only)
It's been running since.. today! so bugs and erratic behaviour is expected.
It might be difficult to notice (given the stability of links) but all
links are redrawn when updated. I was quite impressed to see a link
blink at my browser, the moment a router sent its update.
Cheers!
Gui
Hi
What happens if I add an interface to batman-adv (on which to exchange
mesh frames), and add that same interface to a bridge with bat0? E.g.
on an openwrt, br-lan contains eth0, bat0 and wlan0; batman-adv is
exchanging mesh frames on wlan1 and eth0.
Will I end up with BATMAN-on-BATMAN or will batman-adv filter out the
batman frames it sees on bat0?
thanks
donald
Hello,
we are having someone on the mailing list since yesterday who appearently
re-sends mails from the mailing list to the receivers, which creates a
lot of spam.
From what we can see:
* relayed via 1&1/united internet/GMX/etc, host is: moutng.kundenserver.de
* senders IP address appears to be an Arcor ADSL connection, GeoIP says this
might come from Berlin
* internal IP address might be 10.99.52.31
* spam started most probably yesterday
(all this information is available in mail headers [1], visible to everyone
reading this mailing list. No sniffing etc happened to acquire this.)
If you (partly) match this description, please check your mail server
and fix this. If you could drop me a mail too, that would be great
- I won't tell on you, promise - but then we can stop looking for
the culprit. ;)
Cheers,
Simon
[1]
Received: from moutng.kundenserver.de (moutng.kundenserver.de
[212.227.126.171])
by open-mesh.org (Postfix) with ESMTPS id 5102A601742
for <b.a.t.m.a.n(a)lists.open-mesh.org>; Wed, 14 Nov 2012 23:56:12 +0100 (CET)
Received: from [10.99.52.31] (dslb-094-222-006-045.pools.arcor-ip.net
[94.222.6.45])
by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis)
id 0MD19D-1TQlP141HX-009dni; Wed, 14 Nov 2012 23:56:09 +0100
Hello David,
here is again our new patchset intended for net-next/linux-3.8.
Patch 1/11 has been modified to address the problems you pointed out last time;
however hash_bytes has kept its inline tag and it has been moved to hash.h (in
this way it becomes usable by the rest of the batman-adv code for new changes).
Let me know if there is any problem!
Thanks a lot!
Antonio
The following changes since commit bf0098f22ca7b59e8844ac6882bbae230d34b98d:
ARM: net: bpf_jit_32: add VLAN instructions for BPF JIT (2012-11-13 18:21:10 -0500)
are available in the git repository at:
git://git.open-mesh.org/linux-merge.git tags/batman-adv-for-davem
for you to fetch changes up to 170173bf37342dab486daaa2a0381d802c10fb21:
batman-adv: Remove instant overwritten variable initialization (2012-11-14 21:00:37 +0100)
----------------------------------------------------------------
Included changes:
- hash computation improvements
- Bridge Loop Avoidance set-up phase optimisations
- Roaming handling code redesign
- some code cleanups
----------------------------------------------------------------
Antonio Quartulli (6):
batman-adv: fix wrong spinlock inline comment
batman-adv: prevent using any virtual device created on batman-adv as hard-interface
batman-adv: substitute tt_poss_change with a per-tt_entry flag
batman-adv: refactor code to simplify long lines
batman-adv: refactor tt_global_del_struct()
batman-adv: roaming handling mechanism redesign
Simon Wunderlich (4):
batman-adv: don't rely on positions in struct for hashing
batman-adv: send announcement when backbone gw is registered
batman-adv: allow bla traffic only after first worker period
batman-adv: wait multiple periods before activating bla
Sven Eckelmann (1):
batman-adv: Remove instant overwritten variable initialization
net/batman-adv/bridge_loop_avoidance.c | 59 ++++---
net/batman-adv/hard-interface.c | 41 ++++-
net/batman-adv/hash.h | 22 +++
net/batman-adv/main.h | 1 +
net/batman-adv/originator.c | 1 -
net/batman-adv/routing.c | 173 +++++++++++++++------
net/batman-adv/soft-interface.c | 1 -
net/batman-adv/sysfs.c | 2 +-
net/batman-adv/translation-table.c | 276 ++++++++++++++++++++++-----------
net/batman-adv/translation-table.h | 2 +
net/batman-adv/types.h | 11 +-
11 files changed, 416 insertions(+), 173 deletions(-)
Hello David,
this is another set of changes intended for net-next/linux-3.8.
In this patchset you have patch 10/11 which is a roaming handling procedure
re-arrangement and patches 4,5,6/11 by Simon Wunderlich which improve the Bridge
Loop Avoidance set-up phase. The rest is mostly clean-up work.
Let me know if there is any problem!
Thanks a lot,
Antonio
The following changes since commit 9fafd65ad407d4e0c96919a325f568dd95d032af:
ipv6 ndisc: Use pre-defined in6addr_linklocal_allnodes. (2012-11-12 15:23:21 -0500)
are available in the git repository at:
git://git.open-mesh.org/linux-merge.git tags/batman-adv-for-davem
for you to fetch changes up to 153f5177b998c04c8459bc591cd4e5204fe66a1c:
batman-adv: Remove instant overwritten variable initialization (2012-11-13 10:06:08 +0100)
----------------------------------------------------------------
Included changes:
- hash computation improvements
- Bridge Loop Avoidance set-up phase optimisations
- Roaming handling code redesign
- some code cleanups
----------------------------------------------------------------
Antonio Quartulli (6):
batman-adv: fix wrong spinlock inline comment
batman-adv: prevent using any virtual device created on batman-adv as hard-interface
batman-adv: substitute tt_poss_change with a per-tt_entry flag
batman-adv: refactor code to simplify long lines
batman-adv: refactor tt_global_del_struct()
batman-adv: roaming handling mechanism redesign
Simon Wunderlich (4):
batman-adv: don't rely on positions in struct for hashing
batman-adv: send announcement when backbone gw is registered
batman-adv: allow bla traffic only after first worker period
batman-adv: wait multiple periods before activating bla
Sven Eckelmann (1):
batman-adv: Remove instant overwritten variable initialization
net/batman-adv/bridge_loop_avoidance.c | 71 ++++++---
net/batman-adv/hard-interface.c | 41 ++++-
net/batman-adv/main.h | 1 +
net/batman-adv/originator.c | 1 -
net/batman-adv/routing.c | 173 +++++++++++++++------
net/batman-adv/soft-interface.c | 1 -
net/batman-adv/sysfs.c | 2 +-
net/batman-adv/translation-table.c | 276 ++++++++++++++++++++++-----------
net/batman-adv/translation-table.h | 2 +
net/batman-adv/types.h | 11 +-
10 files changed, 406 insertions(+), 173 deletions(-)
The current timeout is set to one hour. However a client connected to the mesh
network will always generate traffic. In the worst case it will send ARP
requests every 4 or 5 minutes. On the other hand having a long timeout means
storing dead entries for one hour leads to very big trans-tables containing
useless clients.
This patch reduces the timeout to 10 minutes
Signed-off-by: Antonio Quartulli <ordex(a)autistici.org>
---
main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.h b/main.h
index ec9c5ad..a8138be 100644
--- a/main.h
+++ b/main.h
@@ -41,7 +41,7 @@
* -> TODO: check influence on BATADV_TQ_LOCAL_WINDOW_SIZE
*/
#define BATADV_PURGE_TIMEOUT 200000 /* 200 seconds */
-#define BATADV_TT_LOCAL_TIMEOUT 3600000 /* in milliseconds */
+#define BATADV_TT_LOCAL_TIMEOUT 600000 /* in milliseconds */
#define BATADV_TT_CLIENT_ROAM_TIMEOUT 600000 /* in milliseconds */
#define BATADV_TT_CLIENT_TEMP_TIMEOUT 600000 /* in milliseconds */
#define BATADV_DAT_ENTRY_TIMEOUT (5*60000) /* 5 mins in milliseconds */
--
1.8.0
In C standard any expression different from 0 will be converted to
'true' when casting to bool (whatever is the length of the value).
Therefore the "!!" conversion can be removed.
This was introduced by 3fbd7ac8c71b3778c5751b3d096ea36f96ef534e
("batman-adv: substitute tt_poss_change with a per-tt_entry flag")
Signed-off-by: Antonio Quartulli <ordex(a)autistici.org>
---
translation-table.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/translation-table.c b/translation-table.c
index cb0281a..39ae6b0 100644
--- a/translation-table.c
+++ b/translation-table.c
@@ -2545,7 +2545,7 @@ bool batadv_tt_local_client_is_roaming(struct batadv_priv *bat_priv,
if (!tt_local_entry)
goto out;
- ret = !!(tt_local_entry->common.flags & BATADV_TT_CLIENT_ROAM);
+ ret = tt_local_entry->common.flags & BATADV_TT_CLIENT_ROAM;
batadv_tt_local_entry_free_ref(tt_local_entry);
out:
return ret;
--
1.8.0