Commit Graph

1946 Commits

Author SHA1 Message Date
Nils Schneider
33a12b006f gluon-radvd: HACK: free ebtables from bat0 2016-09-09 00:22:44 +02:00
Nils Schneider
20409f5727 gluon-radvd: run on local-node instead of br-client
On a layer 3 mesh, we'd like the default route to point to all node's
local-node interface for roaming to work.
2016-09-09 00:22:44 +02:00
Nils Schneider
e8acfaecb0 gluon-next-node: mark local-node ip6 as deprecated
Prevent the local-node ip6 from being eligible for source address
selection. This is highly undesireable in a layer 3 mesh.
2016-09-09 00:22:44 +02:00
Sven Eckelmann
7a9cf635c4 ar71xx-generic: Mark MR1750 and OM5P-AC devices as BROKEN (#878)
The MR1750 and OM5P-AC devices are based on ath9k SoCs and an external
ath10k chip. All devices which are using ath10k should be marked as broken
due to deficits in their IBSS support.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-09 00:22:00 +02:00
Ruben Barkow
5035ccd3d1 gluon-config-mode-contact-info: define an "obligatory" option in site.conf (#843) 2016-09-09 00:22:00 +02:00
J0WI
546ac146c6 gluon-status-page: removed obsolete css prefixes (#877)
None of them are used by modern browsers anymore, so it's safe to remove them.
2016-09-09 00:22:00 +02:00
Matthias Schiffer
3b0d12125f mac80211, hostapd, ...: update to LEDE 42f559ed70897a7b74dd3e6293b42e6d2e511eaa 2016-09-09 00:22:00 +02:00
Matthias Schiffer
3b3e03bd20 gluon-mesh-batman-adv-core: explicitly set primary MAC address using a dummy interface
Fixes #834
2016-09-09 00:22:00 +02:00
Matthias Schiffer
e795f61252 Reorganize MAC addresses, always explicitly set address for private WLAN
Fixes #842
2016-09-09 00:22:00 +02:00
Matthias Schiffer
0b3af14bf8 gluon-core: migrate custom batadv interfaces to gluon_mesh proto
Users may have defined additional mesh interfaces. Properly migrate these
to avoid subtly breaking the network config (and make them ready for new
mesh protocols).
2016-09-09 00:21:59 +02:00
Matthias Schiffer
50d982cad7 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.
2016-09-09 00:21:59 +02:00
Matthias Schiffer
2c3da87f7c gluon-mesh-batman-adv-core: move config not specific to batman-adv to gluon-core 2016-09-09 00:21:59 +02:00
Matthias Schiffer
74a80bf8d6 gluon-mesh-batman-adv-*, gluon-mesh-vpn-fastd: configure batman-adv through gluon_mesh proto 2016-09-09 00:21:59 +02:00
Matthias Schiffer
1fb7766692 gluon-mesh-batman-adv-*: add gluon_mesh protocol handlers 2016-09-09 00:21:59 +02:00
Matthias Schiffer
b4aecddd6c gluon-core: add gluon_mesh netifd proto
This new protocol will allow configuring mesh interfaces independently of
the used mesh protocol.
2016-09-09 00:21:59 +02:00
Lustikus
02797e6689 Update hardware.rst
[Matthias Schiffer: changed the text a bit]
2016-09-09 00:21:59 +02:00
Jan-Philipp Litza
41cade9754 Remove squashing from contribution guidelines (#865) 2016-09-09 00:21:59 +02:00
Matthias Schiffer
5dd215a38f gluon-status-page-api: hide warning in upgrade script 2016-09-09 00:21:36 +02:00
Matthias Schiffer
48b3283c3e gluon-mesh-batman-adv-core, gluon-mesh-vpn-fastd: switch MAC address assignment
Switch to:

1. WAN
2. LAN
3. Mesh VPN

As WAN and LAN are setup in gluon-mesh-batman-adv-core (and will be moved
to gluon-core), while the mesh VPN has its own package, giving WAN and LAN
the first indices is preferable.
2016-09-09 00:21:36 +02:00
Ruben Barkow
736831b7d7 docs: minor improvements to i18n docs, mention French (#866) 2016-09-09 00:21:36 +02:00
Steffen Förster
07c2a12e54 ar71xx-generic: add support for ALFA N2 and N5 (#871)
+ added profile for these devices
+ added entry in the docs for these devices plus the missing alfa tube
2016-09-09 00:21:36 +02:00
Matthias Schiffer
a1f1d476ce gluon-wan-dnsmasq: add interface name to link-local addresses
Fixes #854
2016-09-09 00:21:36 +02:00
Matthias Schiffer
70109cec54 ar71xx-generic: add support for new TP-Link region codes
Generate flashable images for the Archer C7 v2 with current stock firmware
again.

To set the region code, the GLUON_REGION variable must be set to "us" or
"eu" in site.mk or as a make argument.

Fixes #860
2016-09-09 00:21:36 +02:00
Matthias Schiffer
8097c06342 scripts/update.sh: don't disable commit signing for modules 2016-09-09 00:21:36 +02:00
Matthias Schiffer
bfc5bc72a5 Update Gluon packages 2016-09-09 00:21:36 +02:00
Matthias Schiffer
092d9b2bd4 Update Gluon packages 2016-09-09 00:21:36 +02:00
Matthias Schiffer
1ba534d306 gluon-config-mode-mesh-vpn: fix indentation 2016-09-09 00:21:36 +02:00
Matthias Schiffer
58bd1f5979 Use a "pretty" hostname where possible
Fixes #414
2016-09-09 00:21:35 +02:00
Matthias Schiffer
ac8dcfbde3 Update Gluon packages 2016-09-09 00:21:35 +02:00
Matthias Schiffer
53be0bec2d gluon-config-mode-*, gluon-luci-*: add escaping for many user- or site-defined strings
Allows weird release numbers, models and site names, and prepares support
for pretty hostnames.
2016-09-09 00:21:35 +02:00
Matthias Schiffer
38c0cb12f7 gluon-luci-theme: add HTML and URL escaping utility functions 2016-09-09 00:21:35 +02:00
kb-light
691531de7e gluon-mesh-batman-adv-core: use need_one_of() to check for valid mcast_rate 2016-09-09 00:21:35 +02:00
kb-light
bd4368d784 gluon-core: make wifi rates configurable by site.conf
and add documentation
2016-09-09 00:21:35 +02:00
kb-light
669790c5fc scripts: update need_string_array() to work as expected 2016-09-09 00:21:35 +02:00
kb-light
e5d810a9df scripts: add functions need_one_of and need_array_of to check_site_lib.lua
need_one_of(varname, array, required) checks weather the value of the specified variable is part of given array.
need_array_of(varname, array, required) is similar to need_one_of() but assume that varname points to an array.
2016-09-09 00:21:35 +02:00
Matthias Schiffer
9dd22916fc gluon-radvd: fix init script
Fixes #862
2016-09-09 00:21:35 +02:00
Matthias Schiffer
4cf24966f8 ar71xx-generic: add support for TL-WA801ND v3 (untested)
Fixes #800
2016-09-09 00:21:35 +02:00
Linus Lüssing
8047684be0 gluon-core: reenable multicast snooping on WAN side
Just like we enabled multicast snooping on the batman-adv client bridge
again, let's do the same for the WAN side.

With one exception: The IGMP/MLD querier is kept disabled to avoid
becoming too "bossy"/"noisy" on a foreign network. The main router on
the WAN side should perform querying and by that enable
IGMP/MLD/snooping if it considers this appropriate there.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-09-09 00:21:35 +02:00
Linus Lüssing
e6244cfeff gluon-mesh-batman-adv-core: reenable multicast snooping
A few issues with the bridge snooping were identified and fixed
upstream in OpenWRT:

* "firewall: Allow IGMP and MLD input on WAN" (r45613)
* "kernel: bridge: backport two snooping related patches" (r45783)
* netifd: "bridge: Fix multicast_to_unicast feature by hairpin+isolate"
  (OW: "netifd: update to the latest version, adds multicast-to-unicast fixes" (r46719))
* "kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()" (r46721)
* "kernel: bridge, multicast-to-unicast: fix echoes on STA" (46765)

These have very likely caused issues with the bridge snooping before,
which led to disabling it in the past. Let's reenable the multicast
snooping now that they were fixed for reduced multicast overhead on the
wifi.

Advantages are the following:

This mildly reduces overhead on the mesh layer. And significantly reduces
overhead on the AP interface and therefore significantly increases
available airtime (the currently most significant scalability bottleneck).

Secondly removes an easy, often accidental node-local Denial-of-Service
vector based on multicast flooding / streaming.

Thirdly, makes node-local multicast streaming feasible.

Finally should noticably increase battery life of mobile devices.

Note: bridge querier is disabled for br-wan. We want to avoid becoming
too "bossy"/"noisy" on a foreign network.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-09-09 00:21:35 +02:00
T-X
0bc0199516 gluon-mesh-batman-adv-core: disable bridge port learning on bat0 (#780)
The mesh side has become fairly huge in many communities. Up to
a few thousand entries can currently be found in the forwarding
database (fdb) of a bridge for its bridge port bat0.

The bridge fdb is kind of redundant to the batman-adv global translation
table here. Therefore this patch tries to reduce memory footprint by
following an approach similar to the IGMP/MLD split patchset approach:

Make the bridge oblivious not only regarding multicast listeners towards
the mesh but with this patch unicast hosts on the mesh, too.

If the destination of an ethernet frame is known by the bridge to be a
local one, then the frame is forwarded to the according port. If it is
unknown, then the frame is forwarded to the wifi AP interface and bat0.

mac80211 and batman-adv then know whether to drop or forward a frame
further through their own book-keeping.

Note that unicast-flood is not disabled for the wifi AP bridge port, nor
is learning disabled on the wifi AP. This is mainly to keep the
configuration in UCI and according setup scripts simple ;). However, not
disalbling unicast-flood on the wifi AP interface might also give a
minor latency improvement for newly joining wifi clients.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-09-09 00:21:35 +02:00
Matthias Schiffer
8add445671 dropbear: update to LEDE 277f85c21ae0ede4e15e66cbd801b9fb502531df
Includes a few security updates and enables Curve25519 support.

Fixes #223
2016-09-09 00:21:34 +02:00
Matthias Schiffer
5d79b80e5b ar71xx: backport fixes for better CPE210/510 support (again)
This patchset enables the RX LNA for the CPE210/510, improving RX by about
20dB. The profiles for CPE210 and CPE510 is split into two images.

The problematic patch switching the CPE510 to the secondary ART is left
out.
2016-09-09 00:21:34 +02:00
Ruben Barkow
6dfe068d26 Docs: more example site configs in the wild (#837) 2016-09-09 00:21:34 +02:00
Simon Wunderlich
4256e4bb3c ar71xx-generic: remove broken mark for wr842n-v3 (#859)
I've bought a couple of those devices from Senetic GmbH.

https://www.senetic.de/product/TL-WR842N

They have 16 MB of Flash and 64 MB of RAM. Platform support works fine,
I've also tested a little with Ethernet (since I saw some regressions on
OpenWRT/LEDE with 841v11), no problems.

Therefore, lets remove the broken mark.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
2016-09-09 00:21:34 +02:00
Matthias Schiffer
6cd485fea5 scripts/update.sh: fix checkout of correct base commit after fetching 2016-09-09 00:21:34 +02:00
Matthias Schiffer
e6597db32c mac80211, hostapd, iw, ...: update to LEDE 27dffa0b0c53a1a817a9a37d1647c7e70672273f 2016-09-09 00:21:34 +02:00
Matthias Schiffer
f402b66f3b update/patch: avoid applying patches directly in build repos
Switching branches and applying patches in the build repos will
unnecessarily touch many files, causing rebuilds of packages that didn't
really change; furthermore, it is filling the reflog with many entries.

Don't ever switch to base branch in the build repos and apply patches in
a temporary clone to avoid these issues.

In addition, GPG signing is generally disabled in the build repos to
override potential global configuration (as signing doesn't make sense and
will slow down rebases).
2016-09-09 00:21:34 +02:00
@RubenKelevra
2067b4be73 modules: change url from openwrt.org to github one (#850) 2016-09-09 00:21:34 +02:00
Sprinterfreak
08b202c9c9 ar71xx-generic: verified Tube2h, remove BROKEN (#847) 2016-09-09 00:21:34 +02:00
kb-light
4ad4217716 gluon-luci-private-wifi: limit ssid to 32 characters (#848)
Fixes #845
2016-09-09 00:21:34 +02:00