Hi all,
I have to apologise for my mistake. I wrongly sent a different patchset instead
of the ap-isolation one. In this period I'm working on several stuff, including
my thesis and it's easy for me to make such errors.
----
This is the third version of the AP-Isolation patchset.
The patches have been rebased on top of the master branch but they have been
left mostly unmodified.
The Ap-isolation mechanism will prevent (if enabled) WIFI clients to communicate
with other WIFI clients over the mesh network. WIFI check on a client is done
by default while the isolation is performed only if the mechanism is enabled
either on the receiver and on the transmitter side.
Ap-isolation can be enabled or disabled by means of a new sysfs attribute (a
batctl patch has also been provided to toggle interact with it).
Thank you all.
Regards,
Antonio Quartulli
Correct a very small typ0 in routing.c
Signed-off-by: Antonio Quartulli <ordex(a)autistici.org>
---
routing.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/routing.c b/routing.c
index 0f32c81..36b940c 100644
--- a/routing.c
+++ b/routing.c
@@ -93,7 +93,7 @@ static void update_transtable(struct bat_priv *bat_priv,
orig_node->tt_crc = tt_global_crc(bat_priv, orig_node);
/* The ttvn alone is not enough to guarantee consistency
- * because a single value could repesent different states
+ * because a single value could represent different states
* (due to the wrap around). Thus a node has to check whether
* the resulting table (after applying the changes) is still
* consistent or not. E.g. a node could disconnect while its
--
1.7.3.4
Hello all,
I got one question here, quiet noob. How to filter BATMAN layer 2 or
BATMAN-ADV packet? Maybe filtering the packet base on MAC address? I
already try using iptables and ebtables, but not working.
on our server we have batman-adv from 2.6.38 kernel
the output of batctl vd dot results buggy
eigenServer gioacchino # batctl -v
batctl 2011.1.0
as you can see here http://eigenlab.org/status.php a lot of blue
cluster are missing also on node with multiple interfaces so the
topology draw is badly affected by this :|
Hi all,
I have network connection of two laptops connected through wifi in
Access Point mode with bandwidth 54Mbps (802.11g).
Laptop A ---- Access point ------ Laptop B
192.168.1.2 ---- 192.168.1.220 ------ 192.168.1.3
I used netperf to measure the bandwidth and CPU utilization
Without installing batman-adv on Laptop A and Laptop B , the results
of netperf are:
netperf -H 192.168.1.3 -t TCP_STREAM -l 10 -c
TCP throughput : 11.89 Mbps
TCP CPU usage: 1.73 %
netperf -H 192.168.1.3 -t UDP_STREAM -l 10 -c
UDP throughput: 22.5 Mbps
UDP CPU usage: 1.8 %
Now, after I installed batman-adv 2011.1.0 on Laptop A and Laptop B.
To the nodes Laptop A and Laptop B I assigned IP address:
sudo ifconfig bat0 10.42.43.1 (laptop A)
sudo ifconfig bat0 10.42.43.2 (laptop B)
The protocol runs fine and the originators are seen on both sides.
Also, the avahi-discover shows both laptops.
When I now tried to measure the throughput,
netperf -H 192.168.1.3 -t TCP_STREAM -l 10 -c
TCP throughput : 9.23 Mbps
TCP CPU usage: 3.91 %
netperf -H 192.168.1.3 -t UDP_STREAM -l 10 -c
UDP throughput: 3200 Mbps
UDP CPU usage: 51%
Why would the UDP throughput be so high? There is no possibility to
have it so high. Is it because of the bad configuration in access
point as it is non batman interface or sth else?
What do you think?
Thanks.
Max
Max
To keep transtable consistency among all the nodes, an originator must
not send not yet announced clients within a full table TT_RESPONSE.
Instead, deleted client have to be kept in the table in order to be sent
within an immediate TT_RESPONSE. In this way all the nodes in the
network will always provide the same response for the same request.
All the modification are committed at the next ttvn increment event.
Signed-off-by: Antonio Quartulli <ordex(a)autistici.org>
Signed-off-by: Marek Lindner <lindner_marek(a)yahoo.de>
---
packet.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/packet.h b/packet.h
index 590e4a6..b76b4be 100644
--- a/packet.h
+++ b/packet.h
@@ -84,7 +84,9 @@ enum tt_query_flags {
enum tt_client_flags {
TT_CLIENT_DEL = 1 << 0,
TT_CLIENT_ROAM = 1 << 1,
- TT_CLIENT_NOPURGE = 1 << 8
+ TT_CLIENT_NOPURGE = 1 << 8,
+ TT_CLIENT_NEW = 1 << 9,
+ TT_CLIENT_PENDING = 1 << 10
};
struct batman_packet {
--
1.7.3.4