Commit Graph

2642 Commits

Author SHA1 Message Date
Matthias Schiffer
5bf160040e modules: update LEDE
efb6ca189641 base-files: /lib/functions.sh: ignore errors in insert_modules
b5ba01a0d3f6 fstools: update to latest lede-17.01 branch
a9b607740273 kernel: bump kernel 4.4 to 4.4.126 for 17.01
09d95e44fc3d mbedtls: change libmbedcrypto.so soversion back to 0
4673a0bffc89 kernel: mtd: bcm47xxpart: improve handling TRX partition size

Also switch to the upstreamed version of "kernel: disable accept_ra by
default".
2018-04-23 12:28:09 +02:00
Matthias Schiffer
c84d298e50 docs, README: Gluon v2017.1.6 2018-04-23 12:28:09 +02:00
Christof Schulze
399a10b81e gluon-status-page: when prettifying undefined numbers, show - instead of NaN 2018-04-23 12:28:09 +02:00
Matthias Schiffer
917e613951 gluon-mesh-vpn-tunneldigger: fix typo in description 2018-04-23 12:28:09 +02:00
Matthias Schiffer
08aad631a8 gluon-l3roamd: fix interface checks in initscript
The local_node ifstatus must be checked for local-node, not client. While
we're at it, also clean up the syntax a bit.
2018-04-23 12:28:09 +02:00
Christof Schulze
f30fa51d3b gluon-status-page: make status page mesh protocol agnostic
batman-adv-specific parts are moved to a new package
gluon-status-page-mesh-batman-adv.
2018-04-23 12:28:09 +02:00
Christof Schulze
5a6e0e9249 gluon-core, gluon-l3roamd: introduce script gluon-list-mesh-interfaces that lists all currently active mesh interfaces 2018-04-23 12:28:09 +02:00
Christof Schulze
27c8d3907a gluon-status-page: reduce usage of absolute paths in cgi-bin scripts neighbours-nodeinfo and stations 2018-04-23 12:28:09 +02:00
Matthias Schiffer
c730110b36 gluon-status-page: move mesh protocol specific definitions into a separate file 2018-04-23 12:28:09 +02:00
Matthias Schiffer
27ca3e673c gluon-status-page: remove "lastseen" field from neighbours-batadv output
The field is unused.
2018-04-23 12:28:09 +02:00
Matthias Schiffer
b9766087e0 gluon-status-page: fix code indentation 2018-04-23 12:28:09 +02:00
Matthias Schiffer
bcebbdfadd treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-23 12:28:09 +02:00
Matthias Schiffer
d742caf641 gluon-status-page: fix typo in comment 2018-04-23 12:28:09 +02:00
Matthias Schiffer
078048091e ar71xx: build kernel modules used by Gluon into the kernel
ar71xx-generic and -tiny benefit most from the optimized kernel, as they
contain all devices with 32MB RAM. We enable CONFIG_GLUON_SPECIALIZE_KERNEL
for all targets using the mips24_kc architecture so packages shared between
targets don't need to be rebuild all the time.
2018-04-23 12:28:09 +02:00
Matthias Schiffer
f18541d3a5 treewide: add support for building kernel modules used by Gluon into the kernel 2018-04-23 12:28:09 +02:00
Matthias Schiffer
419417f825 Add various patches to deal with bigger kernels 2018-04-23 12:28:09 +02:00
Matthias Schiffer
f5e29476c3 Add patches to reduce iptables module dependencies 2018-04-23 12:28:09 +02:00
Matthias Schiffer
baf0be31f2 treewide: switch to ebtables-tiny 2018-04-23 12:28:09 +02:00
Matthias Schiffer
4193247163 modules: update Gluon packages
6c38a5dd639e simple-tc: add PKG_CONFIG_DEPENDS to trigger rebuild on dependency changes
2018-04-23 12:28:09 +02:00
Matthias Schiffer
fc76f5bf3a gluon-core: remove DNS cache feature
dnsmasq's caching is severly broken and does not handle all answer records
equally. In particular, its cached answers are missing DNSKEY and DS
records, breaking DNSSEC validation on clients.

