Commit Graph

4531 Commits

Author SHA1 Message Date
Maciej Krüger
435eb64dc6 gluon-config-mode-theme-funkfeuer: theme things 2022-08-11 11:13:43 +02:00
Maciej Krüger
3eabe5eb52 refactor static-ip to match babel settings 2022-08-11 11:13:43 +02:00
Maciej Krüger
b8fb5f1766 fixup build 2022-08-11 11:13:43 +02:00
Maciej Krüger
dec697a996 olsr stuffs 2022-08-11 11:13:43 +02:00
lemoer
b3eb380e6f gluon-web-network: make mesh and client role exclusive 2022-08-11 11:13:43 +02:00
lemoer
cbe49cb9a4 gluon-core: allow subindexing sysconfig references for interface roles
This allows to specify something like "/lan[1]" as interface role:

	root@platzhalter-525400123457:/# cat /lib/gluon/core/sysconfig/lan_ifname
	eth0 eth2

	root@platzhalter-525400123457:/# cat /etc/config/gluon
	...
	config interface 'iface_lan_1'
		option name '/lan[1]'    # this references eth2
		list role 'client'
	...
2022-08-11 11:13:43 +02:00
lemoer
c982e7e0ff gluon-web-network: make roles "uplink" and "client" exclusive 2022-08-11 11:13:43 +02:00
lemoer
fee8384415 gluon-web-model: allow exclusive options in MultiListValue 2022-08-11 11:13:43 +02:00
lemoer
92feadfa23 gluon-web-network: add actions, list interfaces based on /etc/config/gluon 2022-08-11 11:13:43 +02:00
lemoer
bb669eefd5 gluon-web-network: initial draft of role configuration 2022-08-11 11:13:43 +02:00
lemoer
29167d9ea9 gluon-web-model: add MultiListValue class 2022-08-11 11:13:43 +02:00
Maciej Krüger
c22ae0449f fixup! webmodel title 2022-08-11 11:13:43 +02:00
Maciej Krüger
857da4d402 fixup! privatewifi warning 2022-08-11 11:13:43 +02:00
Maciej Krüger
0bc06f8de0 fixup! webmodel element kv 2022-08-11 11:13:43 +02:00
Maciej Krüger
f1274a7242 fixup! webmodel warning support for title/description 2022-08-11 11:13:43 +02:00
Maciej Krüger
2857f19351 fixup! luacheck add element global 2022-08-11 11:13:43 +02:00
Maciej Krüger
804ad14139 fixup! privatewifi warning depends on enabled 2022-08-11 11:13:43 +02:00
Maciej Krüger
dd0e968439 fixup! webmodel make warning an element 2022-08-11 11:13:43 +02:00
Maciej Krüger
826585bf46 fixup! webmodel add element type 2022-08-11 11:13:43 +02:00
Maciej Krüger
a12478e471 fixup! privatewifi typo 2022-08-11 11:13:43 +02:00
Maciej Krüger
810e94a647 fixup! privatewifi use template method 2022-08-11 11:13:43 +02:00
Maciej Krüger
dcb8efd90f fixup! model template method 2022-08-11 11:13:43 +02:00
Maciej Krüger
ea410df1e9 fixup! model show warning only if content 2022-08-11 11:13:43 +02:00
Maciej Krüger
6ace824580 web-private-wifi: add warning about mesh on wan 2022-08-11 11:13:43 +02:00
Maciej Krüger
a651971edb misc: add Warning global to .luacheckrc 2022-08-11 11:13:43 +02:00
Maciej Krüger
1d4ee602c8 gluon-config-mode-theme: add Warning 2022-08-11 11:13:43 +02:00
Maciej Krüger
099febb41f gluon-web-model: add Warning 2022-08-11 11:13:43 +02:00
Maciej Krüger
6285e3de0c olsr fix neigh 2022-08-11 11:13:43 +02:00
Maciej Krüger
c8dff2838d olsr cli neigh 2022-08-11 11:13:43 +02:00
Maciej Krüger
33b6189aaa olsr2 remove log 2022-08-11 11:13:43 +02:00
Maciej Krüger
087a6afacf rest 2022-08-11 11:13:43 +02:00
Maciej Krüger
dbf6214dd0 radvd 2022-08-11 11:13:43 +02:00
Maciej Krüger
cbeb3ea492 gluon-layer3-common: add ip6 from babel 2022-08-11 11:13:37 +02:00
Maciej Krüger
a07924a0f0 olsr use l3 2022-08-11 11:08:17 +02:00
Maciej Krüger
44129f02e5 olsr remove fw 2022-08-11 11:01:41 +02:00
Maciej Krüger
7891d54602 gluon-mesh-babel: fix merge conflict 2022-08-11 11:01:22 +02:00
Maciej Krüger
a554758192 gluon-layer3-common: add package 2022-08-11 10:59:46 +02:00
Maciej Krüger
d78d521a40 olsr2 2022-08-11 10:59:46 +02:00
Tom Herbers
b85135467b
ramips-mt76x8: add support for Xiaomi Mi Router 4A (100M International Edition) (#2593) 2022-08-11 02:06:42 +02:00
David Bauer
50130c3832
gluon-core: increase ath10k peer limit (#2607)
Increase the peer limit for ath10k-ct from 32 to 96 STAs like it is set
for the non-ct firmware / driver. In order to make this work with the
memory constraints of the wireless platform, reduce the number of
concurrent vdevs to the maximum Gluon uses (4).

Closes #2604

Signed-off-by: David Bauer <mail@david-bauer.net>

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-08-10 17:05:51 +02:00
David Bauer
03bfa36808
Merge pull request #2605 from herbetom/master-updates
modules: update to latest HEAD
2022-08-10 17:03:32 +02:00
lemoer
70951318bc
gluon-respondd: fix missing section "wifi" for request type "neighbours" (#2599)
The below mentioned commit introduced a regression, that the "wifi"
section of the request type "neighbours" was empty:

    ~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
    {
      "wifi": [
      ],
      ...
    }

After this commit, the section (correctly) looks like this:

    root@UFU-FWH-A272-Tresckowstr-GemR-vorne:~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
    {
      "wifi": {
        "ca:38:7e:42:5f:21": {
          "neighbours": {
            "fe:9f:4d:01:ea:e1": {
              "noise": -102,
              "inactive": 50,
              "signal": -84
            },
            "fe:df:b9:84:37:51": {
              "noise": -102,
              "inactive": 20,
              "signal": -73
            }
          }
        }
      },
      ...
    }

The issue was due to the fact, that the iteration over the (mesh) wifi interfaces
was broken. The code was assuming, that the section

    config interface 'mesh_radio0'
            option proto 'gluon_mesh'

in /etc/config/network contains an option "ifname", which it does not.
The ifname property is only stored in the corresponding section in
/etc/config/wireless:

    config wifi-iface 'mesh_radio0'
            option ifname 'mesh0'
            option network 'mesh_radio0'
            option mode 'mesh'
            ...

Therefore, we now iterate over wifi-ifaces in /etc/config/wireless, that
have the mode 'mesh' instead. This resolves the issue.

Fixes 0f1fa243f7
2022-08-09 22:24:44 +02:00
Tom Herbers
69e8b98ca1
modules: update packages
5343d6a09 yq: Update to 4.27.2
0fd2eb51a python-paho-mqtt: add missing dependency
cd36b6eb8 sslh: update to v1.22c Change notes: 	Updated Makefile package version and hash. 	Added libpcre2 dependency 	Removed USELIBPCRE make flag (no longer optional within sslh) 	Updated patch 001 to work with new sslh Makefile
1eb707605 luajit: patch: PPC/e500 SPE: use soft float instead of failing
b169fd026 libgpg-error: update to 1.45
8694f7f95 squashfs-tools: enable zstd compression by default
5c987e57d cryptsetup: fix library paths by calling autoreconf
79d1abd4c ffmpeg: update to 5.1
cec18eb0d chrony: Avoid building unused gnutls and ca dependencies
7727beb71 gensio: Avoid building unused python and libstdcpp dependecies
51ccd0761 gnutls: Avoid building unused gnutls dependency
bf519e9bc fail2ban: fix patch for python 3.10
3c5270c9d django: bump to version 4.0.6
8fdc92b86 rclone: update to 1.59.0
77afaaa47 nano: update to 6.4
2022-08-09 21:31:38 +02:00
Tom Herbers
af7c6b9b7c
modules: update openwrt
ca58b8b4fe ramips: Add Xiaomi Mi Router 4A 100M International
707ec48ab3 zlib: backport null dereference fix
5e0173de51 zlib: bump PKG_RELEASE after CVE fix
7561eab8e8 zlib: backport fix for heap-based buffer over-read (CVE-2022-37434)
1f9d603141 odhcpd: update to git HEAD
39ac29a68a uboot-mvebu: update to v2022.07
ec8b5cf0e6 realtek: Fix typo in Kconfig prompt
247ef07540 ramips: support fw_printenv for Netgear WAX202
62fff4e1e6 umdns: add missing syscall to seccomp filter
ecf0dc7055 ramips: Add support command fw_setsys for Xiaomi routers
bd9bb13012 ltq-vdsl-app: Fix counter overflow resulting in negative values
bd74c11155 kernel: silence refresh warning
dcb782792b x86: add missing Lex 3I380NX network detection
c2c32bdc80 lantiq: fix lan port 3+4 phy-mode settings for Fritzbox 3390
456d05d6d8 ipq40xx: fix RUTX10 Wi-Fi woes
daa73dc681 libmnl: fix build when bash is not located at /bin/bash
596efe1356 OpenWrt v22.03.0-rc6: revert to branch defaults
f1ff3fd95c OpenWrt v22.03.0-rc6: adjust config defaults
042d558536 mac80211: Update to version 5.15.58-1
c9cc3189ed wolfssl: fix math library build
535f4a5bff odhcp6c: update to latest git HEAD
5a7bcd6977 firewall3: update file hash
c5f0eab222 uboot-at91: fix build on buildbots
972b833e91 uboot-at91: update to linux4sam-2022.04
39810995fb at91bootstrap: update at91bootstrap v4 targets to v4.0.3
2022-08-09 21:31:36 +02:00
lemoer
6df0647301
gluon-mesh-batman-adv: add "gateway_tq" field to respondd statistics (#2596)
This new field reflects the TQ to the selected gateway.

Before this commit, if you had connectivity issues in a larger mesh,
it was a tedious task to understand which nodes are affected and which
are not. By providing this new value for each node, it becomes easier
to see which nodes are affected by the connectivity issues and which
are not.

The new field "gateway_tq" is located at the toplevel of the
statistics resource (next to "gateway" and "gateway_nexthop"):

    gluon-neighbour-info -d ::1 -r statistics
    {
        ...
        "gateway": "02:a1:71:04:09:10",
        "gateway_nexthop": "88:e6:40:20:90:10",
        "gateway_tq": 193,
        ...
    }
2022-08-09 21:09:28 +02:00
David Bauer
5600b87014
Merge pull request #2553 from ffgraz/mmfd
Move common firewall rules to respective packages
2022-08-09 20:43:14 +02:00
Tom Herbers
75ceb0d963
web-admin: ignore minor compat-version on upgrade (#2590)
This implements the same behavior as it is used in the autoupdater [1].

This is for example required to allow the manual installation of
firmware upgrades via the config mode on devices which where migrated
from swconfig to DSA. Otherwise the image will always be invalid.

[1] b804281664
2022-08-09 20:16:33 +02:00
Matthias Schiffer
20eea9b9ca
gluon-mesh-vpn-fastd: fix respondd segfault under load (#2594)
When running "fastd -v" fails, line may be NULL, causing a segfault in
strncmp.
2022-08-09 20:09:31 +02:00
David Bauer
fa123e56d4
Merge pull request #2591 from herbetom/master-updates
modules: update to latest HEAD
2022-08-05 02:17:09 +02:00
Tom Herbers
b38e590268
modules: update packages
d385ac504 curl: switch default SSL to mbedTLS
910a8a075 telegraf: Update to version 1.23.3
ce619701b knot: update to 3.1.8
93d53a56d dockerd: Update to v20.10.17
17758cf81 docker: Update to v20.10.17
90bbda1b5 libnetwork: Update to f6ccccb for Docker v20.10.17
0f2e46afe containerd: Update to v1.6.6 for Docker v20.10.17
f238e8f7c runc: Update to v1.1.2 for Docker v20.10.17
c85111226 dawn: update to 2022-07-24
944a896e5 dawn: update to 2022-07-22
0902a5fc0 usteer: update to latest HEAD
71db92ef6 usteer: bump to git HEAD
c90aaa1ec dawn: update to 2022-07-21
9552a30bc mutt: add PKG_CONFIG_DEPENDS
ffe306981 opusfile: add autoreconf
10a6452b8 golang: Update to 1.18.4
fb7206356 libextractor: fix iconv handling
7d74fbf37 glib2: disable fortify source
756a3243d wifidog: fix compilation with more recent wolfssl
ef545e031 curl: fix compilation with wolfSSL
fdd16fefa yq: Update to 4.26.1
b0118aab5 xray-core: Update to 1.5.9
d9c09bb40 dawn: update to 2022-07-18
f4eb0c359 mpd: add missing AUDIO_SUPPORT in CONFIG_DEPENDS
ff0dd2d12 mpd-full: remove partial BUILD_PATENTED on ffmpeg
c1732453f postfix: fix download failure
97ebbd014 travelmate: update 2.0.9-2
86408bf66 dawn: update to 2022-07-16
09d9d6093 watchcat: add support to run a script
afd77fd6c watchcat: add IP version selection support; fix bug with unlockbands
8829c4025 libuwsc: fix compiltation with wolfSSL
e1090a022 pdns: update to 4.6.3
a3f25a711 pdns-recursor: update to 4.7.1
71bd1a8a5 telegraf: Update to version 1.23.2
fe38196a7 telegraf: Update to version 1.23.1
859f7319a dnslookup: Update to 1.7.1
e34230521 cloudflared: Update to 2022.7.1
0ac8154bc xr_usb_serial_common: bump to 2022-03-30
cdf76bc38 fio: update to 3.29
298786838 libarchive: fix ext2fs build race error condition
be959ca32 nebula: update to 1.6.0
81cd7959f node: July 7th 2022 Security Releases
d2a2c005d nsutils: Update to latest version, switch to cmake
241a7198a nsutils: bump to new release
953e29f06 python-cryptography: Fix failing build
2022-07-31 13:49:54 +02:00