[B.A.T.M.A.N.] [PATCH] batman-adv: readme update (mention ap isolation and new log level)
by Marek Lindner
Signed-off-by: Marek Lindner <lindner_marek(a)yahoo.de>
---
README | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/README b/README
index a9ae038..7bcc9f4 100644
--- a/README
+++ b/README
@@ -83,9 +83,9 @@ All mesh wide settings can be found in batman's own interface
folder:
# ls /sys/class/net/bat0/mesh/
-# aggregated_ogms gw_bandwidth hop_penalty
-# bonding gw_mode orig_interval
-# fragmentation gw_sel_class vis_mode
+# aggregated_ogms fragmentation gw_sel_class vis_mode
+# ap_isolation gw_bandwidth hop_penalty
+# bonding gw_mode orig_interval
There is a special folder for debugging information:
@@ -219,15 +219,16 @@ abled during run time. Following log_levels are defined:
0 - All debug output disabled
1 - Enable messages related to routing / flooding / broadcasting
-2 - Enable route or tt entry added / changed / deleted
-3 - Enable all messages
+2 - Enable messages related to route added / changed / deleted
+4 - Enable messages related to translation table operations
+7 - Enable all messages
The debug output can be changed at runtime using the file
/sys/class/net/bat0/mesh/log_level. e.g.
# echo 2 > /sys/class/net/bat0/mesh/log_level
-will enable debug messages for when routes or TTs change.
+will enable debug messages for when routes change.
BATCTL
--
1.7.5.3
11 years, 2 months
[B.A.T.M.A.N.] openwrt lib/batman-adv/config.sh
by Filippo Sallemi
Hi all,
i thought it was a good idea to move the functions "start_mesh" and
"stop_mesh" from /etc/init.d/batman-adv script to a new file in
openwrt style "/lib/batman-adv/config.sh".
With this improvment it possible to recycle this two function to
operate with an hotplug script so when network restart, all batman
interface will be reconfigured automatically and I just work to do
this.
In this mail you can find batman-adv initscript updated to work in
this way and the batman-adv library file that must be located in
/lib/batman-adv/.
Any comment are apprecciated
--
Filippo Sallemi
11 years, 3 months
[B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
by Tobias
Hi all,
i have setup a mesh-network with batman-adv running on about 10 Foneras
and 4 TP-Link on OpenWRT.
At first everything seemed to work. A node on the one end could ping a
node on the other end over the mesh-network. The ping was hopping from
node to node as expected.
But sometimes some paths do not work anymore.
Some nodes can only reach their direct neighbors via a "normal ping". A
ping to a node via one hop does not work. A "batctl ping" does work!
This only happens to parts of the network and is not permanent. If i
wait it will recover, but then the problem appears at another node.
dmesg or the syslog does not report any errors.
Can anyone give me a hint where to look?
Tobias
11 years, 3 months
Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
by laurent
Hello,
I hope this time my email goes public ? just in case I put your email.
So I compiled all my node in debug with your patch:
ping from 192.168.1.105 for 192.168.1.103 not working
ping from 192.168.1.105 for 192.168.1.102 working
ping from 192.168.1.102 for 192.168.1.103 working
my test nodes are like this now: 192.168.1.105 -> 192.168.1.102 ->
192.168.1.103
00:15:6D:AB:59:E0 -> 00:15:6d:ad:d3:2b -> 00:15:6d:a3:15:2e
There is the log of the first node (192.168.1.105) , the log for
192.168.1.103 is in the end of the email
root@OpenWrt:~# batctl ll 4
root@OpenWrt:~# batctl log
[ 526] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 526] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 526] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 526] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 526] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 528] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 528] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 528] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 528] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 528] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 528] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 528] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 528] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 528] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 528] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 528] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 528] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 528] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 528] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 529] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 529] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 529] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 529] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 529] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 530] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 530] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 530] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 530] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 530] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 530] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 530] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 530] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 530] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 530] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 530] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 530] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 530] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 530] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 531] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 531] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 531] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 531] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 531] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 531] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 531] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 531] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 531] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 531] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 531] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 531] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 531] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 531] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 532] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 532] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 532] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 532] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 532] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 532] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 532] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 533] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 533] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 534] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 534] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 535] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 535] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 535] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 535] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 535] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 535] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 535] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 535] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 535] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 535] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[ 535] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 535] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[ 535] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 535] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[ 536] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 536] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[ 537] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[ 538] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
batctl ll 1
q: 202, asym_penalty: 255, total tq: 190
[ 643] update_originator(): Searching and updating originator
entry of received packet
[ 643] Updating existing last-hop neighbor of originator
[ 643] Drop packet: duplicate packet received
[ 643] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1569, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 643] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3663, ttvn 2, crc 15204, changes 0, td 241, TTL
49, V 14, IDF 1)
[ 643] updating last_seqno: old 3662, new 3663
[ 643] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 50, real recv = 63, local tq: 202,
asym_penalty: 255, total tq: 190
[ 643] update_originator(): Searching and updating originator
entry of received packet
[ 643] Updating existing last-hop neighbor of originator
[ 643] Forwarding packet: rebroadcast originator packet
[ 643] Forwarding packet: tq_orig: 190, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[ 643] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3663, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 643] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 780, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 643] updating last_seqno: old 779, new 780
[ 643] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 50, real recv = 63, local tq: 202,
asym_penalty: 255, total tq: 202
[ 643] update_originator(): Searching and updating originator
entry of received packet
[ 643] Updating existing last-hop neighbor of originator
[ 643] Forwarding packet: tq_orig: 202, tq_avg: 198, tq_forw: 194,
ttl_orig: 49, ttl_forw: 49
[ 643] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 643] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
899, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[ 644] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 780, ttvn 2, crc 36959, changes 0, td 237, TTL
49, V 14, IDF 1)
[ 644] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 29, local tq: 184,
asym_penalty: 214, total tq: 143
[ 644] update_originator(): Searching and updating originator
entry of received packet
[ 644] Updating existing last-hop neighbor of originator
[ 644] Drop packet: duplicate packet received
[ 644] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 780,
TQ 194, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 644] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 899, ttvn 6, crc 36550, changes 0, td 229, TTL
49, V 14, IDF 1)
[ 644] Drop packet: originator packet from myself (via neighbor)
[ 644] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1570, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 644] updating last_seqno: old 1569, new 1570
[ 644] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 29, local tq: 184,
asym_penalty: 214, total tq: 148
[ 644] update_originator(): Searching and updating originator
entry of received packet
[ 644] Updating existing last-hop neighbor of originator
[ 644] Forwarding packet: rebroadcast originator packet
[ 644] Forwarding packet: tq_orig: 148, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[ 644] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1570, ttvn 2, crc 12524, changes 0, td 241, TTL
49, V 14, IDF 1)
[ 644] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 50, real recv = 63, local tq: 202,
asym_penalty: 255, total tq: 190
[ 644] update_originator(): Searching and updating originator
entry of received packet
[ 644] Updating existing last-hop neighbor of originator
[ 644] Drop packet: duplicate packet received
[ 644] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1570, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 644] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3664, ttvn 2, crc 15204, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 644] updating last_seqno: old 3663, new 3664
[ 644] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 50, real recv = 63, local tq: 202,
asym_penalty: 255, total tq: 194
[ 644] update_originator(): Searching and updating originator
entry of received packet
[ 644] Updating existing last-hop neighbor of originator
[ 644] Forwarding packet: rebroadcast originator packet
[ 644] Forwarding packet: tq_orig: 194, tq_avg: 191, tq_forw: 186,
ttl_orig: 48, ttl_forw: 48
[ 644] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3664, TQ 186, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 644] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
900, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[ 644] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 781, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 644] updating last_seqno: old 780, new 781
[ 644] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 198
[ 644] update_originator(): Searching and updating originator
entry of received packet
[ 644] Updating existing last-hop neighbor of originator
[ 644] Forwarding packet: tq_orig: 198, tq_avg: 198, tq_forw: 190,
ttl_orig: 49, ttl_forw: 49
[ 644] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 645] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 781,
TQ 190, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 645] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1571, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 645] updating last_seqno: old 1570, new 1571
[ 645] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 28, local tq: 191,
asym_penalty: 210, total tq: 151
[ 645] update_originator(): Searching and updating originator
entry of received packet
[ 645] Updating existing last-hop neighbor of originator
[ 645] Forwarding packet: rebroadcast originator packet
[ 645] Forwarding packet: tq_orig: 151, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[ 645] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1571, ttvn 2, crc 12524, changes 0, td 241, TTL
49, V 14, IDF 1)
[ 645] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 187
[ 645] update_originator(): Searching and updating originator
entry of received packet
[ 645] Updating existing last-hop neighbor of originator
[ 645] Drop packet: duplicate packet received
[ 645] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1571, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 645] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3665, ttvn 2, crc 15204, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 645] updating last_seqno: old 3664, new 3665
[ 645] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 190
[ 645] update_originator(): Searching and updating originator
entry of received packet
[ 645] Updating existing last-hop neighbor of originator
[ 645] Forwarding packet: rebroadcast originator packet
[ 645] Forwarding packet: tq_orig: 190, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[ 645] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3665, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 645] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 782, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 645] updating last_seqno: old 781, new 782
[ 645] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 198
[ 645] update_originator(): Searching and updating originator
entry of received packet
[ 645] Updating existing last-hop neighbor of originator
[ 645] Forwarding packet: tq_orig: 198, tq_avg: 198, tq_forw: 190,
ttl_orig: 49, ttl_forw: 49
[ 645] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 645] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
901, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[ 646] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 782,
TQ 190, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 646] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 901, ttvn 6, crc 36550, changes 0, td 234, TTL
49, V 14, IDF 1)
[ 646] Drop packet: originator packet from myself (via neighbor)
[ 646] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1572, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 646] updating last_seqno: old 1571, new 1572
[ 646] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:a3:0f:32 => own_bcast = 20, real recv = 28, local tq: 182,
asym_penalty: 210, total tq: 144
[ 646] update_originator(): Searching and updating originator
entry of received packet
[ 646] Updating existing last-hop neighbor of originator
[ 646] Forwarding packet: rebroadcast originator packet
[ 646] Forwarding packet: tq_orig: 144, tq_avg: 188, tq_forw: 180,
ttl_orig: 48, ttl_forw: 48
[ 646] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1572, TQ 180, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 646] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3666, ttvn 2, crc 15204, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 646] updating last_seqno: old 3665, new 3666
[ 646] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 190
[ 646] update_originator(): Searching and updating originator
entry of received packet
[ 646] Updating existing last-hop neighbor of originator
[ 646] Forwarding packet: rebroadcast originator packet
[ 646] Forwarding packet: tq_orig: 190, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[ 646] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3666, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 646] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 783, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
batctl ll 2
root@OpenWrt:~# batctl ll 2
root@OpenWrt:~# batctl log
:0f:32, seqno 3742, ttvn 2, crc 15204, changes 0, td 245, TTL 49, V 14,
IDF 1)
[ 721] updating last_seqno: old 3741, new 3742
[ 721] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 202
[ 721] update_originator(): Searching and updating originator
entry of received packet
[ 721] Updating existing last-hop neighbor of originator
[ 721] Forwarding packet: rebroadcast originator packet
[ 721] Forwarding packet: tq_orig: 202, tq_avg: 202, tq_forw: 194,
ttl_orig: 48, ttl_forw: 48
[ 721] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3742, TQ 194, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 722] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 859, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 722] updating last_seqno: old 858, new 859
[ 722] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 211
[ 722] update_originator(): Searching and updating originator
entry of received packet
[ 722] Updating existing last-hop neighbor of originator
[ 722] Forwarding packet: tq_orig: 211, tq_avg: 211, tq_forw: 202,
ttl_orig: 49, ttl_forw: 49
[ 722] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 722] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
978, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[ 722] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 859,
TQ 202, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 722] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 978, ttvn 6, crc 36550, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 722] Drop packet: originator packet from myself (via neighbor)
[ 722] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 978, ttvn 6, crc 36550, changes 0, td 231, TTL
48, V 14, IDF 1)
[ 722] Drop packet: originator packet from myself (via neighbor)
[ 722] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1649, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 722] updating last_seqno: old 1648, new 1649
[ 722] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 202
[ 722] update_originator(): Searching and updating originator
entry of received packet
[ 722] Updating existing last-hop neighbor of originator
[ 722] Forwarding packet: rebroadcast originator packet
[ 722] Forwarding packet: tq_orig: 202, tq_avg: 202, tq_forw: 194,
ttl_orig: 48, ttl_forw: 48
[ 722] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1649, TQ 194, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 722] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3743, ttvn 2, crc 15204, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 722] updating last_seqno: old 3742, new 3743
[ 722] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 31, local tq: 172,
asym_penalty: 221, total tq: 149
[ 722] update_originator(): Searching and updating originator
entry of received packet
[ 722] Updating existing last-hop neighbor of originator
[ 722] Forwarding packet: tq_orig: 149, tq_avg: 202, tq_forw: 194,
ttl_orig: 49, ttl_forw: 48
[ 722] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 722] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3743, TQ 194, TTL 48, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 722] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3743, ttvn 2, crc 15204, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 722] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 202
[ 722] update_originator(): Searching and updating originator
entry of received packet
[ 722] Updating existing last-hop neighbor of originator
[ 722] Drop packet: duplicate packet received
[ 723] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 860, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 723] updating last_seqno: old 859, new 860
[ 723] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 211
[ 723] update_originator(): Searching and updating originator
entry of received packet
[ 723] Updating existing last-hop neighbor of originator
[ 723] Forwarding packet: tq_orig: 211, tq_avg: 211, tq_forw: 202,
ttl_orig: 49, ttl_forw: 49
[ 723] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 723] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
979, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[ 723] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 860,
TQ 202, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 723] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 979, ttvn 6, crc 36550, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 723] Drop packet: originator packet from myself (via neighbor)
[ 723] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 979, ttvn 6, crc 36550, changes 0, td 233, TTL
48, V 14, IDF 1)
[ 723] Drop packet: originator packet from myself (via neighbor)
[ 723] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1650, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 723] updating last_seqno: old 1649, new 1650
[ 723] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 202
[ 723] update_originator(): Searching and updating originator
entry of received packet
[ 723] Updating existing last-hop neighbor of originator
[ 723] Forwarding packet: rebroadcast originator packet
[ 723] Forwarding packet: tq_orig: 202, tq_avg: 202, tq_forw: 194,
ttl_orig: 48, ttl_forw: 48
[ 723] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1650, TQ 194, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 723] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3744, ttvn 2, crc 15204, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 723] updating last_seqno: old 3743, new 3744
[ 723] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 32, local tq: 167,
asym_penalty: 224, total tq: 146
[ 723] update_originator(): Searching and updating originator
entry of received packet
[ 723] Updating existing last-hop neighbor of originator
[ 723] Forwarding packet: tq_orig: 146, tq_avg: 202, tq_forw: 194,
ttl_orig: 49, ttl_forw: 48
[ 723] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 723] log_level: Changing from: 1 to: 2
batctl ll 3
[ 825] update_originator(): Searching and updating originator
entry of received packet
[ 825] Updating existing last-hop neighbor of originator
[ 825] Drop packet: duplicate packet received
[ 826] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
1083, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[ 826] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1083, ttvn 6, crc 36550, changes 0, td 206, TTL
49, V 14, IDF 1)
[ 826] Drop packet: originator packet from myself (via neighbor)
[ 826] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1083, ttvn 6, crc 36550, changes 0, td 201, TTL
48, V 14, IDF 1)
[ 826] Drop packet: originator packet from myself (via neighbor)
[ 826] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:0f:32, seqno 1754, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 0)
[ 826] updating last_seqno: old 1753, new 1754
[ 826] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 64, local tq: 231,
asym_penalty: 255, total tq: 221
[ 826] update_originator(): Searching and updating originator
entry of received packet
[ 826] Updating existing last-hop neighbor of originator
[ 826] Forwarding packet: rebroadcast originator packet
[ 826] Forwarding packet: tq_orig: 221, tq_avg: 221, tq_forw: 212,
ttl_orig: 48, ttl_forw: 48
[ 827] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 965,
TQ 224, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 827] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 965, ttvn 2, crc 36959, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 827] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 24, real recv = 28, local tq: 218,
asym_penalty: 210, total tq: 172
[ 827] update_originator(): Searching and updating originator
entry of received packet
[ 827] Updating existing last-hop neighbor of originator
[ 827] Drop packet: duplicate packet received
[ 827] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1755, TQ 212, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 827] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3849, ttvn 2, crc 15204, changes 0, td 241, TTL
49, V 14, IDF 1)
[ 827] updating last_seqno: old 3848, new 3849
[ 827] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 221
[ 827] update_originator(): Searching and updating originator
entry of received packet
[ 827] Updating existing last-hop neighbor of originator
[ 827] Forwarding packet: rebroadcast originator packet
[ 827] Forwarding packet: tq_orig: 221, tq_avg: 219, tq_forw: 212,
ttl_orig: 48, ttl_forw: 48
[ 827] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3849, TQ 212, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 827] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 966, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 827] updating last_seqno: old 965, new 966
[ 827] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 234
[ 827] update_originator(): Searching and updating originator
entry of received packet
[ 827] Updating existing last-hop neighbor of originator
[ 827] Forwarding packet: tq_orig: 234, tq_avg: 232, tq_forw: 224,
ttl_orig: 49, ttl_forw: 49
[ 827] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 828] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 966,
TQ 224, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 828] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 966, ttvn 2, crc 36959, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 828] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 23, real recv = 27, local tq: 217,
asym_penalty: 206, total tq: 168
[ 828] update_originator(): Searching and updating originator
entry of received packet
[ 828] Updating existing last-hop neighbor of originator
[ 828] Drop packet: duplicate packet received
[ 828] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
1085, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[ 828] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1085, ttvn 6, crc 36550, changes 0, td 206, TTL
49, V 14, IDF 1)
[ 828] Drop packet: originator packet from myself (via neighbor)
[ 828] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1756, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 828] updating last_seqno: old 1755, new 1756
[ 828] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:a3:0f:32 => own_bcast = 22, real recv = 27, local tq: 207,
asym_penalty: 206, total tq: 160
[ 828] update_originator(): Searching and updating originator
entry of received packet
[ 828] Updating existing last-hop neighbor of originator
[ 828] Forwarding packet: rebroadcast originator packet
[ 828] Forwarding packet: tq_orig: 160, tq_avg: 222, tq_forw: 213,
ttl_orig: 48, ttl_forw: 48
[ 828] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:0f:32, seqno 1756, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 0)
[ 828] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 224
[ 828] update_originator(): Searching and updating originator
entry of received packet
[ 828] Updating existing last-hop neighbor of originator
[ 828] Drop packet: duplicate packet received
[ 828] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1756, TQ 213, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 828] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3850, ttvn 2, crc 15204, changes 0, td 241, TTL
49, V 14, IDF 1)
[ 828] updating last_seqno: old 3849, new 3850
[ 828] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 221
[ 828] update_originator(): Searching and updating originator
entry of received packet
[ 828] Updating existing last-hop neighbor of originator
[ 828] Forwarding packet: rebroadcast originator packet
[ 828] Forwarding packet: tq_orig: 221, tq_avg: 219, tq_forw: 212,
ttl_orig: 48, ttl_forw: 48
[ 828] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3850, TQ 212, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 828] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 967, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 828] updating last_seqno: old 966, new 967
[ 828] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 234
[ 828] update_originator(): Searching and updating originator
entry of received packet
[ 828] Updating existing last-hop neighbor of originator
[ 828] Forwarding packet: tq_orig: 234, tq_avg: 232, tq_forw: 224,
ttl_orig: 49, ttl_forw: 49
[ 828] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 829] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 967,
TQ 224, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 829] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
1086, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[ 829] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1086, ttvn 6, crc 36550, changes 0, td 206, TTL
49, V 14, IDF 1)
[ 829] Drop packet: originator packet from myself (via neighbor)
[ 829] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1086, ttvn 6, crc 36550, changes 0, td 197, TTL
48, V 14, IDF 1)
[ 829] Drop packet: originator packet from myself (via neighbor)
[ 829] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1757, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[ 829] updating last_seqno: old 1756, new 1757
[ 829] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 224
[ 829] update_originator(): Searching and updating originator
entry of received packet
[ 829] Updating existing last-hop neighbor of originator
[ 829] Forwarding packet: rebroadcast originator packet
[ 829] Forwarding packet: tq_orig: 224, tq_avg: 224, tq_forw: 215,
ttl_orig: 48, ttl_forw: 48
[ 829] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1757, TQ 215, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 829] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3851, ttvn 2, crc 15204, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 829] updating last_seqno: old 3850, new 3851
[ 829] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 23, real recv = 28, local tq: 209,
asym_penalty: 210, total tq: 172
[ 829] update_originator(): Searching and updating originator
entry of received packet
[ 829] Updating existing last-hop neighbor of originator
[ 829] Forwarding packet: tq_orig: 172, tq_avg: 220, tq_forw: 211,
ttl_orig: 49, ttl_forw: 48
[ 829] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 829] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3851, TQ 211, TTL 48, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 829] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3851, ttvn 2, crc 15204, changes 0, td 241, TTL
49, V 14, IDF 1)
[ 829] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 221
[ 829] update_originator(): Searching and updating originator
entry of received packet
[ 829] Updating existing last-hop neighbor of originator
[ 829] Drop packet: duplicate packet received
[ 829] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 968, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 829] updating last_seqno: old 967, new 968
[ 829] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 234
[ 829] update_originator(): Searching and updating originator
entry of received packet
[ 829] Updating existing last-hop neighbor of originator
[ 829] Forwarding packet: tq_orig: 234, tq_avg: 233, tq_forw: 224,
ttl_orig: 49, ttl_forw: 49
[ 829] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 830] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 968,
TQ 224, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[ 830] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
1087, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[ 830] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1087, ttvn 6, crc 36550, changes 0, td 206, TTL
49, V 14, IDF 1)
[ 830] Drop packet: originator packet from myself (via neighbor)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
log batctl ll 4 from 192.168.1.103
[ 3588] Creating new global tt entry: 15:6d:a3:15:2e:00 (via
00:15:6d:ab:59
[ 3588] Creating new global tt entry: 00:00:59:e0:09:00 (via
00:15:6d:ab:59
[ 3588] TT inconsistency for 00:15:6d:ab:59:e0. Need to retrieve
the correc
[ 3588] Sending TT_REQUEST to 00:15:6d:ab:59:e0 via
00:15:6d:a3:0f:32 [F]
[ 3588] Received TT_RESPONSE from 00:15:6d:ab:59:e0 for ttvn 9
t_size: 9 [F
[ 3588] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:ab:59:e0):
[ 3588] Deleting global tt entry 00:00:59:e0:09:00 (via
00:15:6d:ab:59:e0):
[ 3588] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:ab:59:e0):
[ 3588] Deleting global tt entry 15:6d:a3:15:2e:00 (via
00:15:6d:ab:59:e0):
[ 3588] Deleting global tt entry 00:00:00:00:00:05 (via
00:15:6d:ab:59:e0):
[ 3588] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:ab:59
[ 3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[ 3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[ 3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[ 3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[ 3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[ 3588] Creating new global tt entry: 00:00:00:00:00:05 (via
00:15:6d:ab:59
[ 3588] Creating new global tt entry: 15:6d:a3:15:2e:00 (via
00:15:6d:ab:59
[ 3588] Creating new global tt entry: 00:00:59:e0:09:00 (via
00:15:6d:ab:59
[ 3589] TT inconsistency for 00:15:6d:ab:59:e0. Need to retrieve
the correc
[ 3589] Sending TT_REQUEST to 00:15:6d:ab:59:e0 via
00:15:6d:a3:0f:32 [F]
[ 3589] Received TT_RESPONSE from 00:15:6d:ab:59:e0 for ttvn 9
t_size: 9 [F
batctl ll 3
[ 3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6
[ 3738] Drop packet: originator packet from myself (via neighbor)
[ 3738] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6
[ 3738] Drop packet: originator packet from myself (via neighbor)
[ 3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6
[ 3738] updating last_seqno: old 3237, new 3238
[ 3738] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b =
[ 3738] update_originator(): Searching and updating originator
entry of rec
[ 3738] Updating existing last-hop neighbor of originator
[ 3738] Forwarding packet: tq_orig: 247, tq_avg: 247, tq_forw: 237,
ttl_ori
[ 3738] Forwarding packet: rebroadcast neighbor packet with direct
link fla
[ 3739] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6
[ 3739] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 =
[ 3739] update_originator(): Searching and updating originator
entry of rec
[ 3739] Updating existing last-hop neighbor of originator
[ 3739] Drop packet: duplicate packet received
[ 3739] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno
3238, TQ 237
[ 3739] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6
[ 3739] updating last_seqno: old 6121, new 6122
[ 3739] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 =
[ 3739] update_originator(): Searching and updating originator
entry of rec
[ 3739] Updating existing last-hop neighbor of originator
[ 3739] Forwarding packet: tq_orig: 255, tq_avg: 255, tq_forw: 245,
ttl_ori
- log3 46/580 7%
0 [00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6121, ttvn 2, crc 15204, changes 0, td 255, TTL
50, V 14, IDF 0)
[ 3738] updating last_seqno: old 6120, new 6121
[ 3738] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 255
[ 3738] update_originator(): Searching and updating originator
entry of received packet
[ 3738] Updating existing last-hop neighbor of originator
[ 3738] Forwarding packet: tq_orig: 255, tq_avg: 255, tq_forw: 245,
ttl_orig: 49, ttl_forw: 49
[ 3738] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 3738] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
6121, TQ 245, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[ 3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6121, ttv
[ 3738] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 62, real recv = 64, local tq: 247,
asym_penalty: 255, total tq: 237
[ 3738] update_originator(): Searching and updating originator
entry of received packet
[ 3738] Updating existing last-hop neighbor of originator
[ 3738] Drop packet: duplicate packet received
[ 3738] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3356, ttv
[ 3738] updating last_seqno: old 3355, new 3356
[ 3738] bidirectional: orig = 00:15:6d:ab:59:e0 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 186
[ 3738] update_originator(): Searching and updating originator
entry of received packet
[ 3738] Updating existing last-hop neighbor of originator
[ 3738] Forwarding packet: rebroadcast originator packet
[ 3738] Forwarding packet: tq_orig: 186, tq_avg: 191, tq_forw: 178,
ttl_orig: 47, ttl_forw: 47
[ 3738] Forwarding packet (originator 00:15:6d:ab:59:e0, seqno
3356, TQ 178, TTL 47, IDF off, hvn 9) on interface ath0 [00:15:6d:a3:15:2e]
[ 3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:a3:0f:32, seqno 3356, ttv
[ 3738] Drop packet: ignoring all rebroadcast packets that may make
me loop (sender: 00:15:6d:ad:d3:2b)
[ 3738] Sending own packet (originator 00:15:6d:a3:15:2e, seqno
4027, TQ 255, TTL 50, IDF off, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[ 3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4027, ttv
[ 3738] Drop packet: originator packet from myself (via neighbor)
[ 3738] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4027, ttv
[ 3738] Drop packet: originator packet from myself (via neighbor)
[ 3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3238, ttv
[ 3738] updating last_seqno: old 3237, new 3238
[ 3738] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 62, real recv = 64, local tq: 247,
asym_penalty: 255, total tq: 247
[ 3738] update_originator(): Searching and updating originator
entry of received packet
[ 3738] Updating existing last-hop neighbor of originator
[ 3738] Forwarding packet: tq_orig: 247, tq_avg: 247, tq_forw: 237,
ttl_orig: 49, ttl_forw: 49
[ 3738] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 3739] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3238, ttv
[ 3739] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 241
[ 3739] update_originator(): Searching and updating originator
entry of received packet
[ 3739] Updating existing last-hop neighbor of originator
[ 3739] Drop packet: duplicate packet received
[ 3739] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno
3238, TQ 237, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[ 3739] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6122, ttv
[ 3739] updating last_seqno: old 6121, new 6122
[ 3739] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 255
[ 3739] update_originator(): Searching and updating originator
entry of received packet
- log3 1/580 0%
batctl ll 2
-
root@OpenWrt:/tmp# clear
root@OpenWrt:/tmp# vi log2
3938] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4229, ttvn 2,
[ 3938] Drop packet: originator packet from myself (via neighbor)
[ 3938] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4229, ttv
[ 3938] Drop packet: originator packet from myself (via neighbor)
[ 3939] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6324, ttv
[ 3939] updating last_seqno: old 6323, new 6324
[ 3939] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 63, real recv = 63, local tq: 255,
asym_penalty: 255, total tq: 255
[ 3939] update_originator(): Searching and updating originator
entry of received packet
[ 3939] Updating existing last-hop neighbor of originator
[ 3939] Forwarding packet: tq_orig: 255, tq_avg: 255, tq_forw: 245,
ttl_orig: 49, ttl_forw: 49
[ 3939] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 3939] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
6324, TQ 245, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[ 3939] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6324, ttv
[ 3939] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 63, real recv = 64, local tq: 251,
asym_penalty: 255, total tq: 241
[ 3939] update_originator(): Searching and updating originator
entry of received packet
[ 3939] Updating existing last-hop neighbor of originator
[ 3939] Drop packet: duplicate packet received
[ 3939] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3441, ttv
[ 3939] updating last_seqno: old 3440, new 3441
[ 3939] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 63, real recv = 64, local tq: 251,
asym_penalty: 255, total tq: 251
[ 3939] update_originator(): Searching and updating originator
entry of received packet
[ 3939] Updating existing last-hop neighbor of originator
[ 3939] Forwarding packet: tq_orig: 251, tq_avg: 251, tq_forw: 241,
ttl_orig: 49, ttl_forw: 49
[ 3939] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 3939] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3441, ttv
[ 3939] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 63, real recv = 63, local tq: 255,
asym_penalty: 255, total tq: 245
[ 3939] update_originator(): Searching and updating originator
entry of received packet
[ 3939] Updating existing last-hop neighbor of originator
[ 3939] Drop packet: duplicate packet received
[ 3939] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno
3441, TQ 241, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[ 3939] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3559, ttv
[ 3939] updating last_seqno: old 3558, new 3559
[ 3939] bidirectional: orig = 00:15:6d:ab:59:e0 neigh =
00:15:6d:ad:d3:2b => own_bcast = 63, real recv = 64, local tq: 251,
asym_penalty: 255, total tq: 241
[ 3939] update_originator(): Searching and
batctl ll 1
root@OpenWrt:/tmp# clear
root@OpenWrt:/tmp# vi log1
riginator 00:15:6d:ad:d3:2b, seqno 3515, TQ 235, TTL 48, IDF on, hvn 2)
on interface ath0 [00:15:6d:a3:15:2e]
[ 4012] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3515, ttv
[ 4012] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 245
[ 4012] update_originator(): Searching and updating originator
entry of received packet
[ 4012] Updating existing last-hop neighbor of originator
[ 4012] Drop packet: duplicate packet received
[ 4012] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3633, ttv
[ 4012] updating last_seqno: old 3632, new 3633
[ 4012] bidirectional: orig = 00:15:6d:ab:59:e0 neigh =
00:15:6d:ad:d3:2b => own_bcast = 60, real recv = 64, local tq: 239,
asym_penalty: 255, total tq: 196
[ 4012] update_originator(): Searching and updating originator
entry of received packet
[ 4012] Updating existing last-hop neighbor of originator
[ 4012] Forwarding packet: rebroadcast originator packet
[ 4012] Forwarding packet: tq_orig: 196, tq_avg: 206, tq_forw: 197,
ttl_orig: 48, ttl_forw: 47
[ 4012] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3633, ttv
[ 4012] bidirectional: orig = 00:15:6d:ab:59:e0 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 206
[ 4012] update_originator(): Searching and updating originator
entry of received packet
[ 4012] Updating existing last-hop neighbor of originator
[ 4012] Drop packet: duplicate packet received
[ 4013] Forwarding packet (originator 00:15:6d:ab:59:e0, seqno
3633, TQ 197, TTL 47, IDF off, hvn 9) on interface ath0 [00:15:6d:a3:15:2e]
[ 4013] Sending own packet (originator 00:15:6d:a3:15:2e, seqno
4304, TQ 255, TTL 50, IDF off, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[ 4013] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4304, ttv
[ 4013] Drop packet: originator packet from myself (via neighbor)
[ 4013] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4304, ttv
[ 4013] Drop packet: originator packet from myself (via neighbor)
[ 4013] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6399, ttv
[ 4013] updating last_seqno: old 6398, new 6399
[ 4013] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 255
[ 4013] update_originator(): Searching and updating originator
entry of received packet
[ 4013] Updating existing last-hop neighbor of originator
[ 4013] Forwarding packet: tq_orig: 255, tq_avg: 255, tq_forw: 245,
ttl_orig: 49, ttl_forw: 49
[ 4013] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 4013] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
6399, TQ 245, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[ 4013] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6399, ttv
[ 4013] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 60, real recv = 64, local tq: 239,
asym_penalty: 255, total tq: 229
[ 4013] update_originator(): Searching and updating originator
entry of received packet
[ 4013] Updating existing last-hop neighbor of originator
[ 4013] Drop packet: duplicate packet received
[ 4013] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3516, ttv
[ 4013] updating last_seqno: old 3515, new 3516
[ 4013] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 60, real recv = 64, local tq: 239,
asym_penalty: 255, total tq: 239
[ 4013] update_originator(): Searching and updating originator
entry of received packet
[ 4013] Updating existing last-hop neighbor of originator
[ 4013] Forwarding packet: tq_orig: 239, tq_avg: 245, tq_forw: 235,
ttl_orig: 49, ttl_forw: 48
[ 4013] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[ 4013] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3634, ttv
- log1 15/479 3%
11 years, 3 months
[B.A.T.M.A.N.] New batman-advanced logo
by Simon Wunderlich
Hey there,
as most of us are concentrating batman-advanced now, Marek suggested
that we should create a new logo for our next generation mesh technology. ;)
The "old" ascii logo is still great, but most people associate it with
the layer 3 BATMAN ...
Therefore, I made some sketches and would like to ask for opinions from
the list. Any comments, suggestions, criticism are welcome. My current draft
is this one:
http://packetmixer.de/batlogo/bat_gimped3.jpg
you can find some more sketches here (maybe you like another sketch more ...):
http://packetmixer.de/batlogo/
looking forward to your feedback,
Simon
11 years, 3 months
[B.A.T.M.A.N.] Batman-adv secure
by Filippo Sallemi
Hi all,
I don't known if this is a old argument but exsist the possibility to
implement a secure mesh network?
For example a tecnique that crypt batman-adv traffic with a preshare
key or similar or
using ebtables to block all INPUT and OUTPUT traffic and allow only
the specified nodes mac?
Rgds
--
Filippo Sallemi
11 years, 3 months
[B.A.T.M.A.N.] [PATCH] batman-adv: refactoring gateway handling code
by Marek Lindner
Signed-off-by: Marek Lindner <lindner_marek(a)yahoo.de>
---
gateway_client.c | 138 +++++++++++++++++++++++++++++++-----------------------
gateway_client.h | 5 +-
soft-interface.c | 42 +++++++++++------
3 files changed, 111 insertions(+), 74 deletions(-)
diff --git a/gateway_client.c b/gateway_client.c
index 619fb73..2970690 100644
--- a/gateway_client.c
+++ b/gateway_client.c
@@ -25,6 +25,7 @@
#include "gateway_common.h"
#include "hard-interface.h"
#include "originator.h"
+#include "translation-table.h"
#include "routing.h"
#include <linux/ip.h>
#include <linux/ipv6.h>
@@ -572,108 +573,129 @@ out:
return ret;
}
-int gw_is_target(struct bat_priv *bat_priv, struct sk_buff *skb,
- struct orig_node *old_gw)
+bool gw_is_dhcp_target(struct sk_buff *skb, unsigned int *header_len)
{
struct ethhdr *ethhdr;
struct iphdr *iphdr;
struct ipv6hdr *ipv6hdr;
struct udphdr *udphdr;
- struct gw_node *curr_gw;
- struct neigh_node *neigh_curr = NULL, *neigh_old = NULL;
- unsigned int header_len = 0;
- int ret = 1;
-
- if (atomic_read(&bat_priv->gw_mode) == GW_MODE_OFF)
- return 0;
/* check for ethernet header */
- if (!pskb_may_pull(skb, header_len + ETH_HLEN))
- return 0;
+ if (!pskb_may_pull(skb, *header_len + ETH_HLEN))
+ return false;
ethhdr = (struct ethhdr *)skb->data;
- header_len += ETH_HLEN;
+ *header_len += ETH_HLEN;
/* check for initial vlan header */
if (ntohs(ethhdr->h_proto) == ETH_P_8021Q) {
- if (!pskb_may_pull(skb, header_len + VLAN_HLEN))
- return 0;
+ if (!pskb_may_pull(skb, *header_len + VLAN_HLEN))
+ return false;
ethhdr = (struct ethhdr *)(skb->data + VLAN_HLEN);
- header_len += VLAN_HLEN;
+ *header_len += VLAN_HLEN;
}
/* check for ip header */
switch (ntohs(ethhdr->h_proto)) {
case ETH_P_IP:
- if (!pskb_may_pull(skb, header_len + sizeof(*iphdr)))
- return 0;
- iphdr = (struct iphdr *)(skb->data + header_len);
- header_len += iphdr->ihl * 4;
+ if (!pskb_may_pull(skb, *header_len + sizeof(*iphdr)))
+ return false;
+ iphdr = (struct iphdr *)(skb->data + *header_len);
+ *header_len += iphdr->ihl * 4;
/* check for udp header */
if (iphdr->protocol != IPPROTO_UDP)
- return 0;
+ return false;
break;
case ETH_P_IPV6:
- if (!pskb_may_pull(skb, header_len + sizeof(*ipv6hdr)))
- return 0;
- ipv6hdr = (struct ipv6hdr *)(skb->data + header_len);
- header_len += sizeof(*ipv6hdr);
+ if (!pskb_may_pull(skb, *header_len + sizeof(*ipv6hdr)))
+ return false;
+ ipv6hdr = (struct ipv6hdr *)(skb->data + *header_len);
+ *header_len += sizeof(*ipv6hdr);
/* check for udp header */
if (ipv6hdr->nexthdr != IPPROTO_UDP)
- return 0;
+ return false;
break;
default:
- return 0;
+ return false;
}
- if (!pskb_may_pull(skb, header_len + sizeof(*udphdr)))
- return 0;
- udphdr = (struct udphdr *)(skb->data + header_len);
- header_len += sizeof(*udphdr);
+ if (!pskb_may_pull(skb, *header_len + sizeof(*udphdr)))
+ return false;
+ udphdr = (struct udphdr *)(skb->data + *header_len);
+ *header_len += sizeof(*udphdr);
/* check for bootp port */
if ((ntohs(ethhdr->h_proto) == ETH_P_IP) &&
(ntohs(udphdr->dest) != 67))
- return 0;
+ return false;
if ((ntohs(ethhdr->h_proto) == ETH_P_IPV6) &&
(ntohs(udphdr->dest) != 547))
- return 0;
+ return false;
+
+ return true;
+}
+
+bool gw_out_of_range(struct bat_priv *bat_priv,
+ struct sk_buff *skb, struct ethhdr *ethhdr)
+{
+ struct neigh_node *neigh_curr = NULL, *neigh_old = NULL;
+ struct orig_node *orig_dst_node = NULL;
+ struct gw_node *curr_gw = NULL;
+ bool ret, out_of_range = false;
+ unsigned int header_len = 0;
- if (atomic_read(&bat_priv->gw_mode) == GW_MODE_SERVER)
- return -1;
+ ret = gw_is_dhcp_target(skb, &header_len);
+ if (!ret)
+ goto out;
+
+ orig_dst_node = transtable_search(bat_priv, ethhdr->h_source,
+ ethhdr->h_dest);
+ if (!orig_dst_node)
+ goto out;
+
+ if (!orig_dst_node->gw_flags)
+ goto out;
curr_gw = gw_get_selected_gw_node(bat_priv);
if (!curr_gw)
- return 0;
-
- /* If old_gw != NULL then this packet is unicast.
- * So, at this point we have to check the message type: if it is a
- * DHCPREQUEST we have to decide whether to drop it or not */
- if (old_gw && curr_gw->orig_node != old_gw) {
- if (is_type_dhcprequest(skb, header_len)) {
- /* If the dhcp packet has been sent to a different gw,
- * we have to evaluate whether the old gw is still
- * reliable enough */
- neigh_curr = find_router(bat_priv, curr_gw->orig_node,
- NULL);
- neigh_old = find_router(bat_priv, old_gw, NULL);
- if (!neigh_curr || !neigh_old)
- goto free_neigh;
- if (neigh_curr->tq_avg - neigh_old->tq_avg <
- GW_THRESHOLD)
- ret = -1;
- }
- }
-free_neigh:
+ goto out;
+
+ /* packet is going to our gateway */
+ if (curr_gw->orig_node == orig_dst_node)
+ goto out;
+
+ /* TODO: what happens if the node itself is a gateway ? */
+
+ ret = is_type_dhcprequest(skb, header_len);
+ if (!ret)
+ goto out;
+
+ /* If the dhcp packet has been sent to a different gw,
+ * we have to evaluate whether the old gw is still
+ * reliable enough */
+ neigh_curr = find_router(bat_priv, curr_gw->orig_node, NULL);
+ if (!neigh_curr)
+ goto out;
+
+ neigh_old = find_router(bat_priv, orig_dst_node, NULL);
+ if (!!neigh_old)
+ goto out;
+
+ if (neigh_curr->tq_avg - neigh_old->tq_avg > GW_THRESHOLD)
+ out_of_range = true;
+
+out:
+ if (orig_dst_node)
+ orig_node_free_ref(orig_dst_node);
+ if (curr_gw)
+ gw_node_free_ref(curr_gw);
if (neigh_old)
neigh_node_free_ref(neigh_old);
if (neigh_curr)
neigh_node_free_ref(neigh_curr);
- if (curr_gw)
- gw_node_free_ref(curr_gw);
- return ret;
+ return out_of_range;
}
diff --git a/gateway_client.h b/gateway_client.h
index b9b983c..e1edba0 100644
--- a/gateway_client.h
+++ b/gateway_client.h
@@ -31,7 +31,8 @@ void gw_node_update(struct bat_priv *bat_priv,
void gw_node_delete(struct bat_priv *bat_priv, struct orig_node *orig_node);
void gw_node_purge(struct bat_priv *bat_priv);
int gw_client_seq_print_text(struct seq_file *seq, void *offset);
-int gw_is_target(struct bat_priv *bat_priv, struct sk_buff *skb,
- struct orig_node *old_gw);
+bool gw_is_dhcp_target(struct sk_buff *skb, unsigned int *header_len);
+bool gw_out_of_range(struct bat_priv *bat_priv,
+ struct sk_buff *skb, struct ethhdr *ethhdr);
#endif /* _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ */
diff --git a/soft-interface.c b/soft-interface.c
index 652fb7b..b4b7e11 100644
--- a/soft-interface.c
+++ b/soft-interface.c
@@ -563,10 +563,10 @@ static int interface_tx(struct sk_buff *skb, struct net_device *soft_iface)
struct bcast_packet *bcast_packet;
struct vlan_ethhdr *vhdr;
struct softif_neigh *curr_softif_neigh = NULL;
- struct orig_node *orig_node = NULL;
+ unsigned int header_len = 0;
int data_len = skb->len, ret;
short vid = -1;
- bool do_bcast;
+ bool do_bcast = false;
if (atomic_read(&bat_priv->mesh_state) != MESH_ACTIVE)
goto dropped;
@@ -598,17 +598,27 @@ static int interface_tx(struct sk_buff *skb, struct net_device *soft_iface)
/* Register the client MAC in the transtable */
tt_local_add(soft_iface, ethhdr->h_source, skb->skb_iif);
- orig_node = transtable_search(bat_priv, ethhdr->h_source,
- ethhdr->h_dest);
- do_bcast = is_multicast_ether_addr(ethhdr->h_dest);
- if (do_bcast || (orig_node && orig_node->gw_flags)) {
- ret = gw_is_target(bat_priv, skb, orig_node);
+ if (is_multicast_ether_addr(ethhdr->h_dest)) {
+ do_bcast = true;
- if (ret < 0)
- goto dropped;
-
- if (ret)
- do_bcast = false;
+ switch (atomic_read(&bat_priv->gw_mode)) {
+ case GW_MODE_SERVER:
+ /* gateway servers should not send dhcp
+ * requests into the mesh */
+ ret = gw_is_dhcp_target(skb, &header_len);
+ if (ret)
+ goto dropped;
+ break;
+ case GW_MODE_CLIENT:
+ /* gateway clients should send dhcp requests
+ * via unicast to their gateway */
+ ret = gw_is_dhcp_target(skb, &header_len);
+ if (ret)
+ do_bcast = false;
+ break;
+ case GW_MODE_OFF:
+ break;
+ }
}
/* ethernet packet should be broadcasted */
@@ -644,6 +654,12 @@ static int interface_tx(struct sk_buff *skb, struct net_device *soft_iface)
/* unicast packet */
} else {
+ if (atomic_read(&bat_priv->gw_mode) != GW_MODE_OFF) {
+ ret = gw_out_of_range(bat_priv, skb, ethhdr);
+ if (ret)
+ goto dropped;
+ }
+
ret = unicast_send_skb(skb, bat_priv);
if (ret != 0)
goto dropped_freed;
@@ -662,8 +678,6 @@ end:
softif_neigh_free_ref(curr_softif_neigh);
if (primary_if)
hardif_free_ref(primary_if);
- if (orig_node)
- orig_node_free_ref(orig_node);
return NETDEV_TX_OK;
}
--
1.7.5.4
11 years, 4 months
[B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Don't use EXTRA_CFLAGS to add source version
by Sven Eckelmann
EXTRA_CFLAGS is deprecated since v2.6.23-2309-gf77bf01 and should not be used
anymore to add additional flags for the c compiler.
Signed-off-by: Sven Eckelmann <sven(a)narfation.org>
---
Makefile.kbuild | 4 ++--
README | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile.kbuild b/Makefile.kbuild
index 6377c17..bd7e93c 100644
--- a/Makefile.kbuild
+++ b/Makefile.kbuild
@@ -25,10 +25,10 @@ ifeq ($(MAKING_MODULES),1)
-include $(TOPDIR)/Rules.make
endif
-# EXTRA_CFLAGS += -DCONFIG_BATMAN_ADV_DEBUG
+# ccflags-y += -DCONFIG_BATMAN_ADV_DEBUG
ifneq ($(REVISION),)
-EXTRA_CFLAGS += -DSOURCE_VERSION=\"$(REVISION)\"
+ccflags-y += -DSOURCE_VERSION=\"$(REVISION)\"
endif
obj-m += batman-adv.o
diff --git a/README b/README
index 1e000ee..5ba56b5 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-[state: 21-08-2011]
+[state: 30-09-2011]
BATMAN-ADV
----------
@@ -206,7 +206,7 @@ option "B.A.T.M.A.N. debugging". When compiling outside of the
kernel tree it is necessary to edit the file Makefile.kbuild and
uncomment the line
-#EXTRA_CFLAGS += -DCONFIG_BATMAN_ADV_DEBUG
+#ccflags-y += -DCONFIG_BATMAN_ADV_DEBUG
Those additional debug messages can be accessed using a special
file in debugfs
--
1.7.6.3
11 years, 4 months
[B.A.T.M.A.N.] batman-adv: loop caused by tinc and wifi
by Bjoern Franke
Hi,
we are using the following configuration in our freifunk network:
B.A.T.M.A.N. advanced 2011.0.0 (compatibility version 12)
ath1 (ad-hoc) as batman-adv-interfaces
ath0 (ap), tap0, eth0.1 and bat0 as a bridge
stp is enabled for the bridge.
Most of the nodes are connected via tinc and the network runs fine. But if two
nodes which have a tinc connection also get a ath1-connection, the whole
network crashes.
What are we doing wrong?
regards
Bjoern
--
jabber: bjo(a)schafweide.org
bjo.nord-west.org | nord-west.org | freifunk-ol.de
11 years, 4 months
Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Chichek hunt started! Verbose patch
by laurent
Hello,
I finally had a new firmware with your new patch.
There is the new logs, hope it help. I am working late today if you need
more.
Best,
Laurent
On 27/09/2011 10:01, Antonio Quartulli wrote:
> Signed-off-by: Antonio Quartulli <ordex(a)autistici.org>
> ---
> translation-table.c | 19 +++++++++++++++++--
> 1 files changed, 17 insertions(+), 2 deletions(-)
>
> diff --git a/translation-table.c b/translation-table.c
> index 7de9960..8cfccae 100644
> --- a/translation-table.c
> +++ b/translation-table.c
> @@ -258,9 +258,14 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
> spin_lock_bh(&bat_priv->tt_changes_list_lock);
> atomic_set(&bat_priv->tt_local_changes, 0);
>
> + bat_dbg(DBG_TT, bat_priv, "TT_BUG Preparing OGM buffer\n");
> +
> list_for_each_entry_safe(entry, safe, &bat_priv->tt_changes_list,
> list) {
> if (count < tot_changes) {
> + bat_dbg(DBG_TT, bat_priv, "TT_BUG Copying flags: 0x%x addr: %pM\n",
> + entry->change.flags,
> + entry->change.addr);
> memcpy(buff + tt_len(count),
> &entry->change, sizeof(struct tt_change));
> count++;
> @@ -270,6 +275,8 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
> }
> spin_unlock_bh(&bat_priv->tt_changes_list_lock);
>
> + bat_dbg(DBG_TT, bat_priv, "TT_BUG Copied %d addresses\n", count);
> +
> /* Keep the buffer for possible tt_request */
> spin_lock_bh(&bat_priv->tt_buff_lock);
> kfree(bat_priv->tt_buff);
> @@ -1407,7 +1414,11 @@ static void _tt_update_changes(struct bat_priv *bat_priv,
> {
> int i;
>
> + bat_dbg(DBG_TT, bat_priv, "TT_BUG Received %d changes\n", tt_num_changes);
> +
> for (i = 0; i < tt_num_changes; i++) {
> + bat_dbg(DBG_TT, bat_priv, "TT_BUG flags: 0x%x %pM\n", (tt_change + i)->flags,
> + (tt_change + i)->addr);
> if ((tt_change + i)->flags & TT_CLIENT_DEL)
> tt_global_del(bat_priv, orig_node,
> (tt_change + i)->addr,
> @@ -1505,12 +1516,16 @@ void handle_tt_response(struct bat_priv *bat_priv,
> if (!orig_node)
> goto out;
>
> - if (tt_response->flags & TT_FULL_TABLE)
> + if (tt_response->flags & TT_FULL_TABLE) {
> + bat_dbg(DBG_TT, bat_priv, "TT_BUG Got full table on response\n");
> tt_fill_gtable(bat_priv, tt_response);
> - else
> + }
> + else{
> + bat_dbg(DBG_TT, bat_priv, "TT_BUG Got diff\n");
> tt_update_changes(bat_priv, orig_node, tt_response->tt_data,
> tt_response->ttvn,
> (struct tt_change *)(tt_response + 1));
> + }
>
> /* Delete the tt_req_node from pending tt_requests list */
> spin_lock_bh(&bat_priv->tt_req_list_lock);
11 years, 4 months