Commit Graph

1531 Commits

Author SHA1 Message Date
Sven Eckelmann 87d0884fa5 batman-adv: upgrade package to latest release 2019.4
* support latest kernels (3.16 - 5.4)
* coding style cleanups and refactoring
* implement aggregation of OGM2 packets
* bugs squashed:

  - fix length validation in netlink messages
  - fix out of buffer read when parsing aggregated packets
  - avoid race condition in OGM(2) packet modification and submission

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-10-25 23:34:34 +02:00
Sven Eckelmann ca06c3fc17 batctl: upgrade package to latest release 2019.4
* fix deprecation warning for option '-m'

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-10-25 23:34:34 +02:00
Sven Eckelmann bb8a0621c6 alfred: upgrade package to latest release 2019.4
* fix build with musl

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-10-25 23:34:34 +02:00
Sven Eckelmann 366c9e0078 batman-adv: Extend PKG_LICENSE* information
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-10-25 23:34:34 +02:00
Sven Eckelmann 23ecedee92 batctl: Extend PKG_LICENSE* information
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-10-25 23:34:34 +02:00
Sven Eckelmann 8219168994 alfred: Extend PKG_LICENSE* information
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-10-25 23:34:34 +02:00
Rob White face529e09 nodogsplash: Version 4.3.3 release (#517)
Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc and arm_cortex-a7_neon-vfpv4

This version fixes two issues that can cause NDS to lock or crash, one, a coding error that leads to memory corruption and two, deadlocks in iptables and ndsctl. Both of these issues occur at high loads and/or at high CPD detection rates.

In addition, in some circumstances, a deauthenticated client running a vpn may have suffered from querystring truncation causing vpn failure.

Some minor updates are also included.

Extract from changelog:

 * Fix Memory corruption at high loads [bluewavenet]
 * Prevent iptables and ndsctl deadlocks [lynxis]
 * Prevent query string truncation for deauthenticated client when client is using some types of vpn software [bluewavenet]
 * Add debuglevel logging in the case of a firewall restart in OpenWrt [bluewavenet]
 * Return error 403(forbidden) when client attempts to use a forbidden http method [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
2019-10-20 14:32:24 +02:00
Moritz Warning 56df2cc303
Merge pull request #514 from BKPepe/bird
bird{1,2}: Update to version 1.6.8 and 2.0.6
2019-10-12 23:36:56 +02:00
Rob White 08ba5e50aa nodogsplash: Version 4.3.0 (#515)
Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc and arm_cortex-a7_neon-vfpv4

This release has major new functionality in the form of token hashing,
(extension to fas_secure level 1) mitigating the problems with remote FAS
where access to the local ndsctl would be otherwise required.
Although not as flexible as level 2, this extension has much smaller
memory and storage requirements so is ideal for implementation on
legacy hardware.

There are also numerous enhancements, updates and fixes.

All changes are compatible with the previous release.

Latest changelog:

 * Create switch option to select preinstalled templated splash or preauth login [bluewavenet]
 * Limit PreAuth and BinAuth log size in example scripts [bluewavenet]
 * Reduce memory requirements and autoselect logfile location [bluewavenet]
 * Create fas-hid example script [bluewavenet]
 * Update FAS, PreAuth and BinAuth example scripts [bluewavenet]
 * Hash client token (hid) for remote FAS enabling secure FAS for legacy/low-flash/low-ram hardware [bluewavenet]
 * Fix NDS Uptime if NTP client is enabled [bluewavenet]
 * Documentation updates for this release [bluewavenet]
 * Fix numerous compiler warnings [mwarning]
 * Fix openwrt fw_mark option type [mwarning]

Signed-off-by: Rob White rob@blue-wave.net
2019-10-08 22:10:04 +02:00
Josef Schlehofer 534121e1fe
bird2: Update to version 2.0.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-29 20:35:45 +02:00
Josef Schlehofer 97ffe0b5de
bird1: Update to version 1.6.8
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-29 20:35:24 +02:00
Rob White def3cd50d8 nodogsplash: Release 4.2.0 (#513)
Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc and arm_cortex-a7_neon-vfpv4

This release adds significant functionality in the form of capturing the client User-Agent string and passing to both PreAuth and BinAuth scripts. Compatibility is maintained with previous versions.

Changelog since last OpenWrt release:

 * BinAuth - Send User Agent string and client-ip to the binauth script [bluewavenet]
 * BinAuth - Update the two example BinAuth scripts showing use of passed arguments [bluewavenet]
 * Documentation - Update BinAuth section [bluewavenet]
 * PreAuth - Send User Agent string to the preauth script [bluewavenet]
 * PreAuth - Update the example PreAuth script showing use of passed arguments [bluewavenet]
 * Documentation - Update PreAuth section [bluewavenet]
 * BinAuth - Send redir variable to the binauth script, allow passing of custom variable payload [bluewavenet]
 * BinAuth - Provide two example BinAuth scripts [bluewavenet]
 * Documentation - Rework Binauth section plus numerous minor updates [bluewavenet]
 * Deprecate RedirectURL config option as it is rendered obsolete by many CPD implementations, use FAS instead [bluewavenet]
 * Numerous minor updates to html, css and script files [bluewavenet]
 * Fix bug - faskey, exit gracefully if not set and fas_secure_enabled = 2 [bluewavenet]
 * Fix bug - Systemd, Do not set debug level in nodogsplash.service [bluewavenet]
 * Fix bug - ndsctl, delete lock file if NDS is not started [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
2019-09-14 22:21:11 +02:00
Axel Neumann f131d73979
Merge pull request #512 from aparcar/bmx7-7.1.1-2
bmx7: fixup Makefile
2019-09-08 09:23:24 +02:00
Paul Spooren 2fd125f516 bmx7: fixup Makefile
The extra MAKE_ARGS were no longer taken into account resulting in
erros. Also more path fixes and some longline splitting.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-09-06 11:16:11 -10:00
Axel Neumann ff5100e759
Merge pull request #507 from aparcar/bmx7-7.1.1
bmx7: update to 7.1.1
2019-08-30 10:40:26 +02:00
Paul Spooren 76a5139334 bmx7: update to 7.1.1
Also clean up the Makefile

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-26 22:03:09 -10:00
zorun 96d96eda8a
Merge pull request #506 from zorun/master
babeld: Update to 1.9.1 and assorted fixes
2019-08-26 21:02:49 +02:00
Baptiste Jonglez 3e3d16338d babeld: Update example configuration file
More example filters are provided, and new options such as "type" or
"pref_src" are given as example.

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
2019-08-26 20:52:37 +02:00
Baptiste Jonglez 06f821adc1 babeld: Update description in Makefile and fix license path
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
2019-08-26 18:40:35 +02:00
Adrian Schmutzler 4d62e08852 babeld: Update to version 1.9.1
20 August 2019: babeld-1.9.1

  * Fixed a crash that could happen when unicast and RTT estimation are
    both enabled on an interface.  Thanks to Dave Taht.
  * Fixed compilation under BSD.  Thanks to Dave Taht.

4 August 2019: babeld-1.9.0

  * Reworked buffering of unicast packets to use a per-neighbour buffer
    rather than a single buffer per interface.  This makes unicast as
    efficient as multicast, at the cost of slightly higher memory usage.
  * Added option "unicast" that allows sending most TLVs over unicast.
    This is necessary for the DTLS extension.
  * Implemented parsing of unicast Hellos.  This makes it possible to
    interoperate with neighbours that only speak unicast (e.g. over some
    kinds of tunnels that only do unicast).
  * Implemented sending of unscheduled unicast Hellos.  This makes the
    RTT extension work over unicast too.
  * Reworked the xroute data structures to use binary search and
    linear-time comparison.
  * Don't attempt to modify the rp_filter sysctl if it already has the
    desired value; this makes it possible to run babeld in an
    unpriviledged container.  Thanks to Christof Schulze.
  * Reinstated logging of late hellos.  Thanks to Dave Taht.
  * Don't send wildcard requests or Hellos to newish nodes.  This makes
    acquisition of new neighbours slower, but drastically reduces noise at
    startup.  Thanks to Teco Boot.
  * Remove an arbitrary limit on the number of interfaces.  Thanks to
    Christof Schulze.
  * Removed class E from martian filter.  Thanks to Dave Taht.
  * Added the ability to set the preferred source address in install filters.
    Thanks to Killian Lufau.
  * Fixed a number of read-only buffer overflows.  Thanks to Leo Stefanesco.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-08-26 18:40:35 +02:00
Adrian Schmutzler 7eeee8124a babeld: Improve Makefile formatting
This applies some style improvements to make this ready for
migration to openwrt/packages.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-08-26 18:40:35 +02:00
Adrian Schmutzler 5a7cf37dc0 babeld: Update to version 1.8.5
Changes:

  * Fixed a bug that caused confustion between learned routes and
    imported routes (thanks to Fabian Bläse).
  * Fixed a bug that prevented install filters from being evaluated
    (thanks to Killian Lufau).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-08-26 18:40:35 +02:00
Baptiste Jonglez 6a92b45fac babeld: Don't kill -9 on stop
Killing anything with -9 is a bad idea.  When killed this way, babeld
won't be able to properly disassociate from its neighbours, withdraw its
announced routes or remove routes from the kernel.

This got introduced in bab933d4ca ("babeld: Update to version 1.8.3 +
fix init") with an unrelated change.  The purpose of the change is unclear
because stopping and restarting babeld worked fine without this change.

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
2019-08-26 18:40:35 +02:00
Jo-Philipp Wich 8a47b231b0
Merge pull request #501 from tohojo/bird-205
Bird: Bump package versions to 1.6.7 and 2.0.5
2019-08-19 15:57:50 +02:00
Toke Høiland-Jørgensen 559619d9d9 bird1: Bump to v1.6.7
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2019-08-19 12:34:49 +02:00
Toke Høiland-Jørgensen c687bd3055 bird2: Bump to v2.0.5
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2019-08-19 12:34:05 +02:00
Rob White 5d7f4af534 nodogsplash: Release 4.0.2 (#500)
Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc

This release has numerous bug fixes and enhancements:

  * Fix bug - fas_remotefqdn not supported with option fas_secure_enabled 0 [bluewavenet]
  * Fix bug - prevent deadlock causing ndsctl to hang and NDS to become unresponsive [bluewavenet]
  * PreAuth - Override FAS settings making configuration foolproof [bluewavenet]
  * ndsctl - make json parsing consistent for all client variables [bluewavenet]
  * Fix memory leak in template generation [lynxis]
  * When executing the ndsctl stop command, cleanup all structures [lynxis]
  * Check for positive errno in thread_ndsctl [lynxis]

Signed-off-by: Rob White <rob@blue-wave.net>
2019-08-16 01:45:52 +02:00
Saverio Proto 9403a5d816
Merge pull request #490 from RussellSenior/fix-olsrd
olsrd: fix build against gpsd-3.19
2019-08-13 08:46:20 +02:00
Russell Senior c1a41b1740 olsrd: update to 0.9.8
Allows building against gpsd-3.19.

Signed-off-by: Russell Senior <russell@personaltelco.net>
2019-08-12 12:35:21 -07:00
Simon Wunderlich ec287ab088
Merge pull request #497 from ecsv/alfred-multiif
alfred: Interface init script fixes
2019-08-02 09:53:22 +02:00
Simon Wunderlich ecb7132f01
Merge pull request #495 from ecsv/batadv-2019.3
batman-adv 2019.3
2019-08-02 09:53:03 +02:00
Sven Eckelmann cf802f8607 alfred: Allow startup without batman-adv sysfs support
The batman-adv kernel module can be build without sysfs support. This will
stop the kernel module from creating the "mesh" directory. The alfred init
script must not depend on this folder to start the daemon up.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-08-01 21:35:39 +02:00
Sven Eckelmann 157da8c4ee alfred: Support multiple listening interfaces
The alfred daemon allows to be started with multiple interfaces. The first
interface is used for communication and to calculate the source mac
address. The rest of the interfaces are only used for communication.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-08-01 21:34:44 +02:00
Sven Eckelmann ce3569e159 batman-adv: upgrade package to latest release 2019.3
* support latest kernels (3.16 - 5.3)
* coding style cleanups and refactoring
* add routable multicast optimizations
* bugs squashed:

  - fix duplicated OGMs on NETDEV_UP
  - fix dumping of multicast flags

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-08-01 17:53:51 +02:00
Sven Eckelmann 34b730e6ab batman-adv: Switch proto scripts to new prefixes
The '-m' option to select the mesh interface or vlan interfaces was
replaced with device type specific subcommand prefixes:

* meshif <netdev>
* vlan <vdev>
* meshif <netdev> vid <vid>
* hardif <netdev>

This change should also be made in the proto script to allow batctl to drop
the support of '-m' completely in the future.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-08-01 17:45:46 +02:00
Sven Eckelmann a03d198516 batctl: upgrade package to latest release 2019.3
* add tcpdump support for MCAST TVLV, unicast fragments and coded packets
* implement support for multicast RTR flags
* avoid some kernel deprecation warning by using more generic netlink over
  sysfs
* use type specific prefixes to select mesh interface or vlan instead of '-m'
* add support for hardif specific settings

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-08-01 17:44:55 +02:00
Sven Eckelmann a74938ea46 alfred: upgrade package to latest release 2019.3
* avoid some kernel deprecation warning by using more generic netlink over
  sysfs

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-08-01 17:43:45 +02:00
Sven Eckelmann 89bcb4b22f batman-adv: Drop compat-hacks for unsupported kernel versions
OpenWrt only supports kernel 4.9, 4.14 and 4.19. Older kernel versions than
4.9 therefore don't require support.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-08-01 17:30:10 +02:00
Rob White c953099d06 nodogsplash: Release 4.0.1 (#492)
Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc

  * Make debuglevel platform independent [mwarning]
  * Add/move/reword some debug output lines [mwarning]
  * Numerous code cleanups [mwarning]
  * Put fas code into block [mwarning]
  * Fix coding error in fas-aes.php incorrectly passing redir back to NDS [bluewavenet]
  * Numerous documentation updates [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
2019-07-30 17:22:39 +02:00
Jo-Philipp Wich 7fc5c6e56f
Merge pull request #476 from blogic/master
mcproxy: some add some fixes
2019-07-30 12:10:34 +02:00
Rosen Penev 9f5d42692e cjdns-tests: Don't build on ARC (#487)
Not supported.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-29 13:38:51 -04:00
elektra42 66121b8879
Merge pull request #489 from ecsv/batmand-procd
batmand/vis: Convert to procd based init scripts
2019-07-29 11:35:35 +02:00
Simon Wunderlich d4b95cd0be
Merge pull request #488 from ecsv/bat-cleanup
Cleanup of B.A.T.M.A.N. related packages build rules
2019-07-28 12:41:31 +02:00
Sven Eckelmann aa050789fe vis: Convert to procd based init script
The legacy init script had various problems in comparison with procd based
init scripts. It wasn't able to correctly track the running process
instance and thus could:

* accidentally kill another (non init controlled) daemon instance when stop
  is used
* not restart the daemon depending on config changes when reload is used
* not automatically start/restart daemon when the used netdev was
  created/recreated

The information about a running instance and its parameters can now be
handled by a global controller (procd). The process must not fork anymore
and leave the control to procd. The process with its parameters can then be
used by procd to trigger the stop/start of the process at the right time.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-07-28 00:17:42 +02:00
Sven Eckelmann 5802c44e3c batmand: Convert to procd based init script
The legacy init script had various problems in comparison with procd based
init scripts. It wasn't able to correctly track the running process
instance and thus could:

* accidentally kill another (non init controlled) daemon instance when stop
  is used
* not restart the daemon depending on config changes when reload is used

The information about a running instance and its parameters can now be
handled by a global controller (procd). The process must not fork anymore
and leave the control to procd. The process with its parameters can then be
used by procd to trigger the stop/start of the process at the right time.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-07-28 00:17:15 +02:00
Sven Eckelmann f921555cf7 batctl: Use standard Build/Compile rule
batctl isn't using any special rules in Build/Compile. It is cleaner to
directly use the global Build/Compile/Default instead of having a
functional similar copy in the package Makefile

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-07-27 22:42:24 +02:00
Sven Eckelmann 44e375c0a3 alfred: Drop unused init-y variable
The Makefile defines the init-y variable but neither this Makefile nor
OpenWrt's common files use this variable.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-07-27 22:42:24 +02:00
Sven Eckelmann 4c4b836d89 alfred: Use standard Build/Compile rule
alfred isn't using any special rules in Build/Compile. It is cleaner to
directly use the global Build/Compile/Default instead of having a
functional similar copy in the package Makefile

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-07-27 22:42:24 +02:00
Sven Eckelmann eb8a4e8e87 vis: Use standard Build/Compile rule
vis isn't using any special rules in Build/Compile. It is cleaner to
directly use the global Build/Compile/Default instead of having a
functional similar copy in the package Makefile

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-07-27 22:42:24 +02:00
Sven Eckelmann 8b9a7bba78 vis: Drop unused make parameters
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-07-27 22:42:24 +02:00