- Dec 16, 2020
-
-
This change let's uradvd deliver the v6 link-local of this node as DNS. With this change DNS-requests are not affected by the radv-filterd -rewrites during roaming. Signed-off-by:
Chrissi^ <chris@tinyhost.de>
-
Using this change an VPN-node announces it's own IPv6 as DNS server. /tmp/addr6 is written by nodeoute.lua during runtime configuration. Signed-off-by:
Chrissi^ <chris@tinyhost.de>
-
This change alles meshed PARKER-Nodes to forward IPv6 to the next node. Signed-off-by:
Chrissi^ <chris@tinyhost.de>
-
-
-
- Jun 13, 2020
-
-
Matthias Schiffer authored
With very bad timing, it is possible that the teardown script of a gluon_mesh interface runs when bat0 was just created, but primary0 is not yet added to it. Although there is no hardif to remove in this case, bat0 will still be deleted, because there is no hardif in bat0. Disable the interface removal logic by passing `-M` to `batctl interface`. (cherry picked from commit 92647cd4)
-
- May 12, 2020
-
-
Matthias Schiffer authored
As a partial fix to #496, do not touch the MAC address of the WAN interface when using VXLANs (as only the MAC address of the VXLAN interface matters to batman-adv).
-
- Apr 20, 2020
-
-
Matthias Schiffer authored
Add a UCI setting gluon.mesh_batman_adv.hop_penalty Example UCI commands: uci set gluon.mesh_batman_adv=mesh_batman_adv uci set gluon.mesh_batman_adv.hop_penalty=20 uci commit `/etc/config/gluon` config section: config mesh_batman_adv 'mesh_batman_adv' option hop_penalty '20' Fixes: #1942
-
- Nov 24, 2019
-
-
Matthias Schiffer authored
- Split into multiple files - Avoid alloca()
-
Matthias Schiffer authored
In addition this PR contains: - split of gluon-respondd provider into multiple source files - minor additional cleanups in gluon-mesh-babel respondd provider (untested, as the babel respondd provider already doesn't compile prior to these changes...)
-
Matthias Schiffer authored
While we're at it, also slightly optimize proto_gluon_bat0_renew.
-
- Nov 23, 2019
-
-
Matthias Schiffer authored
-
- Nov 07, 2019
-
-
Matthias Schiffer authored
We don't support VLANs on 11s interfaces, so the workaround can be dropped with the IBSS support.
-
- Oct 29, 2019
-
-
Matthias Schiffer authored
-
- Sep 25, 2019
-
-
Matthias Schiffer authored
-
- Sep 21, 2019
-
-
Linus Lüssing authored
This reverts commit 9b1eb40f. With the batman-adv v2019.2 upgrade reverted (c1a77339), the batman-adv multicast-to-multi-unicast feature is not available yet. Without that it is going to be very unlikely of the batman-adv multicast optimizations to take effect. E.g. some outdated nodes would disable it. To avoid confusion and diversion with a few communities having it enabled and most implicitly deactivated, just deactivate it for all for now until batman-adv is updated to v2019.2 or greater again.
-
- Aug 22, 2019
-
-
Linus Lüssing authored
The new routing_algo site.conf value BATMAN_IV_LEGACY is introduced. With these changes, the routing_algo setting becomes mandatory. Signed-off-by:
Linus Lüssing <linus.luessing@c0d3.blue>
-
Linus Lüssing authored
We cannot add the same file (here: /lib/gluon/mesh-batman-adv/compat) to two, installed packages. Therefore, instead of determining the compat version number from this file, infer it from the batman-adv release version number instead. Signed-off-by:
Linus Lüssing <linus.luessing@c0d3.blue>
-
- Jun 18, 2019
-
-
Matthias Schiffer authored
-
- Jun 16, 2019
-
-
bobcanthelpyou authored
-
Matthias Schiffer authored
-
- Jun 07, 2019
-
-
Linus Lüssing authored
Several fixes and enhancements related to multicast were added upstream in batman-adv. So let's give the batman-adv multicast optimizations another go. Signed-off-by:
Linus Lüssing <linus.luessing@c0d3.blue>
-
- Apr 28, 2019
-
-
Matthias Schiffer authored
Fixes #1659
-
- Apr 16, 2019
-
-
Linus Lüssing authored
The batctl v2013.4 build was removed from the batman-adv-legacy package as the current, upstream batctl releases work with batman-adv-legacy, too. As a replacement we need to add the upstream batctl dependency to gluon-mesh-batman-adv-14 to have a batctl available again here. Signed-off-by:
Linus Lüssing <linus.luessing@c0d3.blue>
-
- Apr 08, 2019
-
-
Sven Eckelmann authored
The commit ee63ed42fe6c ("gluon-mesh-batman-adv: List neighbors with non-best direct link") removed the check whether a neighbor has the BATADV_ATTR_FLAG_BEST set. But consumers may still want to filter out or mark neighbors which don't have this flag set. To assist with such a feature, enhance the neighbor object with an extra boolean "best" attribute which stores whether the BATADV_ATTR_FLAG_BEST was found or not. Reported-by:
Vincent Wiemann <webmaster@codefetch.de>
-
Sven Eckelmann authored
Links between two direct neighbors are not always the best route between these devices. The flag BATADV_ATTR_FLAG_BEST would not be set for these originator entries and the respondd module would just ignore this entry. This causes missing links in meshviewer and similar tools. And when the link quality is nearly equal and but fluctuates slightly, these links will from time to time appear and disappear on the map. Fixes: 2e0e24a9 ("announce neighbours using alfred/gluon-announce")
-
- Mar 16, 2019
-
-
Sven Eckelmann authored
The amount of local wifi clients is currently counted by two different ways: * asking the kernel wifi layer for the number of of clients on 2.4GHz and 5GHz band * asking batman-adv for the number of non-timed out entries in the local translation table with WiFi flag The number of wifi24+wifi5 and the number of TT wifi client counts are reported via respondd to various consumers. The ffrgb meshviewer is displaying these values as: * 2,4 GHz: wifi24 * 5 GHz: wifi5 * other: (TT local wifi+non-wifi clients) - (wifi24 + wifi5) But the local translation table is holding entries much longer than the wifi layer. It can therefore easily happen that a wifi client disappears in the kernel wifi layer and batman-adv still has the entry stored in the local TT. The ffrgb meshviewer would then show this count in the category "other". This often results in confusions because "other" is usually for ethernet clients. And nodes with a frequently disappearing larger group of clients (near bus stations or larger intersections) often show most clients under the group "other" even when this devices doesn't have a LAN ethernet port. It is better for presentation to calculate the number of total wifi clients by summing up wifi24 + wifi5. And getting the number of total clients (non wifi + wifi) by adding the result of the previous calculation to the sum of non-wifi client in the local batman-adv translation table. Fixes: 89a9d813 ("gluon-mesh-batman-adv-core: Announce client count by frequency") Reported-by:
Pascal Wettin <p.wettin@gmx.de>
-
- Feb 17, 2019
-
-
David Bauer authored
-
- Nov 18, 2018
-
-
Matthias Schiffer authored
-
- Nov 17, 2018
-
-
Matthias Schiffer authored
-
- Sep 01, 2018
-
-
Matthias Schiffer authored
At least the ifindex and the flags fields can be larger than 0xff. Fixes #1523
-
- Jul 22, 2018
-
-
Sven Eckelmann authored
The commit b3762fc6 ("gluon-client-bridge: move IPv4 local subnet route to br-client (#1312)") moves the IPv4 prefix from the local-port interface to br-client. A client requesting an IPv4 connection to the IPv4 anycast address of the node (the device running gluon) will create following packets: 1. ARP packet from client to get the MAC of the mac address of the anycast IPv4 address 2. ARP reply from node to client with the anycast MAC address for the IPv4 anycast address 3. IPv4 packet from client which requires reply (for example ICMP echo request) 4. ARP request for the client MAC address for its IPv4 address in prefix4 (done with the mac address of br-client and transmitted over br-client) 5. IPv4 packet from node (transmitted over br-client with br-client MAC address) as reply for the client IPv4 packet (for example ICMP echo reply) The step 4 and 5 are problematic here because packets use the node specific MAC addresses from br-client instead of the anycast MAC address. The client will receive the ARP packet with the node specific MAC address and change their own neighbor IP (translation) table. This will for example break the access to the status page to the connected device or the anycast DNS forwarder implementation when the client roams to a different node. This reverts commit b3762fc6 and adds an upgrade code to remove local_node_route on on existing installations.
-
Sven Eckelmann authored
The commit b3762fc6 ("gluon-client-bridge: move IPv4 local subnet route to br-client (#1312)") moves the IPv4 prefix from the local-port interface to br-client. A client requesting an IPv4 connection to the IPv4 anycast address of the node (the device running gluon) will create following packets: 1. ARP packet from client to get the MAC of the mac address of the anycast IPv4 address 2. ARP reply from node to client with the anycast MAC address for the IPv4 anycast address 3. IPv4 packet from client which requires reply (for example ICMP echo request) 4. ARP request for the client MAC address for its IPv4 address in prefix4 (done with the mac address of br-client and transmitted over br-client) 5. IPv4 packet from node (transmitted over br-client with br-client MAC address) as reply for the client IPv4 packet (for example ICMP echo reply) The step 4 is extremely problematic here. ARP replies with the anycast IPv4 address must not be submitted or received via bat0 - expecially not when it contains an node specific MAC address as source. When it is still done then the wrong MAC address is stored in the batadv DAT cache and ARP packet is maybe even forwarded to clients. This latter is especially true for ARP requests which are broadcast and will be flooded to the complete mesh. Clients will see these ARP packets and change their own neighbor IP (translation) table. They will then try to submit the packets for IPv4 anycast addresses to the complete wrong device in the mesh. This will for example break the access to the status page to the connected device or the anycast DNS forwarder implementation. Especially the latter causes extreme latency when clients try to connect to server using a domain name or even breaks the connection setup process completely. Both are caused by the unanswered DNS requests which at first glance look like packet loss. An node must therefore take care of: * not transmitting ARP packets related to the anycast IPv4 address over bat0 * drop ARP packets related to the anycast IPv4 when they are received on bat0 from a still broken node * don't accept ARP packets related to the anycast IPv4 replies on local node when it comes from bat0 Fixes: b3762fc6 ("gluon-client-bridge: move IPv4 local subnet route to br-client (#1312)")
-
- Apr 27, 2018
-
-
Matthias Schiffer authored
In multidomain setups, VXLAN is enabled by default, but can be disabled in domain configs using the mesh/vxlan option. In single domain setups, the mesh/vxlan option is mandatory. The UCI option for legacy mode is removed. Fixes #1364
-
- Apr 13, 2018
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
net.ipv6.conf.br-client.forwarding is moved from gluon-client-bridge to gluon-mesh-batman-adv, as the setting is not useful with non-bridged protocols.
-
- Mar 11, 2018
-
-
Matthias Schiffer authored
The RFC standard multicast querier interval is 120s. Our querier uses in interval of 20s for better support of roaming clients, but our robustness setting of 3 leads to external queriers using the standard interval to be timeout after only 60s, leading to frequent "querier appeared/disappeared" messages. Increase robustness so that external queriers with any interval <180s are supported.
-
- Mar 08, 2018
-
-
Matthias Schiffer authored
-
- Mar 07, 2018
-
-
Matthias Schiffer authored
-