Commit Graph

1911 Commits

Author SHA1 Message Date
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
Jan-Philipp Litza
b2eeaf6565 gluon-radvd: Use procd in init script
The main advantage is that procd is capable of logging stderr to logd,
making errors easier to debug.
2016-09-09 00:21:34 +02:00
Matthias Schiffer
d309814be9 gluon-luci-portconfig: add setting for PoE passthrough
Fixes #328
2016-09-09 00:21:33 +02:00
Matthias Schiffer
04ed2ecea7 gluon-core: allow setting PoE passthrough default setting from site.conf 2016-09-09 00:21:33 +02:00
Matthias Schiffer
604204615d contrib/lsupgrade.sh: show upgrade scripts in luasrc directories 2016-09-09 00:21:33 +02:00
Matthias Schiffer
95cb9effc5 mac80211, hostapd, iw, ...: update to LEDE b2ddfbc1c7b935cf931b4c336969b65947270ce9 2016-09-09 00:21:33 +02:00
Matthias Schiffer
8cf21e1447 netifd: update to latest version 2016-09-09 00:21:33 +02:00
Jannis Pinter
9a3cb7dcb7 Add support for Buffalo WZR-HP-G300NH2 (#836)
Add Buffalo WZR-HP-G300NH2 to Makefile, device is already supported in OpenWrt and LEDE.
Verified functionality with actual device.
2016-09-09 00:21:33 +02:00
Matthias Schiffer
e6d67781a9 ar71xx-generic: backport a few D-Link DIR-505 A1/A2 patches
Fixes #658
2016-09-09 00:21:33 +02:00
Matthias Schiffer
982bb87938 Make libuecc a shared library, update Gluon packages 2016-09-09 00:21:33 +02:00
Matthias Schiffer
f3e171a2dc gluon-luci-private-wifi: set MAC address if the driver provides one 2016-09-09 00:21:33 +02:00
Matthias Schiffer
4fcf5e73dd gluon-core: split get_wlan_mac_from_driver() out of get_wlan_mac() 2016-09-09 00:21:33 +02:00
Matthias Schiffer
53a494d25f gluon-client-bridge, gluon-mesh-batman-adv-core: make macaddr variable local in upgrade script 2016-09-09 00:21:33 +02:00
Matthias Schiffer
7a1d8a6309 ar71xx-generic: fix Tube2H profile 2016-09-09 00:21:32 +02:00
Matthias Schiffer
d8902be9a1 ar71xx-generic: fix BOARDNAME for UAP AC Lite
Caused by a broken backport.

Fixes #689
2016-09-09 00:21:32 +02:00
Matthias Schiffer
cf61c5937f netifd: fix broken download URL 2016-09-09 00:21:32 +02:00
Matthias Schiffer
ca8bff68d6 gluon-luci-admin: rename "Expert Mode" to "Advanced settings"
Use the common term; the "Expert Mode" never was a distinct mode of
operation anyways.
2016-09-09 00:21:32 +02:00
Matthias Schiffer
5a3d7268dd gluon-luci-admin: regenerate fr.po 2016-09-09 00:21:32 +02:00
Matthias Schiffer
e4615e904a ar71xx-generic: fix names of ALFA products
Fixes autoupdater for Hotnet-UB and AP121. Also add note about broken
autoupdates on Tube2H.
2016-09-09 00:21:32 +02:00
Christof Schulze
5bf7a7eea5 gluon-radvd: externalize arguments
The arguments are now provided by gluon-mesh-batman-adv-core, so
gluon-radvd can be used with other mesh protocols.

[Matthias Schiffer: removed PROVIDES dependency]
2016-09-09 00:21:32 +02:00
Matthias Schiffer
afd0de4800 netifd: update to latest version from LEDE 2016-09-09 00:20:37 +02:00
Matthias Schiffer
57fa8b27b2 mac80211: update to LEDE b47f438d98cd4b731d7f4431448dde973eae4739 2016-09-09 00:20:37 +02:00
Matthias Schiffer
412d9df0c3 gluon-setup-mode: remove unneeded require 2016-09-09 00:20:37 +02:00
Sprinterfreak
73516a100a ar71xx-generic: add support for ALFA Networks Tube2H (#828) 2016-09-09 00:20:37 +02:00
lemoer
4d18a4e611 gluon-neighbour-info: improve verbosity on wrong cli parameters (#829)
gluon-neighbour-info: improve verbosity on wrong cli parameters
2016-09-09 00:20:37 +02:00
Matthias Schiffer
d0559451e5 libpcap: fix dependency of install-shared-so make target 2016-09-09 00:20:37 +02:00
Matthias Schiffer
3595c8eb57 Use MAC addresses provided by WLAN drivers by default
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.
2016-09-09 00:20:37 +02:00
Matthias Schiffer
ca1b03b29e gluon-core: unify indentation in gluon/util.lua 2016-09-09 00:20:37 +02:00
Matthias Schiffer
f321af9889 gluon-client-bridge, gluon-mesh-batman-adv-core: simplify VIF config functions 2016-09-09 00:20:37 +02:00
Florian Klink
9bc94bd404 x86-generic: enable CONFIG_SATA_VIA 2016-09-09 00:20:37 +02:00
Matthias Schiffer
efb955ceea mac80211: update to LEDE 6c2651566cce8f5b3a3d3b976439dee2bac5e07e
Also switch to kmod-ath10k-ct, so we can drop our AP+IBSS patch.
2016-09-09 00:20:37 +02:00
Matthias Schiffer
d82b207b16 gluon-mesh-batman-adv-core: add sleep to autoupdater network stop script
Accidentially forgot to commit this. The sleep is necessary so netifd can
actually stop the WLAN interfaces after `wifi down`.
2016-09-09 00:20:36 +02:00
Jan-Tarek Butt
45ae67bb4c gluon-mesh-batman-adv-core: stop WLAN and batman-adv before autoupdater upgrades
[Matthias Schiffer:
  - improve commit message
  - add pidof check
  - also call `wifi down`
]
2016-09-09 00:20:36 +02:00
Matthias Schiffer
ad926efbd9 Update Gluon packages 2016-09-09 00:20:36 +02:00
Matthias Schiffer
9421e6625b docs: user/site: clarify mirror ordering
Fixes #823
2016-09-09 00:20:36 +02:00
Jan-Tarek Butt
13286d3768 Minify all Lua code 2016-09-09 00:20:36 +02:00