- Mar 08, 2018
-
-
Matthias Schiffer authored
-
- Mar 07, 2018
-
-
Matthias Schiffer authored
-
- Mar 01, 2018
-
-
Matthias Schiffer authored
Fixes: 7ccdacd2 ("treewide: rework check_site_lib.lua")
-
- Feb 15, 2018
-
-
T-X authored
This patch moves the prefix4 subnet route from the local-node veth device to br-client (while keeping the next node ipv4 address on the local node device). This is in preparation to allow routing over the br-client interface later.
-
Matthias Schiffer authored
Allows to remove some redundant UCI lookups.
-
- Jan 19, 2018
-
-
Matthias Schiffer authored
In addition to significant internal differences in check_site_lib.lua (in particular unifying error handling to a single place for the upcoming multi-domain support), this changes the way fields are addressed in site check scripts: rather than providing a string like 'next_node.ip6', the path is passed as an array {'next_node', 'ip6'}. Other changes in site check scripts: * need_array and need_table now pass the full path to the sub fields to the subcheck instead of the key and value * Any check referring to a field inside a table implies that all higher levels must be tables if they exist: a check for {'next_node', 'ip6'} adds an implicit (optional) check for {'next_node'}, which allows to remove many explicit checks for such tables
-
lemoer authored
[Matthias schiffer: rebase, add a few more restrictions]
-
- Jan 11, 2018
-
-
Matthias Schiffer authored
The 'auto' attribute still allows enabling the interface using ifup, which is not intended when wired mesh is disabled.
-
- Dec 27, 2017
-
-
Matthias Schiffer authored
As core defines basic rules for this zone, it makes sense to create it there.
-
- Nov 25, 2017
-
-
Christof Schulze authored
* gluon-core, gluon-client-bridge: introduce new firewall zone: local_client * gluon-core: put clients in local_client zone, introduce drop-zone, set dns-rules and zones * gluon-respondd: allow respondd on mesh * gluon-status-page-api: allow http input on mesh and client
-
- Aug 11, 2017
-
-
Matthias Schiffer authored
Some files have received some additional refactoring.
-
- Aug 08, 2017
-
-
Matthias Schiffer authored
In particular, this affects users of gluon.util.iterate_radios.
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
- Jun 26, 2017
-
-
Matthias Schiffer authored
The next-node MAC address doesn't need to be unique in different communities, so we can as well add a default value.
-
- Apr 13, 2017
-
-
Linus Lüssing authored
LEDE recently disabled multicast snooping by default: https://git.lede-project.org/?p=project/netifd.git;a=commitdiff;h=52541140f8138e31958cdc3d7e42a4029fa6bbc9 Reenable it for Gluon as there have been no confirmed issues for LEDE and no negative reports concerning Gluon v2016.2.x so far. Closes #1025. Signed-off-by:
Linus Lüssing <linus.luessing@c0d3.blue>
-
- Apr 10, 2017
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
gluon-core: gluon.util: pass UCI cursor as argument to iterate_radios() instead of using local context
-
- Feb 23, 2017
-
-
Matthias Schiffer authored
We always want to prefer the unique node address for outgoing traffic. Note that this doesn't have an effect with batman-adv, as usually br-client will be the outgoing interface, so the unique address would be chosen anyways.
-
- Feb 10, 2017
-
-
Matthias Schiffer authored
macvlan interfaces never directly exchange traffic with the underlying interface, but only with other hosts behind the interface. In consequence, router advertisements from the uradvd running on br-client could never reach local-node, preventing it from getting an IPv6 address without RAs from an external radvd. Fix this be replacing the macvlan interface with a veth pair (with the peer interface in br-client). As a side effect, this saves about 5KB of flash, as the veth module is simpler than macvlan.
-
Matthias Schiffer authored
When preparing the migration from macvlan to veth for local-node, MAC address conflicts occurred as some ports of br-client had the same address as local-node. Reverting the roles of both interfaces fixes this. By default, br-client is left as an interface without addresses and firewall rules that drop everything, so the bridge is used to connect its ports only. gluon-mesh-batman-adv-core changes this to the usual set of addresses and firewall rules.
-
Matthias Schiffer authored
Prepare reverting the roles of br-client and local-node to their state before 8c4403ba.
-
Matthias Schiffer authored
Also simplify the local_node.peerdns setting.
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
We also make use of the boolean support of simple-uci to make scripts clearer.
-
- Jan 18, 2017
-
-
Matthias Schiffer authored
-
- Jan 17, 2017
-
-
Matthias Schiffer authored
-
- Dec 10, 2016
-
-
Matthias Schiffer authored
gluon-client-bridge, gluon-mesh-batman-adv-core: switch roles of br-client and local-node interfaces MAC and IP addresses are switched. This makes the gluon-client-bridge package more useful for different routing protocols that don't need a unique address on the client bridge. As a side effect, gluon-radvd is now using the next-node address, which had been considered before, but was dismissed to avoid having gluon-radvd depend on gluon-next-node and gluon-mesh-batman-adv. This will be useful for announcing default routes via gluon-radvd. One downside is that this introduces a minor dependency on batman-adv in gluon-respondd: the hotplug script that checked for the client interface before will now check for local-node. This doesn't really matter: for mesh protocols without a local-node interface, the check will do nothing (which makes sense, as there is no interface to bind to for mesh-wide respondd).
-
- Sep 07, 2016
-
-
Matthias Schiffer authored
gluon-client-bridge: add LAN interfaces to client bridge by default (instead of doing this in the batman-adv-specific scripts) This allows to weaken the gluon-mesh-batman-adv-core dependency of gluon-luci-portconfig to gluon-client-bridge.
-
- Jul 27, 2016
-
-
Matthias Schiffer authored
-
- Jul 20, 2016
-
-
Matthias Schiffer authored
Some drivers (mt76) don't support arbitrary MAC addresses. Use the addresses provided by the driver (avoiding the primary address) by default, but fall back to our has-based scheme when the driver doesn't provide (enough) addresses.
-
Matthias Schiffer authored
-
- Jul 10, 2016
-
-
Jan-Tarek Butt authored
-
- May 13, 2016
-
-
Matthias Schiffer authored
Lua's tables are 1-based, so we must decrement the index by 1 to get the desired MAC addresses. By not doing this, the second IBSS interface would get the address with index 8, but only indices 0..7 are available. Fixes: c73a12e0
-
- Apr 27, 2016
-
-
lemoer authored
While ath9k/ath10k devices can supprt VIFs with any combination of MAC addresses, there are also adapters which have a hardware MAC filter which only allows a few bits to differ. This commit changes the addresses of all VIFs to ony differ in the last 3 bits, which is required to support many Ralink/Mediatek based WLAN adapters. Technically, the new addresses are generated by calculating an MD5 hash of the primary MAC address and using a part of this hash as a prefix for the MAC addresses. The addresses (BSSIDs) of the AP VIFs are also reused for the LAN and WAN interfaces in mesh-on-LAN/WAN mode to reduce the number of needed addresses, and thus reduce the chance of collisions. This is not a problem as the MAC addresses of the AP VIFs are never used except as BSSID, and thus not seen by routing protocols like batman-adv. Fixes #648 [Matthias Schiffer: rewrote commit message]
-
- Apr 02, 2016
-
-
Matthias Schiffer authored
Avoid commiting configs inbetween to decrease number of flash writes. Fixes #714.
-
- Oct 26, 2015
-
-
Nils Schneider authored
This package provides br-client and sets up a wireless AP interface for clients.
-