1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-15 19:54:07 +02:00
Commit Graph

150 Commits

Author SHA1 Message Date
Matthias Schiffer
04d2b6ffbb sse-multiplex: fix pipe FD leaks
sse-multiplexd leaked pipe FDs to its child processes, so newer children
kept the older ones alive when they should have received a SIGPIPE already.

Closes freifunk-gluon/gluon#2468
2022-07-03 16:19:35 +02:00
Adorfer
a85fa336ba
treewide: change Github URLs from git:// to https:// (#252)
Github dropped git:// support. Only the tunneldigger Makefile is affected.

[Matthias Schiffer: changed commit message]

Original commit message:

git:// links browned out since yesterday

see https://github.blog/2021-09-01-improving-git-protocol-security-github/#when-are-these-changes-effective
https://forum.freifunk.net/t/gluon-braucht-menschen-die-tunneldigger-aenderungen-testen/20674
0bd5330776/patches/tunneldiggergit.patch
2022-01-12 21:17:42 +01:00
Matthias Schiffer
52d7ac4aea respondd-module-airtime: move const specifier to the right location
GCC was warning that the second const was reduncant.
2021-10-25 00:09:01 +02:00
Matthias Schiffer
806703222f respondd-module-airtime: remove incorrect fprintf argument 2021-10-25 00:09:01 +02:00
Matthias Schiffer
1412236c09 respondd-module-airtime: remove PHY ID again
This ID is meaningless outside of a node itself, it is not necessarily
stable across reboots and upgrades, and there is nothing else in the
respondd data that this ID could be matched against. Remove it.

