- Jan 14, 2022
-
-
Maciej Krüger authored
Co-Authored-By:
Matthias Schiffer <mschiffer@universe-factory.net>
-
Maciej Krüger authored
Co-Authored-By:
Matthias Schiffer <mschiffer@universe-factory.net>
-
Maciej Krüger authored
Co-Authored-By:
Matthias Schiffer <mschiffer@universe-factory.net>
-
Maciej Krüger authored
This copies the code from web-admin and uses it to create a neat cli-accessible summary about a node This could also be extended or possibly have all the data the status page has Co-Authored-By:
Matthias Schiffer <mschiffer@universe-factory.net>
-
- Jan 07, 2022
-
-
J. Burfeind authored
Fixes: 1cb0fc84 ("gluon-status-page: swap bandwidth limits (#2304)") Resolves #2370
-
- Jan 01, 2022
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
- Dec 31, 2021
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
More migration code from 2016.
-
Matthias Schiffer authored
The file /lib/gluon/version/core hasn't existed since early 2014, so this whole script is obsolete.
-
- Dec 25, 2021
-
-
Matthias Schiffer authored
announced was renamed to respondd in 2016. Let's remove the obsolete migration code.
-
- Dec 20, 2021
-
-
David Bauer authored
Declare the clock variable as extern in the header file. Fixes compilation of gluon-ebtables-limit-arp with OpenWrt master: multiple definition of `clock'; /gluon/openwrt/tmp/ccuynR0G.o:(.bss+0x230): first defined here Signed-off-by:
David Bauer <mail@david-bauer.net>
-
- Dec 19, 2021
-
-
Matthias Schiffer authored
The migration is done very early, as other upgrade scripts depend on the band setting through platform.device_uses_11a().
-
David Bauer authored
The 'hwmode' setting has been replaced with 'band' in OpenWrt to add support for newer bands outside of 2.4G and 5G. Adjust Gluon accordingly. [Matthias Schiffer: rebased, extended commit message]
-
- Dec 16, 2021
-
-
Matthias Schiffer authored
In meshes without VPN or supernodes, it may be desirable to connect a router providing IPv4 addresses directly to a regular Gluon node. For this to work, it was necessary to remove the gluon-ebtables-filter-ra-dhcp package from the node, so the autoupdater also needed to be disabled. To avoid this, make gluon-ebtables-filter-ra-dhcp disable the DHCPv4 filter rules when gw_mode is set to 'server'. No solution is provided for RA/DHCPv6, but this seems less pressing for local meshes, as nodes can already provide working IPv6 connectivity by themselves through gluon-radvd.
-
- Dec 15, 2021
-
-
Matthias Schiffer authored
The network.wireless status ubus call only returns the configured channel from UCI, breaking the status page in outdoor mode, where the configuration contains 'auto' instead of a number. Fixes: 0d3fa6b5 ("gluon-status-page: use ubus to get radio channels") Closes #2336
-
- Nov 12, 2021
-
-
aiyion.prime authored
-
aiyion.prime authored
In js `return` does behave like `continue` in a forEach() iteration. The fixed function was intended to return nothing on error and does so now, instead of a shorter (useless) array like before.
-
- Oct 16, 2021
-
-
Matthias Schiffer authored
Calling functions like recv() with a NULL buffer is not explicitly allowed by the POSIX standard, so it must be avoided to be portable across different libc implementations. Allocate an initial buffer before handling requests, and also pass this buffer to the peek recv() call. Fixes: 531937cf ("gluon-neighbour-info: fix broken output with large results")
-
- Oct 07, 2021
-
-
Matthias Schiffer authored
This removes PKG_VERSION and PKG_RELEASE from most Makefiles, as the value was never useful for Gluon packages; instead, PKG_VERSION is set to 1 in gluon.mk. It also removes two other weird definitions: - gluon-iptables-clamp-mss-to-pmtu replicating the old PKG_VERSION logic from gluon-core, but without the fixed PKG_BUILD_DIR to prevent unnessary rebuilds - gluon-hoodselector set GLUON_VERSION=3
-
- Oct 05, 2021
-
-
Matthias Schiffer authored
Calling git describe directly breaks isolation between the build system and packages. Replace this with proper .config variables, like we already do for GLUON_RELEASE. Also replace the PKG_VERSION hack with a static '1', as we do for other packages - while having those version numbers in opkg was cute, it was also entirely useless. Having a fixed PKG_VERSION allows us to remove the PKG_BUILD_DIR override as well.
-
- Oct 04, 2021
-
-
T-X authored
Currently a buffer with a fixed size of 8192 bytes is used. However the result can potentially be larger, which leads to a truncated JSON output on stdout. UDP packets, without compression and with IP fragmentation, can be up to 64KiB large. Instead of using a fixed size buffer on the stack ask the kernel first about the size of the UDP data and allocate a buffer of appropriate size on the heap before receiving the UDP data. The issue was observed with a custom respondd provider. Signed-off-by:
Linus Lüssing <linus.luessing@c0d3.blue>
-
- Sep 14, 2021
-
-
lemoer authored
The address of the vpn interface is calculated in the style of modified EUI-64, based on a virtual mac address. This virtual mac address consists of 0x00 as first byte and the other five bytes are taken from the first bytes of md5sum(base64 encoded public key). The algorithm was taken by the ffmuc, with a slight difference. ffmuc calculated the result of md5sum(base64 encoded public key + '\n') which was interpreted as accidential fault and therefore dropped. Example: - Public-Key: "gP3VJnTTvnQut+z4O+m0N9RgMyXbgyUbUkF3E3TKX2w=" - Address: "fe80::02ca:b8ff:fedc:2eb3" The following interfaces are used for wireguard: - wg_mesh -> wireguard interface - mesh-vpn -> vxlan iface on top of wg_mesh If you use this new feature, make sure the NTP servers in your site config are publicly reachable. This is necessary, since wireguard requires correct time before the vpn connection is established. Therefore gluon performs ntp time synchronisation via WAN before it establishes the vpn connection. Therefore the NTP servers have to be publicly reachable (and not only via mesh).
-
- Sep 13, 2021
-
-
Matthias Schiffer authored
Fixes: #2311
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
Avoid requiring gluon.wireless from gluon.platform, and requiring gluon.platform from various other scripts.
-
- Sep 11, 2021
-
-
lemoer authored
Before this commit, some *.po files contained the same translation twice within the same file. While this did not led to errors in gluon yet, it is still invalid. This commit fixes that and removes the duplicates.
-
- Sep 04, 2021
-
-
Matthias Schiffer authored
- Move site check for prefix4 and extra_prefixes6 to gluon-core, so the rules don't need to be duplicated in several packages. This also fixes gluon-respondd not checking extra_prefixes6 at all when gluon-ebtables-source-filter is not installed as well. - A redundant check for prefix6 is removed from gluon-l3roamd (this was already checked by gluon-core) - A separate check for prefix4 remains in gluon-client-bridge, as the setting in mandatory there
-
- Aug 31, 2021
-
-
Tom Herbers authored
-
- Aug 28, 2021
-
-
Tom Herbers authored
-
- Aug 27, 2021
-
-
citronalco authored
-
- Aug 12, 2021
-
-
J. Burfeind authored
-
micw authored
Co-authored-by:
Michael Wyraz <michael.wyraz@evermind.de>
-
- Aug 11, 2021
-
-
micw authored
-
- Aug 10, 2021
-
-
David Bauer authored
-
J. Burfeind authored
-
- Aug 08, 2021
-
-
Matthias Schiffer authored
Fixes the display of client counts, which are numbers and not strings in the respondd data. Fixes: 3a885a1b ("gluon-status-page: make "gateway nexthop" a link (#2278)")
-
Matthias Schiffer authored
Do not depend on the respondd-airtime module just to get the configured channels. This removes the display of the frequency in addition to the channel, as it is not readily available. In addition, the translation string is improved to allow for text after the channel number.
-