a modular framework for creating OpenWrt-based firmwares for wireless mesh nodes
Go to file
T-X 0da2a7c431
gluon-neighbour-info: fix broken output with large results (#2322)
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>
(cherry picked from commit 531937cf6f)
2022-02-22 18:57:39 +01:00
.github workflows: lint: switch from apt to apt-get -y, add update 2022-02-03 17:08:07 +01:00
contrib actions: build gluon for next sub-branches 2021-05-01 13:35:36 +02:00
docs gluon-web-osm: update OpenLayers default URL to 5.3.0 2022-02-15 18:18:50 +01:00
package gluon-neighbour-info: fix broken output with large results (#2322) 2022-02-22 18:57:39 +01:00
patches patches: build perl single-threaded (#2392) 2022-02-22 18:57:02 +01:00
scripts scripts: display commit title when updating patches 2020-10-11 01:59:55 +02:00
targets ath79-generic: add support for Joy-IT JT-OR750i (#2284) 2021-08-05 02:07:30 +02:00
tests tests: respondd: update shebang to use the environments python3 version 2020-04-29 22:28:00 +02:00
.editorconfig .editorconfig: bunch of additions 2021-04-28 01:01:35 +02:00
.gitignore .gitignore: add files created when mounting repo in docker 2020-03-09 08:30:33 +01:00
.luacheckrc features: fix handling of logical expressions 2020-08-28 22:27:38 +02:00
CONTRIBUTING.md CONTRIBUTING.md: fix link to list of rejected features (#1785) 2019-07-13 14:32:41 +02:00
LICENSE LICENSE: update for 2021 2021-01-02 19:10:18 +01:00
Makefile Makefile: error earlier when site.mk is missing 2022-02-03 17:08:07 +01:00
modules modules: update OpenWrt (#2358) 2022-01-01 19:21:36 +01:00
README.md README, docs: Gluon v2021.1.1 2021-08-01 17:20:47 +02:00

Documentation (incomplete at this time, contribute if you can!) may be found at https://gluon.readthedocs.io/.

If you're new to Gluon and ready to get your feet wet, have a look at the Getting Started Guide.

Gluon's developers frequent an IRC chatroom at #gluon on hackint. There is also a webchat that allows for access from within your browser.

Issues & Feature requests

Before opening an issue, make sure to check whether any existing issues (open or closed) match. If you're suggesting a new feature, drop by on IRC or our mailinglist to discuss it first.

We maintain a Roadmap for the future development of Gluon.

Use a release!

Please refrain from using the master branch for anything else but development purposes! Use the most recent release instead. You can list all releases by running git tag and switch to one by running git checkout v2021.1.1 && make update.

If you're using the autoupdater, do not autoupdate nodes with anything but releases. If you upgrade using random master commits the nodes will break eventually.

Mailinglist

To subscribe to the list, send a message to:

gluon+subscribe@luebeck.freifunk.net

To remove your address from the list, just send a message to the address in the List-Unsubscribe header of any list message. If you haven't changed addresses since subscribing, you can also send a message to:

gluon+unsubscribe@luebeck.freifunk.net