Commit Graph

877 Commits

Author SHA1 Message Date
Tobias be2c357859 respondd-module-airtime: Fix reported noise result (#190)
The noise value delivered by nl80211 is actually a signed int8. Thus it
must be interpreted as a signed value, too.

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
2018-07-08 20:10:17 +02:00
Matthias Schiffer c34d129afb
batman-adv-legacy: update to git version 2018-06-03
7b775e93b7d2 batman-adv: Fix bat_ogm_iv best gw refcnt after netlink dump
2018-06-03 15:58:15 +02:00
lemoer ed7ed7dcba autoupdater: allow skipping the version check (#187)
this commit introduces a new cli flag "--force-version"
2018-06-03 12:13:50 +02:00
Christof Schulze 6268f870f1 mmfd: bump version to use new libbabelhelper, do not start verbose 2018-05-21 22:24:32 +02:00
Christof Schulze f51707e1c5 libbabelhelper: bump version for new lexer 2018-05-21 22:24:32 +02:00
Christof Schulze d3391981cd l3roamd: bump version 2018-05-21 22:24:32 +02:00
Matthias Schiffer 6c38a5dd63
simple-tc: add PKG_CONFIG_DEPENDS to trigger rebuild on dependency changes 2018-04-13 15:58:39 +02:00
Matthias Schiffer 61c7aac8ef
simple-tc: conditionalize kmod dependencies 2018-04-09 16:50:16 +02:00
Matthias Schiffer 73d9ff871b
ebtables-tiny: introduce stripped-down ebtables variant 2018-04-09 14:55:25 +02:00
Matthias Schiffer e1d11c9393
batman-adv-legacy: update source date 2018-04-07 21:59:23 +02:00
Matthias Schiffer 878f83eb74
batman-adv-legacy: update to latest git
02916a158fa3 batman-adv: skip deleted entries in bat_gw_dump()

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-04-07 21:52:38 +02:00
Matthias Schiffer 9bf34bebc5
batman-adv-legacy: update to latest git
2f5be1a49318 batman-adv: do not modify batadv packet header before pulling it
fad4085f659c batman-adv: update data pointers after skb_cow()
8a495c4284b6 batman-adv: Add extack to ndo_add_slave
d176649871cc batman-adv: Add extack to upper device linking
2018-03-16 19:42:55 +01:00
Matthias Schiffer 31e2000604
treewide: remove redundant definitions from package Makefiles 2018-03-07 20:51:48 +01:00
Matthias Schiffer 53a659abf8
lua-geolocate: add package for WLAN-based geolocation based on openwifi.su
Based-on-patch-by: Jan-Tarek Butt <tarek@ring0.de>
2018-02-27 18:14:07 +01:00
Tobias Schramm 5c6476ea58
autoupdater: use safe allocation functions
Give the user a better error message when allocations fail by using our
checked allocation functions.

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
[Matthias Schiffer: squash, use safe_realloc]
2018-02-22 02:39:48 +01:00
Tobias Schramm 3566cabef5
autoupdater: add safe allocation functions
safe_malloc() and safe_realloc() are wrappers around malloc() and realloc()
than abort the process if the memory allocation fails.

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
[Matthias Schiffer: add safe_realloc()]
2018-02-22 02:39:47 +01:00
Tobias Schramm 0b61fee98e
autoupdater: Check if allocation of uci contect was successfull
Previously the return value of uci_alloc_context was not checked leading
to a possible null ptr dereference

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
[Matthias Schiffer: use abort()]
2018-02-22 02:27:57 +01:00
Tobias c802276581 autoupdater: uclient: fix nullpointer dereference on invalid URL (#183)
Previously supplying an invalid url for download would result in
uclient_new returning NULL and crash the autoupdater as soon as
cl->priv is accessed.

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
2018-02-19 17:10:44 +01:00
Matthias Schiffer 7abd688e6a
sse-multiplex: don't use stdio FILE I/O for nonblocking sockets
The behaviour is not defined; musl loses parts of long data lines. Change
code to work with file descriptors directly and handle buffering ourselves.
2018-02-13 22:21:46 +01:00
Matthias Schiffer 9a6ad5ce84
batman-adv-legacy: update to 2018-01-23 git version
695bfbc6 batman-adv: invalidate checksum on fragment reassembly
2018-01-23 12:09:39 +01:00
Matthias Schiffer ea9c5dc09e
batman-adv-legacy: update to 2018-01-22 git version
62f94b93 batman-adv: fix packet checksum in receive path
a5bfc266 batman-adv: Fix inconsistent teardown and release of private netdev state.
226f08ce batman-adv: Remove usage of net_device last_rx member
2018-01-22 20:34:18 +01:00
Matthias Schiffer fc194bc7c8
autoupdater: uclient: add error handling in connection setup
Avoids a segfault when the connection fails early.
2018-01-22 10:57:35 +01:00
Matthias Schiffer d14cedea14
lua-jsonc: new package
This package replaces luci-lib-jsonc, and also provides utility functions
for use from other C libraries.
2018-01-18 16:27:40 +01:00
T-X 309dacfa31 batman-adv-legacy: batctl: backport TL header lines fix (#181)
Backport of:

4aa06a7c "batctl: fix wrong header lines number for local translation table"

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2018-01-17 11:10:58 +01:00
Jan-Philipp Litza 49cb4b3fdb
autoupdater: new implementation
This new version of the autoupdater is implemented in C instead of Lua,
allowing us to interface with libuclient (HTTP downloads) and libecdsautil
(signature checks) directly instead of spawning external processes,
saving RAM and making error handling more robust.

[Matthias Schiffer: add commit message]
2018-01-13 00:22:27 +01:00
Matthias Schiffer 57c67964e2
tunneldigger: clean up version variables in Makefile
Add PKG_SOURCE_DATE and drop explicit PKG_VERSION to ensure strictly
increasing version numbers. In particular, PKG_VERSION must change on every
update so the new version is actually used.
2017-12-27 17:45:38 +01:00
Cyrus 90ecf80c6c tunneldigger: Update to newest upstream commit: (#178)
- Sync package version numbers (0.4.0 = vNext)
- Added cmake related patches to Makefile
2017-12-27 17:28:17 +01:00
Christof Schulze 8769d07c70
L3roamd bump (#180) -- use all-nodes mac 2017-12-22 16:12:43 +01:00
Christof Schulze 79583b37b0
l3roamd: bump version, fix memleaks, adjust output (#177) 2017-12-18 08:14:12 +01:00
Christof 030be550d7 l3roamd: bump version to 2017-12-11 2017-12-11 21:45:13 +01:00
Christof ffd793adcf libbabelhelper: update version 2017-12-09 01:43:27 +01:00
Christof Schulze e0e4fa2d5b
mmfd: bump version (compile fix) (#176) 2017-12-07 23:09:30 +01:00
Christof Schulze f04be66e0a
Merge pull request #175 from freifunk-ffm/christf_babelbuild-bump-versions
bumping versions of l3roamd, mmfd, libbabelhelper
2017-12-07 01:07:17 +01:00
Christof Schulze 25123fe6a1 bumping versions of l3roamd, mmfd, libbabelhelper 2017-12-07 01:06:25 +01:00
Matthias Schiffer 16bf1f9ff1
libpacketmark: fix call of initialization function (again)
The previous fix for ARM broke the constructor call on MIPS. Remove the
-nostartfiles linker flag to fix this.
2017-11-04 20:54:04 +01:00
Matthias Schiffer 5249974a3c
libpacketmark: fix call of initialization function
Rather than using the internal symbol _init, simply let the compiler handle
it by marking it as a constructor. This fixes running the initialization on
some architectures like ARM.
2017-10-25 14:17:33 +02:00
Matthias Schiffer 6d2b807fba
lua-simple-uci: fix set()/tset()/section() with empty lists 2017-10-19 02:12:14 +02:00
Christof Schulze 81e23cf0c9 Merge pull request #173 from freifunk-ffm/christf_bump_libbabelhelper
use latest libbabelhelper and mmfd
2017-10-18 20:20:45 +02:00
Christof Schulze 57332536db libbabelhelper: adapt to new install paths due to package version change 2017-10-18 19:43:23 +02:00
Christof Schulze ce7f69ae4c use latest libbabelhelper 2017-10-18 19:43:23 +02:00
Christof Schulze f76cfa8469 mmfd: bump version to pull in latest adaptions to libbabelhelper 2017-10-18 19:43:20 +02:00
Christof Schulze 8e87b15946 Merge pull request #172 from freifunk-ffm/christf_bump_mmfd
mmfd: bump version to pull in latest adaptions to libbabelhelper
2017-10-08 21:39:25 +02:00
Christof Schulze b4f97fb259 mmfd: bump version to pull in latest adaptions to libbabelhelper 2017-10-08 21:29:11 +02:00
Thomas Weißschuh 706bef6245 respondd: add diagnostics about failed module load (#171) 2017-09-28 12:35:20 +02:00
Christof Schulze ad8918376e Merge pull request #169 from freifunk-ffm/christf_add-libbabelhelper
libbabelhelper: add initial version
2017-09-25 00:41:14 +02:00
Christof Schulze fc5965bfbf Merge pull request #170 from freifunk-ffm/christf_bump-mmfd
mmfd: bump version
2017-09-25 00:40:45 +02:00
Christof Schulze 4f1a0c033f mmfd: bump version 2017-09-24 22:41:03 +02:00
Christof Schulze f5cc0fb145 libbabelhelper: add initial version 2017-09-24 22:39:20 +02:00
Matthias Schiffer 8b65619f59
lua-simple-uci: delete option when using Cursor:set() with nil value
Setting the section type when using set() with only two arguments is a very
confusing behaviour. section() can be used without a value table for the
same result.

Deleting the option instead will make set() and get() symmetric and will
allow to simplify some code that needed to check for nil to call set() or
delete() before.
2017-08-08 04:31:26 +02:00
Matthias Schiffer c9fa162ebb
lua-simple-uci: remove support for obsolete alternative boolean strings 2017-08-08 04:30:04 +02:00