This reverts commit 8d53ff54e5 ("respondd-module-airtime: add idx").
2021-10-25 00:09:01 +02:00
Matthias Schiffer
1dd5cd1706 respondd-module-airtime: improve error handling
- Return either NL_OK or NL_STOP from callback
- Return the generated airtime entry from get_airtime()
2021-10-25 00:09:01 +02:00
genofire
b4858b1509
net/wgpeerselector: keep same datatype on ubus status (#250) 2021-10-03 10:58:43 +02:00
lemoer
0a334b837f wgpeerselector: add package
For docs, see net/wgpeerselector/README.md.
2021-09-15 01:05:14 +02:00
David Bauer
825aa0c093 respondd-module-airtime: fix null pointer deref
In case a radio exists, but is disabled, the survey request will return
successfully, but without data.

The code could not handle this case, as the newest_element_index would
be negative in this case, leading to json_object_array_get_idx returning
a null-pointer.

Check for a null pointer prior adding the PHY index, avoiding a
null-pointer dereference.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-07-03 02:31:05 +02:00
aiyion.prime
8d53ff54e5 respondd-module-airtime: add idx
implements freifunk-gluon/gluon#2204
2021-04-22 20:23:49 +02:00
Matthias Schiffer
3822f44013
tunneldigger: remove unneeded kmod-l2tp-ip dependency
Closes #242
2021-03-07 18:34:15 +01:00
Ralf Jung
95c805c863
tunneldigger: update to latest upstream (#238) 2020-05-17 12:20:09 +02:00
Christof Schulze
033401c18e mmfd: bump version
* FIX bind to all mesh interfaces and process all data
* FIX crash due to debug output
2020-01-20 23:54:39 +01:00
Christof Schulze
7cdfb66ece l3roamd: bump version
* Fix processing of multicast messages
* Fix fd handling
* fix endless loop on socket handling
2020-01-20 23:54:39 +01:00
Martin Weinelt
de7b228cae
batman-adv-legacy: remove the package 2019-09-27 10:03:17 +02:00
Sven Roederer
85c8044e6c l3roamd: update to fix build
* Add some usage documentation to readme
* FIX: compile error on include sys/unistd.h vs unistd.h
2019-09-25 20:47:26 +02:00
Christof Schulze
295f0555f9 l3roamd: bump version: instant claiming, FIX removing routes 2019-09-17 09:25:04 +02:00
Matthias Schiffer
e130b6f54d
simple-tc: increment PKG_VERSION
We had a report of broken builds after this change. Forcing the package
metadata to be rebuilt should help.
2019-09-04 20:52:50 +02:00
Christof Schulze
0447a6960c bump mmfd: Bugfix Crash and firends
* include bugfix to allow sending unicast packets to neighbours
* FIX crash due to wrong format string
* FIX packet forwarding on mesh devices added via socket
* allow to build statically
* avoid adding mesh interfaces multiple times
2019-08-23 18:52:38 +02:00
Matthias Schiffer
dccead7083
Merge pull request #211 from T-X/batman-adv-legacy-coexist
batman-adv-legacy: batman-adv co-existence
2019-08-22 19:54:56 +02:00
Matthias Schiffer
7c31643f5c
simple-tc: depend on KERNEL_NET_ACT_POLICE or kmod-sched 2019-08-21 18:17:15 +02:00
Jan Luebbe
17e2535632 simple-tc: fix confusing program names in error messages 2019-07-31 21:34:55 +02:00
Linus Lüssing
19ef88a719 batman-adv-legacy: update maintainers
Marek Lindner -> Matthias Schiffer + Linus Lüssing
2019-07-27 06:32:52 +02:00
Linus Lüssing
c04321b963 batman-adv-legacy: rename title from "B.A.T.M.A.N. Adv" to "... Legacy" 2019-07-27 06:32:51 +02:00
Linus Lüssing
a382d21c6a batman-adv-legacy: move binaries, scripts and config to avoid conflicts
This renames batman-adv.ko to batman-adv-legacy.ko. And also moves
scripts to a "-legacy" variant to avoid build errors when both
batman-adv and batman-adv-legacy are selected. Finally, moves the
batman-adv-legacy config to /etc/config/batman-adv-legacy.

This allows to select and install the batman-adv mainline and
batman-adv-legacy simultaneously.
2019-07-27 06:32:51 +02:00
Linus Lüssing
3e3db36a2e batman-adv-legacy: remove module autoload
Instead of unconditionally loading this module on boot the gluon_bat0
netifd protocol script will later take care of loading either the batman-adv
or batman-adv-legacy module, depending on the configured routing
algorithm in UCI.
2019-07-27 06:32:50 +02:00
Christof Schulze
63e6e0da06 mmfd: split package into mmfd and gluon-mmfd, bump mmfd version
* include ability to open socket
* include dependency for libjson-c
2019-07-20 15:02:16 +02:00
Christof Schulze
9c0ac53551 bump mmfd: remove babel dependency 2019-07-07 01:43:13 +02:00
Christof Schulze
aae659d48d bump l3roamd version
* memory alignment fixes
* fixes for uninitialized memory
* fixes for neighbour detection (removal of neighbours)
* scheduling fixes in taskqueue
* schedule removal of nodes in NUD_PROBE
2019-06-28 22:32:37 +02:00
genofire
fccb564ca5 l3roamd: bump version for Allow to run l3roamd without mesh interfaces 2019-05-27 17:48:02 +02:00
Christof Schulze
fbcd1b35f2 l3roamd: bump version for FIX when roaming within the first 4.5 seconds 2019-05-26 00:08:29 +02:00
Matthias Schiffer
9a364fb8d0
respondd: fix crash caused by division by zero
Fixes: 31eb441db1 ("respondd: make delays specific for group and interface")
2019-05-01 16:17:14 +02:00
Matthias Schiffer
ac0f8ac4b5
batman-adv-legacy: update to latest git
ea42aed32284 batman-adv: Provide 3-argument access_ok fallback
2019-04-22 00:13:58 +02:00
Matthias Schiffer
cf3e8d1a08
respondd: exit on unknown command line parameters 2019-04-21 19:29:44 +02:00
Matthias Schiffer
0f57108e3d
respondd: make all internal functions static 2019-04-21 19:29:44 +02:00
Matthias Schiffer
593b2c6266
respondd: fix incorrect use of strncpy
Fortunately, the destination buffer is always big enough, so no buffer
overflow can happen. Use memcpy instead of strncpy to make this explicit
(and slightly more efficient).
2019-04-21 19:29:44 +02:00
Matthias Schiffer
31eb441db1
respondd: make delays specific for group and interface
Previously, delays were specific for interfaces, but not for the group
address. This behaviour was confusing when the same interface was passed
for multiple group addresses. Fix by keeping track of both groups and
interfaces.
2019-04-21 19:29:44 +02:00
Matthias Schiffer
2d89e972d9
respondd: fix inet_pton() error message
inet_pton() doesn't set errno on regular parse errors, so using perror()
doesn't make sense (and we avoid a confusing "Success" message).
2019-04-21 19:08:22 +02:00
Matthias Schiffer
a906d2447f
respondd: miniz: fix -Wmisleading-indentation warning 2019-04-21 17:30:57 +02:00
Matthias Schiffer
42da0795e2
batman-adv-legacy: update package version number 2019-04-21 17:13:37 +02:00
Matthias Schiffer
3dd5522889
batman-adv-legacy: restore Build/Prepare step
Fixes the missing /sys/module/batman_adv/version file used by various tools
to show the batman-adv module version number.
2019-04-21 17:11:08 +02:00
Linus Lüssing
df0dd9cd6b batman-adv-legacy: update to latest git
66fe8cb Backport access_ok() changes
3167661 batman-adv: Remove ethtool .get_settings stub
46abfa1 batman-adv: add DAT cache netlink support
205ac81 batman-adv: Avoid endless loop in bat-on-bat netdevice check (#14)
2019-04-16 12:04:12 +02:00
T-X
972e67f34b batman-adv-legacy: remove batctl v2013.4 (#213)
With the netlink functions backported batman-adv-legacy works fine with
the upstream batctl. Therefore there is no more need to build and
install the old batctl v2013.4 version.
2019-04-16 00:00:14 +02:00
Claus Marxmeier
524ae77e9b tunneldigger: update to newest upstream commit (#216)
- fixes broken Broker reset bug in tunneldigger-client wlanslovenija/tunneldigger#87 - now tunneldigger client resets error-tags and starts from scratch, when no Brokers are left over
- added cmake related patches to Makefile
2019-04-11 09:01:22 +02:00
Christof Schulze
8e768b3994 mmfd: bump version, include babeld reconnect fix 2018-11-25 23:07:53 +01:00
Christof Schulze
9e0b9bb314 l3roamd: allow to del_meshif for initially specified interfaces and get_meshifs on socket 2018-11-25 23:07:53 +01:00
Christof Schulze
9eb42b848f bump mmfd version 2018-10-07 23:24:22 +02:00
Christof Schulze
a5815a3562 bump mmfd 2018-10-01 12:27:04 +02:00
lemoer
50874ee142 respondd: add documentation for some protocol related functions (#194) 2018-09-17 22:43:51 +02:00
Christof Schulze
c56ec3aab8 mmfd: bump version 2018-08-02 23:58:30 +02:00