Compare commits

...

375 Commits

Author SHA1 Message Date
716daff077
testing something
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-05-20 17:34:46 +02:00
f8806d672c
apt update
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-05-20 12:47:24 +02:00
1e187f21ef
installed file dependency
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-05-20 12:45:43 +02:00
d5f9f5dd46
added ci pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-05-20 12:39:42 +02:00
David Bauer
979dd354fa
Merge pull request #2901 from maurerle/patch-3
gluon-info: Add domain to gluon-info
2023-05-10 13:30:06 +02:00
Florian Maurer
f0246b65e2
gluon-info: Add current domain to gluon-info
- provides easier information of the currently active domain
- tested by patching a running node
2023-05-10 10:02:27 +02:00
David Bauer
079f449d9d
Merge pull request #2794 from Djfe/add_cudy_wr1300v1
ramips: add support for Cudy WR1300 v1
2023-05-10 01:24:29 +02:00
Jan-Niklas Burfeind
b840afe95f
Merge pull request #2898 from blocktrron/gluon-2022.1.4-master
[master] [forward-port] docs: Add v2022.1.4 release notes
2023-05-10 00:02:50 +02:00
Jan-Niklas Burfeind
02878ee083
Merge pull request #2899 from freifunk-gluon/readthedocs-yaml
readthedocs: specify build-container
2023-05-10 00:01:54 +02:00
David Bauer
44a891807c readthedocs: specify build-container
Docs builds currently fail with