Remove the cache for now. It may return if dnsmasq is fixed or we switch to
a different resolver.
2018-04-23 12:28:09 +02:00
Matthias Schiffer
4111dc4383 gluon-core: remove obsolete dnsmasq upgrade script
The script cleaned up an old setting that was removed in 2014.
2018-04-23 12:28:09 +02:00
Matthias Schiffer
5089324635 gluon-core: get rid of old sysctl settings 2018-04-23 12:28:09 +02:00
Matthias Schiffer
32893f879b gluon-core: remove unused gluon.sysctl Lua module 2018-04-23 12:28:09 +02:00
Matthias Schiffer
12c324917b treewide: move sysctl settings to /etc/sysctl.d
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.
2018-04-23 12:28:09 +02:00
Matthias Schiffer
e3bc881614 Backport patches for improved sysctl handling 2018-04-23 12:28:09 +02:00
Matthias Schiffer
7f12529ba7 gluon-core: reduce mac80211 fq_codel memory limit to 256KB on devices with 32MB RAM 2018-04-23 12:28:09 +02:00
Matthias Schiffer
0bae1e231c generic: do not attempt to build kmod-usbip
kmod-usbip is broken since the last kernel update.
2018-04-23 12:28:09 +02:00
Matthias Schiffer
bdd0174242 Update LEDE patches 2018-04-23 12:28:09 +02:00
Matthias Schiffer
33be24c809 modules: update LEDE
6577fe2198f5 ar71xx: sysupgrade: improve CPE/WBS 210/510 validation, add new metadata offset
afca23558a2f kernel: backport commit reverting genirq patch causing regressions
ba502a49a7e4 intel-microcode: update to 20180312
5a9b101543ed brcm47xx: add Luxul XAP-1500 and XWR-1750 WiFi LEDs
fe3db683f943 mac80211: brcmfmac: add support for BCM4366E chipset
3ca1438ae0f7 mbedtls: update to version 2.7.2
c4b382934836 openssl: update to 1.0.2o
bed0ee7cbfaa Kernel: bump 4.4 to 4.4.124 for 17.01
fad29d2c3dea mac80211: brcmfmac: backport commit dropping IAPP packets by default
2018-04-23 12:28:09 +02:00
Matthias Schiffer
1d5f7976c6 modules: update Gluon packages
61c7aac8ef87 simple-tc: conditionalize kmod dependencies
73d9ff871b90 ebtables-tiny: introduce stripped-down ebtables variant
2018-04-23 12:28:09 +02:00
Matthias Schiffer
2327ea4802 modules: update Gluon packages
e1d11c9393d2 batman-adv-legacy: update source date
2018-04-23 12:28:09 +02:00
Matthias Schiffer
7581e00754 modules: update Gluon packages
878f83eb741f batman-adv-legacy: update to latest git

Fixes #1358
2018-04-23 12:28:09 +02:00
Matthias Schiffer
f226bb8d06 scripts/check_site.lua: show type of incorrect values in error messages 2018-04-23 12:28:09 +02:00
Matthias Schiffer
7a1c707378 scripts/check_site.lua: print proper error message for non-string keys in need_alphanumeric_key() 2018-04-23 12:28:09 +02:00
Linus Lüssing
998cb86d48 gluon-ebtables-limit-arp: do not add multicast addresses to filter
With the batman-adv multicast support compiled back in again we end up
with multicast addresses in the batman-adv translation table.

Currently we wrongly interpret multicast addresses returned by TT as a
unique host, too, which adds them with a source address filter to
ebtables as well. However, the source address of an ethernet frames is
never supposed to be a multicat one.

This leads to unnecessary entries in ebtables. Fixing this by ignoring
those MAC addreses returned by TT which have the multicast bit set.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2018-04-23 12:28:09 +02:00
Jan-Tarek Butt
d5ef9b67c9
gluon-mesh-vpn-tunneldigger: only allow in domain config
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2018-03-28 18:38:01 +02:00
Matthias Schiffer
f17bb94ad7
gluon-config-mode-theme: fix styling of select elements
* Use correct width
* Don't display focus outline (Webkit)
* Don't let option elements inherit error colors (Webkit)
2018-03-27 20:38:26 +02:00
Matthias Schiffer
6dc9369715
gluon-status-page: suppress "broken pipe" syslog message
Some HTTP endpoints were writing annoying "broken pipe" messages to stderr.
2018-03-27 19:48:04 +02:00
Martin Weinelt
946b42e234
gluon-config-mode-domain-select: allow hiding of individual domain codes 2018-03-20 18:05:38 +01:00
Martin Weinelt
85c0bd6f57
scripts/check_site.lua: add table_keys() helper 2018-03-20 17:23:48 +01:00
Matthias Schiffer
1a7d93a2b9
scripts/check_site.lua: add support for alternative checks 2018-03-20 17:15:55 +01:00
Andreas Ziegler
91912f4935 ar71xx-tiny: add support for TP-Link TL-WR940N v5
adding an alias as it uses the same image as the TL-WR940N v4
2018-03-19 23:34:45 +01:00
Matthias Schiffer
84f82a1339
docs: remove duplicated (and outdated) site docs
At the moment, we don't have a good guideline for package-specific
configuration, but it seems like a good idea not to split configuration
into too many tiny pages, especially for packages that aren't commonly
selected explicitly.

Some uncommon configuration is dropped from the example site.conf to remove
clutter.
2018-03-17 21:20:47 +01:00
Matthias Schiffer
532b57011f
gluon-core, gluon-client-bridge: allow 0-character ESSIDs/mesh IDs 2018-03-17 15:38:24 +01:00
Jan-Tarek Butt
dda1b2a127
gluon-client-bridge: check AP SSID length to be in range of 1-32 characters 2018-03-17 15:33:40 +01:00
Jan-Tarek Butt
9a9024843b
gluon-core: check mesh ID and IBSS SSID length to be in range of 1-32 characters 2018-03-17 15:33:12 +01:00
Matthias Schiffer
7827f8960f
gluon-config-mode-hostname: add config_mode.hostname.optional site option
This setting allows to enforce manually setting a hostname.

In the initial configuration, the hostname field is now left empty; when
setting the hostname is not enforced, the default hostname is shown as the
field placeholder.

Fixes #1139
2018-03-17 12:51:14 +01:00
Matthias Schiffer
486c2e4821
gluon-config-mode-contact-info: change "mandatory" site option to "optional"
Also add documentation about config mode settings.
2018-03-17 12:27:57 +01:00
Matthias Schiffer
440cc1ec54
docs: remove obsolete gluon-legacy configuration 2018-03-17 12:05:59 +01:00
Matthias Schiffer
87ded4c3d8
gluon-config-mode-hostname: improve English node name explanation 2018-03-17 11:48:25 +01:00