feed/routing.git
5 years agocjdns: luci-app-cjdns: update maintainer (#524)
William Fleurant [Sun, 3 Nov 2019 17:57:42 +0000 (12:57 -0500)]
cjdns: luci-app-cjdns: update maintainer (#524)

Signed-off-by: William Fleurant <meshnet@protonmail.com>
5 years agocjdns: Update to the latest version (#523)
Michal Hrušecký [Sun, 3 Nov 2019 17:34:43 +0000 (18:34 +0100)]
cjdns: Update to the latest version (#523)

Signed-off-by: Michal Hrusecky <Michal@Hrusecky.net>
5 years agoMerge pull request #518 from ecsv/batadv-2019.4
Simon Wunderlich [Sat, 26 Oct 2019 08:29:42 +0000 (10:29 +0200)]
Merge pull request #518 from ecsv/batadv-2019.4

batman-adv 2019.4

5 years agobatman-adv: upgrade package to latest release 2019.4 518/head
Sven Eckelmann [Fri, 25 Oct 2019 21:29:49 +0000 (23:29 +0200)]
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>
5 years agobatctl: upgrade package to latest release 2019.4
Sven Eckelmann [Fri, 25 Oct 2019 21:29:37 +0000 (23:29 +0200)]
batctl: upgrade package to latest release 2019.4

* fix deprecation warning for option '-m'

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoalfred: upgrade package to latest release 2019.4
Sven Eckelmann [Fri, 25 Oct 2019 21:29:06 +0000 (23:29 +0200)]
alfred: upgrade package to latest release 2019.4

* fix build with musl

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatman-adv: Extend PKG_LICENSE* information
Sven Eckelmann [Mon, 2 Sep 2019 13:50:22 +0000 (15:50 +0200)]
batman-adv: Extend PKG_LICENSE* information

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: Extend PKG_LICENSE* information
Sven Eckelmann [Mon, 2 Sep 2019 13:50:22 +0000 (15:50 +0200)]
batctl: Extend PKG_LICENSE* information

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoalfred: Extend PKG_LICENSE* information
Sven Eckelmann [Mon, 2 Sep 2019 13:50:22 +0000 (15:50 +0200)]
alfred: Extend PKG_LICENSE* information

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agonodogsplash: Version 4.3.3 release (#517)
Rob White [Sun, 20 Oct 2019 12:32:24 +0000 (13:32 +0100)]
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>
5 years agoMerge pull request #514 from BKPepe/bird
Moritz Warning [Sat, 12 Oct 2019 21:36:56 +0000 (23:36 +0200)]
Merge pull request #514 from BKPepe/bird

bird{1,2}: Update to version 1.6.8 and 2.0.6

5 years agonodogsplash: Version 4.3.0 (#515)
Rob White [Tue, 8 Oct 2019 20:10:04 +0000 (21:10 +0100)]
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
5 years agobird2: Update to version 2.0.6 514/head
Josef Schlehofer [Sun, 29 Sep 2019 18:35:35 +0000 (20:35 +0200)]
bird2: Update to version 2.0.6

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agobird1: Update to version 1.6.8
Josef Schlehofer [Sun, 29 Sep 2019 18:35:10 +0000 (20:35 +0200)]
bird1: Update to version 1.6.8

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agonodogsplash: Release 4.2.0 (#513)
Rob White [Sat, 14 Sep 2019 20:21:11 +0000 (21:21 +0100)]
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>
5 years agoMerge pull request #512 from aparcar/bmx7-7.1.1-2
Axel Neumann [Sun, 8 Sep 2019 07:23:24 +0000 (09:23 +0200)]
Merge pull request #512 from aparcar/bmx7-7.1.1-2

bmx7: fixup Makefile

5 years agobmx7: fixup Makefile 512/head
Paul Spooren [Fri, 6 Sep 2019 21:15:04 +0000 (11:15 -1000)]
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>
5 years agoMerge pull request #507 from aparcar/bmx7-7.1.1
Axel Neumann [Fri, 30 Aug 2019 08:40:26 +0000 (10:40 +0200)]
Merge pull request #507 from aparcar/bmx7-7.1.1

bmx7: update to 7.1.1

5 years agobmx7: update to 7.1.1 507/head
Paul Spooren [Tue, 27 Aug 2019 08:03:09 +0000 (22:03 -1000)]
bmx7: update to 7.1.1

Also clean up the Makefile

Signed-off-by: Paul Spooren <mail@aparcar.org>
5 years agoMerge pull request #506 from zorun/master
zorun [Mon, 26 Aug 2019 19:02:49 +0000 (21:02 +0200)]
Merge pull request #506 from zorun/master

babeld: Update to 1.9.1 and assorted fixes

5 years agobabeld: Update example configuration file 506/head
Baptiste Jonglez [Mon, 26 Aug 2019 16:25:32 +0000 (18:25 +0200)]
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>
5 years agobabeld: Update description in Makefile and fix license path
Baptiste Jonglez [Mon, 26 Aug 2019 16:12:50 +0000 (18:12 +0200)]
babeld: Update description in Makefile and fix license path

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
5 years agobabeld: Update to version 1.9.1
Adrian Schmutzler [Wed, 21 Aug 2019 14:09:18 +0000 (16:09 +0200)]
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>
5 years agobabeld: Improve Makefile formatting
Adrian Schmutzler [Wed, 21 Aug 2019 13:56:50 +0000 (15:56 +0200)]
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>
5 years agobabeld: Update to version 1.8.5
Adrian Schmutzler [Wed, 21 Aug 2019 13:45:50 +0000 (15:45 +0200)]
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>
5 years agobabeld: Don't kill -9 on stop
Baptiste Jonglez [Mon, 26 Aug 2019 16:39:37 +0000 (18:39 +0200)]
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 bab933d4cad8 ("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>
5 years agoMerge pull request #501 from tohojo/bird-205
Jo-Philipp Wich [Mon, 19 Aug 2019 13:57:50 +0000 (15:57 +0200)]
Merge pull request #501 from tohojo/bird-205

Bird: Bump package versions to 1.6.7 and 2.0.5

5 years agobird1: Bump to v1.6.7 501/head
Toke Høiland-Jørgensen [Mon, 19 Aug 2019 10:34:49 +0000 (12:34 +0200)]
bird1: Bump to v1.6.7

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
5 years agobird2: Bump to v2.0.5
Toke Høiland-Jørgensen [Mon, 19 Aug 2019 10:34:05 +0000 (12:34 +0200)]
bird2: Bump to v2.0.5

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
5 years agonodogsplash: Release 4.0.2 (#500)
Rob White [Thu, 15 Aug 2019 23:45:52 +0000 (00:45 +0100)]
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>
5 years agoMerge pull request #490 from RussellSenior/fix-olsrd
Saverio Proto [Tue, 13 Aug 2019 06:46:20 +0000 (08:46 +0200)]
Merge pull request #490 from RussellSenior/fix-olsrd

olsrd: fix build against gpsd-3.19

5 years agoolsrd: update to 0.9.8 490/head
Russell Senior [Sun, 11 Aug 2019 08:33:49 +0000 (01:33 -0700)]
olsrd: update to 0.9.8

Allows building against gpsd-3.19.

Signed-off-by: Russell Senior <russell@personaltelco.net>
5 years agoMerge pull request #497 from ecsv/alfred-multiif
Simon Wunderlich [Fri, 2 Aug 2019 07:53:22 +0000 (09:53 +0200)]
Merge pull request #497 from ecsv/alfred-multiif

alfred: Interface init script fixes

5 years agoMerge pull request #495 from ecsv/batadv-2019.3
Simon Wunderlich [Fri, 2 Aug 2019 07:53:03 +0000 (09:53 +0200)]
Merge pull request #495 from ecsv/batadv-2019.3

batman-adv 2019.3

5 years agoalfred: Allow startup without batman-adv sysfs support 497/head
Sven Eckelmann [Thu, 1 Aug 2019 19:22:21 +0000 (21:22 +0200)]
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>
5 years agoalfred: Support multiple listening interfaces
Sven Eckelmann [Thu, 1 Aug 2019 18:58:41 +0000 (20:58 +0200)]
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>
5 years agobatman-adv: upgrade package to latest release 2019.3 495/head
Sven Eckelmann [Thu, 1 Aug 2019 15:53:51 +0000 (17:53 +0200)]
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>
5 years agobatman-adv: Switch proto scripts to new prefixes
Sven Eckelmann [Thu, 1 Aug 2019 14:22:00 +0000 (16:22 +0200)]
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>
5 years agobatctl: upgrade package to latest release 2019.3
Sven Eckelmann [Thu, 1 Aug 2019 15:44:55 +0000 (17:44 +0200)]
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>
5 years agoalfred: upgrade package to latest release 2019.3
Sven Eckelmann [Thu, 1 Aug 2019 15:37:03 +0000 (17:37 +0200)]
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>
5 years agobatman-adv: Drop compat-hacks for unsupported kernel versions
Sven Eckelmann [Thu, 1 Aug 2019 14:39:32 +0000 (16:39 +0200)]
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>
5 years agonodogsplash: Release 4.0.1 (#492)
Rob White [Tue, 30 Jul 2019 15:22:39 +0000 (16:22 +0100)]
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>
5 years agoMerge pull request #476 from blogic/master
Jo-Philipp Wich [Tue, 30 Jul 2019 10:10:34 +0000 (12:10 +0200)]
Merge pull request #476 from blogic/master

mcproxy: some add some fixes

5 years agocjdns-tests: Don't build on ARC (#487)
Rosen Penev [Mon, 29 Jul 2019 17:38:51 +0000 (10:38 -0700)]
cjdns-tests: Don't build on ARC (#487)

Not supported.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agoMerge pull request #489 from ecsv/batmand-procd
elektra42 [Mon, 29 Jul 2019 09:35:35 +0000 (11:35 +0200)]
Merge pull request #489 from ecsv/batmand-procd

batmand/vis: Convert to procd based init scripts

5 years agoMerge pull request #488 from ecsv/bat-cleanup
Simon Wunderlich [Sun, 28 Jul 2019 10:41:31 +0000 (12:41 +0200)]
Merge pull request #488 from ecsv/bat-cleanup

Cleanup of B.A.T.M.A.N. related packages build rules

5 years agovis: Convert to procd based init script 489/head
Sven Eckelmann [Sat, 27 Jul 2019 21:33:35 +0000 (23:33 +0200)]
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>
5 years agobatmand: Convert to procd based init script
Sven Eckelmann [Sat, 27 Jul 2019 21:33:35 +0000 (23:33 +0200)]
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>
5 years agobatctl: Use standard Build/Compile rule 488/head
Sven Eckelmann [Sat, 27 Jul 2019 20:10:04 +0000 (22:10 +0200)]
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>
5 years agoalfred: Drop unused init-y variable
Sven Eckelmann [Sat, 27 Jul 2019 20:29:04 +0000 (22:29 +0200)]
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>
5 years agoalfred: Use standard Build/Compile rule
Sven Eckelmann [Sat, 27 Jul 2019 20:10:04 +0000 (22:10 +0200)]
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>
5 years agovis: Use standard Build/Compile rule
Sven Eckelmann [Sat, 27 Jul 2019 20:10:04 +0000 (22:10 +0200)]
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>
5 years agovis: Drop unused make parameters
Sven Eckelmann [Sat, 27 Jul 2019 20:02:50 +0000 (22:02 +0200)]
vis: Drop unused make parameters

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatmand: Use standard Build/Compile rule
Sven Eckelmann [Sat, 27 Jul 2019 20:10:04 +0000 (22:10 +0200)]
batmand: Use standard Build/Compile rule

batmand 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>
5 years agobatmand: Drop unused make parameters
Sven Eckelmann [Sat, 27 Jul 2019 20:02:50 +0000 (22:02 +0200)]
batmand: Drop unused make parameters

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatmand: Drop batgat kernel module
Sven Eckelmann [Sat, 27 Jul 2019 19:52:58 +0000 (21:52 +0200)]
batmand: Drop batgat kernel module

This kernel module is broken since 2013 and doesn't build. It can therefore
be removed.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #485 from ecsv/batadv-2019.2
Simon Wunderlich [Mon, 22 Jul 2019 08:39:41 +0000 (10:39 +0200)]
Merge pull request #485 from ecsv/batadv-2019.2

batman-adv: Use Linux 5.2 API again

5 years agobatman-adv: Use Linux 5.2 API again 485/head
Sven Eckelmann [Mon, 22 Jul 2019 07:54:49 +0000 (09:54 +0200)]
batman-adv: Use Linux 5.2 API again

The mac80211 package version was updated to a 5.2 based one in commit
0b2c42ced21a ("mac80211: Update to version 5.2-rc7"). The batman-adv module
must therefore no longer the pre-5.2 API.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #483 from aparcar/luci-app-bmx7-transfer
Axel Neumann [Thu, 18 Jul 2019 17:31:21 +0000 (19:31 +0200)]
Merge pull request #483 from aparcar/luci-app-bmx7-transfer

luci-app-bmx7: transfer to luci.git

5 years agonodogsplash: Release 4.0.0 (#484)
Rob White [Mon, 15 Jul 2019 12:23:31 +0000 (13:23 +0100)]
nodogsplash: Release 4.0.0 (#484)

Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc and arm_cortex-a5_neon-vfpv4/

  * Introduce aes encryption of the query string passed to remote FAS, allowing authdir and client token to be transferred securely. Uses php-cli and php-openssl. These are required if encryption is enabled but are not dependencies [bluewavenet]
  * Introduce fasremotefqdn, specifying the FQDN of the remote FAS. This facilitates simplified support for FAS operation on shared hosting systems [bluewavenet]
  * Add a FAS php script supporting aes encrypted query string sent from NDS [bluewavenet]
  * Numerous Documentation updates [bluewavenet]
  * Remove unused pagesdir and imagesdir [mwarning]
  * Add Preauth script that displays images from remote servers [bluewavenet]
  * Use elegant check for valid ip addresses [mwarning]
  * openwrt initscript - add missing macmechanism in the config file [lynxis]

Signed-off-by: Rob White <rob@blue-wave.net>
5 years agoluci-app-bmx7: transfer to luci.git 483/head
Paul Spooren [Thu, 11 Jul 2019 09:06:43 +0000 (11:06 +0200)]
luci-app-bmx7: transfer to luci.git

The package was recently[0] moved to luci.git

[0]: https://github.com/openwrt/luci/commit/9aa507790e8a75ab8f52e267e29059a080d55122

Signed-off-by: Paul Spooren <mail@aparcar.org>
5 years agomcproxy: fix up sourcefilter patch 476/head
John Crispin [Sun, 30 Jun 2019 11:03:23 +0000 (13:03 +0200)]
mcproxy: fix up sourcefilter patch

this spewed out 2 compile warnings

In file included from build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/mc_socket.cpp:43:0:

build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp: In function 'int setsourcefilter(int, uint32_t, const sockaddr*, socklen_t, uint32_t, uint32_t, const sockaddr_storage*)':
build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp:157:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp:160:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
     int save_errno = errno;
     ^~~

Signed-off-by: John Crispin <john@phrozen.org>
5 years agomcproxy: add igmpV2 reply support
John Crispin [Wed, 5 Jun 2019 18:33:42 +0000 (20:33 +0200)]
mcproxy: add igmpV2 reply support

mcproxy has no way to send an IGMPv2 query today. If you force IGMPv2 (by
setting the protocol in the mcproxy config and setting the force_igmp_version
flag on all interfaces) the bridge will send v2 queries but if mcproxy takes
over as the querier it will send v3 queries. The patch below adds support for
sending v2 queries so everyone stays in sync:

Signed-off-by: Sukru Senli <sukru.senli@iopsys.eu>
Signed-off-by: Chad Monroe <chad.monroe@smartrg.com>
Signed-off-by: John Crispin <john@phrozen.org>
5 years agoMerge pull request #440 from tohojo/bird-203
Jo-Philipp Wich [Wed, 26 Jun 2019 17:27:47 +0000 (19:27 +0200)]
Merge pull request #440 from tohojo/bird-203

bird2: Bump to v2.0.4

5 years agoMerge pull request #441 from BKPepe/bird1
Jo-Philipp Wich [Wed, 26 Jun 2019 17:13:53 +0000 (19:13 +0200)]
Merge pull request #441 from BKPepe/bird1

bird1: update to version 1.6.6

5 years agoMerge pull request #479 from neheb/master
Jo-Philipp Wich [Wed, 26 Jun 2019 17:02:51 +0000 (19:02 +0200)]
Merge pull request #479 from neheb/master

Build fixes

5 years agocjdns: Do not build on ARC 479/head
Rosen Penev [Mon, 27 May 2019 23:48:46 +0000 (16:48 -0700)]
cjdns: Do not build on ARC

Is not supported by node.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agomcproxy: Fix compilation with uClibc-ng
Rosen Penev [Mon, 27 May 2019 07:04:01 +0000 (00:04 -0700)]
mcproxy: Fix compilation with uClibc-ng

uClibc-ng also defines __GLIBC__, which messes up the check.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agoMerge pull request #478 from ecsv/batadv-for-19.07
Simon Wunderlich [Sun, 16 Jun 2019 09:27:08 +0000 (11:27 +0200)]
Merge pull request #478 from ecsv/batadv-for-19.07

batman-adv: Add support for B.A.T.M.A.N. V hardif settings

5 years agobatman-adv: Don't try to set unconfigured ap_isolation for vlan 478/head
Sven Eckelmann [Sun, 16 Jun 2019 07:27:08 +0000 (09:27 +0200)]
batman-adv: Don't try to set unconfigured ap_isolation for vlan

The ap_isolation setting only supports boolean values. So setting an empty
string as ap_isolation is not supported by batctl.

Fixes: f5205d7d2434 ("batman-adv: upgrade package to latest release 2014.2.0")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatman-adv: Add support for hardif settings
Sven Eckelmann [Sat, 15 Jun 2019 07:25:05 +0000 (09:25 +0200)]
batman-adv: Add support for hardif settings

B.A.T.M.A.N. V support additional settings which are hardif specific. The
batadv_hardif proto has to expose them to allow automatic configuration.
The default configuration would be:

  config interface 'bat0_hardif_eth0'
   option proto 'batadv_hardif'
   option master 'bat0'
   option ifname 'eth0'
   option mtu '1536'
   option 'elp_interval' 500
   # string like '1mbit' is accepted instead of kbit for override
   option 'throughput_override' '0'

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: Add support for hardif settings
Sven Eckelmann [Sat, 15 Jun 2019 07:18:51 +0000 (09:18 +0200)]
batctl: Add support for hardif settings

batctl currently supports settings which are either mesh interface or vlan
specific. But B.A.T.M.A.N. V introduced two additional settings which are
hard (slave) interface specific.

To support these, an additional command prefix called hardif is implemented
for some sysfs commands:

  $ batctl -m bat0 hardif eth0 ..

The usable commands with that are:

* elp_interval
* throughput_override

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agomcproxy: fix block/filtering code
John Crispin [Wed, 5 Jun 2019 18:30:54 +0000 (20:30 +0200)]
mcproxy: fix block/filtering code

mcproxy supports a generic filtering/blacklisting mechanism but it’s currently
broken. In the case of routed video (e.g. mcproxy routing video from
WAN -> LAN), it will forward multicast between the LAN and WAN. There are
perfectly valid use cases for this like reporting but other less-appropriate
things like mDNS and SSDP leak through from LAN -> WAN which is bad.

Signed-off-by: Sukru Senli <sukru.senli@iopsys.eu>
Signed-off-by: Chad Monroe <chad.monroe@smartrg.com>
Signed-off-by: John Crispin <john@phrozen.org>
5 years agoMerge pull request #475 from ecsv/batadv-2019.2
Simon Wunderlich [Sun, 2 Jun 2019 20:41:20 +0000 (22:41 +0200)]
Merge pull request #475 from ecsv/batadv-2019.2

batman-adv: Fix duplicated OGMs on NETDEV_UP

5 years agobatman-adv: Fix duplicated OGMs on NETDEV_UP 475/head
Sven Eckelmann [Sun, 2 Jun 2019 09:46:25 +0000 (11:46 +0200)]
batman-adv: Fix duplicated OGMs on NETDEV_UP

The state of slave interfaces are handled differently depending on whether
the interface is up or not. All active interfaces (IFF_UP) will transmit
OGMs. But for B.A.T.M.A.N. IV, also non-active interfaces are scheduling
(low TTL) OGMs on active interfaces. The code which setups and schedules
the OGMs must therefore already be called when the interfaces gets added as
slave interface and the transmit function must then check whether it has to
send out the OGM or not on the specific slave interface.

But v2016.3 moved the setup code from the enable function to the activate
function. The latter is called either when the added slave was already up
when batadv_hardif_enable_interface processed the new interface or when a
NETDEV_UP event was received for this slave interfac. As result, each
NETDEV_UP would schedule a new OGM worker for the interface and thus OGMs
would be send a lot more than expected.

Fixes: 549909f89dd7 ("batman-adv: upgrade package to latest release 2016.3")
Reported-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #472 from yogo1212/batmand_whitespace
elektra42 [Mon, 27 May 2019 07:04:38 +0000 (09:04 +0200)]
Merge pull request #472 from yogo1212/batmand_whitespace

batmand: whitespace

5 years agobatmand: match loop format 472/head
Leon M. George [Fri, 24 May 2019 22:11:17 +0000 (00:11 +0200)]
batmand: match loop format

5 years agobatmand: fix whitespace
Leon M. George [Thu, 23 May 2019 23:17:41 +0000 (01:17 +0200)]
batmand: fix whitespace

5 years agoMerge pull request #471 from ecsv/batadv-2019.2
Simon Wunderlich [Fri, 24 May 2019 07:45:32 +0000 (09:45 +0200)]
Merge pull request #471 from ecsv/batadv-2019.2

batman-adv 2019.2

5 years agobatman-adv: upgrade package to latest release 2019.2 471/head
Sven Eckelmann [Thu, 23 May 2019 18:13:21 +0000 (20:13 +0200)]
batman-adv: upgrade package to latest release 2019.2

* support latest kernels (3.16 - 5.2)
* coding style cleanups and refactoring
* implement multicast-to-unicast support for multiple targets
* deprecate sysfs support and make it optional
* refresh DAT entry timeouts on incoming ARP Replies
* bugs squashed:

  - fix multicast tt/tvlv worker locking
  - drop roam tvlv handler when unregistering mesh interface

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: upgrade package to latest release 2019.2
Sven Eckelmann [Thu, 23 May 2019 18:12:31 +0000 (20:12 +0200)]
batctl: upgrade package to latest release 2019.2

* coding style cleanups and refactoring
* add multicast_fanout setting subcommand
* implement netlink based support for remaining sysfs-only features
* drop support for deprecated log command support
* remove non-netlink support for translating MAC addresses to originators

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoalfred: upgrade package to latest release 2019.2
Sven Eckelmann [Thu, 23 May 2019 18:11:42 +0000 (20:11 +0200)]
alfred: upgrade package to latest release 2019.2

* synchronization of batman-adv netlink header

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobird2: Bump to v2.0.4 440/head
Toke Høiland-Jørgensen [Mon, 14 Jan 2019 08:47:10 +0000 (09:47 +0100)]
bird2: Bump to v2.0.4

Bird 2.0.4 was released on March 1st. Remove upstreamed patches.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
5 years agonodogsplash: Release v3.3.2-1 (#468)
Rob White [Tue, 7 May 2019 20:38:40 +0000 (21:38 +0100)]
nodogsplash: Release v3.3.2-1 (#468)

Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc and arm_cortex-a5_neon-vfpv4/

  * Fix Issue introduced in v3.3.0 with the addition of Improvements towards usable IPv6 support, that caused CPD on client devices to fail with "Too Many Redirects" error. NDS now terminates gracefully with a console error if fasremoteip is set AND fasport=80  [bluewavenet]
  * Validate fasremoteip to ensure that if it is set, then it is a valid dotted format IPv4 address  [bluewavenet]
  * Numerous Documentation updates  [bluewavenet]
  * Fix to Known Issue on OpenWrt >18.x.x with v3.3.1. This was caused by misconfigured Makefile for libmicrohttpd; this has been fixed there [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
5 years agoMerge pull request #467 from lynxis/remove-smcroute
Jo-Philipp Wich [Tue, 30 Apr 2019 21:52:53 +0000 (23:52 +0200)]
Merge pull request #467 from lynxis/remove-smcroute

smcroute: remove package as it's orphaned

5 years agosmcroute: remove package as it's orphaned 467/head
Alexander Couzens [Tue, 23 Apr 2019 09:59:23 +0000 (11:59 +0200)]
smcroute: remove package as it's orphaned

If someone like to become the maintainer, please re-submit this package
to the general openwrt package repository
https://github.com/openwrt/packages

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
5 years agoMerge pull request #459 from pmelange/olsrd_0.9.7
Bastian Bittorf [Mon, 1 Apr 2019 05:30:42 +0000 (07:30 +0200)]
Merge pull request #459 from pmelange/olsrd_0.9.7

[OLSRd] Bump OLSRd version to 0.9.7

5 years agoMerge pull request #461 from ecsv/batadv-2019.1
Simon Wunderlich [Fri, 29 Mar 2019 12:32:50 +0000 (13:32 +0100)]
Merge pull request #461 from ecsv/batadv-2019.1

batman-adv 2019.1

5 years agobatman-adv: upgrade package to latest release 2019.1 461/head
Sven Eckelmann [Sun, 17 Mar 2019 08:35:50 +0000 (09:35 +0100)]
batman-adv: upgrade package to latest release 2019.1

* support latest kernels (3.16 - 5.1)
* coding style cleanups and refactoring
* implement meshif, hardif and vlan config interface via netlink
* snoop DHCP ACKs to improve DAT cache efficiency
* bugs squashed:

  - avoid potential reference counter underflows and use-after free errors for
    several objects
  - fix GCC warning when B.A.T.M.A.N. V is build in but cfg80211 is not
    available
  - reject too small VLAN packets before they are processed further

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: upgrade package to latest release 2019.1
Sven Eckelmann [Sun, 17 Mar 2019 08:35:50 +0000 (09:35 +0100)]
batctl: upgrade package to latest release 2019.1

* coding style cleanups and refactoring
* introduce support for batadv meshif, hardif and vlan configuration via netlink
* replace multicast_mode with multicast_forceflood settings subcommand
* add hop_penalty setting subcommand

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoalfred: upgrade package to latest release 2019.1
Sven Eckelmann [Thu, 28 Mar 2019 18:40:20 +0000 (19:40 +0100)]
alfred: upgrade package to latest release 2019.1

* synchronization of batman-adv netlink header

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: Add package description per variant
Sven Eckelmann [Sun, 17 Mar 2019 08:32:33 +0000 (09:32 +0100)]
batctl: Add package description per variant

Fixes: 129986825219 ("batctl: Provide different variants")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agonodogsplash: Add missing install directories (#460)
Rob White [Mon, 25 Mar 2019 17:03:29 +0000 (17:03 +0000)]
nodogsplash: Add missing install directories (#460)

Add missing install directories in revised Makefile

Signed-off-by: Rob White rob@blue-wave.net
5 years agonodogsplash: Bump to v3.3.0-1 (#457)
Rob White [Mon, 25 Mar 2019 13:28:02 +0000 (13:28 +0000)]
nodogsplash: Bump to v3.3.0-1 (#457)

Signed-off-by: Rob White <rob@blue-wave.net>
5 years ago[OLSRd] Bump OLSRd version to 0.9.7 459/head
pmelange [Sat, 23 Mar 2019 13:16:40 +0000 (14:16 +0100)]
[OLSRd] Bump OLSRd version to 0.9.7

This patch bumps OLSRd from 0.9.6.2 to 0.9.7 (released 06-March-2019)

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
5 years agoMerge pull request #458 from adrianschmutzler/fixcommit
Simon Wunderlich [Wed, 20 Mar 2019 16:50:20 +0000 (17:50 +0100)]
Merge pull request #458 from adrianschmutzler/fixcommit

batman-adv: Fix uci commit target

5 years agobatman-adv: Fix uci commit target 458/head
Adrian Schmutzler [Tue, 19 Mar 2019 18:49:27 +0000 (19:49 +0100)]
batman-adv: Fix uci commit target

Although batman-adv config is cycled in config_foreach, changes
are made in the network config. Thus, this one has to be committed.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years agonodogsplash: fix invalid pointer bug when clock is turned back (#456)
Moritz Warning [Thu, 14 Mar 2019 17:23:32 +0000 (18:23 +0100)]
nodogsplash: fix invalid pointer bug when clock is turned back (#456)

Signed-off-by: Moritz Warning <moritzwarning@web.de>
5 years agoMerge pull request #454 from dangowrt/master
Axel Neumann [Wed, 13 Mar 2019 21:44:14 +0000 (22:44 +0100)]
Merge pull request #454 from dangowrt/master

bmx7: update source to 2019030802

5 years agobird1: update to version 1.6.6 441/head
Josef Schlehofer [Wed, 13 Mar 2019 09:25:08 +0000 (10:25 +0100)]
bird1: update to version 1.6.6

Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>