Could not import extension sphinx.builders.linkcheck
(exception: urllib3 v2.0 only supports OpenSSL 1.1.1+,
currently the 'ssl' module is compiled with OpenSSL
1.0.2n  7 Dec 2017.
See: https://github.com/urllib3/urllib3/issues/2168)

The Gluon issuetracker suggests specifying the build-container.

Link: https://github.com/readthedocs/readthedocs.org/issues/10290#issuecomment-1535120995

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-05-09 23:46:49 +02:00
David Bauer
6771803de3 docs: Add v2022.1.4 release notes
(cherry picked from commit 205e66c743)
2023-05-09 21:57:03 +02:00
David Bauer
cc452904b5
Merge pull request #2897 from herbetom/master-updates
modules: update to latest HEAD
2023-05-09 09:40:26 +02:00
Tom Herbers
677d56aea6
modules: update packages
55eed1761 mwan3: bump PKG_VERSION to 2.11.7
675bd01a1 mwan3: reset score to up+down on connected
3c9ad7df7 mwan3: refactoring mwan3track action handling
ce66eecb6  banip: release 0.8.5-2
d63f0e859  banip: release 0.8.5-1
7af20d484 cloudflared: Update to 2023.5.0
20d99ef7b  banip: update 0.8.4-5
8d9c17e91 zoneinfo: adjust to current timezone data file structure
2e667a1f8 sqlite3: Update to 3.41.2
726e94527  banip: update 0.8.4-4
bb8efb657  banip: update 0.8.4-3
02b6973b0 mwan3: bump PKG_VERSION to 2.11.6
3b80d11e2 mwan3: fix addition of routes to mwan3_connected ipset
aa68fc4cb shadowsocks-libev: ss-rules: Add 'auto-merge' flag to avoid conflicts
7398724ec mwan3: bump PKG_VERSION to 2.11.5
4addfcf15 mwan3: fix addition of iptables rules for mwan3 sticky rules
5f26bba47 slang2: Update to 2.3.3, refresh patches
3492a48b0 pbr: update to 1.1.1-1
1086d4f74 librespeed-go: update file permissions for ujail
216261ea4 banip: update 0.8.4-2
c68388fb6 banip: release 0.8.4-1
5b7e01ad5 simple-adblock: implement curl_additional_param compressed_cache_dir
2023-05-08 14:17:06 +02:00
Tom Herbers
70da43fa35
modules: update openwrt
e500494771 wireless-regdb: update to 2023.05.03
2677220d81 kernel: bump 5.10 to 5.10.179
5cc1bd5b21 kernel: bump 5.10 to 5.10.178
dcdd8e9dee kernel: bump 5.10 to 5.10.177
2023-05-08 14:17:05 +02:00
Jan-Niklas Burfeind
ed36f1456f
Merge pull request #2889 from Djfe/fixup
docs: fix supported_devices (missing newline)
2023-05-05 23:31:58 +02:00
Felix Baumann
41b2f002f3 docs: fix supported_devices (missing newline)
I made the mistake of never looking at the rendered version
fixes 95e5d382ec
backport like 8b2cc206d3 is optional
2023-05-05 23:22:18 +02:00
David Bauer
22781dac06
Merge pull request #2887 from Djfe/add_cudy_x6_v2
ramips: add support for Cudy X6 v2
2023-05-05 22:03:16 +02:00
Felix Baumann
5328f17b09 ramips: add support for Cudy X6 v2 2023-05-05 15:45:20 +02:00
David Bauer
eca926abc7
Merge pull request #2793 from Djfe/add_cudy_x6_v1
ramips: add support for Cudy X6 v1
2023-05-05 14:53:56 +02:00
Felix Baumann
76ad25f826 ramips: add support for Cudy X6 v1 2023-05-04 20:43:53 +02:00
David Bauer
91b26c65aa
Merge pull request #2886 from Djfe/master
modules: update openwrt
2023-05-04 19:54:49 +02:00
FFAC
2f463c0353 modules: update openwrt
5f583d31c7 ramips: mt7621: add support for Cudy X6 v2
2023-05-03 22:20:07 +00:00
David Bauer
8b5a282c4a
Merge pull request #2552 from AiyionPrime/ath79-migrate-hiveap-121
ath79-nand: (re)add hiveap-121
2023-05-03 01:01:15 +02:00
David Bauer
4018db1823
Merge pull request #2882 from Djfe/update-modules
modules: update openwrt
2023-05-02 01:32:23 +02:00
Felix Baumann
899dd916d0 modules: update openwrt
749cc6ffc4 ramips: Cudy X6 fixes / improvements
2023-04-30 22:03:51 +02:00
Felix Baumann
e06e555ac2 ramips: add new lines to separate vendors consistently 2023-04-30 20:51:56 +02:00
Felix Baumann
3e3a7987b6 ramips: add support for Cudy WR1300 v1 2023-04-30 20:51:56 +02:00
David Bauer
918e3ce784
Merge pull request #2880 from herbetom/master-updates
modules: update to latest HEAD
2023-04-30 14:09:26 +02:00
Tom Herbers
f7298d70f3
modules: update packages
7d7663dc1 newt: Update to 0.52.23
f64aaa69a dnsproxy: Update to 0.49.1
5d3fc9c5b dnsproxy: Update to 0.49.0
bd2cebf65 xray-core: Update to 1.8.1
f0128ce98 v2ray-core: Update to 5.4.1
4e7f27b21 obfs4proxy: Update to 0.0.14
891299822 ruby: update to 3.0.6
93bd5fad3 htop: update to 3.2.2
698132112 php8: update to 8.1.18
ec321e666 curl: update to 8.0.1
2023-04-28 00:50:18 +02:00
Tom Herbers
2a3a0e32d5
modules: update openwrt
3960c220da OpenWrt v22.03.5: revert to branch defaults
863f769b75 OpenWrt v22.03.5: adjust config defaults
5f15225c1e ramips: reduce Archer AX23 / MR70X SPI-frequency
c1ccae54ce ccache: update to 4.6.3
80653f0c07 tools/ccache: update to 4.6.2
eeff8b3be1 tools/ccache: update to 4.6.1
31b1366bc6 ramips: fix lzma-loader for buffalo_WSR_600DHP
bf81a92171 ath79: create Aruba AP-105 APBoot compatible image
b6cbab1ad7 openssl: fix CVE-2023-464 and CVE-2023-465
2023-04-28 00:50:12 +02:00
Matthias Schiffer
10e52bec3a
Merge pull request #2688 from lemoer/pr_config_mode_ui_for_interface_roles_v2
Config-Mode UI for Interface Role Assignment (v2)
2023-04-27 21:11:33 +02:00
David Bauer
75c62fd2aa
Merge pull request #2601 from AiyionPrime/key-translate
gluon-mesh-vpn-wireguard: add fastd key migration
2023-04-25 23:22:49 +02:00
lemoer
19f3c9d396 gluon-web-network: migrate to SPDX headers for licensing 2023-04-24 21:41:53 +02:00
lemoer
b774f6f434 gluon-web-model: migrate to SPDX headers for licensing 2023-04-24 21:41:53 +02:00
lemoer
abd6d6415d gluon-core: make interface roles exclusive in site config 2023-04-24 21:41:53 +02:00
lemoer
e7da501442 docs: explain that invalid interface roles are removed 2023-04-24 20:59:26 +02:00
lemoer
a31a802e85 gluon-core: fix invalid role configurations during reconfigure 2023-04-24 20:59:26 +02:00
lemoer
1e21dbcfad gluon-web-network: make roles "uplink" / "mesh" and "client" exclusive 2023-04-24 20:59:26 +02:00
lemoer
7805ff700e gluon-web-model: add exclusive options for MultiListValue 2023-04-24 20:59:20 +02:00
Jan-Niklas Burfeind
276cd0ee37 docs: gluon-mesh-vpn-key-translate 2023-04-20 00:22:19 +02:00
aiyion.prime
e4d05e6ba9 gluon-mesh-vpn-wireguard: add fastd key migration 2023-04-20 00:22:13 +02:00
aiyion.prime
759a3436e0 gluon-mesh-vpn-wireguard: add gluon-hex-to-b64
gluon-hex-to-b64 takes base64 content such as a fastd private key
in legacy form via stdin and emits it in base64 encoded (WireGuard) form.

Provides basic return codes.
2023-04-20 00:21:42 +02:00
Jan-Niklas Burfeind
5ed8508a09
Merge pull request #2864 from blocktrron/combine-dual-boot
openwrt: backport combination of dual-flash partitions
2023-04-19 22:07:53 +02:00
Matthias Schiffer
d91b11ec3d
Merge pull request #2860 from jluebbe/libbatadv-uapi-update
libbatadv: Update UAPI from kernel 6.2
2023-04-19 21:48:29 +02:00
Matthias Schiffer
051d10a59f
Merge pull request #2837 from maurerle/feature/build_dependencies
[docs] improve build dependencies and docs
2023-04-19 21:38:20 +02:00
lemoer
03b9ffdb24 gluon-web-model: uglify flag --support-ie8 is now --ie
From uglify 3.14.0 on, this command is called --ie:

ef5f7fc25e
2023-04-19 21:34:29 +02:00
lemoer
d46c5f89c5 gluon-web-network: show pretty interface names 2023-04-19 21:34:29 +02:00
lemoer
f0b2e632d0 gluon-web-network: initial draft of role configuration 2023-04-19 21:04:24 +02:00
lemoer
7cd4a189e0 gluon-web-model: add MultiListValue class 2023-04-19 21:04:23 +02:00
David Bauer
d1b215aeec
Merge pull request #2866 from AiyionPrime/fix-docs-make-linkcheck
docs: use linkcheck_ignore for unreachable links
2023-04-17 19:28:29 +02:00
Jan-Niklas Burfeind
7ca4cb3698 docs: use linkcheck_ignore for unreachable links
Config Mode
- http://192.168.1.1

(not existing) anchors on hackint used to join channels
- https://webirc.hackint.org/#
2023-04-17 16:23:18 +02:00
David Bauer
cc854594b0 openwrt: backport combination of dual-flash partitions
Backport two patches combining dual-flash layouts of OCEDO as well as
UniFi AC boards.

The two firmware partitions are already combined on OpenWrt master to
prolong the life of these devices. It allows the device to store
firmware images up to 14 MB compared to the previous 7 MB.

The intention behind backporting these patches is to allow these devices
to have a wide update path to firmware-versions requiring this extra
space. Otherwise a device might not be able to install an upgrade which
exceeds a single firmware-partition.

For UniFi AC boards it should be noted that factory-installation will
not be possible with an image exceeding a single firmware-partition. In
this case, an older OpenWrt image that fits in a single partition and
supports writing the enlarged partition space is required.

Currently, this is not the case. As these devices are end-of-sale, this
will become less of a concern over time.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-04-17 06:38:53 +02:00
Jan Luebbe
31d1429ad2 libbatadv: update UAPI and policy from batctl v2023.0
batadv_gw_modes and BATADV_ATTR_GW_MODE were missing from the local
version, so update it and the corresponding policy table from batctl.
2023-04-16 20:24:54 +02:00
Martin Weinelt
297cd5bc3f
Merge pull request #2856 from blocktrron/upstream-master-updates
modules: update to latest HEAD
2023-04-15 20:04:24 +02:00
David Bauer
4faa6f3d61 modules: update gluon
a5259c0 autoupdater: improve handling of interrupted HTTP requests
e4bd7a4 autoupdater: uclient: fix segfault after interrupted HTTP request
5521926 autoupdater: uclient: remove early returns from get_url()
2023-04-15 12:56:37 +02:00
David Bauer
c620ae789e modules: update packages
42b5ae640 golang: Update to 1.19.8
be3a2dce9 lighttpd: update to lighttpd 1.4.69 release hash
ad2f6fd4c lighttpd: remove patch included upstream
6e07b2816 lighttpd: add lighttpd-mod-webdav_min package
e5a1e8bef lighttpd: collect mods now built into lighttpd exe
9116a5880 lighttpd: fix meson build
aa6df20e5 lighttpd: remove patch included upstream
64cdc76c0 lighttpd: update to lighttpd 1.4.68 release hash
0d66dc36c lighttpd: modify build cmd for type: feature opts
8bcfb64a5 lighttpd: add lighttpd-mod-rrdtool dep on rrdtool1
0c0fd4bbd lighttpd: lighttpd-1.4.67-4
10c8bee8c lighttpd: document crypto lib options in Makefile
fb17428a1 cloudflared: Update to 2023.4.0
235acacf0 borgbackup: bump to 1.2.4
31f36e5b2 borgbackup: add missing dependencies
3d12ac7e7  banip: update 0.8.3-2
81a57cdc1  banip: release 0.8.3-1
9b81bca1b v2raya: Update to 2.0.5
bab4d7ebf apinger: add rrd graph support
e5c7e5021 apinger: improve uci and procd support
87c46fde9 rrdtool: update PKG_SOURCE_URL
38cb01297 dnsproxy: Update to 0.48.3
2023-04-15 12:56:30 +02:00
David Bauer
a834298b4e modules: update openwrt
074db57936 kernel: backport fix for recently introduced UBI bug
9af29da281 uclient: update to Git version 2023-04-13
1d4db4e4db OpenWrt v22.03.4: revert to branch defaults
94adc23fa6 OpenWrt v22.03.4: adjust config defaults
38ccc47687 imagebuilder: allow to specific ROOTFS_PARTSIZE
2023-04-15 12:56:16 +02:00
Andreas Ziegler
e40ed5810d
Merge pull request #2848 from herbetom/fix_ath79-generic_wave2
ath79-generic: switch Wave2 firmware to -ct
2023-04-13 23:13:56 +02:00
Andreas Ziegler
f21e3e129a
Merge pull request #2830 from herbetom/add_dlink-dap-x1860-a1
ramips-mt7621: add support for D-Link DAP-X1860 (A1)
2023-04-13 23:12:48 +02:00
Felix Baumann
48b017b1a4
ipq40xx-mikrotik: rename ath10k_packages to smallbuffers (#2850)
The only device using the ATH10K_PACKAGES_IPQ40XX variable in
ipq40xx-mikrotik (the MikroTik hAP ac2) has little RAM and is
using ath10k-ct-smallbuffers by default at the moment. This is
just a suggestion to rename the variable in-case the wifi driver
ever has to be replaced by ath10k.

Analogue to 4a00b8aebb

Signed-off-by: Felix Baumann <felix.bau@gmx.de>
2023-04-13 11:08:28 +02:00
Tom Herbers
4badb2702e
ath79-generic: switch Wave2 firmware to -ct
This partially reverts commit 22c47df242.

Devices in ath79-generic like the TP-Link EAP225-Outdoor v1 are really
unstable with the non -ct Wave2 firmware and regulary crash with 100% memory
consumption when only a handful devices are connected via 5 GHz.

closes freifunk-gluon/gluon#2827
2023-04-12 02:30:41 +02:00
Tom Herbers
e8e956fe57
ramips-mt7621: add support for D-Link DAP-X1860 (A1) 2023-04-09 19:30:55 +02:00
Andreas Ziegler
157a74c5ab
Merge pull request #2844 from herbetom/master-updates
modules: update to latest HEAD
2023-04-09 19:15:04 +02:00
Tom Herbers
c81e9c287b
modules: update packages
1fd9cbcf9 yq: Update to 4.33.2
93b973f51 nano: make nanorc world readable
12bef946f zoneinfo: updated to the latest release
630603042 node: bump to v16.20.0
2023-04-09 12:02:51 +02:00
Tom Herbers
10e0bd1fe0
modules: update openwrt
deafcf9162 ramips: define remapping-range for DAP-X1860
711e45e158 ramips: add support for D-Link DAP-X1860 A1
2a4a6372d3 ramips: lower re305-v3 spi-max-frequency
50d707e344 lantiq: fix lzma-loader for Netgear DGN 3500(B)
fea7478f2d iproute2: add missing libbpf dependency
b2db4fa956 ath79: tiny: Do not build TPLink WPA8630Pv2 by default
c6b6cab858 ramips: mt7621: mikrotik 760igs (hEX S) fix SFP
2faa7ff09e openssl: fix variable reference in conffiles
0636d6b925 ath79: use lzma-loader for Senao initramfs images
70d2e8b4db ath79: Fix glinet ar300m usb not working
9aaeaa8d2a toolchain: musl: Fix symbol loading in gdb
99fddbe4fd wireless-regdb: update to 2023.02.13
f677302cc4 build: fix for sourcing targets image config installed via feeds
50d37b0b37 ramips: rt5350: enable lzma-loader for ALLNET ALL5003
13d3fb3c20 bpf-headers: fix package category
7531ef7f1c sdk: expose PATENTED an NLS build options
4ed98849a5 ksmbd: update to 3.4.7
51cf5aa731 hostapd: add missing return code for the bss_mgmt_enable ubus method
d2f3422e9d kernel: filter out pahole version
5030620db6 dnsmasq: add dhcphostsfile to ujail sandbox
066ac40c29 netifd: strip mask from IP address in DHCP client params
354ad1084a lantiq: nand: don't yield while holding spinlock
6035401f46 mac80211: fix invalid calls to drv_sta_pre_rcu_remove
fc1750b305 ramips: mt7621: ASUS RT-AX53U add NMBM, nest firmware
85b6a7a195 ramips: Alternative name Asus RT-AX1800U for Asus RT-AX53U
a3fbeb2cbb ramips: add missing LEDs to Asus RT-AX53U
21a121af80 uboot-envtools: add support for ramips Asus RX-AX53U
3014c694da ramips: add support for read/write uboot env to Asus RX-AX53U
ff22a20922 comgt: ncm: support Mikrotik R11e-LTE6 modem
5909b6c886 comgt: add quirk for Mikrotik modems based on Mikrotik R11e-LTE6
05ec70f6ae kernel: add support for XMC XM25QH64C
541be7ddb2 ath79: Refresh patches
2023-04-09 12:02:43 +02:00
Magnus Frühling
4a00b8aebb
ipq40xx: use ath10k-smallbuffers for ZyXEL WRE6606 (#2842)
The WRE6066, has in contrast to other ip40xx devices, has only 128MB system RAM.
This results in OOM situations and instability, to circumvent this we need
to use ath10k-smallbuffers.

Signed-off-by: skorpy <skorpy@frankfurt.ccc.de>
2023-04-07 18:30:33 +02:00
Florian Maurer
b70b9d2a05
update install dependency docs
* add missing libelf-dev dependency (to build x86-64)
* remove subversion dependency
* add rsync dependency
* add ecdsautils to docs
2023-04-02 15:58:55 +02:00
Andreas Ziegler
f3b25c1e7d
Merge pull request #2835 from blocktrron/upstream-master-updates
modules: update to latest HEAD
2023-04-01 01:59:03 +02:00
David Bauer
7b2e04e8dc modules: update packages
391e18067 banip: update to 0.8.2-6
9748c394d banip: update to 0.8.2-5
5ae16a7a6 yq: Update to 4.33.1
e9b65e5d7 dnsproxy: Update to 0.48.2
7894fd057 dnsproxy: Update to 0.48.1
8a8c51a92 dnsproxy: Update to 0.48.0
b2c3f2d13 natmap: update to 20230322
7852691b8 banip: update to 0.8.2-4
9fb40dbb8 banip: update to 0.8.2-3
33431b63b sqlite3: Update to 3.41.1
2023-03-31 13:56:43 +02:00
David Bauer
068e8fbdce modules: update openwrt
c2331038b2 kernel: remove obsolete netfilter tcp window size check bypass patch
4ae854d055 mac80211, mt76: add fixes for recently discovered security issues
b573a785e0 ncm: add error check and retry mechanism for gcom call
f61c5cf76b kernel: bump 5.10 to 5.10.176
a4212b77c0 kernel: bump 5.10 to 5.10.175
6b19d24254 kernel: bump 5.10 to 5.10.174
24d84a13a4 kernel: bump 5.10 to 5.10.173
36bf158b47 kernel: tcindex classifier has been retired
999cb9574f x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE
a88c65507d kernel: bump 5.10 to 5.10.172
cb91aa4b29 kernel: bump 5.10 to 5.10.170
26cc831e44 kernel: bump 5.10 to 5.10.169
28e5045f3a bcm4908: include usbport trigger
836e3d1e5e bcm4908: backport v6.4 pending DTS changes
b7c031d933 ipq40xx: Linksys MR8300: fix the USB port power
0170bc1af1 ramips: mt7621: enable lzma-loader for AFOUNDRY EW1200
96e3fee7ad ramips: fix 5g mac for TOTOLINK X5000R
2023-03-31 13:56:43 +02:00
Jan-Niklas Burfeind
b8d47e6c4b
Merge pull request #2832 from Djfe/TD-W8970
docs: readd TP-Link TD-W8970 v1
2023-03-31 00:55:11 +02:00
Felix Baumann
95e5d382ec docs: readd TP-Link TD-W8970 v1
This device is already supported.
It's a lantiq device that was entered as ar71xx
in to the list of supported device and therefore
removed before the release of Gluon 22.
2023-03-31 00:33:05 +02:00
Jan-Niklas Burfeind
006396620a
Merge pull request #2831 from blocktrron/mr70x
ramips-mt7621: add support for Mercusys MR70X v1
2023-03-29 23:32:18 +02:00
David Bauer
a2056d97a9 ramips-mt7621: add support for Mercusys MR70X v1
Signed-off-by: David Bauer <mail@david-bauer.net>
2023-03-25 23:23:52 +01:00
David Bauer
3a0b0b061a
Merge pull request #2825 from blocktrron/upstream-master-updates
modules: update to latest Git HEAD
2023-03-25 23:21:21 +01:00
David Bauer
1c6405a756
gluon-core: set WAN mac from board-data (#2823)
Set the MAC-adress for the WAN interfacce in case it is defined in the
board-data.

This commit fixes random MAC-Addresses on reboot in case OpenWrt stores
them in the device network configuration.

Fixes #2808

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-03-24 17:20:53 +01:00
David Bauer
44e79fc5c9 modules: update routing
b8e0831 bird1: fix "Form token mismatch" errors in luci-app-bird1-ipv{4,6}
3d7df59 bird1: rename get_bool() to get_a_bool() in bird{4,6}-lib.sh
4e0e702 bird1-openwrt: fix Makefile issues
58a4a00 bird1-openwrt: use a single Makefile for IPv4 and IPv6 packages
2023-03-24 16:22:34 +01:00
David Bauer
63a3921acd modules: update packages
0d566071c adblock: update to 4.1.5-7
05262f346 yq: Update to 4.32.2
245d3479c cloudflared: Update to 2023.3.1
bf9bafd2c v2raya: Update to 2.0.4
66816f0f6 banip: push 0.8.2-2 to stable branch
07e032ee1 v2ray-geodata: Update to latest version
869e5573c xray-core: Update to 1.8.0
b13728e6a strongswan: add fix for CVE-2022-40617
eb4966e54 golang: Update to 1.19.7
b1f684f01 miniupnpd: bump to 2.3.3
1f1bfff84 php8: update to 8.1.16
fe75545e6 gphoto2: fix compilation with BUILD_NLS
19347485a mv88e6xxx_dump: update to 2023.03.08
ae7dd67aa simple-adblock: update init file and config
4ee651287 crowdsec: update to 1.4.6 Update crowdsec to latest upstream release version 1.4.6
6c78413ed frp: update to 0.48.0
4ab4523f7 frp: update to 0.47.0
90749ee59 v2raya: switch to use nftables
70bfe06bb perl-ack: Update to 3.7.0
b53d4f03f v2ray-core: Update to 5.4.0
acddc2050 crowdsec-firewall-bouncer: update to 0.0.25
3c59f514b yt-dlp: update to 2023.3.4
3ea3a0657 haproxy: update to v2.4.22
3e3650bc9 curl: add lang/perl-www-curl/patches/230-curl_7.88_compat.patch
009b2d005 curl: update to 7.88.1
2023-03-24 16:22:34 +01:00
David Bauer
6dc5a4735b modules: update openwrt
f5db04e8ea ramips: add support for Mercusys MR70X
c58959dc45 firmware-utils: tplink-safeloader: add Mercusys MR70X
c1bfb704b1 ramips: fix Archer AX23  WiFi MAC address conflict
3c6692ba03 ramips: add support for TP-Link Archer AX23 v1
a507243bfe firmware-utils: tplink-safeloader: add TP-Link Archer AX23 v1
788a0cf15c mpc85xx: add support for Watchguard Firebox T10
2023-03-24 16:22:34 +01:00
Stefan Weil
cab47e73e4
gluon-status-page: fix status display of wireless mesh for recent openwrt (#2826)
Instead of checking for the deprecated sysfs entry `wireless` which no
longer exists when running newer versions of openwrt, testing for `phy80211`
can be used and works for old and new versions of openwrt.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-03-24 13:34:25 +01:00
lemoer
6504a4dd6e
Merge pull request #2820 from stweil/contributing
actions, docs: fix English typo, wording
2023-03-22 21:19:36 +01:00
lemoer
1a489c5216
Merge pull request #2815 from bobidle/fix_typos
docs: fix typos
2023-03-22 21:18:01 +01:00
Stefan Weil
d81897a467 actions, docs: fix English typo, wording
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-03-21 07:16:43 +01:00
Tom Herbers
f80bef8405
ath79-generic: fix WS-AP3705i autoupdater name (#2817)
The device was introduced in #2332 and merged in 102a4b9350.

It appears that the autoupdater name wasn't correct and devices therefore don't receive updates.

root@64295-ggw3-20b399bb366f-132:~# lua -e 'print(require("platform_info").get_image_name())'
enterasys-ws-ap3705i
2023-03-19 20:33:47 +01:00
Bob Idle
337f2f119e docs: fix typos 2023-03-18 05:10:16 +01:00
David Bauer
9a4395d048
Merge pull request #2768 from herbetom/add_gl-xe300
ath79-nand: add support for GL.iNet GL-XE300
2023-03-16 07:51:20 +01:00
Andreas Ziegler
fe79b50473
Merge pull request #2813 from FreifunkChemnitz/gl-mt1300v1
ramips-mt7621: add GL.iNet MT1300
2023-03-12 00:07:34 +01:00
Steffen Förster
2c221bac79 ramips-mt7621: add GL.iNet MT1300
The GL-MT1300 is a high-performance new generation pocket-sized router
that offers a powerful hardware and first-class cybersecurity protocol
with unique and modern design.

Specifications:
- SoC: MT7621A, Dual-Core @880MHz
- RAM: 256 MB DDR3
- Flash: 32 MB
- Ethernet: 3 x 10/100/1000: 2 x LAN + 1 x WAN
- Wireless: 1 x MT7615D Dual-Band 2.4GHz(400Mbps) + 5GHz(867Mbps)
- USB: 1 x USB 3.0 port
- Slot: 1 x MicroSD card slot
- Button: 1 x Reset button
- Switch: 1 x Mode switch
- LED: 1 x Blue LED + 1 x White LED

MAC addresses based on vendor firmware:
WAN : factory 0x4000
LAN : Mac from factory 0x4000 + 1
2.4GHz : factory 0x4
5GHz : Mac form factory 0x4 + 1

Flashing instructions:
1.Connect to one of LAN ports.
2.Set the static IP on the PC to 192.168.1.2.
3.Press the Reset button and power the device (do not release the button).
  After waiting for the blue led to flash 5 times, the white led will
  come on and release the button.
4.Browse the 192.168.1.1 web page and update firmware according to web
  tips.
5.The blue led will flash when the firmware is being upgraded.
6.The blue led stops blinking to indicate that the firmware upgrade is
  complete and U-Boot automatically starts the firmware.
2023-03-11 18:14:24 +01:00
Jan-Niklas Burfeind
02d363eadc
Merge pull request #2811 from bobidle/external_links
docs: Update external links
2023-03-10 19:45:35 +01:00
Bob Idle
2f9d59cdb8 docs: Update external links 2023-03-08 18:20:53 +01:00
David Bauer
bf153bc943
Merge pull request #2810 from blocktrron/upstream-master-updates
modules: update to latest OpenWrt HEAD
2023-03-06 16:37:27 +01:00
David Bauer
ec57f6c666 ath79-generic: remove workaround
Now that OpenWrt implements a proper fix for the stalled boots on 74kc
boards, the previous workaround can be removed.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-03-05 20:32:01 +01:00
David Bauer
53b84e3424 modules: update routing
cc1dd76 bird2: bump to version 2.0.12
2023-03-05 20:31:04 +01:00
David Bauer
989a16d103 modules: update packages
f06652bc1 v2raya: drop wrong patches
b6fab0750 yq: Update to 4.31.2
614680d93 yq: Update to 4.31.1
781be9731 cloudflared: Update to 2023.3.0
889028f86 cloudflared: Update to 2023.2.2
4b630ba72 sed: remove old libpcre dependency
3e2c1336a msgpack-c: Update to 5.0.0
43ae97707 golang: Update to 1.19.6
692052b8c node: bump to v16.19.1
2fcba9a46 zerotier: update to 1.10.3
651c73467 git: update to 2.34.7
656835201 https-dns-proxy: 2022-10-15-11 update
0790a0626 cloudreve: Update to 3.7.1
11780f597 gg: Update to 0.2.18
a4393e648 dnsproxy: Update to 0.47.0
2ccdd6d27 kcptun: update to version 20230207
48d58b61c simple-adblock: bugfix: ensure directory for jsonFile is created
b0050dc7f simple-adblock: implement procd_boot_wan_timeout support
fc70290d5 adblock: update 4.1.5-6
1e59e5d12 snowflake: update to v2.5.1
c13c734e3 django: bump to version 4.0.10
d3c9e5200 irqbalance: Add upstream fix for AARCH64 irq name parsing
f38c9e1d2 simple-adblock: update to 1.9.4-1
1c0d2ce41 adblock: update 4.1.5-5
2023-03-05 20:31:00 +01:00
David Bauer
f3c7f340b8 modules: update openwrt
0a32f66fea generic: remove patch for unused kernel version
ea6fb9c16d generic: MIPS: Add barriers between dcache & icache flushes
7b05a8d05d kernel: fix mtk dsa tag padding
cfce8ab388 kernel: can: fix MCP251x CAN controller module autoload
55a48b0957 kernel: bump 5.10 to 5.10.168
a66e53d8ed kernel: bump 5.10 to 5.10.167
3167f7c9fa openssl: bump to 1.1.1t
2023-03-05 20:30:51 +01:00
Andreas Ziegler
ac14244b79
Merge pull request #2809 from AiyionPrime/master-v2022.1.3-fp
docs: Add v2022.1.3 release notes
2023-03-04 23:25:46 +01:00
Jan-Niklas Burfeind
25eb6763cd docs: Add v2022.1.3 release notes
(cherry picked from commit 190d7f8701)
2023-03-04 23:19:33 +01:00
Martin Weinelt
82723f3a45
Merge pull request #2803 from freifunk-gluon/dependabot/github_actions/korthout/backport-action-1.2.0
build(deps): bump korthout/backport-action from 1.1.0 to 1.2.0
2023-03-02 13:26:03 +00:00
Jan-Niklas Burfeind
ccca92cf92
Merge pull request #2806 from freifunk-gluon/master-bugfix
gluon-core: fix typo in wireless upgrade script
2023-03-02 14:06:25 +01:00
Andreas Ziegler
94537db4df
gluon-core: fix typo in wireless upgrade script 2023-03-02 00:23:56 +01:00
Jan-Niklas Burfeind
23145c58a0
Merge pull request #2802 from freifunk-gluon/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 1 to 3
2023-03-01 09:36:27 +01:00
Jan-Niklas Burfeind
7e8c9f41a6
Merge pull request #2804 from freifunk-gluon/dependabot/pip/docs/sphinx-rtd-theme-1.2.0
build(deps): bump sphinx-rtd-theme from 1.1.1 to 1.2.0 in /docs
2023-03-01 09:28:10 +01:00
dependabot[bot]
43faa4f0d9
build(deps): bump sphinx-rtd-theme from 1.1.1 to 1.2.0 in /docs
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.1.1...1.2.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 00:57:31 +00:00
dependabot[bot]
1d50bedce8
build(deps): bump korthout/backport-action from 1.1.0 to 1.2.0
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](https://github.com/korthout/backport-action/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 00:57:18 +00:00
dependabot[bot]
002ace202f
build(deps): bump actions/checkout from 1 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 00:57:16 +00:00
Jan-Niklas Burfeind
44844262cd
Merge pull request #2654 from T-X/pr-librerouter-v1
ath79-generic: add LibreRouter v1
2023-02-28 16:53:15 +01:00
Matthias Schiffer
a0f8d2ca52
Merge pull request #2695 from Kistelini/preserve_channels
gluon-core: preserve channel list for 5G radios
2023-02-27 23:28:30 +01:00
Christian Buschau
4e68059bc8
gluon-core: preserve channel list for 5G radios
Currently the 'channels' setting of a 5G radio gets overwritten or
deleted even if the 'preserve_channels' option is enabled. Don't touch it
if 'preserve_channels' is set.
2023-02-26 15:14:13 +01:00
Matthias Schiffer
193fe036b0
Merge pull request #2799 from AiyionPrime/workaround-unicast-ct
Revert "ipq40xx: switch Wave2 firmware to -ct (#2541)"
2023-02-26 13:38:55 +01:00
Jan-Niklas Burfeind
22c47df242 Revert "ipq40xx: switch Wave2 firmware to -ct (#2541)"
This is a temporary measure that fixes #2692.

This reverts commit 15ef885836.
2023-02-26 00:54:32 +01:00
Jan-Niklas Burfeind
f71e31a211
Merge pull request #2792 from freifunk-gluon/master-ath79-bugfix
gluon-core:  sleep to wait for device initialisations
2023-02-26 00:10:45 +01:00
Andreas Ziegler
d97673f715
gluon-core: sleep a few seconds during upgrade
wait for device initialisations
workaround for a timing issue during first boot on ath79-generic
after sysupgrade from ar71xx-generic image

GitHub Issue: #2779
2023-02-26 00:04:50 +01:00
Linus Lüssing
0cdaeaa0c9 ath79-generic: add LibreRouter v1
add comments about lacking radios
Co-authored-by: Jan-Niklas Burfeind <git@aiyionpri.me>
Co-authored-by: Matthias Schiffer <mschiffer@universe-factory.net>
2023-02-25 23:58:37 +01:00
Tom Herbers
b28f58dbd4
ath79-nand: add support for GL.iNet GL-XE300
The activated setup mode is indicated by the WLAN LED.

Co-authored-by: David Bauer <mail@david-bauer.net>
2023-02-25 11:44:07 +01:00
Matthias Schiffer
be672eda35
Merge pull request #2791 from FreifunkVogtland/war-ath79-hang
ath79-generic: Work around boot hang on Unifi AC-Mesh
2023-02-22 23:02:01 +01:00
Sven Eckelmann
536c771f3f ath79-generic: Work around boot hang on Unifi AC-Mesh
It looks like boot hangs on an AC-Mesh for unknown reasons. The last
message seen on the console is:

    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)

But interestingly, it seems like enabling AIO somehow works around this
problem. Changing any off the following options seem to have the same
effect at the moment for Linux 5.10.160+5.10.161

    # CONFIG_KERNEL_AIO is not set
    # CONFIG_KERNEL_CGROUPS is not set
    # CONFIG_KERNEL_FANOTIFY is not set
    # CONFIG_KERNEL_FHANDLE is not set
    # CONFIG_KERNEL_IO_URING is not set
    # CONFIG_KERNEL_IPV6_MROUTE is not set
    # CONFIG_KERNEL_IPV6_SEG6_LWTUNNEL is not set
    # CONFIG_KERNEL_IP_MROUTE is not set
    CONFIG_KERNEL_PROC_STRIPPED=y

Just enable CONFIG_AIO until the actual problem was fixed.

Link: https://github.com/freifunk-gluon/gluon/issues/2784
2023-02-21 00:05:08 +01:00
Jan-Niklas Burfeind
670da836c7
Merge pull request #2535 from ffgraz/olsr2
OLSRDv2 Support: Initial Meshing
2023-02-16 11:59:13 +01:00
Maciej Krüger
37b88cf790
gluon-mesh-olsrd: remove unused files 2023-02-15 21:40:31 +01:00
Jan-Niklas Burfeind
b9ffb7dcca
Merge pull request #2787 from herbetom/master-updates
modules: update to latest HEAD
2023-02-15 09:27:47 +01:00
Tom Herbers
3354c37f47
modules: update routing
83bc4fc babeld: remove AUTORELEASE
59bc28b babeld: update to 1.12.2
2023-02-14 20:05:14 +01:00
Tom Herbers
6398670b57
modules: update packages
669357351 v2ray-geodata: Update to latest version
04af31728 v2ray-core: Update to 5.3.0
6c13c9363 xray-core: Update to 1.7.5
bfe92ef86 cloudflared: Update to 2023.2.1
ce1d359a7 cloudflared: Update to 2023.1.0
5b8e61edb php8: update to 8.1.15
65b1563d0 xfrpc: update to version 2.1.606
30b0a36c7 xfrpc: Update to 1.11.587
3f023d5af xfrpc: allow server_addr ip and domain
028345fa9 xfrpc: Update to 1.07.582
9167756cb xfrpc: update to 1.06.579
ff4c824e2 xfrpc: set xfrpc's disabled default value to 0
74ed1a15a xfrpc: fix bug of xfrpc.init
8b80ad3b9 xfrpc: update to 1.05.561
b266107c3 xfrpc: Update to 1.05.548
ef5cacd4e xfrpc: fast reverve proxy client in c language
97c38b456 simple-adblock: update to 1.9.3-7
a13b1a64d ci: update github actions to v3
7abfee2e8 ci: Use openwrt/gh-action-sdk@v5
02e95fdef autossh: return from instance function, not exit the script
76ba43711 autossh: Add dropbear proxy (-J) support
09ae01170 mv88e6xxx_dump: add new packages to debug switch issues
1497ef515 bind: update to 9.18.11
2023-02-14 20:05:14 +01:00
Tom Herbers
b8c68307c5
modules: update openwrt
f7541aecdc bpf: ignore missing LLVM bins on package for non compile steps
98b8507e83 bpf: check llvm version only when used
7370479224 at91: sam9x,sama5: fix racy SD card image generation
52564e65d5 at91: sama7: fix racy SD card image generation
863288b49d mac80211: Update to version 5.15.92-1
71cbc95111 kernel: bump 5.10 to 5.10.166
3fd3d99e3a ramips: mt7621-dts: fix phy-mode of external phy on GB-PC2
212c3ffdfc octeontx: add sqaushfs and ramdisk to features
2601873cc5 ath79: add LTE packages for GL-XE300
2702ef9427 ath79: add label-mac-device for GL-XE300
0657576ce1 ath79: add LTE led for GL.iNet GL-XE300
428d720c7f kernel: backport some mv88e6xxx devlink patches
83a13b74f5 kernel: bump 5.10 to 5.10.165
10c79414db kernel: bump 5.10 to 5.10.164
15b9c02d6c kernel: bump 5.10 to 5.10.163
a8025bc2c2 kernel: bump 5.10 to 5.10.162
2023-02-14 20:05:11 +01:00
David Bauer
1780bafafc
Merge pull request #2772 from ffgraz/warn2
gluon-web-model: fix issue with warning blocking save on private-wifi
2023-02-03 03:07:33 +01:00
Jan-Niklas Burfeind
57a0e44458
Merge pull request #2777 from freifunk-gluon/dependabot/github_actions/korthout/backport-action-1.1.0
build(deps): bump korthout/backport-action from 1.0.1 to 1.1.0
2023-02-01 22:21:02 +01:00
dependabot[bot]
2a1873b3c3
build(deps): bump korthout/backport-action from 1.0.1 to 1.1.0
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](https://github.com/korthout/backport-action/compare/v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 00:01:21 +00:00
Jan-Niklas Burfeind
ee36d5a611
editorconfig: exclude docs/_built (#2776)
while not present unless built, they are never meant to be checked
2023-02-01 00:57:04 +01:00
aiyion.prime
a18510c09a ath79-nand: (re)add hiveap-121
Direct migration from 19.07 is currently not possible.

Gone due to
commit 45c84a117b ("ar71xx: drop target")
2023-01-31 10:23:30 +01:00
Jan-Niklas Burfeind
9ac048dbdf
docs,LICENSE: Drop copyright years (#2774) 2023-01-30 21:37:44 +01:00
David Bauer
953a227ab0
Merge pull request #2775 from blocktrron/master-v2022.1.2-bp
docs: add Gluon 2022.1.2 release notes
2023-01-30 17:22:31 +01:00
Jan-Niklas Burfeind
826e6541bc docs: remove trailing spaces
in Gluon 2022.1.2 release notes
2023-01-30 10:31:27 +01:00
David Bauer
83809093e0 docs: add Gluon 2022.1.2 release notes
(cherry picked from commit f000a605cd)
2023-01-29 23:33:26 +01:00
David Bauer
0a2eac6e5d
Merge pull request #2771 from blocktrron/upstream-master-updates
modules: update to latest HEAD
2023-01-28 22:59:58 +01:00
Maciej Krüger
ad8cfe02c2
gluon-web-model: fix Warning field not being hidden
"not self.title" doesn't work because of "self.title = title or """
2023-01-28 20:46:41 +01:00
Maciej Krüger
1f451d4021
gluon-web-model: fix issue with warning blocking save on private-wifi
The other bugfix which made this element inherit from AbstractValue
caused AbstractValue:validate() to be inherited aswell

Now added an if so validate only runs if a datatype is set
(since Element is meant as a generic way to extend web-model without
modifying web-model - also to add custom inputs - just hiding it behind an if sounds like a sane solution)
2023-01-28 20:42:52 +01:00
David Bauer
4fb43ab020 modules: update routing
74948d5 opennds: Release v9.10.0
2023-01-28 15:13:11 +01:00
David Bauer
154a245fc2 modules: update packages
4cb3303d5 nextdns: Update to version 1.39.4
7a756db00 python3: bump to version 3.10.9
bcd299d0c bash: update to version 5.2.15
080466064 pbr: bugfix: fix is_domain()
994dbb785 php8: update to 8.1.14
2023-01-28 15:13:09 +01:00
David Bauer
3597a8ba98 modules: update openwrt
ddeeb35007 mac80211: use 802.11ax iw modes
1f32774ded kernel: mtk-bmt: fix usage of _oob_read
2023-01-28 15:13:00 +01:00
David Bauer
03fe3d4a1d
Merge pull request #2595 from maurerle/feature/o2box6431
targets/lantiq-xrx200: add device Arcadyan VGV7510KW22 aka o2 Box 6431
2023-01-25 17:51:18 +01:00
Florian Maurer
f5a41dd3bc
lantiq-xrx200: add Arcadyan VGV7510KW22 (o2 Box 6431)
update lan, wan separation for o2 6431
2023-01-25 13:32:04 +01:00
Jan-Niklas Burfeind
11b2636ded
Merge pull request #2767 from herbetom/i18n_gluon-web-cellular_de
gluon-web-cellular: add German translation
2023-01-24 19:20:00 +01:00
Tom Herbers
7b25412541 gluon-web-cellular: add German translation
Co-authored-by: Jan-Niklas Burfeind <github@aiyionpri.me>
2023-01-24 16:07:25 +01:00
David Bauer
1df9fbeb54
Merge pull request #2766 from AiyionPrime/master-updates
Master updates
2023-01-23 23:28:26 +01:00
Jan-Niklas Burfeind
703313e2e0 modules: update packages
47fb67e5e v2ray-core: Update to 5.2.1
dc39bbef1 atlas-sw-probe: add more binaries
73cbdbc82 python-docutils: bump to version 0.19
328e64835 frp: update to 0.46.1
02b33536b frp: update to 0.46.0
5ba2c1314 nano: update to 7.2
05844d909 git: update to 2.34.6
2023-01-22 13:32:15 +01:00
Jan-Niklas Burfeind
d65cbdf32a modules: update openwrt
28e1770a3b tools/mkimage: build uboot with NO_SDL=1
1bead4c521 lantiq: xrx200: Fix wifi LED on o2 box 6431
2023-01-22 13:32:09 +01:00
Maciej Krüger
5baa8e07f1
gluon-mesh-olsrd: editorconfig/whitespace fixup 2023-01-20 03:01:24 +01:00
Maciej Krüger
ad378ce60f
gluon-mesh-olsrd: add olsr2 support 2023-01-20 03:01:24 +01:00
Maciej Krüger
052e08e771
gluon-mesh-olsrd: example site 2023-01-20 03:01:24 +01:00
David Bauer
760cf8e87f
Merge pull request #2763 from blocktrron/upstream-master-updates
modules: update master
2023-01-19 09:21:41 +01:00
David Bauer
4c544d4b79 modules: update packages
b4198d7ac xray-core: Update to 1.7.2
057cadb08 yq: Update to 4.30.8
1ae5d856c yq: Update to 4.30.7
37d658ce6 boinc-wrapper: add new package
b31bcb053 python-requests: update URL
28d0c75dd netperf: use git tarball
716c76b1d bc: use @DEBIAN
8e02db2d7 python-exceptiongroup: bump to 1.1.0
d8632f16d borgbackup: bump to 1.2.3
215b235c7 snowflake: update to 2.4.2
4e9dcb98f miredo: add miredo.conf conffile
9e9eb8240 pbr: update to 1.0.1-14
3232bd049 simple-adblock: update sed for allowing domains
2023-01-18 23:40:48 +01:00
David Bauer
13da5ece33 modules: update openwrt
9a12afc5e7 mbedtls: move source modification to patch
c1a26341ab Revert "toolchaini/gcc: fix libstdc++ dual abi model"
2023-01-18 23:40:38 +01:00
David Bauer
95b48893ac
Merge pull request #2760 from blocktrron/upstream-master-updates
modules: update to latest HEAD
2023-01-17 11:04:10 +01:00
David Bauer
e0256f40bd modules: update packages
2417b74fc atlas-sw-probe: update to version 5080
18fa44a14 golang: Update to 1.19.5
e81ff3fcc atlas-probe: update to 2.6.3
360bce6f3 xz: update to version 5.4.1
68d3d099b docker-compose: Update to version 2.15.1
2feedb1e2 speedtestpp: drop libxml2 dependency
df3799fe0 yt-dlp: update to 2023.1.6
69a8305f7 ocserv: disable libmaxminddb detection
5234dc93b knot: disable libmaxminddb detection
709172c95 python-pytz: bump to version 2022.7
0d346fe7f bind: disable geoip
e4a7f86bf docker-compose: Update to version 2.15.0
f709ba1ee stubby: Restart on interface trigger
4ff16a7bf stubby: Update to 0.4.3
8038868ba getdns: Update to 1.7.3
2023-01-17 00:00:53 +01:00
David Bauer
8e5c4b1edf modules: update openwrt
807483d336 dosfstools: switch to AC_CHECK_LIB
3bc6d2af76 tools/dosfstools: fix PKG_SOURCE
c0b4303d2e toolchaini/gcc: fix libstdc++ dual abi model
aa5023b9cd scripts/dl_github_archieve.py: fix generating unreproducible tar
e88e0ace7a ksmbd: Fix ZDI-CAN-18259
aca915e847 ksmbd: update to 3.4.6
2023-01-17 00:00:43 +01:00
David Bauer
355f9f7bae
Merge pull request #2759 from mweinelt/dnsmasq-dnssec-caching
Restore local DNS caching
2023-01-16 19:51:44 +01:00
David Bauer
474b26ae5b docs: remove redundant explanation 2023-01-16 19:49:33 +01:00
Martin Weinelt
d65ce73762
Revert "gluon-core: remove DNS cache feature"
This reverts commit 543eb17882.

Restores the dns caching configuration that should be feasible, since we
now require around 8 MB of flash.
2023-01-15 22:50:14 +01:00
Martin Weinelt
86502c46ba
Migrate to dnsmasq-full to restore query caching
We migrate to dnsmasq-full, while disabling most of its features.
Notably, dhcp and dnssec are compiled in, while other features of the
full variant are deselected.
2023-01-15 22:50:00 +01:00
Jan-Niklas Burfeind
acfd3f1744
Merge pull request #2758 from AiyionPrime/editorconfig-checker-270
workflows/docker: bump editorconfig-checker from 2.6.0 to 2.7.0
2023-01-15 20:01:44 +01:00
Jan-Niklas Burfeind
f1bff05c7b workflows/docker: bump editorconfig-checker from 2.6.0 to 2.7.0
- [Release notes](https://github.com/editorconfig-checker/editorconfig-checker/releases)
- [Commits](https://github.com/editorconfig-checker/editorconfig-checker/compare/2.6.0...2.7.0)

Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
2023-01-15 17:17:20 +01:00
Andreas Ziegler
b2397ebf30
Merge pull request #2116 from freifunk-gluon/lint-editorconfig
actions: add editorconfig checker
2023-01-15 17:01:27 +01:00
Jan-Niklas Burfeind
17f94663a2 targets: fix indentation 2023-01-15 16:46:32 +01:00
Jan-Niklas Burfeind
edc1260743 editorconfig: add siteconf 2023-01-15 16:46:32 +01:00
Jan-Niklas Burfeind
f2d137b17a editorconfig: add exceptions for Makefiles
- [*.mk]
- [Makefile]

OpenWrt and Gluon use spaces for a better overview,
tabs are used for `make` to mark recipes as such.
2023-01-15 16:46:32 +01:00
Martin Weinelt
48b70a9ea5 contrib: Dockerfile: add editorconfig-checker
Co-authored-by: Jan-Niklas Burfeind <git@aiyionpri.me>
version bump to 2.6.0
aligned indentation
2023-01-15 16:46:25 +01:00
Martin Weinelt
c93eb80bbe actions: add editorconfig checker
Adds `lint-editorconfig` make target.

Co-authored-by: Jan-Niklas Burfeind <git@aiyionpri.me>
version bump to 2.6.0
2023-01-15 16:44:17 +01:00
Jan-Niklas Burfeind
0e5a5d31f5
Merge pull request #2751 from AiyionPrime/c-indentation
C indentation
2023-01-15 15:53:27 +01:00
Jan-Niklas Burfeind
8c345910e7
Merge pull request #2757 from AiyionPrime/editorconfig-leftovers
Editorconfig leftovers
2023-01-12 23:37:31 +01:00
Jan-Niklas Burfeind
c3be7a78b7 gluon-setup-mode: fix indentation 2023-01-12 23:02:16 +01:00
Jan-Niklas Burfeind
caeae3b3d9 package/gluon-respondd: migrate to SPDX header
found BSD-2-Clause
2023-01-12 23:02:09 +01:00
Jan-Niklas Burfeind
5f6bf492f7 package/libgluonutil: migrate to SPDX header
found BSD-2-Clause
2023-01-12 22:58:23 +01:00
Jan-Niklas Burfeind
0699362083 gluon-wan-dnsmasq: fix indentation 2023-01-12 22:44:04 +01:00
Jan-Niklas Burfeind
a5825a840a gluon-status-page: fix indentation 2023-01-12 22:44:00 +01:00
Jan-Niklas Burfeind
309922e5c9 gluon-setup-mode: fix indentation 2023-01-12 22:43:56 +01:00
Jan-Niklas Burfeind
6c4a0ae373 docs/conf.py: fix mixed indentation 2023-01-12 22:43:52 +01:00
Jan-Niklas Burfeind
ab89bacb55 libbatadv: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
896dae59f6 gluon-web: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
9c023fba57 gluon-status-page: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
10613b9e52 gluon-status-page-mesh-batman-adv: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
051c74b987 gluon-respondd: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
e797ad4c2f gluon-radvd-filterd: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
36f407877b gluon-neighbour-info: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
ac7de8414e gluon-mesh-vpn-wireguard: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
27d52b5ee5 gluon-mesh-vpn-fastd: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
44c12e87ec gluon-mesh-batman-adv: fix c indentation 2023-01-12 21:46:55 +01:00
Jan-Niklas Burfeind
e43d4290a1 gluon-core: fix c indentation 2023-01-12 21:46:54 +01:00
Jan-Niklas Burfeind
6ff3217903 gluon-ebtables-limit-arp: fix c indentation 2023-01-12 21:46:52 +01:00
Jan-Niklas Burfeind
d7f869ad6d gluon-autoupdater: fix c indentation 2023-01-12 21:44:31 +01:00
Jan-Niklas Burfeind
cdcd1452a2
Merge pull request #2747 from AiyionPrime/editorconfig-c-header-files
migrate several c files to spdx
2023-01-12 21:21:53 +01:00
Maciej Krüger
133ddf19cf
gluon-wireless-encryption{,-wpa3}: rename to match actual package name (#2752) 2023-01-12 00:44:57 +01:00
Jan-Niklas Burfeind
00e61ae968
Merge pull request #2716 from Kistelini/add-archer-c6-v3
ramips-mt7621: add TP-Link Archer C6 v3
2023-01-10 21:18:45 +01:00
Christian Buschau
7cabc593c7
ramips-mt7621: add TP-Link Archer C6 v3 2023-01-10 21:12:22 +01:00
Jan-Niklas Burfeind
c0d27c1106
Merge pull request #2755 from stweil/typos
Fix some typos (found by codespell)
2023-01-10 20:11:10 +01:00
Stefan Weil
be7e22ddc2 Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-01-10 19:07:51 +01:00
Jan-Niklas Burfeind
d374d6dfcf .editorconfig: mark c and header files as supported 2023-01-09 22:40:14 +01:00
Jan-Niklas Burfeind
df869585cf gluon-radv-filterd: migrate to spdx license header 2023-01-09 22:40:08 +01:00
Jan-Niklas Burfeind
bc4349eb75 gluon-node-info: migrate to spdx license header 2023-01-09 22:39:00 +01:00
Jan-Niklas Burfeind
1b110283c7 gluon-neighbour-info: migrate to spdx license header 2023-01-09 22:38:06 +01:00
Jan-Niklas Burfeind
7059d3c093 gluon-mesh-vpn-wireguard: migrate to spdx license header 2023-01-09 22:37:19 +01:00
Jan-Niklas Burfeind
38fd6bc96e gluon-mesh-vpn-fastd: migrate to spdx license header 2023-01-09 22:35:50 +01:00
Jan-Niklas Burfeind
df56dc18f6 gluon-mesh-vpn-core: migrate to spdx license header 2023-01-09 22:34:54 +01:00
Jan-Niklas Burfeind
79873e51d6 gluon-mesh-babel: migrate to spdx license header 2023-01-09 22:34:00 +01:00
Jan-Niklas Burfeind
7b2b2d13fa gluon-mesh-batman-adv: migrate to spdx license header 2023-01-09 22:33:03 +01:00
Jan-Niklas Burfeind
4a9d2bdb67 gluon-autoupdater: migrate to spdx license header 2023-01-09 22:28:30 +01:00
Andreas Ziegler
c60ada47fe
Merge pull request #2753 from AiyionPrime/master-updates
master updates
2023-01-08 15:58:01 +01:00
Jan-Niklas Burfeind
9ce4837617
Merge pull request #2513 from turrisxyz/setup-permissions
chore: Set permissions for GitHub actions
2023-01-08 14:46:45 +01:00
Jan-Niklas Burfeind
1e90e904cc
Merge pull request #2569 from T-X/pr-gluon-l3roamd-deprecate-node-client-prefix6
gluon-l3roamd: site: make node_client_prefix6 optional+deprecated
2023-01-08 02:26:28 +01:00
T-X
8f6eae9a8b
Merge pull request #2745 from AiyionPrime/gluon-ebtables-limit-arp-license
gluon-ebtables-limit-arp: license
2023-01-08 00:11:25 +01:00
Linus Lüssing
b3a9221b07 gluon-l3roamd: site: make node_client_prefix6 optional+deprecated
The site.node_client_prefix6() is only used internally by the l3roamd
protocol. Therefore it is unnecessary to expose it to an administrator.

Instead, if node_client_prefix6 is unspecified in the site, generate an
IPv6 Unique Local Address prefix from the site domain_seed.

This updates the site documentation as well and marks this setting as
both optional and deprecated.

Note: If you had the node_client_prefix6 specified before and want to
use the new autogeneration from the domain_seed instead then this will
break compatibility and will need a gluon-scheduled-domain switch.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2023-01-07 23:41:24 +01:00
Jan-Niklas Burfeind
9eee9e9bdb modules: update routing
1a87333 bird2: bump to version 2.0.11
2023-01-06 23:37:57 +01:00
Jan-Niklas Burfeind
6703d45d61 modules: update packages
4b30c97b5 libtorrent-rasterbar: Update to 2.0.8
db78655bb syncthing: update to 1.23.0
f8cd48207 libmaxminddb: install pkgconfig file
55222315f libmaxminddb: update to 1.7.1
27db10b96 AdGuardHome: update to v0.107.21
2048c5bbf libnetwork: Update to dcdf8f1 for Docker v20.10.22
b7500ff2d containerd: Update to v1.6.13 for Docker v20.10.22
27e985f32 docker: Update to v20.10.22
7426365de dockerd: Update to v20.10.22
511de74ce owntone: Update to 28.5
90c25ab10 owntone: update to 28.4
94a947f1c mxml: update to 3.3.1
b5fd276fd docker-compose: Update to version 2.14.2
5c9215b20 docker-compose: Update to version 2.14.1
7bd647a50 docker-compose: Update to version 2.14.0
dad5db7a2 docker-compose: Update to version 2.12.2
d3d580daa docker-compose: Update to version 2.12.0
ec76dce13 docker-compose: Update to version 2.11.2
3d9f6f2fa docker-compose: Update to version 2.11.1
8353f504a docker-compose: Update to version 2.11.0
41ab6565b docker-compose: Update to version 2.10.2
e65d20aee docker-compose: Update to version 2.9.0
0aff8059f docker-compose: Update to version 2.7.0
3846dc1f4 docker-compose: Update to version 2.6.1
a749254bd docker-compose: Update to version 2.6.0
66f07e340 docker-compose: Update to version 2.5.1
01d6208e5 docker-compose: Update to version 2.5.0
1900774ad docker-compose: Update to version 2.4.1
07647d822 docker-compose: Update to version 2.4.0
7dc695f35 docker-compose: Update to version 2.3.4
5b32db43f telnet-bsd: add package
60af04fa4 domoticz: update to 2022.1
801c00193 bind: update to version 9.18.10
82a4e7a46 golang: backport an upstream fix for non-retpoline-compatible error
01406a6ca v2ray-geodata: Update to latest version
17d72277e v2ray-core: Update to 5.2.0
c5a51a440 xray-core: Update to 1.7.0
5f5d9ddf6 rclone: Update to 1.61.1
c2f2b6977 cloudreve: Update to 3.6.2
02a6ad64d xray-core: Update to 1.6.6-2
2d059c5d9 yq: Update to 4.30.6
334c598b1 dnsproxy: Update to 0.46.5
bb646b65f dnslookup: Update to 1.8.1
5c9ffc34d cloudflared: Update to 2022.12.1
58b61913d natmap: update to 20221225
f6db13442 natmap: fix service not stopped when disabled in luci
4b9641eea natmap: add Package/conffiles
e4fc50644 libarchive: add missing CONFLICT
a139b554c libarchive: fix CVE-2022-36227
ab468882d libarchive: update to 3.5.3
2023-01-06 23:37:57 +01:00
Jan-Niklas Burfeind
70c1963cc0 modules: update openwrt
4b7f9e42e2 lantiq-xrx200: fix wan LED on o2 box 6431
7c10b7b6f0 CI: build: fix external toolchain use with release tag tests
b08e1e978c OpenWrt v22.03.3: revert to branch defaults
221fbfa2d8 OpenWrt v22.03.3: adjust config defaults
43d71ad93e mac80211: Do not build brcmsmac on bcm47xx_legacy
181390f57d uml: fix 5.10 build
1fd2f9f7be kernel: Add missing kernel configuration options
8446d22aaa gdb: Do not link against xxhash
558aa1f482 odhcpd: fix null pointer dereference for INFORM messages
af4f635eed ipq40xx: sysupgrade: allow flashing Linksys factory firmware
4bda308657 base-files: stage2: add 'tail' to sysupgrade environment
2f1b73b70d treewide: Trigger reinstall of all wolfssl dependencies
77e2a24e62 wolfssl: update to 5.5.4-stable
158a33591d mbedtls: update to version 2.28.2
b23cab2fcf toolchain: gcc: import patch fixing asm machine directive for powerpc
6be9e3e636 kernel: remove hack patch, move kirkwood specific kmods to target modules.mk
b1722a048a kernel: bump 5.10 to 5.10.161
cdce4a0bfa uhttpd: update to latest Git HEAD
2023-01-06 23:37:51 +01:00
David Bauer
7bf8de457a
Merge pull request #2710 from AiyionPrime/wavlink-backport-draft
Wavlink WS-WN572HP3 (4G)
2023-01-05 21:48:24 +01:00
Andreas Ziegler
b3a7b6ee9e
Merge pull request #2741 from freifunk-gluon/dependabot/github_actions/zeebe-io/backport-action-1.0.1
build(deps): bump zeebe-io/backport-action from 0.0.9 to 1.0.1
2023-01-05 00:21:45 +01:00
Andreas Ziegler
cd38de1bda
Merge pull request #2746 from AiyionPrime/html-indentation
html indentation
2023-01-05 00:19:57 +01:00
Jan-Niklas Burfeind
b03496ae5c
Merge pull request #2743 from AiyionPrime/fix-shell-indentation
treewide: fix indentation in .sh files
2023-01-04 21:47:18 +01:00
Jan-Niklas Burfeind
4083f150c0 backport-action: update workflow
- set permissions explicitly, as recommended in their docs
- drop github_token and github_workspace (now set per default)
- ownership has moved from "zeebe-io" to the main developer "korthout"

backport-action will follow semver from now on
2023-01-04 21:30:59 +01:00
Jan-Niklas Burfeind
8067a77f59 mt7621: add Wavlink Wavlink WS-WN572HP3 4G 2023-01-04 20:53:58 +01:00
David Bauer
40cf3bc905
Merge pull request #2631 from blocktrron/cellular-support
gluon-core / web: add cellular WWAN support
2023-01-04 20:31:19 +01:00
David Bauer
8096277fe2
Merge pull request #2706 from blocktrron/rut230
ath79-generic: add support for Teltonika RUT230 v1
2023-01-04 19:40:29 +01:00
Jan-Niklas Burfeind
524044c552 packages: fix html indentation 2023-01-04 12:36:17 +01:00
Jan-Niklas Burfeind
961ca53c54 gluon-web: migrate to spdx license header 2023-01-04 12:35:33 +01:00
Jan-Niklas Burfeind
cf0c007829 gluon-web-admin: migrate to spdx license header 2023-01-04 12:35:33 +01:00
Jan-Niklas Burfeind
ce054e1c45 gluon-config-mode-theme: migrate to spdx license header 2023-01-04 12:35:33 +01:00
Matthias Schiffer
34ba8b3047
Merge pull request #2730 from AiyionPrime/minimized-js-naming
Minimized js naming
2023-01-04 12:05:19 +01:00
Martin Weinelt
28f3eb741a
Merge pull request #2744 from AiyionPrime/lua-indentation
lua indentation
2023-01-04 01:23:59 +01:00
Jan-Niklas Burfeind
0ec3207830 gluon-web-osm: add minify flag support 2023-01-03 20:16:09 +01:00
Jan-Niklas Burfeind
389314f58a gluon-web-model: add minify flag support 2023-01-03 20:16:09 +01:00
Jan-Niklas Burfeind
348e938957 editorconfig: remove now unused js exception 2023-01-03 20:16:09 +01:00
Jan-Niklas Burfeind
6c0f224456 gluon-status-page: mark minified js as such 2023-01-03 20:15:49 +01:00
Jan-Niklas Burfeind
4738610d5d gluon-ebtables-limit-arp: replace deprecated license identifier
"GPL-2.0+" with its successor "GPL-2.0-or-later"
2023-01-03 11:04:29 +01:00
Jan-Niklas Burfeind
34dcf4c978 gluon-ebtables-limit-arp: drop LICENSE file in favor of spdx 2023-01-03 11:04:29 +01:00
Jan-Niklas Burfeind
c05abb4179 package/gluon-*/luasrc: fix lua indentation 2023-01-03 10:23:22 +01:00
Jan-Niklas Burfeind
5ccbaed6f5 gluon-web-autopupdater: migrate to spdx license header 2023-01-03 10:18:41 +01:00
Jan-Niklas Burfeind
2aa3527fdc treewide: fix indentation in .sh files
to match the editorconfig

awk code in contrib/sign.sh and contrib/sigtest.sh
reformatted as gawk does
2023-01-03 09:02:28 +01:00
Jan-Niklas Burfeind
886f6387b7 gluon-web-osm: mark minified js as such
changes ln from third to first form (see man ln)
2023-01-03 07:45:43 +01:00
Jan-Niklas Burfeind
5f371a3cd4 gluon-web-model: fix mixed indentation 2023-01-03 07:45:43 +01:00
Jan-Niklas Burfeind
cad694a22a gluon-web-model: mark minified js as such
changes ln from third to first form (see man ln)
2023-01-03 07:45:43 +01:00
Jan-Niklas Burfeind
c03c92bca2 docs: fix mixed indentation for css files 2023-01-03 07:45:43 +01:00
David Bauer
c22956ca55 gluon-web-cellular: add package
This adds a new package which allows configuration of Gluons cellular
WWAN capabilities using the configuration mode. This way, a user can
enter APN information as well as the SIM PIN and enable / disable the
functionality.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-01-02 13:59:03 +01:00
David Bauer
55096d55f0 gluon-core: add cellular support
Add cellular configuration support to Gluon. This implementtaion focuses
not on hotpluggable WWAN adapters but instead on embedded LTE modems
found in travel-routers or FWA CPEs.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-01-02 13:59:03 +01:00
David Bauer
7d9d8cb61c ath79-generic: add support for Teltonika RUT230 v1
Signed-off-by: David Bauer <mail@david-bauer.net>
2023-01-02 13:58:06 +01:00
David Bauer
2b4d3c1b73
Merge pull request #2404 from freifunk-gluon/efi-images
x86: switch to EFI-compatible images
2023-01-01 23:13:35 +01:00
dependabot[bot]
5d10d327c5
build(deps): bump zeebe-io/backport-action from 0.0.9 to 1.0.1
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action) from 0.0.9 to 1.0.1.
- [Release notes](https://github.com/zeebe-io/backport-action/releases)
- [Commits](https://github.com/zeebe-io/backport-action/compare/v0.0.9...v1.0.1)

---
updated-dependencies:
- dependency-name: zeebe-io/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 00:05:57 +00:00
Jan-Niklas Burfeind
21bf0fbf54
Merge pull request #2736 from freifunk-gluon/master-modules-bump
modules: update modules
2022-12-29 16:49:07 +01:00
Jan-Niklas Burfeind
4c94588908
Merge pull request #2738 from GoliathLabs/add-mir3gv1
ramips-mt7621: add Xiaomi Mi Router 3G
2022-12-29 16:42:43 +01:00
Felix
84a76af866 ramips-mt7621: add Xiaomi Mi Router 3G
Co-authored-by: Jan-Niklas Burfeind <git@aiyionpri.me>
fixed commit title
2022-12-29 16:40:16 +01:00
Christof Schulze
b6e98169fd
gluon-mmfd: add missing waitforsocket function (#2735)
Fixes #2732
2022-12-27 23:47:33 +01:00
Andreas Ziegler
a58de638c7
modules: update packages
91312dbde node: bump to v16.19.0
8445e9361 Merge pull request #20160 from stangri/openwrt-22.03-pbr
1478867e5 pbr: bugfix: Makefile, rt_tables fix
6c1d003fe Merge pull request #20154 from ysc3839/natmap-fix-2203
a426a62da natmap: add forward_port option
3730093bc Merge pull request #20114 from stangri/openwrt-22.03-pbr
8e9b85daf pbr: update to 1.0.1-1
40714e889 mwan3: make mwan3.user executable
d0a0fcad8 mwan3: update to 2.11.3
0dedc2059 mwan3: only send disconnected event if interface was connected before
8d1f90b7b mwan3: change log message on already added route
c70e2ad39 mwan3: support offload routing modifier
d8a77e90f mwan3: Switch default track_ip targets from Google DNS to Cloudflare DNS
33e0c6b20 mwan3: fix balanced default config
09604ee3e golang: Update to 1.19.4
694026540 privoxy: fix preinst/postinst script indentation
c54148631 tailscale: preserve tailscaled state file
f553dab19 knot: update to version 3.2.4
bf124d380 yt-dlp: update to 2022.11.11
91ca31025 perl: enable threading support for aarch64 by default
1f3b5ba00 lxc-auto: made init script compatible with image builder
ac64d8809 igmpproxy: update to version 0.4.0
e9bc14cf3 apr-util: disable parallel build
9481f437a python3-pytz: bump to version 2022.6
ea8cfdf02 nano: update to 7.1
4cd549b1e Merge pull request #20017 from commodo/stress-ng-update-22.03
cde7af980 wget: apply upstream fix to avoid nettle linking in nossl
e3a60c072 wget: update to 1.21.3
80443fc66 stress-ng: disable xxhash & libegl stressors
54a387fb9 Merge pull request #20063 from stangri/openwrt-22.03-pbr
9b29ac76a syncthing: update to 1.22.2
c4e6977a0 Merge pull request #20077 from stangri/openwrt-22.03-simple-adblock
6b6776ab5 Merge pull request #20073 from luizluca/22.03/ruby-3.0.5
cabc98c44 simple-adblock: bugfix: add dnsmasq.nftset to uci_load_validate
43c05fbed ruby: update to 3.0.5
c6ac63b5c pbr: detect missing iptables
e4813f4fe Merge pull request #20053 from stangri/openwrt-22.03-https-dns-proxy
8dc325222 https-dns-proxy: fix restart
2075769c4 Merge pull request #20043 from stangri/openwrt-22.03-https-dns-proxy
598197373 Merge pull request #20051 from stangri/openwrt-22.03-simple-adblock
1c6c8cee4 simple-adblock: support new OISD dnsmasq config
2022-12-25 02:38:17 +01:00
Andreas Ziegler
b41f805316
modules: update openwrt
6c3e16055a kernel: backport ksmbd security fix ZDI-22-1690
275c51bf40 Revert "image-commands.mk: Be consistent in command invocation"
fec4fb3a56 sunxi: remove frequency for NanoPi R1
51a763ab0f arm-trusted-firmware-sunxi: drop CPE ID
377d805887 trusted-firmware-a.mk: use correct CPE ID
f30414c56d kernel: bump 5.10 to 5.10.160
47ac52a7c4 ath79: image: don't depend on other COMPILE targets
da79da3ac1 image: fix device profile specific COMPILE targets
9aa95bbebb rules: fix broken commitcount on alpine system
fcff234fd8 image-commands.mk: Be consistent in command invocation
be7b97d873 sunxi: fix typo in device packages for MarsBoard A10
709351bf32 kernel: Make KERNEL_MAKEOPTS recursively expanded
3b066a6581 lantiq: vr9: include usb driver for fritz 7430
39dcfcd987 wolfssl: fix build with /dev/crypto
e51f3a22aa toolchain: Update glibc 2.34 to recent HEAD
298d2d0412 Revert "mbedtls: import patch to fix illegal instruction on mpc85xx"
3de4572ed3 tools/ccache: fix build with musl and gcc 12
8e43a44f08 rpcd: update to latest Git HEAD
f43ceb60d5 iwinfo: update to latest Git HEAD
31baecb70e iwinfo: update to the latest version
f34c4a950e iwinfo: update to the latest version
9b7a3e1a5e iwinfo: update to the latest version
ce881873c0 kernel: add missing dependency to KERNEL_RPI_AXIPERF
7ccb4c6651 kernel: add missing symbol for bcm27xx
b18a0d0b92 generic: add support for EON EN25QX128A spi nor flash
d909fb1d3b kernel: bump 5.10 to 5.10.159
e5cec69484 kernel: bump 5.10 to 5.10.158
3a58bda06b kernel: bump 5.10 to 5.10.157
ee2341cac6 kernel: add symbol in generic config for 5.10.157
bc64ca15d4 kernel: kmod-net-rtl8192su: Remove package
b1204ce28c umbim: Allow roaming and partner connections
15bc6b23c7 kernel: further cleanup of xfrm[4|6]_mode*
6e396eff1a kernel: remove handling of xfrm[4|6]_mode_* modules
78fc12ddd0 kernel: fix typo for tegra crypto-sha1 module
4408f7d564 kernel: add kmod-btsdio package
6b2c445b88 kernel: remove CONFIG_MMC_BLOCK_BOUNCE
aef33ab13a ath79: fix Teltonika RUT230 v1 MAC assignment
2022-12-25 02:38:02 +01:00
Andreas Ziegler
3c0f8596f0
Merge pull request #2731 from AiyionPrime/fix-targets-scripts-contrib
Fix targets, scripts & contrib
2022-12-19 01:21:13 +01:00
Jan-Niklas Burfeind
46d6bf8304 contrib/i18n-scan.pl: fix indentation 2022-12-19 00:49:52 +01:00
Martin Weinelt
6992a3d1ac scripts: fix mixed indentation 2022-12-19 00:49:44 +01:00
Martin Weinelt
6ed243fb2b targets: fix mixed indentation
Co-authored-by: Jan-Niklas Burfeind <github@aiyionpri.me>
removed x86-legacy, added ramips-mt7621
2022-12-19 00:49:36 +01:00
Jan-Niklas Burfeind
32853d6e5a
editorconfig: add dia files (#2728)
2 spaces
2022-12-18 20:59:24 +01:00
Jan-Niklas Burfeind
04b9935b9f
Dockerfile: fix mixed indentation (#2727) 2022-12-18 20:59:03 +01:00
Jan-Niklas Burfeind
047f4fb016
docs: consistently indent .rst files with 2 spaces (#2726)
follow-up on

commit 854fef4e12 ("docs: consistently indent .rst files with 2 spaces")
2022-12-18 20:57:46 +01:00
Jan-Niklas Burfeind
36e9a85e22
issue_template/bug_report: fix indentation (#2725)
and other trailing spaces
2022-12-18 20:57:06 +01:00
Jan-Niklas Burfeind
8ad1d7a2b4
Merge pull request #2690 from lemoer/pr_batman_respondd_addition_1_ui
gluon-status-page: show gateway_tq
2022-12-15 22:40:40 +01:00
lemoer
a02ff964d5 gluon-status-page: show gateway_tq
The gateway_tq was added to respondd in #2596. Now, we also show it on
the status page.
2022-12-15 20:16:08 +01:00
Jan-Niklas Burfeind
1f87d15912
Merge pull request #2297 from AiyionPrime/gluon-state-check_babeld
gluon-mesh-babel: implement neighbour check
2022-12-14 03:14:48 +01:00
Jan-Niklas Burfeind
85f3e40a14
Merge pull request #2723 from ffgraz/warn-fix
gluon-web-model: resolve hang when submitting form with disabled element
2022-12-14 02:55:55 +01:00
Matthias Schiffer
41b8ecd617
x86: switch to EFI-compatible images
The main difference between the non-EFI and EFI images generated by
OpenWrt is that the former uses an MS-DOS partition table, while the
latter uses GPT. The EFI images still have a BIOS-compatible MBR, so
they work fine on non-EFI systems.

Closes #2403
2022-12-13 22:27:53 +01:00
Maciej Krüger
a0db0a46b3
gluon-web-model: resolve hang when submitting form with disabled element
I was made aware of a bug when submitting the form while the element is
disabled based on it's dependencies

The fix was to inherit from AbstractValue instead of just node

AbstractValue's AbstractValue:resolve_node_depends() in particular
solves the issue, but it made more sense to just use the full base class
2022-12-13 21:18:41 +01:00
Maciej Krüger
535cc3f468
gluon-web-private-wifi: add translation for message
Co-authored-by: Matthias Schiffer <mschiffer@universe-factory.net>
2022-12-13 21:18:38 +01:00
Jan-Niklas Burfeind
d225befe93
Merge pull request #2709 from freifunk-gluon/dependabot/pip/docs/sphinx-rtd-theme-1.1.1
build(deps): bump sphinx-rtd-theme from 1.0.0 to 1.1.1 in /docs
2022-12-12 09:22:07 +01:00
David Bauer
4d70f1d950
docs: add LAN-AS-WAN label to FB 7520/7530 (#2722)
These devices use all LAN ports as a WAN bridge.

Closes #2721

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

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-12-12 00:47:45 +01:00
David Bauer
096f739477
Merge pull request #2530 from ffgraz/warn
gluon-web-model: add Warning
2022-12-11 03:05:09 +01:00
Andreas Ziegler
161a87eab8
docs: update v2022.1.x release notes' known issues section (#2682)
add link to issue #2672 in known issues section of the release notes
2022-12-10 23:50:28 +01:00
Jan-Niklas Burfeind
4b535b9383
Merge pull request #2708 from freifunk-gluon/dependabot/github_actions/zeebe-io/backport-action-0.0.9
build(deps): bump zeebe-io/backport-action from 0.0.8 to 0.0.9
2022-12-10 23:23:08 +01:00
Maciej Krüger
08684e90bb
web-private-wifi: add warning about mesh on wan 2022-12-10 22:49:34 +01:00
Maciej Krüger
408ef92215
misc: add Element global to .luacheckrc 2022-12-10 22:49:29 +01:00
Maciej Krüger
896c7c6d78
gluon-config-mode-theme: add .gluon-warning class 2022-12-10 22:49:29 +01:00
Maciej Krüger
30a6b76520
gluon-web-model: add Section:element and Element, add Warning template 2022-12-10 22:49:18 +01:00
David Bauer
4d61bc1bfa
Merge pull request #2707 from AiyionPrime/dgs-1210-10p
realtek-rtl838x: add support for D-Link DGS-1210-10P
2022-12-10 17:52:41 +01:00
Jan-Niklas Burfeind
a8dc234550 realtek-rtl838x: add support for D-Link DGS-1210-10P
as well as the target itself
2022-12-09 16:32:22 +01:00
Jan-Niklas Burfeind
e53308b61e generic: try to not attempt to build kmod-usbip
targets without usb-support fail to build without this change

Co-authored-by: David Bauer <mail@david-bauer.net>
2022-12-09 16:32:22 +01:00
Jan-Niklas Burfeind
ba80cbbab8
Merge pull request #2717 from AiyionPrime/master-updates
Master updates
2022-12-09 08:42:55 +01:00
Jan-Niklas Burfeind
ffe8cab516 modules: update packages
04eadf860 dnsproxy: Update to 0.46.4
f5547cfde cloudflared: Update to 2022.11.1
4abdc2f33 github-ci: error on any shell errors
798fe3f59 django: bump version 4.0.8
ce3e9d4b4 natmap: merge "ipv4" and "ipv6" options into single "family" option
0393a5c19 snowflake: update to version 2.4.1
ec2fbd57e natmap: add new package
2022-12-09 00:32:56 +01:00
Jan-Niklas Burfeind
b9d6a64eee modules: update openwrt
6cd1035d8d ramips: add support for Wavlink WS-WN572HP3 4G
3f7ce4bd40 comgt-ncm: add support for quectel modem EC200T-EU
03ab5a60da realtek: update GPIO bindings for DGS-1210-10P
63fde4607c ustream-ssl: update to Git version 2022-12-07
1c174fe0ba CI: kernel: don't checkout and install feeds
385f78780c CI: build: skip sdk adapt to external toolchain on cache hit
8be50c369b CI: build: fix use of sdk as toolchain
1af58a2d39 ramips: mt7621: enable lzma-loader for ZyXEL WAP6805
8fbf03690e ramips: mt7621: enable lzma-loader for netis WF2881
282dd271ad kernel: ca8210: Fix crash by zero initializing data
1a0f2c3a3e e2fsprogs: Fix CVE-2022-1304
1285938d2c bcm4908: Refresh kernel patches
2022-12-09 00:32:56 +01:00
Jan-Niklas Burfeind
016b34be23
Merge pull request #2705 from herbetom/docs-configmode-enter
docs: configmode: mention gluon-enter-setup-mode
2022-12-07 22:00:10 +01:00
Tom Herbers
b4f174a41d
docs: configmode: mention gluon-enter-setup-mode
The command was introduced in v2022.1 with #2459.

Co-authored-by: Jan-Niklas Burfeind <github@aiyionpri.me>
2022-12-07 21:47:05 +01:00
Jan-Niklas Burfeind
3283abbb93
Merge pull request #2554 from AiyionPrime/ath79-migrate-wndr4300
ath79-nand: (re)add WNDR4300v1
2022-12-06 23:58:17 +01:00
Andreas Ziegler
c535047274
Merge pull request #2713 from herbetom/master-updates
modules: update modules
2022-12-06 22:46:11 +01:00
Tom Herbers
92c80ed4a8
modules: update routing
0fb5e3c opennds: Release v9.9.1
2022-12-06 14:05:58 +01:00
Tom Herbers
a3091f3c59
modules: update packages
f6a688776 xz: update to 5.2.9
b1b1281da xz: update to 5.2.7
ed99f2f00 xz: update to 5.2.6
bdc161a07 tailscale: Update to version 1.32.3
26dabd374 tailscale: update to v1.32.0
fda81981b adguardhome: bump to 0.107.18
aa61ca8bf AdGuardHome: update to v0.107.16
acb201a0a AdGuardHome: update to v0.107.12
820bcedfd AdGuardHome: update to v0.107.11
12bc0789a btrfs-progs: Update to version 6.0.1
7e75519ac libgpg-error: copy gpg-error.pc to staging directory
c38abeb95 gnupg: compile with -fcommon
6d14306a6 privoxy: fix postinst missing $
7c1b94bb1 privoxy: correctly format /etc/services additions
a505d6f26 golang: update to v1.19.3
e0238d309 golang: update to v1.19.2
b90c80aae pbr: initial commit
6b21bd34f borgbackup: add package for 1.2.2
5a7ecd11e python-pyfuse3: add package for 3.2.2
bdf7a73cb python-trio: add package for 0.22.0
e2b1c2cd4 python-sniffio: add package for 1.3.0
e029bdb32 python-outcome: add package for 1.2.0
dd9ff1b6c python-async-generator: add package for 1.10
f0a093701 python-exceptiongroup: add package for 1.0.4
0310a6edf python-sortedcontainers: add package for 2.4.0
c5877bd65 xxhash: add package for 0.8.1
452681ea7 samba4: support both user map and valid users on same time
6de7a04c4 lighttpd: lighttpd.conf vars, comments, guidance
bc6431a94 lighttpd: print stderr trace if validation fails
cf8ce7a4e php8: update to 8.1.13
e057ed882 v2raya: backports upstream fixes and add 3 new options
fe96d64b8 v2ray-geodata: Update to latest version
a8858d1e3 xray-core: Update to 1.6.5
85a0f22ca yq: Update to 4.30.5
f19180a1d libqmi: bump to 1.30.8
6cf7648bd simple-adblock: localizable error/warning messages
91b205481 librespeed-go: add new package
2e7ce8a23 simple-adblock: bugfix: detect dnsmasq ipset support
80dd929bf https-dns-proxy: improve performance on restart
6f405bd56 pdns-recursor: update to 4.7.4
11d749180 liburing: Update to v2.3
17b54726d liburing: Update to v2.2
44781b792 ices: Update to 2.0.3
198459abe gphoto2: update to 2.5.28
b7c43947f libgphoto2: update to 2.5.30
a02a11f68 syncthing: update to 1.22.1
fdd9f725a syncthing: update to 1.20.1
94f709720 syncthing: add stdiscosrv and strelaysrv
8e7192b9b tvheadend: update to git master 2022-11-20
8a0333ed7 knot: update to version 3.2.3
0e190e5cd cloudflared: Update to 2022.11.0
714075bb6 ooniprobe: Update to 3.16.5
0de8e969e unbound: update to 1.17.0
7e25e745f librespeed-cli: rename binary to librespeed-cli
dfdf74ef9 rclone: Update to 1.60.1
e769b3fdb gg: Update to 0.2.15
bee5b07c6 sqlite3: Update to 3.40.0
554f0aed0 https-dns-proxy: update Makefile package descrition
03b41dbb5 xray-core: Update to 1.6.4
dcb6389f2 nextdns: Update to version 1.38.0
ffa5f4db8 nano: update to 7.0
20d5a2216 bcp38: migrate to nftables
fd3e15543 yq: Update to 4.30.4
b7166a81f frp: update to 0.45.0
b2081557f ariang: update to 1.3.2
5c1e58973 Revert "openthread-br: new package"
553d07845 simple-adblock: update to 1.9.3-1
71e8e63a3 yq: Update to 4.30.2
bf8a6584f yq: Update to 4.30.1
67b2ba78e rsync: update to 3.2.7
6fb9da0cd rsync: incorporate upstream fixes
0c4379d16 rsync: bump to 3.2.6
2022-12-06 14:05:58 +01:00
Tom Herbers
1005f9d233
modules: update openwrt
eb639e54fc ucode: update to latest Git HEAD
9b6dcf322b mvebu: disable also wrt32x due to broken switch
69ed96fba8 kernel: netconsole: add network console logging support
1f9bf1ee82 kernel: kmod-isdn4linux: Remove package
a3dee42206 kernel: kmod-w1-slave-ds2760: Remove package
2a1bf860f3 kernel: kmod-rtc-pt7c4338: Remove package
a0bae2fef8 mvebu: cortexa9: disable devices using broken mv88e6176 switch
309a6f22ba CI: trigger check also on build and check-kernel-patches workflow change
ec9ca325c0 CI: build: fix matching for openwrt release branch for toolchain parsing
63a2ea5470 CI: fix matching for openwrt release branch for container selection
9db78a7e86 CI: build: add support to fallback to sdk for external toolchain
47519a574c CI: build: add support for external toolchains from stable branch
05c3ee608f CI: build: add support for per branch tools container
f3cb0cfdf9 CI: tools: support per branch tools container
5fc4182f1e CI: Build all boards and testing kernel
31fb360f57 CI: Allow building with internal toolchain
e74479d559 CI: Extract the OpenWrt building to own sub workflow
b7e2e14912 CI: Simplify if conditions
8ac2cf6de9 CI: packages.yml: Fix usage of pre-build tools
db347be0b3 CI: packages: Add github CI job to build all packages
99524d49b4 CI: kernel: fix deprecation of set-output
de29c8bda7 ci: kernel: trigger build check on changes in kernel.mk as well
b93a59352f CI: kernel: check if patch are refreshed for each target
d070707379 CI: bump actions/download,upload-artifact action to v3
69414201ae CI: bump actions/checkout action to v3
8c4e39eb08 CI: kernel: generate ccache cache on kernel push
303b784cc8 build: harden GitHub workflow permissions
b3e8d58151 Revert "build: harden GitHub workflow permissions"
431875b3df CI: kernel: use ccache to speedup workflow
8bbaa486cb CI: tools: compile tools with ccache support for tools container
c2df98c49c CI: Add workaround for github uppercase usernames
daeb367dc1 CI: use tools:latest container to speedup kernel workflow
fccf42cb05 CI: create Docker container containing compiled tools
047e68adb1 CI: use buildbot container for building
a69b9a8962 ci: show build failures directly in job log output
f2fb3ffd71 ci: move scripts into separate directory
7ff1477b3d CI: package kmods in kernel workflow
2f9b35624d CI: kernel: Cache external toolchain
1f13c8cd24 CI: kernel: Build all kernel modules
c3ed9f36ee CI: kernel: Checkout feeds from github
0987df4af1 CI: kernel: Show used OpenWrt configuration
f7affcd614 CI: kernel: Use downloads.cdn.openwrt.org
0f71cf7ab6 CI: kernel: Trigger workflow for more directories
586be47078 CI: run inside the buildbot docker container
0e46907ff5 CI: add Kernel compile tests
119c6573c4 CI: usability improvements for tools
ac7b1c8e94 build: handle directory with whitespace in AUTOREMOVE clean
439e19de96 scripts/ext-tools: introduce new script to install prebuilt tools
d419136ad5 build: make find_md5 reproducible with AUTOREMOVE
be2da47ced ath79: expand rootfs for DIR-825-B1 with unused space
087a2a4691 mac80211: Update to version 5.15.81
83c70346ac base-files: support "metric" in board.json
5167bcf2fc kernel: update U-Boot nvmem driver to v6.2 release version
bf1c4f1eba bcm4908: update DTS files with the latest changes
44fad4b1f6 bcm4908: fix Asus GT-AX6000 image
c45f44165b bcm4908: use upstream patches for Asus GT-AC5300 LEDs
7d63c39bf4 CI: labeler: fix wrong label for pr targeting stable branch
e516c31e14 CI: add support to tag pr targeting stable branch
8b95e14e32 Revert "CI: Add release/22.03 label to all pull requests"
ce1de42096 layerscape: Fix SPI-NOR issues with vendor patches
a704216259 mt76: move the mt7921 firmware to its own package
e7497d1083 CI: Add release/22.03 label to all pull requests
c43b5e71b8 CI: labeler: target major version of labeler action
008e9a335d build: harden GitHub workflow permissions
c7757810fc CI: include automatic Pull Request Labeler
2b5154214c ipq40xx: luma_wrtq-acn329: swap ethernet MAC addresses
68add5f364 ath79: mikrotik: use OpenWrt loader for initram image
a907c20340 kernel: add kmod-hwmon-sht3x support
a4af427d80 procd: service: pass all arguments to service
106fedd9ed ath79: fix MAC address assigment for TP-Link TL-WR740N/TL-WR741ND v4
8040f74f8d tools/patch: apply patch for EACCES on xattr copy
eda395a5e0 wolfssl: update to v5.5.3
0b22e87db0 ath79: D-Link DIR-825 B1 add factory.bin recipe
de6c3cca4d mbedtls: import patch to fix illegal instruction on mpc85xx
302ef2137d mt76: add firmware package for mt7916
844de50b7b ath79: disable image building for Ubiquiti EdgeSwitch 8XP
af0c128368 lantiq: add 6.1 tag to upstream patch
a4e8ff5ab4 lantiq: enable interrupts on second VPEs
dca73263a4 lantiq: xrx200: backport upstream network fixes
078bdc1856 kernel: bump 5.10 to 5.10.156
b7388191a5 kernel: bump 5.10 to 5.10.155
61e1f6541d kernel: modules: package Marvell gigE PHY driver
64da7c8af7 bcm27xx: fix CI build after config refresh
3564c22e46 bcm27xx: disable duplicate sdhost driver
353e468f47 kernel: support "linux,rootfs" DT property for splitting rootfs
b66037f53b bcm53xx: update DTS files with the latest changes
58a73b1135 kernel: improve description of NTFS kernel packages
932378aeb6 kernel: backport support for "linux,rootfs" in DT
af20d9d03b kernel: split out mtd hack for CONFIG_FIT_PARTITION + rootfs
2022-12-06 14:05:53 +01:00
Jan-Niklas Burfeind
32fe29a4a1
Merge pull request #2712 from freifunk-gluon/aiyion/ac2
ipq40xx-mikrotik: add mikrotik-hap-ac2
2022-12-06 07:44:31 +01:00
Maciej Krüger
68bec1f0ec ipq40xx-mikrotik: add mikrotik-hap-ac2
Co-authored-by: Jan-Niklas Burfeind <github@aiyionpri.me>
2022-12-05 23:01:12 +01:00
Jan-Niklas Burfeind
aa6853dddd
Merge pull request #2700 from misanthropos/re200v3
targets/ramips-mt76x8: add device TP-Link RE200 V3
2022-12-02 16:15:31 +01:00
dependabot[bot]
d39557aadc
build(deps): bump sphinx-rtd-theme from 1.0.0 to 1.1.1 in /docs
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.0.0...1.1.1)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 00:01:24 +00:00
dependabot[bot]
4f0c7447b4
build(deps): bump zeebe-io/backport-action from 0.0.8 to 0.0.9
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action) from 0.0.8 to 0.0.9.
- [Release notes](https://github.com/zeebe-io/backport-action/releases)
- [Commits](https://github.com/zeebe-io/backport-action/compare/v0.0.8...v0.0.9)

---
updated-dependencies:
- dependency-name: zeebe-io/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 00:01:10 +00:00
Richard Fröhning
5a6517425b targets/ramips-mt76x8: add device TP-Link RE200 V3
Signed-off-by: Richard Fröhning <misanthropos@gmx.de>
2022-11-15 12:54:01 +01:00
Jan-Niklas Burfeind
8ce7dd15a3
docs/supported_devices: regroup revisions (#2704)
affected:
- CPE510
- WBS210
- Archer C50
2022-11-14 12:53:22 +01:00
David Bauer
3a93405a99
openwrt: add patch to expose unset symbols (#2702)
The GitHub actions pipeline is not interrupted for unset symbols due to
OpenWrt not failing in all cases of unset symbols.

Adda patch to consistently fail for unset symbols.

Ref #2701 (build process is waiting for user input)

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

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-11-14 09:25:54 +01:00
David Bauer
7a49faec4a
Merge pull request #2703 from blocktrron/upstream-master-updates
modules: update modules
2022-11-14 09:25:35 +01:00
David Bauer
91329b5230 modules: update routing
d9cd6ef batman-adv: Merge bugfixes from 2022.3
2022-11-13 22:33:36 +01:00
David Bauer
150f91a480 modules: update packages
a74d1b82e zerotier: update to 1.10.2
8aec58f78 irqbalance: update to 1.9.2
fc62b59a9 gg: Update to 0.2.14
5423b2d10 v2ray-geodata: Update to latest version
ddc4edc5b xray-core: Update to 1.6.3
27dd30aad openthread-br: new package
bf2eb2333 golang: update to version 1.18.8
48fc50950 qcsuper: add package
3e63425d7 python-pycrate: add package
2466b3c0d python-crcmod: add package
c2b7f86a8 ffmpeg: libffmpeg-full package should provide libffmpeg package, too
2022-11-13 22:33:36 +01:00
David Bauer
07e83438c1 modules: update openwrt
8c1f8f9978 ipq40xx: ZTE MF286D: fix DEVICE_PACKAGES
54dc60e71d generic: fix unset symbol
c837fc9cdb kernel: bump 5.10 to 5.10.154
bbad2ee4de kernel: bump 5.10 to 5.10.153
d2ae7613b5 ramips: improve compatibility for Youku YK-L2 and YK-L1 series
9155d40513 ramips: gl-mt1300: downclock SPI to 50MHz
ca124d2e4b ramips: mt7621: use seama-lzma-loader for D-Link DIR-860L B1
fafc9448ae ramips: rt3883: use seama-lzma-loader for D-Link DIR-645
292d3f00c7 ramips: define lzma-loader recipe for SEAMA devices
d25e1a3bde ath79: fix MAC address assignment for TP-Link ar7241 devices
7fa6351310 tools/expat: update to 2.5.0
8122aa92fd ath79: add support for Linksys EA4500 v3
1133a8f805 ath79: add support to TrendNet TEW-673GRU
5725b773b4 qoriq: fix typo in FEATURES
615dbec223 mac80211: fix mesh airtime link metric estimation
a26f7e61e8 mac80211: fix issues with receiving small STP packets
bfeffb8aed mac80211: fix decap offload for stations on AP_VLAN interfaces
88c43b5887 hostapd: remove invalid dtim_period option processing
2022-11-13 22:33:36 +01:00
edeso
53e9997a4a
ath79-generic: enable ath10k-smallbuffers for low memory ath10k boards (#2699)
fixes OOM reboots due too limited ram with ath10k 5Ghz enabled
add some comments to describe the need for ath10k-ct replacement
tested stable on an TP-Link Archer C25v1
more details
694757a08f
2022-11-10 04:54:47 +01:00
Andreas Ziegler
4ef9504c4e
Merge pull request #2698 from AiyionPrime/master-updates
modules: update to latest HEAD
2022-11-08 21:37:58 +01:00
aiyion.prime
bc09b7ecbb ath79-nand: (re)add WNDR4300v1
Gone due to
commit 45c84a1 ("ar71xx: drop target")
2022-11-08 21:08:31 +01:00
Jan-Niklas Burfeind
d8a2bc6a18 modules: update packages
2f7a640bc simple-adblock: update to 1.9.2-4
2022-11-08 14:33:38 +01:00
Jan-Niklas Burfeind
6f534fb6b0 modules: update openwrt
4628e7ae4d ramips: backport TP-Link RE200 v3/v4 LED fix
1d095c1d43 strace: replace PKG_CPE_ID
d84cf62000 strace: update to 5.19
8650f77314 strace: add nls.mk
0b80a7da58 strace: update to 5.18
faf9d20a21 strace: update to 5.17
2022-11-08 14:33:23 +01:00
David Bauer
da8eee86cf
Merge pull request #2691 from herbetom/master-updates
modules: update to latest HEAD
2022-11-08 12:43:36 +01:00
Kistelini
a072a71213
gluon-core: preserve wireless channel width during updates (#2696)
If the uci option 'gluon.wireless.preserve_channels' is set then the channel width of wireless radios (htmode) is preserved during updates, too.
2022-11-08 10:00:27 +01:00
txt-file
200e302a56
contrib: remove downloaded *.deb files from OCI container (#2697)
`apt-get clean` clears out the local repository of retrieved package files.
It removes everything but the lock file from /var/cache/apt/archives/ and
/var/cache/apt/archives/partial/.

Co-authored-by: Vieno Hakkerinen <vieno@chemnitz.freifunk.net>
2022-11-07 21:25:31 +01:00
Grische
b11d983bbc
contrib: update minimal-site site.conf for v2022.1 (#2683)
This updates the site.conf based on docs/site-example/site.conf for v2022.1
2022-11-07 02:29:39 +01:00
David Bauer
acc89e403a
Merge pull request #2689 from blocktrron/pr-nwa55axe
ramips-mt7621: add support for ZyXEL NWA55AXE
2022-11-07 02:29:02 +01:00
Tom Herbers
b686020209
modules: update packages
c5974e7d1 xray-core: Update to 1.6.2
458836e6c pulseadio: fix conffiles for pulseadio-daemon-avahi package
01cb4fc41 hub-ctrl: trim trailing spaces
3f4cc35d1 announce: trim trailing spaces
58b48b2df knot: update to version 3.2.2
8a106f066 pulseaudio: change homepage URLs to freedesktop.org
58a5e8a5e pulseaudio: use AUTORELEASE variable
05be550e7 pulseaudio: daemons should conflict to each other
6a4b1d195 pulseaudio: simplify and rework Makefile
e8c169693 luaexpat: trim trailing spaces
8f85f8984 squid: trim trailing space
8ff324419 mini_snmpd: trim trailing spaces
1fcbe2d6e lynx: trim trailing space
e4a3e0d94 librespeed-cli: add package
503e3a0e3 zoneinfo: updated to the latest release
db2989ebc zoneinfo: updated to the latest release
de77e2320 zoneinfo: updated to the latest release
cb7fe299f mpd: depend the full variant on pulseaudio instead of pulseaudio-daemon
4d8a00e54 php8: update to 8.1.12
1f71809d6 cloudflared: Update to 2022.10.3
18854f6f8 rclone: Update to 1.60.0
81b355ec5 yq: Update to 4.29.2
58bd7b001 curl: bugfix: building as selected package doesn't break build
cc160ea8d curl: update to 7.86.0
6f4e73287 python3-pytz: bump to version 2022.5
0bca5e2a0 curl: include nls.mk
56380fb01 dnsproxy: Update to 0.46.2
1acc8e3e7 v2ray-geodata: Update to latest version
ab97e3d50 xray-core: Update to 1.6.1
a1fbaa704 xray-core: remove orphan xray-geodata definition
0b68bfd6c node: bump to v16.18.0
f916e3426 ffmpeg: add conflicts and provides
f7d592607 bandwidthd: fix time_t problem Fixes issue #19510 with the change in time_t with musl 1.2
1cebcd66f atlas-probe: fix SIGSEGV error on 32bit system
ea7a0739a samplicator: update to latest master commit 2021-10-11
b4d1b8424 libwebsockets: fix recursive dependency
b2727bbe0 simple-adblock: rename wan6_trigger option
fa567eef0 https-dns-proxy: rename options
fefd89f77 libwebsockets: OpenSSL and mbedTLS variants should conflict
21ac9491f libwebsockets: full variant provides OpenSSL
deefa58a8 lighttpd: backport patch to fix dummy Sec-WebSocket-Key
54f3c8444 mariadb: Drop unused rundir fix socket dir perms
6f49212bc https-dns-proxy: add version information to binary
0be9e78c0 simple-adblock: service_triggers improvements
e7b83b5a5 https-dns-proxy: bugfix: restore empty server; misc improvements
2022-11-06 23:18:36 +01:00
Tom Herbers
56fddc608f
modules: update openwrt
e95b359eaa kernel: netsupport: Add FQ-PIE as an optional sched kmod and extract PIE
051c24c69a kernel: extract kmod-sched-act-ipt from kmod-sched
23ccc71c61 kernel: netsupport: Extract act_police
3ca45248fd kernel: netsupport: Add kmod-sched-act-sample
7ee55d82fc kernel: netsupport: Extract sched-prio and sched-red
31fd96bdbd kernel: netsupport: Add kmod-sched-drr
c61ed09228 kernel: netsupport: kmod-sched: Reorder packages
26b58991b0 ipq40xx: fix ZTE MF289F port mapping
71178a8506 ipq40xx: Fix wrong GPIO for internal status LED on ZTE MF289F
3e15a54bb0 ipq40xx: Add ZTE MF289F
7a77aacb31 uboot-envtools: Fix format of autogenerated sectors
b3b3428a0e openssl: bump to 1.1.1s
e313cd8d15 uboot-layerscape: adjust LS1012A-IOT config and env
77522d4eb7 dnsmasq: Backport DHCPv6 server fix (CVE-2022-0934)
13bd217821 busybox: awk: fix use after free (CVE-2022-30065)
fe5cd3c9d9 util-linux: Update to version 2.37.4
84b3eafe39 bcm4908: backport upstream BQL support for bcm4908_enet
0ff3adfa11 kernel: bump 5.10 to 5.10.152
0abcea19d7 kernel: bump 5.10 to 5.10.151
0667688a40 kernel: bump 5.10 to 5.10.150
fe58ee9057 ramips: Correct Unielec 01 and 06 dts wan macaddr byte location
6c5313d77c bcm4908: backport bcm4908_enet fix for NULL dereference
91e4a74fff bcm4908: optimize Ethernet driver by using build_skb()
b4bc9eb837 kernel: mtd: backport SafeLoader parser
18c77387c5 kernel: mtd: backport extended dynamic partitions support
2022-11-06 23:18:28 +01:00
David Bauer
91bfa4f9c5 ramips-mt7621: add support for ZyXEL NWA55AXE 2022-10-31 12:30:37 +01:00
Jan-Niklas Burfeind
4936b416b8
Merge pull request #2686 from herbetom/master-updates
modules: update to latest HEAD
2022-10-24 20:57:18 +02:00
Tom Herbers
9c2ee67009
modules: update routing
6b612cd alfred: Rebuild on CONFIG*_ALFRED_* changes
2e28186 batman-adv: Rebuild on CONFIG_BATMAN_ADV_* changes
2022-10-24 16:26:38 +02:00
Tom Herbers
db6b9deca6
modules: update packages
7132a6b55 adblock: update 4.1.5-4
55c412f4b softflowd: use %lld for time_t always
507620154 mariadb: Update to the latest version 10.6.10
7278c00b2 adblock: update 4.1.5-3
15ce9af90 treewide: fix procd service inactive
31b99e256 dnsproxy: Update to 0.45.4
ad1d25d0b https-dns-proxy: bugfix: prevent creation of empty interface trigger
45cdc8646 simple-adblock: remove unnecessary procd_add_reload_interface_trigger
667ba4294 adblock: update 4.1.5-2
1b93c3104 https-dns-proxy: bugfix: remove canary domains
7a7b95639 https-dns-proxy: bugfix: remove wan6 from procd triggers
9b6e0fde7 irqbalance: update to 1.9.1
40006c97c irqbalance: add meson
dc768d941 irqbalance: handle deepestcache option
b365fdf8c adblock: update 4.1.5
de80dad8c ddns-scripts: fix cloudflare&digitalocean provides
b0e520855 ddns-scripts: add PROVIDES for old package names
e8fc00367 simple-adblock: update to 1.9.2-1
f8262f405 tailscale: add version tests
20595747f tailscale: fix -version
37fd7c031 libxml2: update to 2.10.3
ceba4b361 https-dns-proxy: upstream bugfix for ca_info
b201f469c numpy: bump to version 1.23.3
93d378788 nebula: implement netifd support
746c6519f smartdns: update to 1.2022.38.1
2022-10-24 16:26:37 +02:00
Tom Herbers
1a7acd4699
modules: update openwrt
00d7702796 mac80211: Update to version 5.15.74-1
7a3d5959af ath79: fix reference clock for RouterBoard 912UAG
b5cb5f352d ramips: fix WAN mac address allocation for Unielec 01 and 06 models
ef5b1ffb9e ramips: rt3883: enable lzma-loader for Belkin F9K1109v1
b0ab21d9d0 ramips: mt7621: enable lzma-loader for Asus RT-N56U-B1
40465adbbf bcm53xx: enable Broadcom 4366b1 firmware for Asus RT-AC88U
b37ff14302 wireless-tools: add package CPE ID
69e6486136 ncurses: add package CPE ID
573606991e arm-trusted-firmware-sunxi: add package CPE ID
714345d35a libnftnl: add package CPE ID
e946d9aa9d octeon: fix imagebuilder generation by introducing generic target
6cffcb2e9f ath79: support Ruckus ZoneFlex 7321
85a7588c90 ath79: support Ruckus ZoneFlex 7372
08969f61b0 kernel: add kmod-nvme package
c1c85629b9 kernel: mtd: fix unbalanced of_node_put() in dynamic partitions code
5c0c01d226 kernel: bump 5.10 to 5.10.149
980aad01d1 kernel: bump 5.10 to 5.10.148
fb11c63511 kernel: bump 5.10 to 5.10.147
8fefd5c26c mt7621: hiwifi_hc5962: fix reboot loop by using LZMA loader
f59dcb92cf ucode: update to latest Git HEAD
f1d7f1c70f firewall4: update to latest Git HEAD
36a808b7bc mt7621: netgear_ex6150: fix reboot loop by using LZMA loader
12acecd114 OpenWrt v22.03.2: revert to branch defaults
ea845f76ea OpenWrt v22.03.2: adjust config defaults
9a599fee93 firewall4: update to latest Git HEAD
30de1b5031 ucode: update to latest Git HEAD
fa4ec03993 rpcd: update to latest Git HEAD
2022-10-24 16:26:29 +02:00
Jan-Niklas Burfeind
e828ff190f
Merge pull request #2577 from dg0tm/fix_site-example
docs: fix site-example
2022-10-24 10:29:51 +02:00
Christoph Kottke
36ab60ff45 docs: fix site-example 2022-10-24 07:55:24 +02:00
David Bauer
2f318afd2e
Merge pull request #2648 from grische/proper_7360v2_migration
xrx200: ensure the correct version for fritz7360
2022-10-21 13:33:53 +02:00
David Bauer
cea79e9e63
Merge pull request #2681 from grische/feature/fritz7520
ipq40xx-generic: add AVM FRITZBox 7520 explicitely
2022-10-21 13:33:33 +02:00
Grische
5888a50cba ipq40xx-generic: add AVM FRITZBox 7520 explicitely
AVM Fritz!Box 7520 and Fritz!Box 7530 use the same hardware platform and can
only be distinguished by using the urlader partition or the fritz-tffs tools
and read the ProductID (Fritz_Box_HW247).
2022-10-21 13:10:26 +02:00
Grische
e4ec16d9cd xrx200: migrate fritz7360-v2 using incorrect image
Migrate AVM FRITZ!Box 7360 v2 boards flashed with the incorrect v1 image to use
the newly added v2 target image during the next upgrade.
Using the v2 target image allows the boards to read the TFFS partition, which
is misaligned when using the v1 image.

Co-authored-by: Jan-Niklas Burfeind <git@aiyionpri.me>
2022-10-18 20:06:07 +02:00
Martin Weinelt
8f5636a713
Merge pull request #2678 from blocktrron/backport-v2022.1.1-rn 2022-10-18 10:55:35 +02:00
Martin Weinelt
0c66dc86d2
Merge pull request #2600 from herbetom/bridge-isolated-devices 2022-10-18 10:50:03 +02:00
David Bauer
e049e0bd4b docs: add Gluon 2022.1.1 release notes
(cherry picked from commit 59c5eb6866)
2022-10-18 10:39:59 +02:00
Martin Weinelt
8528a85089
Merge pull request #2674 from AiyionPrime/fix-tl-wr4900v1name 2022-10-17 15:51:19 +02:00
Jan-Niklas Burfeind
aa35559f13
Merge pull request #2673 from blocktrron/nwa50ax
ramips-mt7621: add support for ZyXEL NWA50AX
2022-10-17 15:21:44 +02:00
Jan-Niklas Burfeind
267124b520 supported_devices: specify revision of wdr4900 v1 2022-10-17 14:33:45 +02:00
David Bauer
33fa77a760 ramips-mt7621: add support for ZyXEL NWA50AX 2022-10-15 13:57:37 +02:00
David Bauer
1077984193
Merge pull request #2671 from blocktrron/wdr4900-updates
mpc85xx-p1010: re-enable TP-Link WDR4900
2022-10-15 11:15:04 +02:00
David Bauer
301443da02 mpc85xx-p1010: re-enable TP-Link WDR4900
Upstream added a standalone SPI kernel-loader which fixes the unbootable
image for the WDR4900. Thus, we can re-introduce this device to Gluon.

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-10-15 02:10:26 +02:00
David Bauer
95385f6de7 modules: update packages
dba8a0102 gnunnet: halt build if any command fails
c1700e3a3 gnunnet: don't copy non-existing files
9c68da83e gnunet: gnunet-rest: add libjose dependency
e1d799255 opendoas: avoid libpam dependency
53c0a2767 Revert "wget: update to 1.21.3"
e0502e477 zabbix: add variants for SSL support opkg does not offer ssl varients: zabbix-agentd zabbix-sender zabbix-get zabbix-proxy zabbix-server
f9bbda2e4 wget: update to 1.21.3
0f48935ab auc: update to 0.3.1
62a7ef57d auc: update to version 0.3.0
427008a2a snowflake: update to version 2.3.1
d57a6a35b perl-net-dns: update to version 1.35
b4be6d6b1 pcsc-lite: update to verion 1.9.9
37de51dba gawk: update to version 5.2.0
5ca1c82f8 libksba: update to version 1.6.1
c033edcca gnunet: update to version 0.17.5
30b493619 libp11: update to version 0.4.12
f8f768f90 libinput: update to version 1.19.4
19874c3a7 libevdev: update to version 1.13.0
7dc69e306 postgresql: update to version 14.5
4493098f6 pcsc-lite: update to version 1.9.8
5d5348bc5 exim: update to version 4.96
8013e8929 gpgme: update to version 1.18.0
d0dd2a730 cryptsetup: update to version 2.5.0
c2296d930 lvm2: update to release 2.03.16
2022-10-15 02:10:26 +02:00
David Bauer
c5e297e9c8 modules: update openwrt
a7fb589e8a image: always rebuild kernel loaders
5db6914f7c mpc85xx: p1010: make TP-Link WDR4900 v1 build again
f7a43e4606 mpc85xx: add SPI kernel loader for TP-Link TL-WDR4900 v1
c1fcca50ba ramips: fix ZyXEL NWA55AXE model name
2050bc4f64 ramips: add support for ZyXEL NWA50AX / NWA55AXE
bc8e24c654 busybox: nslookup: ensure unique transaction IDs for the DNS queries
2022-10-15 02:10:26 +02:00
Jan-Niklas Burfeind
935e0534ac
Merge pull request #2668 from herbetom/master-updates
modules: update to latest HEAD
2022-10-13 20:47:31 +02:00
Tom Herbers
b8bb950e62
modules: update routing
8502870 opennds: Release v9.9.0
2022-10-13 15:14:43 +02:00
Tom Herbers
3e0919d6a4
modules: update packages
33d0a7adc python3: update to 3.10.7
bb4943d55 curl: error out if wolfSSL is not usable
4d900b2a1 v2ray-geodata: split from xray-geodata
9bdab0d79 v2ray-core: add new package
bda5d8e3b yq: Update to 4.28.1
0e4e3743f cloudflared: Update to 2022.10.0
f5d5326c0 cloudflared: Update to 2022.9.1
972fb7861 gg: Update to 0.2.13
c243509b6 dnsproxy: Update to 0.45.2
44034384a dnsproxy: Update to 0.45.0
a1d8cd172 python3-pytz: bump to version 2022.4
2022-10-13 15:14:42 +02:00
Tom Herbers
416d75d48a
modules: update openwrt
f1de43d0a0 mac80211: backport security fixes
a077c6da98 mac80211: merge upstream fixes
b6487c3ccc ramips: skip bbt scan on mt7621
33457ebf0b ramips: enable support for mtk_bmt in the nand flash driver
cc8326443d ramips: mt7621_nand: initialize ECC_FDMADDR
1918404b1d ramips: mt7621_nand: reduce log verbosity
07ea71c7b7 ramips: move mt7621_nand driver to files
fb31038e1f kernel: mtdsplit: support UBI after FIT images
329b1543f3 kernel: mtk_bmt: skip bitflip check if threshold isn't set
42c8610efc kernel: mtk_bmt: add debugfs file to attempt repair of remapped sectors
bb5d415b19 kernel: add support for mediatek NMBM flash mapping support
737ee934d2 kernel: mtk_bmt: on error, do not attempt to remap out-of-range blocks
a78fd5bbb6 kernel: mtk_bmt: fix block copying on remap with bmt v2
0c21f06ef7 kernel: mtk_bmt: allow get_mapping_block to return an error
a2ce32579f kernel: split up mtk_bmt driver code
c2d55b73d9 OpenWrt v22.03.1: revert to branch defaults
eca6fc6ea0 OpenWrt v22.03.1: adjust config defaults
2022-10-13 15:14:40 +02:00
goligo
d3a220d10b
ath79-generic: Fix autoupdater for Loco M XW from v2021.1.x to v2022.1.x (#2664)
Ubiquiti Nanostation Loco M XW was renamed in v2022.1.x, but the alias to the old name was missing, so devices running the old release did not update.
2022-10-12 01:21:32 +02:00
Tom Herbers
33adfb1aeb
ath79: add support for Extreme Networks WS-AP3805i (#2659) 2022-10-08 15:56:21 +02:00
David Bauer
ece6a62637
hostapd: don't select indoor channel on outdoor operation (#2650)
Don't select channels designated for exclusive-indoor use when the
country3 element is set on outdoor operation.

This effectively prevents from using indoor-only channels in case
outdoor-mode is activated. It can be seen as a safeguard from selecting
inapprpriate channels in a site outdoor-chanlist.

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

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-10-08 02:51:31 +02:00
David Bauer
ad481c9f4f
Merge pull request #2661 from herbetom/master-updates
modules: update to latest HEAD
2022-10-08 01:49:00 +02:00
Tom Herbers
e4c7b7d29e modules: update packages
d3a4c41a5 bind: bump to 9.18.7
47e5343d5 https-dns-proxy: update to 2022-08-12-1
2022-10-08 01:45:12 +02:00
Tom Herbers
3f880e4678 modules: update openwrt
2853b6d652 ath79: fix model name of Extreme Networks WS-AP3805i
2022-10-08 01:45:03 +02:00
David Bauer
ebe3ca9d33
Merge pull request #2657 from herbetom/master-updates
modules: update to latest HEAD
2022-10-08 01:19:27 +02:00
Tom Herbers
32e7cf941a
modules: update packages
5df363db7 libgd: avoid recursive and redundant dependencies
24ad5359f tor: update to 0.4.7.10
1a070a289 expat: update to 2.4.9
2f2989e3e lighttpd: remove deprecated modules
f9515613f node: bump to v16.17.1
7869127db https-dns-proxy: add settings for canary domains
a4a6411e1 https-dns-proxy: bugfix: prevent canary domains duplicates
f624e41f3 treewide: fix security issues by bumping all packages using libwolfssl
ea8108a31 Revert "treewide: fix security issues by bumping all packages using libwolfssl"
0ddec62e6 treewide: fix security issues by bumping all packages using libwolfssl
2d061d1cb openvpn: explicitly disable engine parameter for openssl variant
0c670f870 openvpn: update to 2.5.7
50ae0353a openvpn: update to 2.5.6
8377e516e rtty: update to 8.0.1
7acb46001 php8: update to 8.1.11
52ddf2f0b nextdns: initialize nextdns from /etc/uci-defaults
eddc92a17 dnslookup: Update to 1.8.0
356534dd4 simple-adblock: allow domains bugfix & canary domains support
de00aad59 https-dns-proxy: uci wrappers & iCloud canary domains
b0e693092 bandwidthd: fix format warnings
a9423d894 unbound: update to version 1.16.3
d053da000 simple-adblock: update to 1.9.1-1
bc1598892 curl: bugfix: github source url
eed717e6e pdns-recursor: update to 4.7.3
8df44cb6e libs/cjson: bump to 1.7.15
44f898f98 pagekite: add patchs for 64bit time
d5aa9d76e mosquitto: bump to 2.0.15
4419a76ba mosquitto: add missing 'persistence' section in config
376f1afdd poemgr: update to latest HEAD
1eea84cca poemgr: fix conffiles path
5092dbd14 adblock: update 4.1.4-5
3f9a88d21 adblock: add lightswitch05 blocklist source
0247d720e hping3: add new package
be7e4f8e3 snowflake: run snowflake-proxy with procd-ujail
8c028f4fd snowflake: add package
aaedc165d squid: fix compilation with libxml (fixes #19099)
e563fe383 gatling: add package gatling
81c068840 gg: Update to 0.2.11
40106c7dc yq: Update to 4.27.5
05d1265cb xray-core: Update to 1.6.0
8a2bd2754 lighttpd: update to lighttpd 1.4.67 release hash
4df5d1348 tang: update directory
f50dc54f2 Revert "jose: remove libjose"
9550d45fd Revert "jose: fix static library usage"
5a02ae2fe knot-resolver: update to 5.5.3
88257a87a libtorrent-rasterbar: Update to 2.0.7
954dd3b90 dockerd: Update to v20.10.18
a2defb8a6 docker: Update to v20.10.18
78949c659 libnetwork: Update to 0dde5c8 for Docker v20.10.18
3ffff095c containerd: Update to v1.6.8 for Docker v20.10.18
3ef01e4dd runc: Update to v1.1.4 for Docker v20.10.18
1e329ed5e libxml2: update to 2.10.2
c4d8769c8 curl: update to 7.85.0
2022-10-06 16:11:23 +02:00
Tom Herbers
29b26c467d
modules: update openwrt
f579b8538b ath79: add low_mem to tiny image
4b5bd15091 ath79: move ubnt-xm to tiny
977f6f36a0 kernel: fix possible mtd NULL pointer dereference
562894b39d treewide: fix security issues by bumping all packages using libwolfssl
ce59843662 wolfssl: fix TLSv1.3 RCE in uhttpd by using 5.5.1-stable (CVE-2022-39173)
3d2be75b0c wolfssl: refresh patches
0c8425bf11 wolfssl: bump to 5.5.0
2c49ad36fb kernel: bump 5.10 to 5.10.146
f04515e7bd kernel: bump 5.10 to 5.10.145
a91f391b59 kernel: bump 5.10 to 5.10.144
25747a4c04 ramips: fix switch setup for ASUS RT-AX53U
23d23038dd uboot-mvebu: backport LibreSSL patches for older version of LibreSSL
1ff2993edb uboot-mvebu: backport patch to fix compilation on non glibc system
d30ddfbac4 ramips: enable LZMA loader to fix Linksys RE6500 boot
ed905fce58 tools/meson: backport WSL2 fix
e5ab159fbf firmware: intel-microcode: update to 20220809
938ae92675 toolchain: Include ./include/fortify for external musl toolchain
8f72f5e4c0 toolchain: Select USE_SSTRIP with external musl toolchain
4ad6925a9e scripts: ext-toolchain: add support for musl
65bd632069 scripts: ext-toolchain: add support for info.mk in probe_cc
b0622d1221 scripts: ext-toolchain: actually probe libc type on config generation
d1a6c35591 scripts: ext-toolchain: add option to overwrite config
24cf766dfe scripts: ext-toolchain: fix wrong prefix in print_config generation
18a88668b8 rules_mk: don't include wrapped bin with external toolchains
29927e347a rules_mk: use gcc versions for external toolchain
cd117f0596 bcm53xx: backport clk driver fix for DT nodes names
9dc46d6549 ath79: fix LibreRouter-v1 watchdog and poe_pass
0cb3a616e4 build: fix warnings from grep
463fe05d9e Makefile: fix stray \ warnings with grep-3.8
25d8b9cad6 build: fix issues with targets installed via feeds
74eeee1698 build: fix including modules.mk for targets pulled in from feeds
dafac183f3 mpc85xx: add patch to fix gpio mpc8xxx
7707b47c72 ramips: fix fw_setsys
f3ffb04a43 kernel: add missing symbol
2a6346725a bcm4908: fix -EPROBE_DEFER support in bcm4908_enet
700f5d2990 kernel: update U-Boot NVMEM driver
acc78a9cf6 bcm4908: backport mtd parser for Broadcom's U-Boot partition
2022-10-06 16:11:21 +02:00
David Bauer
8f11053e30
Merge pull request #2652 from blocktrron/upstream-master-updates
modules: update modules
2022-09-21 22:47:29 +02:00
David Bauer
433de1591e modules: update packages
74d181312 php8: update to 8.1.10
d86df0df5 jose: fix static library usage
fd5ba6154 adblock: update 4.1.4-3
dfaa4bad5 uacme: add libev dependency to uacme-ualpn
ed56ca2aa nextdns: Update to version 1.37.11
2022-09-20 21:28:47 +02:00
David Bauer
91df13c8b1 modules: update openwrt
b472753d79 mediatek: fix Unifi 6LR network config
c0b7b2049e mpc85xx: fix unset kernel symbols
7c459ac1d5 mac80211: rt2x00: experimental improvements for MT7620 wifi
d004110ef7 mac80211: rt2x00: fix typo
0755c18ff1 mac80211: add patch descriptions to rt2x00 patches
7a26f40217 mediatek: fix ledbar of UniFi 6 LR when running custom U-Boot
f54d4ea0bb ramips: add support for Ubiquiti UniFi FlexHD
a28ccd58ed ath79: Make patches apply again
2419546cee generic: move ledbar driver from mediatek target
420a86436f mediatek: add led count
40610c5322 mediatek: add initialization after reset
26cd0c1ee9 mediatek: add support for reset gpio
b5665a0045 mediatek: support reading more than one byte of response
cd0283788f mediatek: cast literal value to char
a2d251573b mediatek: correctly log i2c response
7366ee86ef mediatek: remove gpiod_direction_output()
ba6c780acb mediatek: do not use gpiod_set_raw_value()
745d3cd4aa kernel: modules: package kmod-crypto-essiv
a3f9b42789 mediatek: fix typo in bpi-r64 image recipe
29c5d5d3da mediatek: bpi-r64: make initramfs/recovery optional
d10352917b ramips: fix GB-PC1 and GB-PC2 LEDs
0c9833d0e0 wireless-regdb: update to 2022-08-12
be4abbd84a kernel: bump 5.10 to 5.10.143
4e05e7dddf kernel: bump 5.10 to 5.10.142
1b0db300cb kernel: bump 5.10 to 5.10.141
bf65d2dcba kernel: bump 5.10 to 5.10.139
e7ef88ff1d kernel: build crypto md5/sha1/sha256 modules for powerpc
2022-09-20 21:28:47 +02:00
David Bauer
115aad0931
Merge pull request #2646 from herbetom/master-updates
modules: update to latest HEAD
2022-09-18 03:08:37 +02:00
Tom Herbers
1417467bd4
modules: update packages
219b0a1e5 python-flask-socketio: update to 5.3.1
20da9e28b  adblock: update 4.1.4-2
aaf90f333  adblock: update 4.1.4
6b13e6e67 yt-dlp: update to 2022.9.1
78d60b3c0 knot: update to version 3.2.1
b3373efe5 python3: backport and fix target musl libc detection
cd3d6156f aria2: Fix aria2.init start issue Re-mount '$config_file' inside the '$config_dir' will cause aria2 process unable to start.
2022-09-16 19:05:25 +02:00
Tom Herbers
6dfd6ee834
modules: update openwrt
81388f74b5 scripts/download.pl: fix downloads with wget
b8cbca8ac8 scripts/download.pl: silence can't exec curl warning
340b138932 scripts: always check certificates
b5e39355e4 tools: remove xxd package
b531611f57 build: provide xxd -i with scripts/xxdi.pl
542447b93e scripts: xxdi.pl: add xxd -i compat mode
4c795af58b scripts: xxdi.pl: remove File::Slurp dependency
a352e30b8f scripts: add xxdi.pl
b3fa0241e2 mac80211: backport tx queueing bugfixes add a bug fix for a rare crash
94372ab6e4 bcm53xx: update NVMEM driver for NVRAM
cae4d089bc kernel: backport mtd dynamic partition patch
2022-09-16 19:05:23 +02:00
Tom Herbers
e272db6370
ath79-nand: fix upgrade from 19.07 for GL-AR300M (#2640)
Support for the device was (re)added in #2455
(merged as 94e04393b1)
2022-09-12 16:27:29 +02:00
David Bauer
d972a9df2c
gluon-core: use country3 UCI option (#2639)
Use the country3 option implemented in OpenWrt's hostapd configuration
handling instead of adding it as a custom option.

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

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-09-12 16:27:06 +02:00
David Bauer
3ab8007a1e
ipq40xx-generic: add suppot for GL.iNet GL-AP1300 (#2635) 2022-09-12 02:45:01 +02:00
David Bauer
dd30a6e658
rockchip-armv8: add support for NanoPi R4S (#2633) 2022-09-12 02:44:30 +02:00
David Bauer
6ecf0a994c
Merge pull request #2637 from blocktrron/zte-mf281
ath79-nand: add support for ZTE MF281
2022-09-12 02:43:59 +02:00
David Bauer
94249bfa6a ath79-nand: add support for ZTE MF281
Signed-off-by: David Bauer <mail@david-bauer.net>
2022-09-12 02:43:27 +02:00
David Bauer
e42adda8ad
Merge pull request #2638 from blocktrron/upstream-master-updates
modules: update to latest Git HEAD
2022-09-11 22:32:48 +02:00
David Bauer
55621d9fd1 modules: update packages
f8fec60bd ksmbd-tools: add package with hotplug.d script for auto sharing
1a0524616 ksmbd-tools: append config from /var/run/config/ for runtime shares
2022-09-11 16:26:12 +02:00
David Bauer
b3e9bcd615 modules: update openwrt
308f0831f7 ipq40xx: add GL-AP1300 label-mac-device
b317d3dbfb ipq40xx: add WAN LED mapping for GL-AP1300
2022-09-11 16:26:03 +02:00
David Bauer
cf939adfa4
Merge pull request #2636 from blocktrron/upstream-master-updates
modules: update to latest HEAD
2022-09-10 13:21:57 +02:00
David Bauer
5fc0c5afdc modules: update packages
764ba9c09 cloudflared: Update to 2022.9.0
29fdb5086 lxc: update to 5.0.1
2022-09-10 13:14:55 +02:00
David Bauer
d780247750 modules: update openwrt
fff797d26e rockchip: add system-LED aliases specific to OpenWrt
18f77ef2d6 rockchip: ensure NanoPi R4S has unique MAC address
8ff1d27e48 realtek: fix RTL839x receive tag decoding
2022-09-10 13:14:49 +02:00
David Bauer
c55ee3b7d1
Merge pull request #2634 from blocktrron/upstream-master-updates
modules: update to latest HEAD
2022-09-09 23:20:34 +02:00
David Bauer
f6f0e38d4e modules: update packages
701278306 syslog-ng: update to version 3.38.1
1342b58f2 miniupnpd: rework firewall4 integration
7cc0a0eab miniupnpd: update and fix nftables variant
2022-09-09 18:20:35 +02:00
David Bauer
622e925fea modules: update openwrt
25a041f50b ipq40xx: add LTE packages for GL-AP1300
daf1fdc6ad ath79: add support for ZTE MF281
47ba7cdfc3 realtek: fix RTL838x receive tag decoding
da7b26dfb8 mt76: update to the latest version
ab61232b0a hostapd: rename hostapd multicast_to_unicast option to multicast_to_unicast_all
2022-09-09 18:20:25 +02:00
Tom Herbers
19b54dd56f
patches: rebase MLD Querier wake up calls Android bug workaround (#2629) 2022-09-05 22:49:57 +02:00
David Bauer
375fc23d1f
Merge pull request #2628 from herbetom/master-updates-HEAD
modules: update to latest HEAD
2022-09-05 20:43:09 +02:00
T-X
0530b06557
kernel: bridge: readding MLD wakeup call feature (#2365)
With the update to OpenWrt 21.02 the bridge MLD wakeup call feature was
removed. However the issue with Android devices and MLD is still
present. Therefore readding the bridge MLD wakeup call patch and porting
it to Linux 5.10 / OpenWrt 22.03.

Link: https://issuetracker.google.com/issues/149630944
Fixes: aab2b914b8 ("modules: switch to OpenWrt 21.02")
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2022-09-05 20:42:37 +02:00
Tom Herbers
4e6b7cf607
modules: update packages
85e6f9348 dnslookup: Update to 1.7.3
529842c78 dnsproxy: Update to 0.44.0
9951bdcb9 cloudflared: Update to 2022.8.4
c3a153bdb pillow: bump to version 9.2.0
7977389b2 pillow: bump to version 9.1.1
b15b99eed pillow: bump to version 9.1.0
b0fe84ca4 gg: Update to 0.2.9
5819aa071 xray-core: Update to 1.5.10
c5619b78d yq: Update to 4.27.3
426ccd2e0 uvol: fix autopart handling double/float number
32e4d8fa5 python-pycares: add new package
5dc5c7966 node: bump to v16.17.0
4c311180d strongswan: add kernel module dependency on chapoly
8b04b607a i2pd: update to version 2.43.0
240a8db7e i2pd: Update package
b519548e4 zoneinfo: updated to the latest release
fc47ed5f1 zoneinfo: updated to the latest release
2022-09-05 13:55:31 +02:00
Tom Herbers
8ed040fb32
modules: update openwrt
39c115028a bcm27xx: make NVMEM driver patch apply again
03c251ac14 bcm4908: enable NVMEM U-Boot env data driver
4efa0b70d5 kernel: backport U-Boot environment data NVMEM driver
8835da4d90 kernel: backport mtd patch adding of_platform_populate() calls
510f0628c7 OpenWrt v22.03.0: revert to branch defaults
17bd6b0477 OpenWrt v22.03.0: adjust config defaults
512e76967f uboot-mediatek: mt7622: suppress unwanted pinctrl warning
d691625ec4 mediatek: mt7622: fix DTS compatible of UniFi 6 LR variants
93e6581b90 uboot-mediatek: backport fix for unstable UART on MT7622
3889f90ee2 uboot-mediatek: no compression means IH_COMP_NONE
8ff8a4dc9e uboot-mediatek: fix factory reset on UBI
aebb19d34b uboot-envtools: mt7622: use 4k sectors for UniFi 6 LR (ubootmod)
557e4cb169 mediatek: mt7622: use variable sector size for spi-nor
f7c358c2ad uboot-mediatek: fix Ubiquiti UniFi 6 LR U-Boot mod
ae1786e543 mpc85xx: Drop pci aliases to avoid domain changes
ea4ec11f4e at91bootstrap: use sdmmc0 as booting media for sama5d27_som1_ek
c53fea7a8a uboot-at91: use sdmmc0 as booting media for sama5d27_som1_ek
2ae0ad375b kernel: rename 5.20 patches to 6.0
d3ccf0976a bcm4908: enable & setup packet steering
30bce90d84 bcm4908: prepare for Asus GT-AX6000 support
b8b5ee12cd bcm4908: backport bcmbca DT patches queued for 5.20
a79a21b509 bcm53xx: backport DT changes from 5.17 & 5.18
3abed8406b bcm53xx: drop dead upgrade code
caa43f4428 firewall4: update to latest Git HEAD
26b436e2a2 ucode: update to latest Git HEAD
0588b124e4 mac80211: disable ft-over-ds by default
dced5f2c95 ramips: define Yuncore AX820 switch LEDs
e497818e18 ath79: add support for Extreme Networks WS-AP3805i
9703a2adcc kernel: Refresh on 5.10.138
251336639c mbedtls: update to version 2.28.1
dddf01c508 Revert "mediatek: mt7622: fix banana pi r64 wps button"
89956c6532 kernel: bump 5.10 to 5.10.138
4209c33ae2 kernel: bump 5.10 to 5.10.137
a901a13505 iptables: default to ip(6)tables-nft when using buildroot
2022-09-05 13:55:30 +02:00
Tom Herbers
33779ccd96
gluon-core: enable bridge port isolation for br-mesh_other interfaces 2022-08-09 10:51:55 +02:00
naveen
341ed3b311 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-08 01:00:16 +00:00
aiyion.prime
6b6a091634 fixup! gluon-mesh-babel: implement neighbour check 2022-01-14 11:47:37 +01:00
aiyion.prime
9c197daf78 gluon-mesh-babel: implement neighbour check 2021-08-13 09:00:50 +02:00
223 changed files with 5806 additions and 2849 deletions

3
.ecrc Normal file
View File

@ -0,0 +1,3 @@
{
"Exclude": ["docs/_build"]
}

View File

@ -7,18 +7,43 @@ insert_final_newline = true
indent_style = tab
charset = utf-8
[Dockerfile]
indent_style = space
indent_size = 4
[/patches/**]
indent_style = unset
indent_size = unset
[*.c]
[*.css]
[*.dia]
indent_style = space
indent_size = 2
[*.h]
[*.html]
[*.js]
[*{.json,.ecrc}]
indent_style = space
indent_size = 2
[*.lua]
[{Makefile,*.mk}]
indent_style = unset
[*.md]
indent_style = space
indent_size = 4
[*.pl]
[*.py]
indent_style = space
indent_size = 4
@ -27,6 +52,8 @@ indent_size = 4
indent_style = space
indent_size = 2
[*.sh]
[*.yml]
indent_style = space
indent_size = 2
@ -34,3 +61,7 @@ indent_size = 2
[CMakeLists.txt]
indent_style = space
indent_size = 2
[{docs,contrib/ci}/*site*/**/*.conf]
indent_style = space
indent_size = 2

View File

@ -6,7 +6,7 @@ label: bug
<!--
Please carefully fill out the questionaire below to help improve the
Please carefully fill out the questionnaire below to help improve the
timely triaging of issues. Walk through the questions below and use
them as an inspiration for what information you can provide.

View File

@ -1,4 +1,4 @@
# Docs: <https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/customizing-dependency-updates>
# Docs: <https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/customizing-dependency-updates>
version: 2

19
.github/filters.yml vendored
View File

@ -56,6 +56,16 @@
"targets/generic",
"targets/targets.mk"
],
"ipq40xx-mikrotik": [
"targets/ipq40xx-mikrotik",
"modules",
"Makefile",
"patches/**",
"scripts/**",
"targets/generic",
"targets/targets.mk",
"targets/mikrotik.inc"
],
"ipq806x-generic": [
"targets/ipq806x-generic",
"modules",
@ -137,6 +147,15 @@
"targets/generic",
"targets/targets.mk"
],
"realtek-rtl838x": [
"targets/realtek-rtl838x",
"modules",
"Makefile",
"patches/**",
"scripts/**",
"targets/generic",
"targets/targets.mk"
],
"rockchip-armv8": [
"targets/rockchip-armv8",
"modules",

View File

@ -2,6 +2,9 @@ name: Backport
on:
pull_request_target:
types: [closed, labeled]
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
jobs:
backport:
name: Backport Pull Request
@ -10,10 +13,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Create backport PRs
uses: zeebe-io/backport-action@v0.0.8
uses: korthout/backport-action@v1.2.0
with:
# Config README: https://github.com/zeebe-io/backport-action#backport-action
github_token: ${{ secrets.GITHUB_TOKEN }}
github_workspace: ${{ github.workspace }}
# Config README: https://github.com/korthout/backport-action#backport-action
pull_description: |-
Automatic backport to `${target_branch}`, triggered by a label in #${pull_number}.

View File

@ -9,6 +9,9 @@ on:
paths:
- 'docs**/'
- '.github/workflows/build-docs.yml'
permissions:
contents: read
jobs:
build-documentation:
name: docs

View File

@ -8,8 +8,14 @@ on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
changed:
permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests
runs-on: ubuntu-latest
outputs:
targets: ${{ steps.filter.outputs.changes }}
@ -28,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# Read back changd targets to create build matrix
# Read back changed targets to create build matrix
target: ${{ fromJSON(needs.changed.outputs.targets) }}
runs-on: ubuntu-latest
steps:

View File

@ -12,6 +12,9 @@ on:
- 'modules'
- 'patches/**'
- '.github/workflows/check-patches.yml'
permissions:
contents: read
jobs:
check-patches:
name: Check patches

View File

@ -4,8 +4,14 @@ on:
# only execute base branch actions
pull_request_target:
permissions:
contents: read
jobs:
labels:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
runs-on: ubuntu-latest
if: github.repository_owner == 'freifunk-gluon'
steps:

View File

@ -3,6 +3,9 @@ on:
push:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
lua:
name: Lua
@ -27,3 +30,25 @@ jobs:
run: ln -s ./docs/site-example ./site
- name: Lint shell code
run: make lint-sh
editorconfig:
name: Editorconfig
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: sudo apt install curl tar
- name: Install editorconfig-checker
env:
VERSION: 2.7.0
OS: linux
ARCH: amd64
run: |
curl -O -L -C - https://github.com/editorconfig-checker/editorconfig-checker/releases/download/$VERSION/ec-$OS-$ARCH.tar.gz
tar xzf ec-$OS-$ARCH.tar.gz
sudo mv ./bin/ec-$OS-$ARCH /usr/bin/editorconfig-checker
sudo chmod +x /usr/bin/editorconfig-checker
- name: Install example site
run: ln -s ./docs/site-example ./site
- name: Lint editorconfig
run: make lint-editorconfig

View File

@ -29,6 +29,7 @@ files["package/**/check_site.lua"] = {
"need",
"need_alphanumeric_key",
"need_array",
"need_array_elements_exclusive",
"need_array_of",
"need_boolean",
"need_chanlist",
@ -50,6 +51,7 @@ files["package/**/check_site.lua"] = {
files["package/**/luasrc/lib/gluon/config-mode/*"] = {
globals = {
"MultiListValue",
"DynamicList",
"Flag",
"Form",
@ -63,6 +65,7 @@ files["package/**/luasrc/lib/gluon/config-mode/*"] = {
"translate",
"translatef",
"Value",
"Element",
},
}

View File

@ -11,6 +11,10 @@ sphinx:
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: docs/requirements.txt
build:
os: ubuntu-22.04
tools:
python: "3.8"

30
.woodpecker.yml Normal file
View File

@ -0,0 +1,30 @@
workspace:
base: /build
#clone:
# git:
# image: woodpeckerci/plugin-git
# settings:
# recursive: true
pipeline:
build-${TARGET}:
image: "ubuntu:latest"
pull: true
environment:
- input_version=v2022.1.4
- GLUON_SITEDIR=../site
- FORCE_UNSAFE_CONFIGURE=1
- GLUON_TARGET=${TARGET}
- GLUON_DEPRECATED=1
commands:
- echo ${TARGET}
# - git config --global init.defaultBranch main
# - sed -i 's/install/install file/' contrib/actions/install-dependencies.sh
# - sh contrib/actions/install-dependencies.sh
# - sh contrib/actions/run-build.sh ${TARGET}
matrix:
TARGET:
- ath79-generic
- x86-64

View File

@ -23,8 +23,8 @@ using other parts or why the proposed change breaks other parts of the system.
They might even refuse the idea altogether - after all, they have to sleep well
after merging the changes, too.
The preferred way to discuss in the IRC channel ([#gluon] on irc.hackint.org)
or on the [mailing list], however, you can also open a new issue on Github to
The preferred way to discuss is in the IRC channel ([#gluon] on irc.hackint.org)
or on the [mailing list], however, you can also open a new issue on GitHub to
discuss there. We maintain a [list of rejected features] and we'd like to
kindly ask you to review it first. In general, looking for duplicates may save
you some time.

View File

@ -1,7 +1,7 @@
The code of Project Gluon may be distributed under the following terms, unless
noted otherwise in individual files or subtrees.
Copyright (c) 2013-2022, Project Gluon
Copyright (c) Project Gluon
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@ -151,7 +151,10 @@ list-targets: FORCE
echo "$$target"
done
lint: lint-lua lint-sh
lint: lint-editorconfig lint-lua lint-sh
lint-editorconfig: FORCE
@scripts/lint-editorconfig.sh
lint-lua: FORCE
@scripts/lint-lua.sh

View File

@ -1,5 +1,5 @@
[![Build Gluon](https://github.com/freifunk-gluon/gluon/actions/workflows/build-gluon.yml/badge.svg?branch=master)](https://github.com/freifunk-gluon/gluon/actions/workflows/build-gluon.yml)
[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)
[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/license/bsd-2-clause/)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/freifunk-gluon/gluon?sort=semver)](https://github.com/freifunk-gluon/gluon/releases/latest)
# Gluon

View File

@ -3,6 +3,6 @@
set -e
apt-get -y update
apt-get -y install git subversion build-essential python3 gawk unzip libncurses5-dev zlib1g-dev libssl-dev wget time qemu-utils
apt-get -y install git build-essential python3 gawk unzip libncurses5-dev zlib1g-dev libssl-dev libelf-dev wget rsync time qemu-utils
apt-get -y clean
rm -rf /var/lib/apt/lists/*

View File

@ -1,4 +1,4 @@
-- This is an example site configuration for Gluon v2018.2+
-- This is an example site configuration for Gluon v2022.1
--
-- Take a look at the documentation located at
-- https://gluon.readthedocs.io/ for details.
@ -10,7 +10,7 @@
-- hostname_prefix = 'freifunk-',
-- Name of the community.
site_name = 'Continious Integration',
site_name = 'Continuous Integration',
-- Shorthand of the community.
site_code = 'ci',
@ -42,10 +42,14 @@
-- Wireless channel.
channel = 1,
-- ESSID used for client network.
-- ESSIDs used for client network.
ap = {
ssid = 'gluon-ci-ssid',
-- disabled = true, -- (optional)
-- Configuration for a backward compatible OWE network below.
owe_ssid = 'owe.gluon-ci-ssid', -- (optional - SSID for OWE client network)
owe_transition_mode = true, -- (optional - enables transition-mode - requires ssid as well as owe_ssid)
},
mesh = {
@ -64,8 +68,6 @@
outdoor_chanlist = '100-140',
ap = {
ssid = 'gluon-ci-ssid',
owe_ssid = "owe.gluon-ci-ssid",
owe_transition_mode = false,
},
mesh = {
-- Adjust these values!
@ -74,6 +76,12 @@
},
},
mesh = {
vxlan = true,
batman_adv = {
routing_algo = 'BATMAN_IV',
},
},
-- The next node feature allows clients to always reach the node it is
-- connected to using a known IP address.
@ -84,12 +92,16 @@
ip6 = 'fd::1',
},
mesh = {
vxlan = true,
batman_adv = {
routing_algo = 'BATMAN_IV'
}
},
-- Options specific to routing protocols (optional)
-- mesh = {
-- Options specific to the batman-adv routing protocol (optional)
-- batman_adv = {
-- Gateway selection class (optional)
-- The default class 20 is based on the link quality (TQ) only,
-- class 1 is calculated from both the TQ and the announced bandwidth
-- gw_sel_class = 1,
-- },
-- },
mesh_vpn = {
-- enabled = true,
@ -113,7 +125,18 @@
peers = {
},
-- Optional: nested peer groups
-- groups = {
-- backbone_sub = {
-- ...
-- },
-- ...
-- },
},
-- Optional: additional peer groups, possibly with other limits
-- backbone2 = {
-- ...
-- },
},
},
@ -130,7 +153,8 @@
},
autoupdater = {
-- Default branch. Don't forget to set GLUON_BRANCH when building!
-- Default branch (optional), can be overridden by setting GLUON_AUTOUPDATER_BRANCH when building.
-- Set GLUON_AUTOUPDATER_ENABLED to enable the autoupdater by default for newly installed nodes.
branch = 'stable',
-- List of branches. You may define multiple branches.

1
contrib/ci/olsr-site/i18n Symbolic link
View File

@ -0,0 +1 @@
../minimal-site/i18n

View File

@ -0,0 +1 @@
../minimal-site/modules

View File

@ -0,0 +1,176 @@
-- This is an example site configuration for Gluon v2022.1
--
-- Take a look at the documentation located at
-- https://gluon.readthedocs.io/ for details.
--
-- This configuration will not work as is. You're required to make
-- community specific changes to it!
{
-- Used for generated hostnames, e.g. freifunk-abcdef123456. (optional)
-- hostname_prefix = 'freifunk-',
-- Name of the community.
site_name = 'Continuous Integration',
-- Shorthand of the community.
site_code = 'ci',
-- 32 bytes of random data, encoded in hexadecimal
-- This data must be unique among all sites and domains!
-- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
domain_seed = 'e9608c4ff338b920992d629190e9ff11049de1dfc3f299eac07792dfbcda341c',
-- Prefixes used by clients within the mesh.
-- prefix6 is required, prefix4 can be omitted if next_node.ip4
-- is not set.
prefix6 = 'fdff:cafe:cafe:cafe::/64',
-- Prefixes used by nodes within the mesh
node_prefix6 = 'fdff:cafe:cafe:cafe::/64',
-- Timezone of your community.
-- See https://openwrt.org/docs/guide-user/base-system/system_configuration#time_zones
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
-- List of NTP servers in your community.
-- Must be reachable using IPv6!
-- ntp_servers = {'1.ntp.services.ffxx'},
-- Wireless regulatory domain of your community.
regdom = 'DE',
-- Wireless configuration for 2.4 GHz interfaces.
wifi24 = {
-- Wireless channel.
channel = 1,
-- ESSIDs used for client network.
ap = {
ssid = 'gluon-ci-ssid',
-- disabled = true, -- (optional)
-- Configuration for a backward compatible OWE network below.
owe_ssid = 'owe.gluon-ci-ssid', -- (optional - SSID for OWE client network)
owe_transition_mode = true, -- (optional - enables transition-mode - requires ssid as well as owe_ssid)
},
mesh = {
-- Adjust these values!
id = 'ueH3uXjdp', -- usually you don't want users to connect to this mesh-SSID, so use a cryptic id that no one will accidentally mistake for the client WiFi
mcast_rate = 12000,
-- disabled = true, -- (optional)
},
},
-- Wireless configuration for 5 GHz interfaces.
-- This should be equal to the 2.4 GHz variant, except
-- for channel.
wifi5 = {
channel = 44,
outdoor_chanlist = '100-140',
ap = {
ssid = 'gluon-ci-ssid',
-- disabled = true, -- (optional)
-- Configuration for a backward compatible OWE network below.
owe_ssid = 'owe.gluon-ci-ssid', -- (optional - SSID for OWE client network)
owe_transition_mode = true, -- (optional - enables transition-mode - requires ssid as well as owe_ssid)
},
mesh = {
-- Adjust these values!
id = 'ueH3uXjdp',
mcast_rate = 12000,
},
},
-- The next node feature allows clients to always reach the node it is
-- connected to using a known IP address.
next_node = {
-- anycast IPs of all nodes
name = { 'nextnode.location.community.example.org', 'nextnode', 'nn' },
ip4 = '10.0.0.1',
ip6 = 'fd::1',
},
-- Options specific to routing protocols (optional)
mesh = {
vxlan = true,
olsrd = {},
},
mesh_vpn = {
-- enabled = true,
fastd = {
-- Refer to https://fastd.readthedocs.io/en/latest/ to better understand
-- what these options do.
-- List of crypto-methods to use.
methods = {'salsa2012+umac'},
mtu = 1312,
-- configurable = true,
-- syslog_level = 'warn',
groups = {
backbone = {
-- Limit number of connected peers to reduce bandwidth.
limit = 1,
-- List of peers.
peers = {
},
-- Optional: nested peer groups
-- groups = {
-- backbone_sub = {
-- ...
-- },
-- ...
-- },
},
-- Optional: additional peer groups, possibly with other limits
-- backbone2 = {
-- ...
-- },
},
},
bandwidth_limit = {
-- The bandwidth limit can be enabled by default here.
enabled = false,
-- Default upload limit (kbit/s).
egress = 200,
-- Default download limit (kbit/s).
ingress = 3000,
},
},
autoupdater = {
-- Default branch (optional), can be overridden by setting GLUON_AUTOUPDATER_BRANCH when building.
-- Set GLUON_AUTOUPDATER_ENABLED to enable the autoupdater by default for newly installed nodes.
branch = 'stable',
-- List of branches. You may define multiple branches.
branches = {
stable = {
name = 'stable',
-- List of mirrors to fetch images from. IPv6 required!
mirrors = {'http://1.updates.services.ffhl/stable/sysupgrade'},
-- Number of good signatures required.
-- Have multiple maintainers sign your build and only
-- accept it when a sufficient number of them have
-- signed it.
good_signatures = 0,
-- List of public keys of maintainers.
pubkeys = {
},
},
},
},
}

View File

@ -0,0 +1,57 @@
## gluon site.mk makefile example
## GLUON_FEATURES
# Specify Gluon features/packages to enable;
# Gluon will automatically enable a set of packages
# depending on the combination of features listed
GLUON_FEATURES := \
autoupdater \
ebtables-filter-multicast \
ebtables-filter-ra-dhcp \
ebtables-limit-arp \
mesh-olsrd \
mesh-vpn-fastd \
respondd \
status-page \
web-advanced \
web-wizard
GLUON_FEATURES_standard := \
wireless-encryption-wpa3
## GLUON_SITE_PACKAGES
# Specify additional Gluon/OpenWrt packages to include here;
# A minus sign may be prepended to remove a packages from the
# selection that would be enabled by default or due to the
# chosen feature flags
GLUON_SITE_PACKAGES := iwinfo
## DEFAULT_GLUON_RELEASE
# version string to use for images
# gluon relies on
# opkg compare-versions "$1" '>>' "$2"
# to decide if a version is newer or not.
DEFAULT_GLUON_RELEASE := 0.6+exp$(shell date '+%Y%m%d')
# Variables set with ?= can be overwritten from the command line
## GLUON_RELEASE
# call make with custom GLUON_RELEASE flag, to use your own release version scheme.
# e.g.:
# $ make images GLUON_RELEASE=23.42+5
# would generate images named like this:
# gluon-ff%site_code%-23.42+5-%router_model%.bin
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
# Default priority for updates.
GLUON_PRIORITY ?= 0
# Region code required for some images; supported values: us eu
GLUON_REGION ?= eu
# Languages to include
GLUON_LANGS ?= en de

View File

@ -5,7 +5,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
file \
git \
subversion \
python3 \
build-essential \
gawk \
@ -21,7 +20,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ecdsautils \
lua-check \
shellcheck \
&& rm -rf /var/lib/apt/lists/*
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /tmp/ec &&\
wget -O /tmp/ec/ec-linux-amd64.tar.gz https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.7.0/ec-linux-amd64.tar.gz &&\
tar -xvzf /tmp/ec/ec-linux-amd64.tar.gz &&\
mv bin/ec-linux-amd64 /usr/local/bin/editorconfig-checker &&\
rm -rf /tmp/ec
RUN useradd -d /gluon gluon
USER gluon

View File

@ -4,7 +4,7 @@ use strict;
use warnings;
use Text::Balanced qw(extract_bracketed extract_delimited extract_tagged);
@ARGV >= 1 || die "Usage: $0 <source direcory>\n";
@ARGV >= 1 || die "Usage: $0 <source directory>\n";
my %stringtable;
@ -79,7 +79,7 @@ if( open F, "find @ARGV -type f '(' -name '*.html' -o -name '*.lua' ')' |" )
{
my $stag = quotemeta $1;
my $etag = $stag;
$etag =~ s/\[/]/g;
$etag =~ s/\[/]/g;
( $res ) = extract_tagged($code, $stag, $etag);

View File

@ -4,12 +4,12 @@
# Then you enter the command mode of qemu and can exit by typing "quit".
qemu-system-x86_64 \
-d 'cpu_reset' \
-enable-kvm \
-gdb tcp::1234 \
-nographic \
-netdev user,id=wan,hostfwd=tcp::2223-10.0.2.15:22 \
-device virtio-net-pci,netdev=wan,addr=0x06,id=nic1 \
-netdev user,id=lan,hostfwd=tcp::6080-192.168.1.1:80,hostfwd=tcp::2222-192.168.1.1:22,net=192.168.1.100/24 \
-device virtio-net-pci,netdev=lan,addr=0x05,id=nic2 \
"$@"
-d 'cpu_reset' \
-enable-kvm \
-gdb tcp::1234 \
-nographic \
-netdev user,id=wan,hostfwd=tcp::2223-10.0.2.15:22 \
-device virtio-net-pci,netdev=wan,addr=0x06,id=nic1 \
-netdev user,id=lan,hostfwd=tcp::6080-192.168.1.1:80,hostfwd=tcp::2222-192.168.1.1:22,net=192.168.1.100/24 \
-device virtio-net-pci,netdev=lan,addr=0x05,id=nic2 \
"$@"

View File

@ -29,11 +29,22 @@ lower="$(mktemp)"
trap 'rm -f "$upper" "$lower"' EXIT
awk 'BEGIN { sep=0 }
/^---$/ { sep=1; next }
{ if(sep==0) print > "'"$upper"'";
else print > "'"$lower"'"}' \
"$manifest"
awk 'BEGIN {
sep = 0
}
/^---$/ {
sep = 1;
next
}
{
if(sep == 0) {
print > "'"$upper"'"
} else {
print > "'"$lower"'"
}
}' "$manifest"
ecdsasign "$upper" < "$SECRET" >> "$lower"

View File

@ -1,7 +1,7 @@
#!/bin/sh
if [ $# -eq 0 ] || [ "-h" = "$1" ] || [ "-help" = "$1" ] || [ "--help" = "$1" ]; then
cat <<EOHELP
cat <<EOHELP
Usage: $0 <public> <signed manifest>
sigtest.sh checks if a manifest is signed by the public key <public>. There is
@ -12,7 +12,7 @@ See also:
* https://gluon.readthedocs.io/en/latest/features/autoupdater.html
EOHELP
exit 1
exit 1
fi
public="$1"
@ -21,18 +21,29 @@ upper="$(mktemp)"
lower="$(mktemp)"
ret=1
awk "BEGIN { sep=0 }
/^---\$/ { sep=1; next }
{ if(sep==0) print > \"$upper\";
else print > \"$lower\"}" \
"$manifest"
awk 'BEGIN {
sep = 0
}
/^---$/ {
sep = 1;
next
}
{
if(sep == 0) {
print > "'"$upper"'"
} else {
print > "'"$lower"'"
}
}' "$manifest"
while read -r line
do
if ecdsaverify -s "$line" -p "$public" "$upper"; then
ret=0
break
fi
if ecdsaverify -s "$line" -p "$public" "$upper"; then
ret=0
break
fi
done < "$lower"
rm -f "$upper" "$lower"

View File

@ -1,8 +1,8 @@
/*
This fixes the vertical position of list markers when the first
element in the <li> is a <pre> block
This fixes the vertical position of list markers when the first
element in the <li> is a <pre> block
Scrolling inside the <pre> block is still working as expected
Scrolling inside the <pre> block is still working as expected
*/
.rst-content pre.literal-block,
.rst-content div[class^='highlight'] pre {

View File

@ -20,7 +20,7 @@
# -- Project information -----------------------------------------------------
project = 'Gluon'
copyright = '2015-2022, Project Gluon'
copyright = 'Project Gluon'
author = 'Project Gluon'
# The short X.Y version
@ -71,6 +71,13 @@ pygments_style = None
# Don't highlight code blocks unless requested explicitly
highlight_language = 'none'
# Ignore links to the config mode, as well as anchors on on hackint, which are
# used to mark channel names and do not exist. Regular links are not effected.
linkcheck_ignore = [
'http://192.168.1.1',
'https://webirc.hackint.org/#'
]
# -- Options for HTML output -------------------------------------------------
@ -137,7 +144,7 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'Gluon.tex', 'Gluon Documentation',
'Project Gluon', 'manual'),
'Project Gluon', 'manual'),
]
@ -147,7 +154,7 @@ latex_documents = [
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'gluon', 'Gluon Documentation',
[author], 1)
[author], 1)
]
@ -158,8 +165,8 @@ man_pages = [
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'Gluon', 'Gluon Documentation',
author, 'Gluon', 'One line description of project.',
'Miscellaneous'),
author, 'Gluon', 'One line description of project.',
'Miscellaneous'),
]

View File

@ -57,7 +57,7 @@ commits, making `git reflog` the only way to recover them!
make refresh-patches
In order to refresh patches when updating feeds or the OpenWrt base, `make refresh-patches` applies and updates all of their patches without installing feed packages to the OpenWrt buildsystem.
In order to refresh patches when updating feeds or the OpenWrt base, `make refresh-patches` applies and updates all of their patches without installing feed packages to the OpenWrt build system.
This command speeds up the maintenance of updating OpenWrt and feeds.
@ -77,7 +77,7 @@ apply:
- use tabs instead of spaces
- trailing whitespaces must be eliminated
- files need to end with a final newline
- newlines need to have unix line endings (lf)
- newlines need to have Unix line endings (lf)
To that end we provide a ``.editorconfig`` configuration, which is supported by most
of the editors out there.

View File

@ -91,7 +91,7 @@ update.sh
getversion.sh
Used to determine the version numbers of the repositories of Gluon and the
site configuraiton, to be included in the built firmware images as
site configuration, to be included in the built firmware images as
*/lib/gluon/gluon-version* and */lib/gluon/site-version*.
By default, this uses ``git describe`` to generate a version number based

View File

@ -45,7 +45,7 @@ Some more information on how to use this tool can be found at
Obtaining Stacktraces
.....................
On many targets stacktraces can be read from the following
On many targets stack traces can be read from the following
location after reboot: ::
/sys/kernel/debug/crashlog

View File

@ -18,6 +18,9 @@ Config Mode by pressing and holding the RESET/WPS/DECT button for about three
seconds. The device should reboot (all LEDs will turn off briefly) and
Config Mode will be available.
If you have access to the console of the node, there is the
``gluon-enter-setup-mode`` command, which reboots a node into Config Mode.
Port Configuration
------------------

View File

@ -0,0 +1,51 @@
DNS caching
===========
User experience may be greatly improved when dns is accelerated. Also, it
seems like a good idea to keep the number of packages being exchanged
between node and gateway as small as possible. In order to do this, a
DNS cache may be used on a node. The dnsmasq instance listening on port
53 on the node will be reconfigured to answer requests, use a list of
upstream servers and a specific cache size if the options listed below are
added to site.conf. Upstream servers are the DNS servers which are normally
used by the nodes to resolve hostnames (e.g. gateways/supernodes).
There are the following settings:
servers
cacheentries
To use the node's DNS server, both options should be set. The node will cache at
most 'cacheentries' many DNS records in RAM. The 'servers' list will be used to
resolve the received DNS queries if the request cannot be answered from
cache. Gateways should announce the "next node" address via DHCP and RDNSS (if
any). Note that not setting 'servers' here will lead to DNS not working: Once
the gateways all announce the "next node" address for DNS, there is no way for
nodes to automatically determine DNS servers. They have to be baked into the
firmware.
If these settings do not exist, the cache is not initialized and RAM usage will
not increase.
When next_node.name is set, an A record and an AAAA record for the
next-node IP address are placed in the dnsmasq configuration. This means that
the content of next_node.name may be resolved even without upstream connectivity.
It is suggested to use the same name as the DNS server provides:
e.g. nextnode.location.community.example.org (This way the name also works if a
client uses static DNS Servers). Hint: If next_node.name does not contain a dot
some browsers would open the searchpage instead.
::
dns = {
cacheentries = 5000,
servers = { '2001:db8::1', },
},
next_node = {
name = { 'nextnode.location.community.example.org', 'nextnode', 'nn' },
ip6 = '2001:db8:8::1',
ip4 = '198.51.100.1',
}
Each cache entry will occupy about 90 bytes of RAM.

View File

@ -1,26 +0,0 @@
DNS forwarder
=============
A Gluon node can be configured to act as a DNS forwarder. Requests for the
next-node hostname(s) can be answered locally, without querying the upstream
resolver.
**Note:** While this reduces answer time and allows to use the next-node
hostname without upstream connectivity, this feature should not be used for
next-node hostnames that are FQDN when the zone uses DNSSEC.
One or more upstream resolvers can be configured in the *dns.servers* setting.
When *next_node.name* is set, A and/or AAAA records for the next-node IP
addresses are placed in the dnsmasq configuration.
::
dns = {
servers = { '2001:db8::1', },
},
next_node = {
name = { 'nextnode.location.community.example.org', 'nextnode', 'nn' },
ip6 = '2001:db8:8::1',
ip4 = '198.51.100.1',
}

View File

@ -47,7 +47,7 @@ installed. Please note that at least one alfred daemon is required to run as
.. _alfred-json: https://github.com/ffnord/alfred-json
The following datatypes are used:
The following data types are used:
* `nodeinfo`: 158
* `statistics`: 159

View File

@ -77,7 +77,7 @@ should always appear before ``null`` in the configuration when both are enabled.
fastd v22 or newer is needed for the ``null@l2tp`` method.
It is often not necessary to enable L2TP offloading on supernodes for
performance reasons. Nodes using offloading can communicate with supornodes that
performance reasons. Nodes using offloading can communicate with supernodes that
don't use offloading as long as both use the ``null@l2tp`` method.
@ -102,19 +102,19 @@ However, the important changes to the fastd config on your Supernode are:
| This tells fastd to use the l2tp kernel module.
- | Set ``persist interface no;``
| This tells fastd to only keep interfaces arround while the connection is active.
| This tells fastd to only keep interfaces around while the connection is active.
Note that in ``multitap`` mode, which is required when using L2TP offloading,
fastd will create one interface per peer on the supernode's. This allows
offloading the L2TP forwarding into the kernel space. But this also means added
copmlexity with regards to handling those interfaces.
complexity with regards to handling those interfaces.
There are two main options on how you can handle this:
- create ``on up`` and ``on down`` hooks
- to handle interface setup and destruction
- preferrably using the async keyword, so hooks are not blocking fastd
- preferably using the async keyword, so hooks are not blocking fastd
- use a daemon like systemd-networkd
@ -179,7 +179,7 @@ More information about the wgpeerselector and its algorithm can be found
`here <https://github.com/freifunk-gluon/packages/blob/master/net/wgpeerselector/README.md>`__.
On the gluon node both VXLAN and the wgpeerselector are well integrated and no
explicit configuation of those tools is necessary, once the general WireGuard
explicit configuration of those tools is necessary, once the general WireGuard
support has been configured.
Attention must by paid to time synchronization. As WireGuard
@ -191,6 +191,16 @@ negative effects. Only when a previously connected node reboots the effect
comes into play, as the gateway still knows about the old timestamp of the gluon
node.
gluon-mesh-vpn-key-translate
""""""""""""""""""""""""""""
Many communities already possess a collection of active fastd-keys when they
plan migrating their community to WireGuard.
These public keys known on the server-side can be derived into their WireGuard
equivalent using `gluon-mesh-vpn-key-translate <https://github.com/AiyionPrime/gluon-mesh-vpn-key-translate>`__.
The routers do the necessary reencoding of the private key seamlessly
when updating firmware from fastd to the WireGuard variant.
Gateway / Supernode Configuration
"""""""""""""""""""""""""""""""""

View File

@ -16,8 +16,8 @@ by the user). This means that it is not possible to enable or disable an existin
configurations during upgrades.
During upgrades the wifi channel of the 2.4GHz and 5GHz radio will be restored to the channel
configured in the site.conf. If you need to preserve a user defined wifi channel during upgrades
you can configure this via the uci section ``gluon-core.wireless``::
configured in the site.conf. The channel width will be reset to Gluon's default. If you need to preserve
these settings during upgrades you can configure this via the uci section ``gluon-core.wireless``::
uci set gluon.wireless.preserve_channels='1'

View File

@ -6,80 +6,80 @@ Several Freifunk communities in Germany use Gluon as the foundation of their Fre
.. toctree::
:caption: User Documentation
:maxdepth: 2
:caption: User Documentation
:maxdepth: 2
user/getting_started
user/site
user/supported_devices
user/x86
user/faq
user/mtu
user/getting_started
user/site
user/supported_devices
user/x86
user/faq
user/mtu
.. toctree::
:caption: Features
:maxdepth: 2
:caption: Features
:maxdepth: 2
features/configmode
features/autoupdater
features/wlan-configuration
features/private-wlan
features/wired-mesh
features/dns-forwarder
features/monitoring
features/multidomain
features/authorized-keys
features/roles
features/vpn
features/configmode
features/autoupdater
features/wlan-configuration
features/private-wlan
features/wired-mesh
features/dns-cache
features/monitoring
features/multidomain
features/authorized-keys
features/roles
features/vpn
.. toctree::
:caption: Developer Documentation
:maxdepth: 2
:caption: Developer Documentation
:maxdepth: 2
dev/basics
dev/hardware
dev/packages
dev/upgrade
dev/uplink
dev/mac_addresses
dev/site_library
dev/build
dev/debugging
dev/basics
dev/hardware
dev/packages
dev/upgrade
dev/uplink
dev/mac_addresses
dev/site_library
dev/build
dev/debugging
.. toctree::
:caption: gluon-web Reference
:maxdepth: 1
:caption: gluon-web Reference
:maxdepth: 1
dev/web/controller
dev/web/model
dev/web/view
dev/web/i18n
dev/web/config-mode
dev/web/controller
dev/web/model
dev/web/view
dev/web/i18n
dev/web/config-mode
.. toctree::
:caption: Packages
:maxdepth: 1
:caption: Packages
:maxdepth: 1
package/gluon-client-bridge
package/gluon-config-mode-domain-select
package/gluon-ebtables-filter-multicast
package/gluon-ebtables-filter-ra-dhcp
package/gluon-ebtables-limit-arp
package/gluon-ebtables-source-filter
package/gluon-hoodselector
package/gluon-logging
package/gluon-mesh-batman-adv
package/gluon-mesh-wireless-sae
package/gluon-radv-filterd
package/gluon-scheduled-domain-switch
package/gluon-web-admin
package/gluon-web-logging
package/gluon-client-bridge
package/gluon-config-mode-domain-select
package/gluon-ebtables-filter-multicast
package/gluon-ebtables-filter-ra-dhcp
package/gluon-ebtables-limit-arp
package/gluon-ebtables-source-filter
package/gluon-hoodselector
package/gluon-logging
package/gluon-mesh-batman-adv
package/gluon-mesh-wireless-sae
package/gluon-radv-filterd
package/gluon-scheduled-domain-switch
package/gluon-web-admin
package/gluon-web-logging
.. toctree::
:caption: Releases
:maxdepth: 1
:caption: Releases
:maxdepth: 1
releases/index
releases/index
License
-------

View File

@ -2,124 +2,128 @@ Release Notes
=============
.. toctree::
:caption: Gluon 2022.1
:maxdepth: 2
:caption: Gluon 2022.1
:maxdepth: 2
v2022.1
v2022.1.4
v2022.1.3
v2022.1.2
v2022.1.1
v2022.1
.. toctree::
:caption: Gluon 2021.1
:maxdepth: 2
:caption: Gluon 2021.1
:maxdepth: 2
v2021.1.2
v2021.1.1
v2021.1
v2021.1.2
v2021.1.1
v2021.1
.. toctree::
:caption: Gluon 2020.2
:maxdepth: 2
:caption: Gluon 2020.2
:maxdepth: 2
v2020.2.3
v2020.2.2
v2020.2.1
v2020.2
v2020.2.3
v2020.2.2
v2020.2.1
v2020.2
.. toctree::
:caption: Gluon 2020.1
:maxdepth: 2
:caption: Gluon 2020.1
:maxdepth: 2
v2020.1.4
v2020.1.3
v2020.1.2
v2020.1.1
v2020.1
v2020.1.4
v2020.1.3
v2020.1.2
v2020.1.1
v2020.1
.. toctree::
:caption: Gluon 2019.1
:maxdepth: 2
:caption: Gluon 2019.1
:maxdepth: 2
v2019.1.3
v2019.1.2
v2019.1.1
v2019.1
v2019.1.3
v2019.1.2
v2019.1.1
v2019.1
.. toctree::
:caption: Gluon 2018.2
:maxdepth: 2
:caption: Gluon 2018.2
:maxdepth: 2
v2018.2.4
v2018.2.3
v2018.2.2
v2018.2.1
v2018.2
v2018.2.4
v2018.2.3
v2018.2.2
v2018.2.1
v2018.2
.. toctree::
:caption: Gluon 2018.1
:maxdepth: 2
:caption: Gluon 2018.1
:maxdepth: 2
v2018.1.4
v2018.1.3
v2018.1.2
v2018.1.1
v2018.1
v2018.1.4
v2018.1.3
v2018.1.2
v2018.1.1
v2018.1
.. toctree::
:caption: Gluon 2017.1
:maxdepth: 2
:caption: Gluon 2017.1
:maxdepth: 2
v2017.1.8
v2017.1.7
v2017.1.6
v2017.1.5
v2017.1.4
v2017.1.3
v2017.1.2
v2017.1.1
v2017.1
v2017.1.8
v2017.1.7
v2017.1.6
v2017.1.5
v2017.1.4
v2017.1.3
v2017.1.2
v2017.1.1
v2017.1
.. toctree::
:caption: Gluon 2016.2
:maxdepth: 2
:caption: Gluon 2016.2
:maxdepth: 2
v2016.2.7
v2016.2.6
v2016.2.5
v2016.2.4
v2016.2.3
v2016.2.2
v2016.2.1
v2016.2
v2016.2.7
v2016.2.6
v2016.2.5
v2016.2.4
v2016.2.3
v2016.2.2
v2016.2.1
v2016.2
.. toctree::
:caption: Gluon 2016.1
:maxdepth: 2
:caption: Gluon 2016.1
:maxdepth: 2
v2016.1.6
v2016.1.5
v2016.1.4
v2016.1.3
v2016.1.2
v2016.1.1
v2016.1
v2016.1.6
v2016.1.5
v2016.1.4
v2016.1.3
v2016.1.2
v2016.1.1
v2016.1
.. toctree::
:caption: Gluon 2015.1
:maxdepth: 2
:caption: Gluon 2015.1
:maxdepth: 2
v2015.1.2
v2015.1.1
v2015.1
v2015.1.2
v2015.1.1
v2015.1
.. toctree::
:caption: Gluon 2014.4
:maxdepth: 2
:caption: Gluon 2014.4
:maxdepth: 2
v2014.4
v2014.4
.. toctree::
:caption: Gluon 2014.3
:maxdepth: 2
:caption: Gluon 2014.3
:maxdepth: 2
v2014.3.1
v2014.3
v2014.3.1
v2014.3

View File

@ -88,6 +88,8 @@ New features
* Add support for making nodes a DNS cache for clients
(`#1000 <https://github.com/freifunk-gluon/gluon/pull/1000>`_)
See also: :doc:`../features/dns-cache`
* Add L2TP via tunneldigger as an alternative VPN system
(`#978 <https://github.com/freifunk-gluon/gluon/pull/978>`_)

View File

@ -28,7 +28,7 @@ Bugfixes
As the path to both config mode and status page were changed between versions
users could be affected by a redirect to a no more valid URL.
* batman-adv has received two bugfixes, which were `backported <https://github.com/openwrt-routing/packages/commit/7bf62cc8b556b5046f9bbd37687376fe9ea175bb>`_ from v2018.4
* batman-adv has received two bugfixes, which were `backported <https://github.com/openwrt/routing/commit/7bf62cc8b556b5046f9bbd37687376fe9ea175bb>`_ from v2018.4
Other changes
~~~~~~~~~~~~~

View File

@ -127,10 +127,10 @@ Renamed targets
Status Page
~~~~~~~~~~~
- Gateway nexthop information has been added to the statuspage when batman-adv
- Gateway nexthop information has been added to the status page when batman-adv
is used. This includes its MAC address and prettyname as well as the interface
name towards the selected gateway.
- The site name has been added to the statuspage. If the node is in a multidomain
- The site name has been added to the status page. If the node is in a multidomain
setup it will also show the domain name.
DECT button to enter config mode

View File

@ -7,7 +7,7 @@ Bugfixes
- LEDs on the ASUS RT-AC51 are now fully functional.
- Netgear EX6150v1 randomly booting into failsafe mode has been fixed.
This happened dependant on the state of the mode setting switch.
This happened dependent on the state of the mode setting switch.
- Dnsmasq has been patched against multiple security issues in its DNS response validation.
See the OpenWrt advisory at https://openwrt.org/advisory/2021-01-19-1

View File

@ -30,11 +30,11 @@ ramips-mt76x8
Bugfixes
--------
- Missing bandwith limit settings resulted in a respondd crash for v2021.1.
- Missing bandwidth limit settings resulted in a respondd crash for v2021.1.
- The Tunneldigger VPN provider was not registered with the Gluon VPN backend, resulting in broken Tunneldigger configurations.
- Disabling Radio interfaces in v2021.1 could lead to nullpointer dereferences in the respondd airtime module, as the survey returns no data in this case.
- Disabling Radio interfaces in v2021.1 could lead to null pointer dereferences in the respondd airtime module, as the survey returns no data in this case.
Known issues

View File

@ -0,0 +1,85 @@
Gluon 2022.1.1
==============
Important notes
---------------
This release mitigates multiple flaws in the Linux wireless stack fixing RCE and DoS vulnerabilities.
Added hardware support
----------------------
ipq40xx-generic
~~~~~~~~~~~~~~~
- GL.iNet
- GL-AP1300
mpc85xx-p1010
~~~~~~~~~~~~~
- TP-Link
- TL-WDR4900 (v1)
ramips-mt7621
~~~~~~~~~~~~~
- ZyXEL
- NWA50AX
rockchip-armv8
~~~~~~~~~~~~~~
- FriendlyElec
- NanoPi R4S (4GB LPDDR4)
Bugfixes
--------
* Multiple mitigations for (`critical vulnerabilities <https://seclists.org/oss-sec/2022/q4/20>`_) in the Linux kernel WLAN stack. This only concerns Gluon v2022.1, older Gluon versions are unaffected.
* CVE-2022-41674
* CVE-2022-42719
* CVE-2022-42720
* CVE-2022-42721
* CVE-2022-42722
* Fixes `security issues in WolfSSL <https://openwrt.org/releases/22.03/notes-22.03.1#security_fixes>`_. People who have installed additional, non-Gluon packages which rely on WolfSSL's TLS 1.3 implementation might be affected. Firmwares using either gluon-mesh-wireless-sae or gluon-wireless-encryption-wpa3 are unaffected by these issues, since only WPA-Enterprise relies on the affected TLS functionality.
* CVE-2022-38152
* CVE-2022-39173
* Fixes the update path for GL-AR300M and NanoStation Loco M2/M5 (XW) devices.
Known issues
------------
* A workaround for Android devices not waking up to their MLD subscriptions was removed,
potentially breaking IPv6 connectivity for these devices after extended sleep periods.
(`#2672 <https://github.com/freifunk-gluon/gluon/issues/2672>`_)
* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)
* The integration of the BATMAN_V routing algorithm is incomplete.
- Mesh neighbors don't appear on the status page. (`#1726 <https://github.com/freifunk-gluon/gluon/issues/1726>`_)
Many tools have the BATMAN_IV metric hardcoded, these need to be updated to account for the new throughput
metric.
- Throughput values are not correctly acquired for different interface types.
(`#1728 <https://github.com/freifunk-gluon/gluon/issues/1728>`_)
This affects virtual interface types like bridges and VXLAN.
* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown
(`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
Reducing the TX power in the Advanced Settings is recommended.
* In configurations without VXLAN, the MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled
(`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)
This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).

View File

@ -0,0 +1,37 @@
Gluon 2022.1.2
==============
Bugfixes
--------
* Various build-errors which sporadically occur when building with a large thread-count have been fixed
* Android devices do not lose their IPv6 connectivity after extended idle-time
* The 802.11s mesh network is now using 802.11ax HE-modes when supported by hardware
Known issues
------------
* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)
* The integration of the BATMAN_V routing algorithm is incomplete.
- Mesh neighbors don't appear on the status page. (`#1726 <https://github.com/freifunk-gluon/gluon/issues/1726>`_)
Many tools have the BATMAN_IV metric hardcoded, these need to be updated to account for the new throughput
metric.
- Throughput values are not correctly acquired for different interface types.
(`#1728 <https://github.com/freifunk-gluon/gluon/issues/1728>`_)
This affects virtual interface types like bridges and VXLAN.
* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown
(`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
Reducing the TX power in the Advanced Settings is recommended.
* In configurations without VXLAN, the MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled
(`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)
This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).

View File

@ -0,0 +1,40 @@
Gluon 2022.1.3
==============
Bugfixes
--------
* Ipq40xx Wave2 devices temporarily use non-ct firmware again to work around 802.11s unicast package loss in ath10k-ct
(`#2692 <https://github.com/freifunk-gluon/gluon/issues/2692>`_)
* Modify kernel builds slightly to work around a boot hang on various devices based on the QCA9563 SoC - especially the Unifi AC-* devices
(`#2784 <https://github.com/freifunk-gluon/gluon/issues/2784>`_)
* Work around an issue with wifi setup timing by waiting a bit while device initialisation is ongoing
(`#2779 <https://github.com/freifunk-gluon/gluon/issues/2779>`_)
Known issues
------------
* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)
* The integration of the BATMAN_V routing algorithm is incomplete.
- Mesh neighbors don't appear on the status page. (`#1726 <https://github.com/freifunk-gluon/gluon/issues/1726>`_)
Many tools have the BATMAN_IV metric hardcoded, these need to be updated to account for the new throughput
metric.
- Throughput values are not correctly acquired for different interface types.
(`#1728 <https://github.com/freifunk-gluon/gluon/issues/1728>`_)
This affects virtual interface types like bridges and VXLAN.
* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown
(`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
Reducing the TX power in the Advanced Settings is recommended.
* In configurations without VXLAN, the MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled
(`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)
This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).

136
docs/releases/v2022.1.4.rst Normal file
View File

@ -0,0 +1,136 @@
Gluon 2022.1.4
==============
Added hardware support
----------------------
ath79-generic
~~~~~~~~~~~~~
- LibreRouter
- LibreRouter (v1)
- Teltonika
- RUT230 (v1)
ath79-nand
~~~~~~~~~~
- Aerohive
- HiveAP 121
- NETGEAR
- WNDR4300 (v1)
lantiq-xrx200
~~~~~~~~~~~~~
- Arcadyan
- o2 Box 6431
ramips-mt7621
~~~~~~~~~~~~~
- Cudy
- X6 (v1, v2)
- D-Link
- DAP-X1860 (A1)
- GL.iNet
- GL-MT1300
- Mercusys
- MR70X (v1)
- Xiaomi
- Mi Router 3G
ramips-mt76x8
~~~~~~~~~~~~~
- TP-Link
- RE200 (v3)
realtek-rtl838x
~~~~~~~~~~~~~~~
- D-Link
- DGS-1210-10P
ipq40xx-generic
~~~~~~~~~~~~~~~
- AVM
- FRITZBox 7520
ipq40xx-mikrotik
~~~~~~~~~~~~~~~~
- Mikrotik
- hAP ac2
Bugfixes
--------
* Enterasys WS-AP3705i now uses the correct image-name for use with the autoupdater
(`#2819 <https://github.com/freifunk-gluon/gluon/issues/2819>`_)
* Reduce memory Usage for ath10k on ZyXEL WRE6606 devices
(`#2842 <https://github.com/freifunk-gluon/gluon/issues/2842>`_)
* Replace the Workaround for failed boots on ath79 with a proper fix.
(`#2784 <https://github.com/freifunk-gluon/gluon/issues/2784#issuecomment-1452126501>`_)
* AVM FRITZ!Box 7360 v2 flashed with the incorrect image for v1 will automatically update to the correct image.
* Revert OOM inducing switch of ath79 Wave2 firmware back to -ct
(`#2879 <https://github.com/freifunk-gluon/gluon/pull/2879>`_)
Known issues
------------
* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)
* The integration of the BATMAN_V routing algorithm is incomplete.
- Mesh neighbors don't appear on the status page. (`#1726 <https://github.com/freifunk-gluon/gluon/issues/1726>`_)
Many tools have the BATMAN_IV metric hardcoded, these need to be updated to account for the new throughput
metric.
- Throughput values are not correctly acquired for different interface types.
(`#1728 <https://github.com/freifunk-gluon/gluon/issues/1728>`_)
This affects virtual interface types like bridges and VXLAN.
* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown
(`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
Reducing the TX power in the Advanced Settings is recommended.
* In configurations without VXLAN, the MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled
(`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)
This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).

View File

@ -13,146 +13,146 @@ Added hardware support
ath79-generic
~~~~~~~~~~~~~
- D-Link
- D-Link
- DAP-2660 A1
- DAP-2660 A1
- Enterasys
- Enterasys
- WS-AP3705i
- WS-AP3705i
- Siemens
- Siemens
- WS-AP3610
- WS-AP3610
- TP-Link
- TP-Link
- Archer A7 v5
- CPE510 v2
- CPE510 v3
- CPE710 v1
- EAP225-Outdoor v1
- WBS210 v2
- Archer A7 v5
- CPE510 v2
- CPE510 v3
- CPE710 v1
- EAP225-Outdoor v1
- WBS210 v2
ath79-mikrotik
~~~~~~~~~~~~~~
- Mikrotik
- Mikrotik
- RB951Ui-2nD
- RB951Ui-2nD
ipq40xx-generic
~~~~~~~~~~~~~~~
- Aruba Networks
- Aruba Networks
- AP-303H
- AP-365
- InstantOn AP11D
- InstantOn AP17
- AP-303H
- AP-365
- InstantOn AP11D
- InstantOn AP17
ipq40xx-mikrotik
~~~~~~~~~~~~~~~~
- Mikrotik
- Mikrotik
- SXTsq-5-AC
- SXTsq-5-AC
ramips-mt7620
~~~~~~~~~~~~~
- Xiaomi
- Xiaomi
- Mi Router 3G (v2)
- Mi Router 3G (v2)
ramips-mt7621
~~~~~~~~~~~~~
- Cudy
- Cudy
- WR2100
- WR2100
- Netgear
- Netgear
- R6260
- WAC104
- WAX202
- R6260
- WAC104
- WAX202
- TP-Link
- TP-Link
- RE500
- RE650 v1
- RE500
- RE650 v1
- Ubiquiti
- Ubiquiti
- UniFi 6 Lite
- UniFi 6 Lite
- Xiaomi
- Xiaomi
- Mi Router 4A (Gigabit Edition)
- Mi Router 4A (Gigabit Edition)
ramips-mt7622
~~~~~~~~~~~~~
- Linksys
- Linksys
- E8450
- E8450
- Xiaomi
- Xiaomi
- AX3200
- AX3200
- Ubiquiti
- Ubiquiti
- UniFi 6 LR
- UniFi 6 LR
ramips-mt76x8
~~~~~~~~~~~~~
- GL.iNet
- GL.iNet
- microuter-N300
- microuter-N300
- Netgear
- Netgear
- R6020
- R6020
- RAVPower
- RAVPower
- RP-WD009
- RP-WD009
- TP-Link
- TP-Link
- Archer C20 v4
- Archer C20 v5
- RE200 v2
- RE305 v1
- Archer C20 v4
- Archer C20 v5
- RE200 v2
- RE305 v1
- Xiaomi
- Xiaomi
- Mi Router 4C
- Mi Router 4A (100M Edition)
- Mi Router 4C
- Mi Router 4A (100M Edition)
rockchip-armv8
~~~~~~~~~~~~~~
- FriendlyElec
- FriendlyElec
- NanoPi R2S
- NanoPi R2S
mpc85xx-p1010
~~~~~~~~~~~~~
- Sophos
- Sophos
- RED 15w rev. 1
- RED 15w rev. 1
mpc85xx-p1020
~~~~~~~~~~~~~
- Extreme Networks
- Extreme Networks
- WS-AP3825i
- WS-AP3825i
Removed Devices
---------------
@ -160,63 +160,63 @@ Removed Devices
This list contains devices which do not have enough memory or flash to
be operated with this Gluon release.
- D-Link
- D-Link
- DIR-615 (C1, D1, D2, D3, D4, H1)
- DIR-615 (C1, D1, D2, D3, D4, H1)
- Linksys
- Linksys
- WRT160NL
- WRT160NL
- TP-Link
- TP-Link
- TL-MR13U (v1)
- TL-MR3020 (v1)
- TL-MR3040 (v1, v2)
- TL-MR3220 (v1, v2)
- TL-MR3420 (v1, v2)
- TL-WA701N/ND (v1, v2)
- TL-WA730RE (v1)
- TL-WA750RE (v1)
- TL-WA801N/ND (v1, v2, v3)
- TL-WA830RE (v1, v2)
- TL-WA850RE (v1)
- TL-WA860RE (v1)
- TL-WA901N/ND (v1, v2, v3, v4, v5)
- TL-WA7210N (v2)
- TL-WA7510N (v1)
- TL-WR703N (v1)
- TL-WR710N (v1, v2)
- TL-WR740N (v1, v3, v4, v5)
- TL-WR741N/ND (v1, v2, v4, v5)
- TL-WR743N/ND (v1, v2)
- TL-WR840N (v2)
- TL-WR841N/ND (v3, v5, v7, v8, v9, v10, v11, v12)
- TL-WR841N/ND (v1, v2)
- TL-WR843N/ND (v1)
- TL-WR940N (v1, v2, v3, v4, v5, v6)
- TL-WR941ND (v2, v3, v4, v5, v6)
- TL-WR1043N/ND (v1)
- WDR4900
- TL-MR13U (v1)
- TL-MR3020 (v1)
- TL-MR3040 (v1, v2)
- TL-MR3220 (v1, v2)
- TL-MR3420 (v1, v2)
- TL-WA701N/ND (v1, v2)
- TL-WA730RE (v1)
- TL-WA750RE (v1)
- TL-WA801N/ND (v1, v2, v3)
- TL-WA830RE (v1, v2)
- TL-WA850RE (v1)
- TL-WA860RE (v1)
- TL-WA901N/ND (v1, v2, v3, v4, v5)
- TL-WA7210N (v2)
- TL-WA7510N (v1)
- TL-WR703N (v1)
- TL-WR710N (v1, v2)
- TL-WR740N (v1, v3, v4, v5)
- TL-WR741N/ND (v1, v2, v4, v5)
- TL-WR743N/ND (v1, v2)
- TL-WR840N (v2)
- TL-WR841N/ND (v3, v5, v7, v8, v9, v10, v11, v12)
- TL-WR841N/ND (v1, v2)
- TL-WR843N/ND (v1)
- TL-WR940N (v1, v2, v3, v4, v5, v6)
- TL-WR941ND (v2, v3, v4, v5, v6)
- TL-WR1043N/ND (v1)
- WDR4900
- Ubiquiti
- Ubiquiti
- AirGateway
- AirGateway Pro
- AirRouter
- Bullet
- LS-SR71
- Nanostation XM
- Nanostation Loco XM
- Picostation
- AirGateway
- AirGateway Pro
- AirRouter
- Bullet
- LS-SR71
- Nanostation XM
- Nanostation Loco XM
- Picostation
- Unknown
- Unknown
- A5-V11
- A5-V11
- VoCore
- VoCore
- VoCore (8M, 16M)
- VoCore (8M, 16M)
Atheros target migration
------------------------
@ -235,50 +235,50 @@ Missing devices
The following devices have not yet been integrated into Gluons ath79
targets.
- 8Devices
- 8Devices
- Carambola 2
- Carambola 2
- Aerohive
- Aerohive
- HiveAP 121
- HiveAP 121
- Allnet
- Allnet
- ALL0315
- ALL0315
- Buffalo
- Buffalo
- WZR-HP-G300NH2
- WZR-HP-G450H
- WZR-HP-G300NH2
- WZR-HP-G450H
- GL.iNet
- GL.iNet
- 6408A v1
- 6408A v1
- NETGEAR
- NETGEAR
- WNDR4300
- WNDRMAC
- WNDRMAC v2
- WNDR4300
- WNDRMAC
- WNDRMAC v2
- TP-Link
- TP-Link
- WR2543
- WR2543
- Ubiquiti
- Ubiquiti
- Rocket
- Rocket
- WD
- WD
- MyNet N600
- MyNet N750
- MyNet N600
- MyNet N750
- ZyXEL
- ZyXEL
- NB6616
- NB6716
- NB6616
- NB6716
Features
--------
@ -364,34 +364,35 @@ interfaces. Details can be found in the
Minor changes
-------------
- The ``brcm2708-bcm2708`` ``brcm2708-bcm2709`` ``brcm2708-bcm2710``
targets were renamed to ``bcm27xx-bcm2708`` ``bcm27xx-bcm2709`` and
``bcm27xx-bcm2710``
- The GL.iNet GL-AR750S was moved to the ``ath79-nand`` subtarget
- Gluon now ships the ath10k-ct firmware derivation for
QCA9886 / QCA9888 / QCA9896 / QCA9898 / QCA9984 /
QCA9994 / IPQ4018 / IPQ4028 / IPQ4019 / IPQ4029
radios (`#2541 <https://github.com/freifunk-gluon/gluon/pull/2541>`__)
- WolfSSL instead of OpenSSL is now used when built with WPA3 support
- The option to configure the wireless-channel independent from the
site-selected channel was moved from
``gluon-core.wireless.preserve_channels`` to
``gluon.wireless.preserve_channels``
- ``gluon-info`` is a new command that provides information about the
current node
- ``GLUON_DEPRECATED`` is now set to 0 by default
- To reboot a running gluon-node into setup-mode, Gluon now offers the
``gluon-enter-setup-mode`` command
- Devices without WLAN do not show the private-wifi configuration
anymore
- The Autoupdater now uses the site default branch in case it is
configured to use a non-existent / invalid branch
- The ``brcm2708-bcm2708`` ``brcm2708-bcm2709`` ``brcm2708-bcm2710``
targets were renamed to ``bcm27xx-bcm2708`` ``bcm27xx-bcm2709`` and
``bcm27xx-bcm2710``
- The GL.iNet GL-AR750S was moved to the ``ath79-nand`` subtarget
- Gluon now ships the ath10k-ct firmware derivation for
QCA9886 / QCA9888 / QCA9896 / QCA9898 / QCA9984 /
QCA9994 / IPQ4018 / IPQ4028 / IPQ4019 / IPQ4029
radios (`#2541 <https://github.com/freifunk-gluon/gluon/pull/2541>`__)
- WolfSSL instead of OpenSSL is now used when built with WPA3 support
- The option to configure the wireless-channel independent from the
site-selected channel was moved from
``gluon-core.wireless.preserve_channels`` to
``gluon.wireless.preserve_channels``
- ``gluon-info`` is a new command that provides information about the
current node
- ``GLUON_DEPRECATED`` is now set to 0 by default
- To reboot a running gluon-node into setup-mode, Gluon now offers the
``gluon-enter-setup-mode`` command
- Devices without WLAN do not show the private-wifi configuration
anymore
- The Autoupdater now uses the site default branch in case it is
configured to use a non-existent / invalid branch
Known issues
------------
* A workaround for Android devices not waking up to their MLD subscriptions was removed,
potentially breaking IPv6 connectivity for these devices after extended sleep periods
potentially breaking IPv6 connectivity for these devices after extended sleep periods.
(`#2672 <https://github.com/freifunk-gluon/gluon/issues/2672>`_)
* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)

View File

@ -1 +1 @@
sphinx-rtd-theme==1.0.0
sphinx-rtd-theme==1.2.0

View File

@ -58,7 +58,7 @@ msgid "gluon-config-mode:novpn"
msgstr ""
"<p><strong>Du hast ausgewählt die Internetverbindung (Mesh-VPN) nicht zu "
"nutzen</strong>. Dein Knoten kann also nur dann eine Verbindung zum "
"Freifunk-Netz aufbauen, wenn andere Freifunk-Knoten in WLAN-Reichweite sind."
"Freifunk-Netz aufbauen, wenn andere Freifunk-Knoten in WLAN-Reichweite sind.</p>"
"<p>Bitte schicke uns eine E-Mail mit dem Namen deines Knotens "
"(<em><%= pcdata(hostname) %></em>) und ein paar Informationen an <a href="
"\"mailto:freifunk-keys@lists.in-kiel.de?"

View File

@ -9,14 +9,13 @@
#GLUON_SITE_FEEDS='my_own_packages'
## PACKAGES_$feedname_REPO
# the git repository from where to clone the package feed
# the git repository from where to clone the package feed
#PACKAGES_MY_OWN_PACKAGES_REPO=https://github.com/.../my-own-packages.git
## PACKAGES_$feedname_COMMIT
# the version/commit of the git repository to clone
#PACKAGES_MY_OWN_PACKAGES_COMMIT=123456789aabcda1a69b04278e4d38f2a3f57e49
## PACKAGES_$feedname_BRANCH
# the branch to check out
## PACKAGES_$feedname_BRANCH
# the branch to check out
#PACKAGES_MY_OWN_PACKAGES_BRANCH=my_branch

View File

@ -25,18 +25,20 @@ An example configuration can be found in the Gluon repository at *docs/site-exam
Dependencies
------------
To build Gluon, several packages need to be installed on the system. On a
freshly installed Debian Stretch system the following packages are required:
freshly installed Debian Bullseye system the following packages are required:
* `git` (to get Gluon and other dependencies)
* `subversion`
* `python3`
* `build-essential`
* `ecdsautils` (to sign firmware, see `contrib/sign.sh`)
* `gawk`
* `unzip`
* `libncurses-dev` (actually `libncurses5-dev`)
* `libz-dev` (actually `zlib1g-dev`)
* `libssl-dev`
* `libelf-dev` (to build x86-64)
* `wget`
* `rsync`
* `time` (built-in `time` doesn't work)
* `qemu-utils`

View File

@ -15,7 +15,7 @@ Consider these key values:
- and configure `MSS clamping`_ accordingly,
- and announce your link MTU via Router Advertisements and DHCP
.. _MSS clamping: https://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.cookbook.mtu-mss.html
.. _MSS clamping: https://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.cookbook.mtu-mss.html
- Encapsulation: Account for the overhead created by the configured mesh protocol
encapsulating the payload, which is up to 32 Byte (14 Byte Ethernet + 18 Byte
@ -35,6 +35,8 @@ minimum payload MTU required. This is the lowest recommended value, since going
lower would cause unnecessary fragmentation for clients which respect the announced
link MTU.
.. editorconfig-checker-disable
Example: Our network currently uses batman-adv v15, it therefore requires up
to 32 Bytes of encapsulation overhead on top of the minimal link MTU required for
transporting IPv6.::
@ -72,6 +74,7 @@ Tunneling.::
MTU_HIGH = 1436 Byte - 20 Byte - 8 Byte - 24 Byte - 14 Byte = 1370 Byte
.. editorconfig-checker-enable
Tables for Different VPN Providers
----------------------------------
@ -159,7 +162,7 @@ Maximum MTU
Calculation of different derived MTUs based on a maximum WAN MTU of 1436.
Sugestions:
Suggestions:
- This configuration can be used for fastd and Tunneldigger.

View File

@ -49,10 +49,13 @@ node_prefix6
node_prefix6 = 'fdca::ffee:babe:2::/64'
node_client_prefix6
The ipv6 prefix from which the client-specific IP-address is calculated that
is assigned to each node by l3roamd to allow efficient communication when
roaming. This is exclusively useful when running a routing mesh protocol
node_client_prefix6 \: optional, deprecated
DEPRECATED: Don't specify it anymore, this prefix will then
automatically be generated from the domain_seed.
An IPv6 prefix internally used by the l3roamd protocol, used to allow
an efficient handover via unicast when a client roamed.
This is exclusively useful when running a routing mesh protocol
like babel. e.g. ::
node_client_prefix6 = 'fdca::ffee:babe:3::/64'
@ -445,13 +448,8 @@ interfaces \: optional
The ``client`` role requires exclusive control over an interface. When
the ``client`` role is assigned to an interface at the same time as other
roles (like ``'client', 'mesh'`` in the above example), the other roles take
precedence (enabling ``mesh``, but not ``client`` in the example).
Such a default configuration still fulfills a purpose (and is in fact the
recommended way to enable "Mesh-on-LAN" by default): The "LAN interface
meshing" checkbox in the advanced network settings will only add or remove
the ``mesh`` role, so the ``client`` role must already be in the configuration
to make the LAN port a regular client interface when the checkbox is disabled.
precedence (enabling ``mesh``, but not ``client`` in the example). In that
case, the ``client`` role is removed from the config of the interface.
All interface settings are optional. If unset, the following defaults are
used:

View File

@ -41,6 +41,10 @@ ath79-generic
- WS-AP3705i
* Extreme Networks
- WS-AP3805i
* GL.iNet
- 6416A
@ -53,6 +57,10 @@ ath79-generic
- JT-OR750i
* LibreRouter
- LibreRouter v1 [#missing_radios]_
* Netgear
- WNDR3700 (v1, v2)
@ -91,6 +99,10 @@ ath79-generic
- WS-AP3610
* Teltonika
- RUT230 (v1)
* TP-Link
- Archer A7 (v5)
@ -100,9 +112,7 @@ ath79-generic
- Archer C59 (v1)
- CPE210 (v1.0, v1.1, v2.0, v3.0, v3.1, v3.20)
- CPE220 (v3.0)
- CPE510 (v1.0, v1.1)
- CPE510 (v2.0)
- CPE510 (v3.0)
- CPE510 (v1.0, v1.1, v2.0, v3.0)
- CPE710 (v1.0)
- EAP225-Outdoor (v1)
- RE450 (v1)
@ -112,8 +122,7 @@ ath79-generic
- TL-WR810N (v1)
- TL-WR842N/ND (v3)
- TL-WR1043N/ND (v2, v3, v4, v5)
- WBS210 (v1.20)
- WBS210 (v2.0)
- WBS210 (v1.20, v2.0)
- WBS510 (v1.20)
* Ubiquiti
@ -134,14 +143,20 @@ ath79-generic
ath79-nand
----------
* Aerohive
- HiveAP 121
* GL.iNet
- GL-AR300M
- GL-AR750S
- GL-XE300
* Netgear
- WNDR3700 (v4)
- WNDR4300 (v1)
ath79-mikrotik
--------------
@ -176,7 +191,8 @@ ipq40xx-generic
* AVM
- FRITZ!Box 4040 [#avmflash]_
- FRITZ!Box 7530 [#eva_ramboot]_
- FRITZ!Box 7520 (v1) [#eva_ramboot]_ [#lan_as_wan]_
- FRITZ!Box 7530 [#eva_ramboot]_ [#lan_as_wan]_
- FRITZ!Repeater 1200 [#eva_ramboot]_
* EnGenius
@ -185,6 +201,7 @@ ipq40xx-generic
* GL.iNet
- GL-AP1300
- GL-B1300
* Linksys
@ -217,6 +234,7 @@ ipq40xx-mikrotik
* Mikrotik
- DISC Lite5 ac (RBDiscG-5acD)
- hAP ac2
- SXTsq 5 ac (RBSXTsqG-5acD)
ipq806x-generic
@ -229,6 +247,10 @@ ipq806x-generic
lantiq-xrx200
-------------
* Arcadyan
- VGV7510KW22 (o2 Box 6431)
* AVM
- FRITZ!Box 7360 (v1, v2) [#avmflash]_ [#lan_as_wan]_
@ -236,6 +258,10 @@ lantiq-xrx200
- FRITZ!Box 7362 SL [#eva_ramboot]_ [#lan_as_wan]_
- FRITZ!Box 7412 [#eva_ramboot]_
* TP-Link
- TD-W8970 (v1) [#lan_as_wan]_
lantiq-xway
-----------
@ -269,6 +295,10 @@ mpc85xx-p1010
- RED 15w Rev.1
* TP-Link
- TL-WDR4900 (v1)
mpc85xx-p1020
---------------
@ -330,12 +360,23 @@ ramips-mt7621
* Cudy
- WR1300 (v1)
- WR2100
- X6 (v1, v2)
* D-Link
- DAP-X1860 (A1)
- DIR-860L (B1)
* GL.iNet
- GL-MT1300
* Mercusys
- MR70X (v1)
* NETGEAR
- EX6150 (v1)
@ -355,15 +396,23 @@ ramips-mt7621
- EdgeRouter X-SFP
- UniFi 6 Lite
* Wavlink
- WS-WN572HP3 (4G)
* ZBT
- WG3526-16M
- WG3526-32M
* ZyXEL
- NWA50AX
* Xiaomi
- Xiaomi Mi Router 4A (Gigabit Edition)
- Xiaomi Mi Router 3G v2
- Xiaomi Mi Router 3G (v1, v2)
ramips-mt76x8
-------------
@ -390,9 +439,8 @@ ramips-mt76x8
* TP-Link
- Archer C20 (v4, v5)
- Archer C50 (v3)
- Archer C50 (v4)
- RE200 (v2)
- Archer C50 (v3, v4)
- RE200 (v2, v3)
- RE305 (v1) [#device-class-tiny]
- TL-MR3020 (v3)
- TL-MR3420 (v5)
@ -410,12 +458,20 @@ ramips-mt76x8
- Xiaomi Mi Router 4A (100M International Edition)
- Xiaomi Mi Router 4C
realtek-rtl838x
---------------
* D-Link
- DGS-1210-10P (F1)
rockchip-armv8
--------------
* FriendlyElec
- NanoPi R2S
- NanoPi R4S (4GB LPDDR4)
sunxi-cortexa7
--------------
@ -468,6 +524,10 @@ Footnotes
.. [#lan_as_wan]
All LAN ports on this device are used as WAN.
.. [#missing_radios]
This device contains more than two WLAN radios, which is currently
unsupported by Gluon. Only the first two radios will work.
.. [#modular_ethernet]
These devices follow a modular principle,
which means even basic functionality like ethernet is provided by an expansion-board,

View File

@ -15,7 +15,7 @@ The following targets for x86 images exist:
There are three images:
* `generic` (compressed "raw" image, can written to a disk directly or booted with qemu)
* `generic` (compressed "raw" image, can be written to a disk directly or booted with qemu)
* `virtualbox` (VDI image)
* `vmware` (VMDK image)

View File

@ -2,15 +2,15 @@ GLUON_FEEDS='packages routing gluon'
OPENWRT_REPO=https://github.com/openwrt/openwrt.git
OPENWRT_BRANCH=openwrt-22.03
OPENWRT_COMMIT=d1f14d17aaa1866eee1fe2d0d074b2a003c2a210
OPENWRT_COMMIT=e500494771537b9f42f78e4d907bed18b6383606
PACKAGES_PACKAGES_REPO=https://github.com/openwrt/packages.git
PACKAGES_PACKAGES_BRANCH=openwrt-22.03
PACKAGES_PACKAGES_COMMIT=bcafba4320e5942f2ca8c1ad63b3a8a84ca0c3d1
PACKAGES_PACKAGES_COMMIT=55eed1761207f4dfdb8e7d79138f6f65c8849b50
PACKAGES_ROUTING_REPO=https://github.com/openwrt/routing.git
PACKAGES_ROUTING_BRANCH=openwrt-22.03
PACKAGES_ROUTING_COMMIT=8872359011eee64981804f7ed42d5d6b54add6d8
PACKAGES_ROUTING_COMMIT=1cc7676b9f32acc30ec47f15fcb70380d5d6ef01
PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git
PACKAGES_GLUON_COMMIT=04d2b6ffbb6ee02012f2733b7752d8db0d12eaff
PACKAGES_GLUON_COMMIT=29912ec6308fd10b47763b4cf28a638d07f59973

View File

@ -6,17 +6,17 @@ local file = '/etc/dropbear/authorized_keys'
local keys = {}
local function load_keys()
for line in io.lines(file) do
keys[line] = true
end
for line in io.lines(file) do
keys[line] = true
end
end
pcall(load_keys)
local f = io.open(file, 'a')
for _, key in ipairs(site.authorized_keys()) do
if not keys[key] then
f:write(key .. '\n')
end
if not keys[key] then
f:write(key .. '\n')
end
end
f:close()

View File

@ -2,15 +2,15 @@
stop() {
if [ -x /etc/init.d/"$1" ]; then
echo "Stopping $1..."
/etc/init.d/"$1" stop
fi
if [ -x /etc/init.d/"$1" ]; then
echo "Stopping $1..."
/etc/init.d/"$1" stop
fi
}
start_enabled() {
if [ -x /etc/init.d/"$1" ] && /etc/init.d/"$1" enabled; then
echo "Starting $1..."
/etc/init.d/"$1" start
fi
if [ -x /etc/init.d/"$1" ] && /etc/init.d/"$1" enabled; then
echo "Starting $1..."
/etc/init.d/"$1" start
fi
}

View File

@ -1,27 +1,5 @@
/*
Copyright (c) 2016, Matthias Schiffer <mschiffer@universe-factory.net>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* SPDX-FileCopyrightText: 2016, Matthias Schiffer <mschiffer@universe-factory.net> */
/* SPDX-License-Identifier: BSD-2-Clause */
#include <respondd.h>
@ -59,7 +37,7 @@ static struct json_object * get_autoupdater(void) {
return ret;
error:
error:
uci_free_context(ctx);
return NULL;
}

View File

@ -10,11 +10,11 @@ return function(form, uci)
local msg = pkg_i18n.translate(
'Your internet connection can be used to establish a ' ..
'VPN connection with other nodes. ' ..
'Enable this option if there are no other nodes reachable ' ..
'over WLAN in your vicinity or you want to make a part of ' ..
'your connection\'s bandwidth available for the network. You can limit how ' ..
'much bandwidth the node will use at most.'
'VPN connection with other nodes. ' ..
'Enable this option if there are no other nodes reachable ' ..
'over WLAN in your vicinity or you want to make a part of ' ..
'your connection\'s bandwidth available for the network. You can limit how ' ..
'much bandwidth the node will use at most.'
)
local s = form:section(Section, nil, msg)

View File

@ -1,12 +1,7 @@
<%#
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: 2008 Steven Barth <steven@midlink.org>
SPDX-FileCopyrightText: 2008-2010 Jo-Philipp Wich <xm@subsignal.org>
-%>
<%
local pretty_hostname = require "pretty_hostname"
@ -43,7 +38,7 @@ You may obtain a copy of the License at
table.sort(ret,
function(a, b)
return (node.nodes[a].order or 100)
< (node.nodes[b].order or 100)
< (node.nodes[b].order or 100)
end
)
return ret
@ -125,7 +120,7 @@ You may obtain a copy of the License at
</div>
<div id="maincontainer">
<%
<%
if not hidenav then
menutree(unpack(request))
end

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@
sass --sourcemap=none -C -t compressed sass/gluon.scss files/lib/gluon/config-mode/www/static/gluon.css
When commiting changes to this file make sure to commit the respective
When committing changes to this file make sure to commit the respective
changes to the compilid version within the same commit!
*/
@ -273,6 +273,10 @@ input[type=checkbox] {
text-align: center;
font-size: 1.7em;
}
&[disabled] + label {
background-color: #dcdcdc !important;
}
}
input[type=radio] {
@ -366,6 +370,13 @@ input[type=password] {
min-width: 20em;
}
.gluon-multi-list-option-descr {
display: inline-block;
vertical-align: top;
margin-top: 0.35em;
margin-left: 0.4em;
}
.gluon-button {
@include button;
@ -518,6 +529,11 @@ textarea {
}
}
.gluon-warning {
@extend .gluon-section-descr;
background: lighten($ffyellow, 35);
}
.error500 {
border: 1px dotted #ff0000;
background-color: #ffffff;

View File

@ -66,6 +66,7 @@ need_boolean(in_site({'poe_passthrough'}), false)
if need_table({'dns'}, nil, false) then
need_string_array_match({'dns', 'servers'}, '^[%x:]+$')
need_number({'dns', 'cacheentries'}, false)
end
need_string_array(in_domain({'next_node', 'name'}), false)
@ -76,7 +77,11 @@ need_boolean(in_domain({'mesh', 'vxlan'}), false)
local interfaces_roles = {'client', 'uplink', 'mesh'}
for _, config in ipairs({'wan', 'lan', 'single'}) do
need_array_of(in_site({'interfaces', config, 'default_roles'}), interfaces_roles, false)
local default_roles = in_site({'interfaces', config, 'default_roles'})
need_array_of(default_roles, interfaces_roles, false)
need_array_elements_exclusive(default_roles, 'client', 'mesh', false)
need_array_elements_exclusive(default_roles, 'client', 'uplink', false)
end
obsolete({'mesh_on_wan'}, 'Use interfaces.wan.default_roles.')

View File

@ -1,5 +1,10 @@
#!/bin/sh
# Work around an issue with wifi setup timing by waiting a bit
# while device initialisation is ongoing.
# https://github.com/freifunk-gluon/gluon/issues/2779
sleep 3
gluon-reconfigure
exit 0

View File

@ -5,90 +5,90 @@
init_proto "$@"
proto_gluon_wired_init_config() {
proto_config_add_boolean transitive
proto_config_add_int index
proto_config_add_boolean vxlan
proto_config_add_string vxpeer6addr
proto_config_add_boolean transitive
proto_config_add_int index
proto_config_add_boolean vxlan
proto_config_add_string vxpeer6addr
}
xor2() {
echo -n "${1:0:1}"
echo -n "${1:1:1}" | tr '0123456789abcdef' '23016745ab89efcd'
echo -n "${1:0:1}"
echo -n "${1:1:1}" | tr '0123456789abcdef' '23016745ab89efcd'
}
is_layer3_device () {
local addrlen="$(cat "/sys/class/net/$1/addr_len")"
test "$addrlen" -eq 0
local addrlen="$(cat "/sys/class/net/$1/addr_len")"
test "$addrlen" -eq 0
}
# shellcheck disable=SC2086
interface_linklocal() {
if is_layer3_device "$1"; then
if ! ubus call network.interface dump | \
jsonfilter -e "@.interface[@.l3_device='$1']['ipv6-address'][*].address" | \
grep -e '^fe[89ab][0-9a-f]' -m 1; then
proto_notify_error "$config" "MISSING_LL_ADDR_ON_LOWER_IFACE"
proto_block_restart "$config"
exit 1
fi
return
fi
if is_layer3_device "$1"; then
if ! ubus call network.interface dump | \
jsonfilter -e "@.interface[@.l3_device='$1']['ipv6-address'][*].address" | \
grep -e '^fe[89ab][0-9a-f]' -m 1; then
proto_notify_error "$config" "MISSING_LL_ADDR_ON_LOWER_IFACE"
proto_block_restart "$config"
exit 1
fi
return
fi
local macaddr="$(ubus call network.device status '{"name": "'"$1"'"}' | jsonfilter -e '@.macaddr')"
local oldIFS="$IFS"; IFS=':'; set -- $macaddr; IFS="$oldIFS"
local macaddr="$(ubus call network.device status '{"name": "'"$1"'"}' | jsonfilter -e '@.macaddr')"
local oldIFS="$IFS"; IFS=':'; set -- $macaddr; IFS="$oldIFS"
echo "fe80::$(xor2 "$1")$2:$3ff:fe$4:$5$6"
echo "fe80::$(xor2 "$1")$2:$3ff:fe$4:$5$6"
}
proto_gluon_wired_setup() {
local config="$1"
local ifname="$2"
local config="$1"
local ifname="$2"
local meshif="$config"
local meshif="$config"
local transitive index vxlan vxpeer6addr
json_get_vars transitive index vxlan vxpeer6addr
local transitive index vxlan vxpeer6addr
json_get_vars transitive index vxlan vxpeer6addr
# default args
[ -z "$vxlan" ] && vxlan=1
[ -z "$vxpeer6addr" ] && vxpeer6addr='ff02::15c'
# default args
[ -z "$vxlan" ] && vxlan=1
[ -z "$vxpeer6addr" ] && vxpeer6addr='ff02::15c'
proto_init_update "$ifname" 1
proto_send_update "$config"
proto_init_update "$ifname" 1
proto_send_update "$config"
if [ "$vxlan" -eq 1 ]; then
meshif="vx_$config"
if [ "$vxlan" -eq 1 ]; then
meshif="vx_$config"
json_init
json_add_string name "$meshif"
[ -n "$index" ] && json_add_string macaddr "$(lua -e "print(require('gluon.util').generate_mac($index))")"
json_add_string proto 'vxlan6'
json_add_string tunlink "$config"
# ip6addr (the lower interface ip6) is used by the vxlan.sh proto
json_add_string ip6addr "$(interface_linklocal "$ifname")"
json_add_string peer6addr "$vxpeer6addr"
json_add_int vid "$(lua -e 'print(tonumber(require("gluon.util").domain_seed_bytes("gluon-mesh-vxlan", 3), 16))')"
json_add_boolean rxcsum '0'
json_add_boolean txcsum '0'
json_close_object
ubus call network add_dynamic "$(json_dump)"
fi
json_init
json_add_string name "$meshif"
[ -n "$index" ] && json_add_string macaddr "$(lua -e "print(require('gluon.util').generate_mac($index))")"
json_add_string proto 'vxlan6'
json_add_string tunlink "$config"
# ip6addr (the lower interface ip6) is used by the vxlan.sh proto
json_add_string ip6addr "$(interface_linklocal "$ifname")"
json_add_string peer6addr "$vxpeer6addr"
json_add_int vid "$(lua -e 'print(tonumber(require("gluon.util").domain_seed_bytes("gluon-mesh-vxlan", 3), 16))')"
json_add_boolean rxcsum '0'
json_add_boolean txcsum '0'
json_close_object
ubus call network add_dynamic "$(json_dump)"
fi
json_init
json_add_string name "${config}_mesh"
json_add_string ifname "@${meshif}"
json_add_string proto 'gluon_mesh'
json_add_boolean fixed_mtu 1
[ -n "$transitive" ] && json_add_boolean transitive "$transitive"
json_close_object
ubus call network add_dynamic "$(json_dump)"
json_init
json_add_string name "${config}_mesh"
json_add_string ifname "@${meshif}"
json_add_string proto 'gluon_mesh'
json_add_boolean fixed_mtu 1
[ -n "$transitive" ] && json_add_boolean transitive "$transitive"
json_close_object
ubus call network add_dynamic "$(json_dump)"
}
proto_gluon_wired_teardown() {
local config="$1"
local config="$1"
proto_init_update "*" 0
proto_send_update "$config"
proto_init_update "*" 0
proto_send_update "$config"
}
add_protocol gluon_wired

View File

@ -55,6 +55,14 @@ local function merge(a, b)
return m
end
local function contains(table, val)
for i=1,#table do
if table[i] == val then
return true
end
end
return false
end
local function path_to_string(path)
if path.is_value then
@ -370,6 +378,21 @@ function M.need_array_of(path, array, required)
return M.need_array(path, function(e) M.need_one_of(e, array) end, required)
end
function M.need_array_elements_exclusive(path, a, b, required)
local val = need_type(path, 'table', required, 'be an array')
if not val then
return nil
end
if contains(val, a) and contains(val, b) then
config_error(conf_src(path),
'expected %s to contain only one of the elements %s and %s, but not both.',
path_to_string(path), format(a), format(b))
end
return val
end
function M.need_chanlist(path, channels, required)
local valid_chanlist = check_chanlist(channels)
return M.need(path, valid_chanlist, required,

View File

@ -87,6 +87,9 @@ local primary_addrs = {
{'ipq806x', 'generic', {
'netgear,r7800',
}},
{'lantiq', 'xrx200', {
'arcadyan,vgv7510kw22-nor',
}},
{'lantiq', 'xway', {
'netgear,dgn3500b',
}},
@ -102,6 +105,7 @@ local primary_addrs = {
}},
{'rockchip', 'armv8', {
'friendlyarm,nanopi-r2s',
'friendlyarm,nanopi-r4s',
}},
{'x86'},
}},

View File

@ -67,6 +67,14 @@ elseif platform.match('ramips', 'mt7621', {
'netgear,wac104',
}) then
lan_ifname, wan_ifname = 'lan2 lan3 lan4', 'lan1'
elseif platform.match('lantiq', 'xrx200', {
'arcadyan,vgv7510kw22-nor',
}) then
lan_ifname, wan_ifname = 'lan1 lan2 lan3 lan4', 'wan'
elseif platform.match('realtek', 'rtl838x', {
'd-link,dgs-1210-10p',
}) then
lan_ifname, wan_ifname = 'lan2 lan3 lan4 lan5 lan6 lan7 lan8 lan9 lan10', 'lan1'
end
if wan_ifname and lan_ifname then

View File

@ -63,4 +63,19 @@ for iface in pairs(interfaces) do
end
end
-- Fix invalid role configurations
uci:foreach('gluon', 'interface', function(interface)
local function has_role(role)
return util.contains(interface.role, role)
end
if has_role('client') and (has_role('mesh') or has_role('uplink')) then
-- remove 'client' role
util.remove_from_set(interface.role, 'client')
uci:set('gluon', interface['.name'], 'role', interface.role)
end
end)
uci:save('gluon')

View File

@ -4,6 +4,19 @@ local uci = require('simple-uci').cursor()
local sysconfig = require 'gluon.sysconfig'
local util = require 'gluon.util'
local json = require 'jsonc'
local function get_network_mac(name)
local board_data = json.load('/etc/board.json')
local network_data = (board_data or {}).network
if network_data == nil then
return nil
end
local ifdata = network_data[name] or {}
return ifdata.macaddr
end
local wan = uci:get_all('network_gluon-old', 'wan') or {}
local wan6 = uci:get_all('network_gluon-old', 'wan6') or {}
@ -27,6 +40,7 @@ uci:section('network', 'interface', 'wan', {
ipaddr = wan.ipaddr,
netmask = wan.netmask,
gateway = wan.gateway,
macaddr = get_network_mac('wan'),
ifname = util.get_role_interfaces(uci, 'uplink'),
type = 'bridge',
igmp_snooping = true,

View File

@ -53,19 +53,19 @@ local function is_outdoor()
end
local function get_channel(radio, config)
local channel
if wireless.preserve_channels(uci) then
-- preserved channel always wins
channel = radio.channel
elseif radio.band == '5g' and is_outdoor() then
if radio.band == '5g' and is_outdoor() then
-- actual channel will be picked and probed from chanlist
channel = 'auto'
return 'auto'
end
return channel or config.channel()
return config.channel()
end
local function get_htmode(radio)
if wireless.preserve_channels(uci) then
return radio.htmode
end
if radio.band == '5g' and is_outdoor() then
local outdoor_htmode = uci:get('gluon', 'wireless', 'outdoor_' .. radio['.name'] .. '_htmode')
if outdoor_htmode ~= nil then
@ -175,6 +175,20 @@ local function configure_mesh_wireless(radio, index, config, disabled)
)
end
local function set_channels(radio, radio_name, config)
if wireless.preserve_channels(uci) then
return
end
local channel = get_channel(radio, config)
uci:set('wireless', radio_name, 'channel', channel)
local chanlist
if radio.band == '5g' and is_outdoor() then
chanlist = config.outdoor_chanlist()
end
uci:set('wireless', radio_name, 'channels', chanlist)
end
wireless.foreach_radio(uci, function(radio, index, config)
local radio_name = radio['.name']
@ -190,13 +204,13 @@ wireless.foreach_radio(uci, function(radio, index, config)
return
end
local channel = get_channel(radio, config)
local htmode = get_htmode(radio)
local beacon_interval = config.beacon_interval()
uci:delete('wireless', radio_name, 'disabled')
uci:set('wireless', radio_name, 'channel', channel)
set_channels(radio, radio_name, config)
uci:set('wireless', radio_name, 'htmode', htmode)
uci:set('wireless', radio_name, 'country', site.regdom())
@ -208,22 +222,17 @@ wireless.foreach_radio(uci, function(radio, index, config)
uci:set('wireless', radio_name, 'legacy_rates', false)
configure_mesh_wireless(radio, index, config)
elseif (band == '5g') then
-- ToDo: Remove in v2024.x
local hostapd_options = uci:get_list('wireless', radio_name, 'hostapd_options')
util.remove_from_set(hostapd_options, 'country3=0x4f')
uci:set_list('wireless', radio_name, 'hostapd_options', hostapd_options)
if is_outdoor() then
uci:set('wireless', radio_name, 'channels', config.outdoor_chanlist())
-- enforce outdoor channels by filtering the regdom for outdoor channels
local hostapd_options = uci:get_list('wireless', radio_name, 'hostapd_options')
util.add_to_set(hostapd_options, 'country3=0x4f')
uci:set_list('wireless', radio_name, 'hostapd_options', hostapd_options)
uci:set('wireless', radio_name, 'country3', '0x4f')
configure_mesh_wireless(radio, index, config, true)
else
uci:delete('wireless', radio_name, 'channels')
local hostapd_options = uci:get_list('wireless', radio_name, 'hostapd_options')
util.remove_from_set(hostapd_options, 'country3=0x4f')
uci:set_list('wireless', radio_name, 'hostapd_options', hostapd_options)
uci:delete('wireless', radio_name, 'country3')
configure_mesh_wireless(radio, index, config)
end
end

View File

@ -33,6 +33,14 @@ if #mesh_interfaces_other > 0 then
else
iftype = 'bridge'
ifname = mesh_interfaces_other
for _, iface in ipairs(ifname) do
uci:section('network', 'device', nil, {
name = iface,
isolate = true,
})
end
end
uci:section('network', 'interface', 'mesh_other', {

View File

@ -0,0 +1,63 @@
#!/usr/bin/lua
local uci = require('simple-uci').cursor()
local platform = require 'gluon.platform'
if not platform.is_cellular_device() then
return
end
local function set_or_delete(package, section, option, val)
if val ~= nil and string.len(val) ~= 0 then
uci:set(package, section, option, val)
else
uci:delete(package, section, option)
end
end
local function setup_ncm_qmi(devpath, control_type, delay)
local pdptype = uci:get('gluon', 'cellular', 'pdptype')
local pincode = uci:get('gluon', 'cellular', 'pin')
local username = uci:get('gluon', 'cellular', 'username')
local password = uci:get('gluon', 'cellular', 'password')
uci:section('network', 'interface', 'cellular', {
proto = control_type,
device = devpath,
disabled = not uci:get_bool('gluon', 'cellular', 'enabled'),
pdptype = pdptype,
apn = uci:get('gluon', 'cellular', 'apn'),
})
if pdptype ~= 'IP' then
uci:set('network', 'cellular', 'ipv6', 'auto')
else
uci:delete('network', 'cellular', 'ipv6')
end
set_or_delete('network', 'cellular', 'pincode', pincode)
set_or_delete('network', 'cellular', 'username', username)
set_or_delete('network', 'cellular', 'password', password)
set_or_delete('network', 'cellular', 'delay', delay)
end
if platform.match('ath79', 'nand', {
'glinet,gl-xe300',
}) then
setup_ncm_qmi('/dev/cdc-wdm0', 'qmi', 15)
elseif platform.match('ath79', 'nand', {
'zte,mf281',
}) then
setup_ncm_qmi('/dev/ttyACM0', 'ncm', 15)
elseif platform.match('ipq40xx', 'generic', {
'glinet,gl-ap1300',
}) then
setup_ncm_qmi('/dev/cdc-wdm0', 'qmi', 15)
elseif platform.match('ramips', 'mt7621', {
'wavlink,ws-wn572hp3-4g',
}) then
setup_ncm_qmi('/dev/ttyUSB2', 'ncm', 15)
end
uci:save('network')

View File

@ -1,6 +1,7 @@
#!/usr/bin/lua
local uci = require('simple-uci').cursor()
local platform = require 'gluon.platform'
local defaults = uci:get_first('firewall', 'defaults')
@ -16,8 +17,18 @@ local function reject_input_on_wan(zone)
return true
end
local function add_cellular_wan(zone)
if zone.name == 'wan' then
uci:set('firewall', zone['.name'], 'network', {'wan', 'wan6', 'cellular_4', 'cellular_6'})
end
end
uci:foreach('firewall', 'zone', reject_input_on_wan)
if platform.is_cellular_device() then
uci:foreach('firewall', 'zone', add_cellular_wan)
end
for _, zone in ipairs({'mesh', 'loc_client', 'wired_mesh'}) do
-- Other packages assign interfaces to these zones
uci:section('firewall', 'zone', zone, {

View File

@ -12,7 +12,7 @@ uci:set('dhcp', dnsmasq, 'localise_queries', true)
uci:set('dhcp', dnsmasq, 'localservice', false)
uci:set('dhcp', dnsmasq, 'server', dns.servers)
uci:delete('dhcp', dnsmasq, 'cachesize')
uci:set('dhcp', dnsmasq, 'cachesize', dns.cacheentries)
uci:delete('firewall', 'client_dns')
if dns.servers then

View File

@ -26,6 +26,7 @@ local values = {
.. ' / ' .. util.trim(util.readfile('/lib/gluon/site-version')) },
{ 'Firmware release', util.trim(util.readfile('/lib/gluon/release')) },
{ 'Site', site.site_name() },
{ 'Domain', uci:get('gluon', 'core', 'domain') or 'n/a' },
{ 'Public VPN key', pubkey or 'n/a' },
}

View File

@ -25,6 +25,7 @@ end
function M.is_outdoor_device()
if M.match('ath79', 'generic', {
'devolo,dvl1750x',
'librerouter,librerouter-v1',
'plasmacloud,pa300',
'plasmacloud,pa300e',
'tplink,cpe210-v1',
@ -59,6 +60,31 @@ function M.is_outdoor_device()
'mikrotik,sxtsq-5-ac',
}) then
return true
elseif M.match('ramips', 'mt7621', {
'wavlink,ws-wn572hp3-4g',
'zyxel,nwa55axe',
}) then
return true
end
return false
end
function M.is_cellular_device()
if M.match('ath79', 'nand', {
'zte,mf281',
'glinet,gl-xe300',
}) then
return true
elseif M.match('ipq40xx', 'generic', {
'glinet,gl-ap1300',
}) then
return true
elseif M.match('ramips', 'mt7621', {
'wavlink,ws-wn572hp3-4g',
}) then
return true
end
return false

View File

@ -131,9 +131,9 @@ function M.get_mesh_devices(uconn)
local dump = uconn:call("network.interface", "dump", {})
local devices = {}
for _, interface in ipairs(dump.interface) do
if ( (interface.proto == "gluon_mesh") and interface.up ) then
if ( (interface.proto == "gluon_mesh") and interface.up ) then
table.insert(devices, interface.device)
end
end
end
return devices
end

View File

@ -23,7 +23,7 @@ local function find_phy_by_path(path)
path_prefix = 'platform/'
end
-- Get all available PHYs of the device and dertermine the one with the lowest index
-- Get all available PHYs of the device and determine the one with the lowest index
local phy_names = dirent.dir('/sys/devices/' .. path_prefix .. device_path .. '/ieee80211')
local device_phy_idxs = {}
for _, v in ipairs(phy_names) do

View File

@ -10,104 +10,104 @@
static struct json_object * gluon_site_udata(lua_State *L, int narg) {
return *(struct json_object **)luaL_checkudata(L, narg, UDATA);
return *(struct json_object **)luaL_checkudata(L, narg, UDATA);
}
static void gluon_site_push_none(lua_State *L) {
lua_pushlightuserdata(L, gluon_site_push_none);
lua_rawget(L, LUA_REGISTRYINDEX);
lua_pushlightuserdata(L, gluon_site_push_none);
lua_rawget(L, LUA_REGISTRYINDEX);
}
static void gluon_site_do_wrap(lua_State *L, struct json_object *obj) {
struct json_object **objp = lua_newuserdata(L, sizeof(struct json_object *));
*objp = json_object_get(obj);
luaL_getmetatable(L, UDATA);
lua_setmetatable(L, -2);
struct json_object **objp = lua_newuserdata(L, sizeof(struct json_object *));
*objp = json_object_get(obj);
luaL_getmetatable(L, UDATA);
lua_setmetatable(L, -2);
}
static void gluon_site_wrap(lua_State *L, struct json_object *obj) {
if (obj)
gluon_site_do_wrap(L, obj);
else
gluon_site_push_none(L);
if (obj)
gluon_site_do_wrap(L, obj);
else
gluon_site_push_none(L);
}
static int gluon_site_index(lua_State *L) {
struct json_object *obj = gluon_site_udata(L, 1);
const char *key;
lua_Number lua_index;
size_t index;
struct json_object *v = NULL;
struct json_object *obj = gluon_site_udata(L, 1);
const char *key;
lua_Number lua_index;
size_t index;
struct json_object *v = NULL;
switch (json_object_get_type(obj)) {
switch (json_object_get_type(obj)) {
case json_type_object:
key = lua_tostring(L, 2);
if (key)
json_object_object_get_ex(obj, key, &v);
break;
key = lua_tostring(L, 2);
if (key)
json_object_object_get_ex(obj, key, &v);
break;
case json_type_array:
index = lua_index = lua_tonumber(L, 2);
if (lua_index == (lua_Number)index && index >= 1)
v = json_object_array_get_idx(obj, index-1);
break;
index = lua_index = lua_tonumber(L, 2);
if (lua_index == (lua_Number)index && index >= 1)
v = json_object_array_get_idx(obj, index-1);
break;
case json_type_string:
case json_type_null:
break;
case json_type_null:
break;
case json_type_boolean:
case json_type_int:
case json_type_double:
luaL_error(L, "attempt to index a number or boolean value");
__builtin_unreachable();
}
luaL_error(L, "attempt to index a number or boolean value");
__builtin_unreachable();
}
gluon_site_wrap(L, v);
return 1;
gluon_site_wrap(L, v);
return 1;
}
static int gluon_site_call(lua_State *L) {
struct json_object *obj = gluon_site_udata(L, 1);
struct json_object *obj = gluon_site_udata(L, 1);
if (obj) {
lua_jsonc_push_json(L, obj);
} else {
if (lua_isnone(L, 2))
lua_pushnil(L);
else
lua_pushvalue(L, 2);
}
return 1;
}
static int gluon_site_gc(lua_State *L) {
json_object_put(gluon_site_udata(L, 1));
return 0;
}
static const luaL_reg R[] = {
{ "__index", gluon_site_index },
{ "__call", gluon_site_call },
{ "__gc", gluon_site_gc },
{}
};
int luaopen_gluon_site(lua_State *L) {
luaL_newmetatable(L, UDATA);
luaL_register(L, NULL, R);
lua_pop(L, 1);
/* Create "none" object */
lua_pushlightuserdata(L, gluon_site_push_none);
gluon_site_do_wrap(L, NULL);
lua_rawset(L, LUA_REGISTRYINDEX);
struct json_object *site = gluonutil_load_site_config();
gluon_site_wrap(L, site);
json_object_put(site);
if (obj) {
lua_jsonc_push_json(L, obj);
} else {
if (lua_isnone(L, 2))
lua_pushnil(L);
else
lua_pushvalue(L, 2);
}
return 1;
}
static int gluon_site_gc(lua_State *L) {
json_object_put(gluon_site_udata(L, 1));
return 0;
}
static const luaL_reg R[] = {
{ "__index", gluon_site_index },
{ "__call", gluon_site_call },
{ "__gc", gluon_site_gc },
{}
};
int luaopen_gluon_site(lua_State *L) {
luaL_newmetatable(L, UDATA);
luaL_register(L, NULL, R);
lua_pop(L, 1);
/* Create "none" object */
lua_pushlightuserdata(L, gluon_site_push_none);
gluon_site_do_wrap(L, NULL);
lua_rawset(L, LUA_REGISTRYINDEX);
struct json_object *site = gluonutil_load_site_config();
gluon_site_wrap(L, site);
json_object_put(site);
return 1;
}

View File

@ -1,339 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

View File

@ -1,7 +1,5 @@
# Copyright (c) 2017 Linus Lüssing <linus.luessing@c0d3.blue>
#
# SPDX-License-Identifier: GPL-2.0+
# License-Filename: LICENSE
# SPDX-FileCopyrightText: 2017 Linus Lüssing <linus.luessing@c0d3.blue>
# SPDX-License-Identifier: GPL-2.0-or-later
all: gluon-arp-limiter

View File

@ -1,9 +1,5 @@
/*
* Copyright (c) 2017 Linus Lüssing <linus.luessing@c0d3.blue>
*
* SPDX-License-Identifier: GPL-2.0+
* License-Filename: LICENSE
*/
// SPDX-FileCopyrightText: 2017 Linus Lüssing <linus.luessing@c0d3.blue>
// SPDX-License-Identifier: GPL-2.0-or-later
#include <errno.h>
#include <stdio.h>
@ -14,7 +10,7 @@
#include "lookup3.h"
static struct addr_list *addr_node_alloc(void *addr,
struct addr_store *store)
struct addr_store *store)
{
struct addr_list *node;
size_t addr_len = store->addr_len;
@ -31,8 +27,8 @@ static struct addr_list *addr_node_alloc(void *addr,
}
static struct addr_list *addr_list_search(void *addr,
size_t addr_len,
struct addr_list *list)
size_t addr_len,
struct addr_list *list)
{
struct addr_list *node = list;
struct addr_list *ret = NULL;
@ -77,7 +73,7 @@ int addr_store_add(void *addr, struct addr_store *store)
{
struct addr_list **bucket = addr_store_get_bucket(addr, store);
struct addr_list *node = addr_list_search(addr, store->addr_len,
*bucket);
*bucket);
if (node) {
node->tic = clock;
@ -95,9 +91,9 @@ int addr_store_add(void *addr, struct addr_store *store)
}
int addr_store_init(size_t addr_len,
void (*destructor)(struct addr_list *),
char *(*ntoa)(void *),
struct addr_store *store)
void (*destructor)(struct addr_list *),
char *(*ntoa)(void *),
struct addr_store *store)
{
int i;

View File

@ -1,9 +1,5 @@
/*
* Copyright (c) 2017 Linus Lüssing <linus.luessing@c0d3.blue>
*
* SPDX-License-Identifier: GPL-2.0+
* License-Filename: LICENSE
*/
// SPDX-FileCopyrightText: 2017 Linus Lüssing <linus.luessing@c0d3.blue>
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef _ADDR_STORE_H_
#define _ADDR_STORE_H_
@ -24,9 +20,9 @@ struct addr_store {
};
int addr_store_init(size_t addr_len,
void (*destructor)(struct addr_list *),
char *(*ntoa)(void *),
struct addr_store *store);
void (*destructor)(struct addr_list *),
char *(*ntoa)(void *),
struct addr_store *store);
int addr_store_add(void *addr, struct addr_store *store);
void addr_store_cleanup(struct addr_store *store);

View File

@ -1,9 +1,5 @@
/*
* Copyright (c) 2017 Linus Lüssing <linus.luessing@c0d3.blue>
*
* SPDX-License-Identifier: GPL-2.0+
* License-Filename: LICENSE
*/
// SPDX-FileCopyrightText: 2017 Linus Lüssing <linus.luessing@c0d3.blue>
// SPDX-License-Identifier: GPL-2.0-or-later
#include <arpa/inet.h>
#include <errno.h>
@ -43,8 +39,8 @@ static void ebt_ip_call(char *mod, struct in_addr ip)
int ret;
snprintf(str, sizeof(str),
EBTABLES " %s ARP_LIMIT_DATCHECK -p ARP --arp-ip-dst %s -j mark --mark-or 0x2 --mark-target RETURN",
mod, inet_ntoa(ip));
EBTABLES " %s ARP_LIMIT_DATCHECK -p ARP --arp-ip-dst %s -j mark --mark-or 0x2 --mark-target RETURN",
mod, inet_ntoa(ip));
ret = system(str);
if (ret)
@ -66,8 +62,8 @@ static void ebt_mac_limit_call(char *mod, struct mac_addr *mac)
int ret;
snprintf(str, sizeof(str),
EBTABLES " %s ARP_LIMIT_TLCHECK --source %s --limit 6/min --limit-burst 50 -j RETURN",
mod, mac_ntoa(mac));
EBTABLES " %s ARP_LIMIT_TLCHECK --source %s --limit 6/min --limit-burst 50 -j RETURN",
mod, mac_ntoa(mac));
ret = system(str);
if (ret)
@ -82,8 +78,8 @@ static void ebt_mac_ret_call(char *mod, struct mac_addr *mac, int add)
int ret;
snprintf(str, sizeof(str),
EBTABLES " %s ARP_LIMIT_TLCHECK %s --source %s -j DROP",
mod, add ? "2" : "", mac_ntoa(mac));
EBTABLES " %s ARP_LIMIT_TLCHECK %s --source %s -j DROP",
mod, add ? "2" : "", mac_ntoa(mac));
ret = system(str);
if (ret)

View File

@ -1,9 +1,5 @@
/*
* Copyright (c) 2017 Linus Lüssing <linus.luessing@c0d3.blue>
*
* SPDX-License-Identifier: GPL-2.0+
* License-Filename: LICENSE
*/
// SPDX-FileCopyrightText: 2017 Linus Lüssing <linus.luessing@c0d3.blue>
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef _GLUON_ARP_LIMITER_H_
#define _GLUON_ARP_LIMITER_H_

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,5 @@
/*
* Copyright (c) 2017 Linus Lüssing <linus.luessing@c0d3.blue>
*
* SPDX-License-Identifier: GPL-2.0+
* License-Filename: LICENSE
*/
// SPDX-FileCopyrightText: 2017 Linus Lüssing <linus.luessing@c0d3.blue>
// SPDX-License-Identifier: GPL-2.0-or-later
#include <linux/if_ether.h>
#include <stdio.h>
@ -25,8 +21,8 @@ int mac_aton(const char *cp, struct mac_addr *mac)
memset(&m, 0, sizeof(m));
ret = sscanf(cp, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx",
&m.storage[0], &m.storage[1], &m.storage[2],
&m.storage[3], &m.storage[4], &m.storage[5]);
&m.storage[0], &m.storage[1], &m.storage[2],
&m.storage[3], &m.storage[4], &m.storage[5]);
if (ret != ETH_ALEN)
return 0;
@ -40,8 +36,8 @@ char *mac_ntoa(struct mac_addr *mac)
unsigned char *m = mac->storage;
snprintf(mntoa_buf, sizeof(mntoa_buf),
"%02x:%02x:%02x:%02x:%02x:%02x",
m[0], m[1], m[2], m[3], m[4], m[5]);
"%02x:%02x:%02x:%02x:%02x:%02x",
m[0], m[1], m[2], m[3], m[4], m[5]);
return mntoa_buf;
}

View File

@ -1,9 +1,5 @@
/*
* Copyright (c) 2017 Linus Lüssing <linus.luessing@c0d3.blue>
*
* SPDX-License-Identifier: GPL-2.0+
* License-Filename: LICENSE
*/
// SPDX-FileCopyrightText: 2017 Linus Lüssing <linus.luessing@c0d3.blue>
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef _MAC_H_
#define _MAC_H_

View File

@ -6,7 +6,7 @@ include ../gluon.mk
define Package/gluon-l3roamd
TITLE:=Configure l3roamd for babel
DEPENDS:=+gluon-core +l3roamd +uc
DEPENDS:=+gluon-core +gluon-mesh-layer3-common +l3roamd +uc
endef
$(eval $(call BuildPackageGluon,gluon-l3roamd))

View File

@ -1 +0,0 @@
need_string_match(in_domain({'node_client_prefix6'}), '^[%x:]+/64$', false)

View File

@ -43,7 +43,7 @@ start_service () {
local prefix4="$(lua -e 'prefix4 = require("gluon.site").prefix4() if prefix4 then print(" -p " .. prefix4) end')"
local prefix6="$(lua -e 'print(" -p " .. require("gluon.site").prefix6())')"
local localip="$(uci get network.loopback.ip6addr | cut -d/ -f1)"
local roamingprefix="$(lua -e 'roamingprefix = require("gluon.site").node_client_prefix6() if roamingprefix then print(" -P " .. roamingprefix) end')"
local roamingprefix="$(lua -e 'print(" -P " .. require("gluon.l3").node_client_prefix6())')"
/sbin/sysctl -w net.ipv6.neigh.default.gc_thresh1=2
/sbin/sysctl -w net.ipv4.neigh.default.gc_thresh1=2

View File

@ -1,5 +1,4 @@
need_string_match(in_domain({'node_prefix6'}), '^[%x:]+/64$')
need_string_match(in_domain({'node_client_prefix6'}), '^[%x:]+/64$')
need_string_match(in_domain({'next_node', 'ip6'}), '^[%x:]+$', false)
need_string_match(in_domain({'next_node', 'ip4'}), '^%d+.%d+.%d+.%d+$', false)

View File

@ -0,0 +1,2 @@
#!/bin/sh
echo dump | nc ::1 33123 | grep -qF "add neighbour"

Some files were not shown because too many files have changed in this diff Show More