- 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 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>
-
- Mar 15, 2021
-
-
J. Burfeind authored
End the process after one result in case -l is not given and destination address is unicast. Reduces singleshot execution time from timeout seconds to around 150ms. resolves #2184
-
- Jan 09, 2020
-
-
lemoer authored
-
- Apr 21, 2019
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
inet_pton() doesn't set errno on regular parse errors, so using perror() doesn't make sense (and we avoid a confusing "Success" message).
-
- Apr 13, 2018
-
-
Matthias Schiffer authored
-
- Mar 09, 2018
-
-
Matthias Schiffer authored
-
- Mar 08, 2018
-
-
Matthias Schiffer authored
-
- Mar 07, 2018
-
-
Matthias Schiffer authored
-
- Nov 25, 2017
-
-
Christof Schulze authored
-
- Feb 10, 2017
-
-
Matthias Schiffer authored
We also make use of the boolean support of simple-uci to make scripts clearer.
-
- Jan 17, 2017
-
-
Matthias Schiffer authored
-
- Jul 25, 2016
-
-
lemoer authored
gluon-neighbour-info: improve verbosity on wrong cli parameters
-
- Jul 10, 2016
-
-
Jan-Tarek Butt authored
-
- Apr 02, 2016
-
-
Matthias Schiffer authored
Avoid commiting configs inbetween to decrease number of flash writes. Fixes #714.
-
- Feb 02, 2016
-
-
Jan-Philipp Litza authored
If the query was via multicast, the response isn't matched by --state ESTABLISHED,RELATED This fixes #619
-
- Dec 18, 2015
-
-
Matthias Schiffer authored
The timeout was calculated incorrectly (in each iteration the span between the start time and the current time was substracted from the timeout again), and would often become negative, causing warnings in the kernel log.
-
Matthias Schiffer authored
-
Matthias Schiffer authored
sse-multiplex likes to get the header as fast as possible.
-
- Oct 14, 2015
-
-
Jan-Philipp Litza authored
-
- Jul 09, 2015
-
-
Jan-Philipp Litza authored
-
- Jul 06, 2015
-
-
Hans-Werner Hilse authored
error() is a glibc specific function and should not be used in code meant to be portable.
-
- Sep 06, 2014
-
-
Nils Schneider authored
-
Nils Schneider authored
-
Nils Schneider authored
-
- Aug 28, 2014
-
-
Nils Schneider authored
This is a simple client for gluon-announced.
-