Commit Graph

1437 Commits

Author SHA1 Message Date
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
Sven Eckelmann a3b7910782 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>
2019-07-27 22:10:04 +02:00
Sven Eckelmann ebc6f4d5b3 batmand: Drop unused make parameters
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-07-27 22:02:50 +02:00
Sven Eckelmann ec9d4a6c42 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>
2019-07-27 21:52:58 +02:00
Simon Wunderlich cb3f9d2436
Merge pull request #485 from ecsv/batadv-2019.2
batman-adv: Use Linux 5.2 API again
2019-07-22 10:39:41 +02:00
Sven Eckelmann 9e7dbf9ba9 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>
2019-07-22 10:02:46 +02:00
Axel Neumann d3d9ee26c0
Merge pull request #483 from aparcar/luci-app-bmx7-transfer
luci-app-bmx7: transfer to luci.git
2019-07-18 19:31:21 +02:00
Rob White c46019e7ad 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>
2019-07-15 14:23:31 +02:00
Paul Spooren 542db8a71d luci-app-bmx7: transfer to luci.git
The package was recently[0] moved to luci.git

[0]: 9aa507790e

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-07-11 11:06:43 +02:00
Jo-Philipp Wich 5934ad834f
Merge pull request #440 from tohojo/bird-203
bird2: Bump to v2.0.4
2019-06-26 19:27:47 +02:00
Jo-Philipp Wich ca83636b2f
Merge pull request #441 from BKPepe/bird1
bird1: update to version 1.6.6
2019-06-26 19:13:53 +02:00
Jo-Philipp Wich 33aab05acd
Merge pull request #479 from neheb/master
Build fixes
2019-06-26 19:02:51 +02:00
Rosen Penev ac8fc386fc cjdns: Do not build on ARC
Is not supported by node.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-17 15:38:13 -07:00
Rosen Penev b3ebe49dab mcproxy: Fix compilation with uClibc-ng
uClibc-ng also defines __GLIBC__, which messes up the check.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-17 15:38:10 -07:00
Simon Wunderlich e8799fb2ad
Merge pull request #478 from ecsv/batadv-for-19.07
batman-adv: Add support for B.A.T.M.A.N. V hardif settings
2019-06-16 11:27:08 +02:00
Sven Eckelmann e87a25f408 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: f5205d7d24 ("batman-adv: upgrade package to latest release 2014.2.0")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-06-16 09:29:42 +02:00
Sven Eckelmann 67875e2069 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>
2019-06-15 09:53:55 +02:00
Sven Eckelmann eeea3e980e 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>
2019-06-15 09:18:51 +02:00
Simon Wunderlich 35b886649b
Merge pull request #475 from ecsv/batadv-2019.2
batman-adv: Fix duplicated OGMs on NETDEV_UP
2019-06-02 22:41:20 +02:00
Sven Eckelmann e26096ae1d 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: 549909f89d ("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>
2019-06-02 14:08:16 +02:00
elektra42 bf475d6493
Merge pull request #472 from yogo1212/batmand_whitespace
batmand: whitespace
2019-05-27 09:04:38 +02:00
Leon M. George fdc37cac29 batmand: match loop format 2019-05-25 08:42:53 +02:00
Leon M. George c514a2a49c batmand: fix whitespace 2019-05-25 08:42:42 +02:00
Simon Wunderlich d1acf62a57
Merge pull request #471 from ecsv/batadv-2019.2
batman-adv 2019.2
2019-05-24 09:45:32 +02:00
Sven Eckelmann 1ff00eebae 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>
2019-05-23 20:21:54 +02:00
Sven Eckelmann 7b7da0cddb 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>
2019-05-23 20:21:54 +02:00
Sven Eckelmann 7accd688e3 alfred: upgrade package to latest release 2019.2
* synchronization of batman-adv netlink header

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-05-23 20:11:42 +02:00
Toke Høiland-Jørgensen 37f8c509e0 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>
2019-05-15 23:12:27 +02:00
Rob White 040b8e8750 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>
2019-05-07 22:38:40 +02:00
Jo-Philipp Wich 0be5aa99e0
Merge pull request #467 from lynxis/remove-smcroute
smcroute: remove package as it's orphaned
2019-04-30 23:52:53 +02:00
Alexander Couzens f36879fe22
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>
2019-04-23 11:59:39 +02:00
Bastian Bittorf e40f6891e5
Merge pull request #459 from pmelange/olsrd_0.9.7
[OLSRd] Bump OLSRd version to 0.9.7
2019-04-01 07:30:42 +02:00
Simon Wunderlich 0c867de323
Merge pull request #461 from ecsv/batadv-2019.1
batman-adv 2019.1
2019-03-29 13:32:50 +01:00
Sven Eckelmann 312fd8afc1 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>
2019-03-28 19:50:25 +01:00
Sven Eckelmann 0a2547a111 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>
2019-03-28 19:43:14 +01:00
Sven Eckelmann 9e8aaf9911 alfred: upgrade package to latest release 2019.1
* synchronization of batman-adv netlink header

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-03-28 19:40:20 +01:00
Sven Eckelmann 55a7a224e1 batctl: Add package description per variant
Fixes: 1299868252 ("batctl: Provide different variants")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-03-28 19:38:16 +01:00
Rob White f049dfde5b nodogsplash: Add missing install directories (#460)
Add missing install directories in revised Makefile

Signed-off-by: Rob White rob@blue-wave.net
2019-03-25 18:03:29 +01:00
Rob White b01e4b0e7c nodogsplash: Bump to v3.3.0-1 (#457)
Signed-off-by: Rob White <rob@blue-wave.net>
2019-03-25 14:28:02 +01:00
pmelange 20b9ab3cea [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>
2019-03-23 14:16:40 +01:00
Simon Wunderlich 4265df9dcc
Merge pull request #458 from adrianschmutzler/fixcommit
batman-adv: Fix uci commit target
2019-03-20 17:50:20 +01:00
Adrian Schmutzler 1a22e00eeb 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>
2019-03-19 19:49:27 +01:00