Commit Graph

123 Commits

Author SHA1 Message Date
Bastian Bittorf 67939e59a2 olsr: fix minor complain from 'shellcheck' 2017-02-12 20:37:28 +01:00
Bastian Bittorf 22c05861e6 olsr: smartfw: fix a syntax error whwile checking for 'nowan'
introduced in 059b26c2 in 2011-nov-14 ("Manuel Munz freifunk@somakoma.de modified init
file of olsrd with improvements for 6and4 operation and also for setup of smartgw")
2017-02-12 20:23:25 +01:00
Bastian Bittorf 0e71dbfba6 olsr: init-script: minor style changes
1) echo -n -> printf
2) do not 'return 0' in functions where rc is 0 anyway
3) calc with $(( $var + $x )) -> $(( var + x ))
2017-02-12 20:19:16 +01:00
Bastian Bittorf f4bc87dc65 olsr: allow lazy-plugin-naming: e.g. olsrd_txtinfo (not olsrd_txtinfo.so.1.2)
overload init-skript's olsrd_write_loadplugin() with new function
find_most_recent_plugin_libary() - so now we can mix 'exact' and lazy
names. This change is backward compatible and now we have a better
migration strategy. This topic was hot again, after the latest updates
of a lot of plugins, resulting in non-working configs...
2017-02-12 14:36:20 +01:00
Ferry Huberts ede4989259 olsrd: update to v0.9.6.1
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2017-02-10 11:14:52 +01:00
Ferry Huberts 54e47597d7 olsrd: update to v0.9.6
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2017-02-01 18:48:35 +01:00
Bastian Bittorf eca18c2d62 Merge pull request #256 from SvenRoederer/olsr_fix_empty-line
olsrd: Makefile - remove empty line
2017-01-16 14:07:09 +01:00
Sven Roederer 9627e2956b olsrd: Makefile - remove empty line
doesn't look like it intended

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2017-01-16 01:43:23 +01:00
root 5994c4507d olsrd: init: updated (c)-year to 2017 2017-01-15 12:07:32 +00:00
Sven Roederer 3d41efe1b5 olsrd: remove deprecated 6and4 compatibility
It's announced since several years, that such setups (one
olsrd running IPv4 and IPv6) will no be supported anymore.

See 4b06c42f97
(olsrd: splitting IPv6/4 configuration and start scripts)

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2017-01-15 12:01:13 +00:00
Sven Roederer f801067455 olsrd: disale compiler-warning "missing-include-dirs"
remove this warning as it fails to build for the nmealib with missing
"staging_dir/target-mipsel_24kc_musl-1.1.15/include" from buildenv
2016-12-22 12:32:55 +01:00
Bastian Bittorf dcecd7007d olsrd: disable parallel build and swap a dependency order, should fix buildbot 2016-12-18 21:39:12 +01:00
Bastian Bittorf 3b14a1c5b6 olsrd: plugins: pud: fix missing dependency for libgps
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
2016-12-16 17:14:24 +01:00
FreifunkUFO 803575c023 olsrd: add netjson plugin
netjson plugin added
2016-12-07 14:29:04 +01:00
Sven Roederer 8a7364f257 olsrd: update (c)-header date 2016-03-18 08:51:39 +01:00
Sven Roederer 8136a3603d [olsr, oonf] change to new repo 2016-03-18 02:44:25 +01:00
Stefan Sperling cde0b2f813 Replace == operator in test with = operator.
Requested by bittorf in https://github.com/openwrt-routing/packages/pull/155
2016-03-06 09:05:05 +01:00
Stefan Sperling f7ffb388b1 Fix '/etc/init.d/olsrd6 restart' breaks IPv4 SmartGateway.
Restarting olsrd for IPv6 clears SmartGateway firewall rules for both IPv4
and IPv6, and does not restore the IPv4 rules. As a result, IPv4 SmartGateway
functionality is broken after /etc/init.d/olsrd6 restart.
2016-03-03 21:06:38 +01:00
Bastian Bittorf 3d25d77935 olsrd: convert Makefile for using 'git'
For easier fiddling with other versions, switch to git
This way one don't need to wait for a release-tarball.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
2016-01-14 11:51:37 +01:00
Saverio Proto 3b4de3e112 olsrd: bump to version 0.9.0.3 2015-09-21 12:34:09 +02:00
Manuel Munz 67c4672c0d make ipv6only plugin option boolean. Without this, the value will be written as '0' or '1' to the generated configs while it should be 'no' or 'yes' 2015-08-01 20:11:39 +02:00
Bastian Bittorf 6172dcef32 olsrd: 0.9.0.1 -> 0.9.0.2 (bugfix-release) 2015-07-01 21:31:54 +02:00
Bastian Bittorf fcf34a758e olsrd: Makefile version typo: 0.9.1 -> 0.9.0.1 2015-06-19 13:19:57 +02:00
Bastian Bittorf 2c58742f63 olsrd: bump to version 0.9.1 (bugfixes)
We did a bug-fix release of olsrd v1.
It fixes a route-recalculation issue and at least one crash.

Everyone using olsrd v1 is strongly urged to upgrade, especially people
using Smart-Gateway.

The shortlog is appended.

0.9.0.1 -------------------------------------------------------------------

Ferry Huberts (3):
      neighbors: signal link changes when deleting a neighbor
      jsoninfo: do not output smart-gateway info when not enabled.
      txtinfo: do not output smart-gateway info when not enabled.

Henning Rogge (2):
      Update version after release of v0.9.0
      Release v0.9.0.1
2015-06-18 20:08:31 +02:00
Bastian Bittorf d7b3bbc896 olsrd: bump to new release 0.9.0
see: https://lists.olsr.org/pipermail/olsr-dev/2015-June/007598.html

"Everyone using olsrd v1 is strongly urged to upgrade, especially people
using Smart-Gateway.

In this release the Multi-Smart-Gateway additions are declared stable.

Also, Smart-Gateway timeouts are now implemented, which is a major fix
to the Smart-Gateway system. These timeouts were missing ever since its
first implementation." (Ferry Huberts)
2015-06-08 09:27:56 +02:00
Saverio Proto b759b28ee4 olsrd: increasing package version after merging pull request 2015-01-05 08:40:53 +01:00
André Gaul fe84974abb [olsrd] adapt init script for 0.6.8 (PingCmd option)
olsrd 0.6.8 accepts a PingCmd parameter as of
http://olsr.org/git/?p=olsrd.git;a=commitdiff;h=0a26c52af3941eb9060b193cae5552f8d13fd28e.
The PingCmd is a string of the form "ping -c 1 -q %s" where %s is
replaced with an IP. This commit allows for '%' characters in an olsrd
option.
2015-01-03 15:30:11 +01:00
Saverio Proto 743e4c27e2 olsrd: bump to 0.6.8 2014-12-29 14:09:37 +01:00
Steven Barth 69f203d5c3 Add SPDX license tags
Signed-off-by: Steven Barth <steven@midlink.org>
2014-11-03 13:17:00 +01:00
Bastian Bittorf 3b6e617ac5 OLSRd: bump version from 0.6.7 to 0.6.7.1 (released 24-oct-2014) 2014-10-24 20:05:20 +02:00
Bastian Bittorf 10fd030ef4 [OLSRd] bump version from 0.6.6.2 to 0.6.7 (released 5-oct-2014)
See:
https://lists.olsr.org/pipermail/olsr-dev/2014-October/007429.html
2014-10-19 08:34:34 +02:00
Bastian Bittorf df3ecc4e67 olsrd: change name of PID-file for olsrd4 from '/var/run/olsrd4.pid' to '/var/run/olsrd.pid' to be compatible with freifunk-watchdog-scripts (this is the default old behaviour) 2014-08-19 15:09:41 +02:00
Saverio Proto 978118be72 olsrd: increasing package release number to 4 2014-06-12 14:33:41 +02:00
Alessio Caiazza 0a08b22f15 olsrd: backward compatibility (config and init script) 2014-06-12 12:57:12 +02:00
Alessio Caiazza 386cfb365f olsrd: do not remove the old config file if present 2014-06-10 12:02:21 +02:00
Jernej Kos 744bef42d6 olsrd: Added missing $IPKG_INSTROOT. 2014-06-09 19:27:05 +02:00
Saverio Proto aa9af551d0 olsrd: Merge branch 'olsrd_6and4' by Alessio Caiazza. 2014-06-08 11:29:54 +02:00
Saverio Proto 6104e77ebf olsrd: bump version to 0.6.6.2, remove redundant patch 2014-06-08 10:49:21 +02:00
Alessio Caiazza ca16d8c8e1 olsrd: hotplug script works for IPv4 and IPv6
This should fix issue #16
2014-05-28 17:45:10 +02:00
Alessio Caiazza 93f819de32 olsrd: avoid fake startup-error messages
Calling service_check too early may result in a false reading
2014-05-28 17:02:40 +02:00
Alessio Caiazza 60e06a3da7 olsrd: configuration sanity checks
* do not start in presence of the old /etc/config/olsrd
* use always use the appropriate IpVersion.
2014-05-28 16:55:55 +02:00
Alessio Caiazza 4b06c42f97 olsrd: splitting IPv6/4 configuration and start scripts
As mentioned by zioproto[1] 6and4 is badly broken, this patch will
use 2 different configuration and init scripts.

[1] https://github.com/openwrt-routing/packages/issues/16#issuecomment-32892327
2014-05-28 15:09:07 +02:00
Saverio Proto 819d045ce3 olsrd: Oops, forgot to increase package release when patching at the Battlemesh :) 2014-05-20 08:24:47 +02:00
Saverio Proto a24c6cfa0f olsrd: jsoninfo: HTTP headers with CORS (if requested) 2014-05-17 19:10:12 +02:00
Saverio Proto 3fac54d01f olsrd: security fixes for olsrd plugins 2014-05-17 19:09:30 +02:00
Saverio Proto 33c13b7d06 olsrd: bugfix patch, Fix processing error for fragmented hellos 2014-03-31 13:59:11 +02:00
Russell Senior 654615db01 olsrd: bump version to 0.6.6.1, remove redundant patch
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
2014-03-15 20:23:11 +01:00
Daniel Golle a9f43d29e9 IPv6 SmartGW doesn't require IPv6 NAT support 2014-02-11 19:08:20 +01:00
Bastian Bittorf 003a28d88d olsrd: hotplug: changed a varname which broke in 3a1fd11883 2014-01-04 07:54:22 +01:00
Bastian Bittorf 3a1fd11883 olsrd: hotplug: optimize execution-speed and simplify using already existing GLOBAL vars instead of encapsulating vars from function to function, cleanups and comments in source 2014-01-03 21:00:45 +01:00
Bastian Bittorf e459ca61d2 olsrd: hotplug-script: take config-file as marker for 'init-script-was-already-invoked-once' and not the pidfile: the pidfile ist not written if the daemon couldnt startup, e.g. because no interface was up yet and 'AllowNoInt' was not configured - thanks to bluse-blue for reporting this issue on a WDR4900v1 2013-11-24 15:21:17 +01:00
Bastian Bittorf 44318d0589 Merge pull request #10 from mmunz/upstream
Fix config creation for multiple LinkQualityMult entries in uci config
2013-11-14 00:36:08 -08:00
Manuel Munz 099a7bf136 Fix config creation for multiple LinkQualityMult entries in uci config 2013-11-12 15:51:56 +01:00
Bastian Bittorf d49b01e8cc olsrd: hotplug: dont test if daemon is enabled, but look for a written PID-file. this solves the issue, that hotplug fires multiple restarts during boot for each upcoming interface (e.g. lo, lan, wan, wifi1, wifi2) which is racy somehow, but leaves hotplug itself working after normal startup. also reduce forking by directly sourcing '/etc/init.d/olsrd' via rc.common 2013-11-11 11:46:17 +01:00
Bastian Bittorf af1b35bd80 olsrd: hotplug-script: bugfix: move function calls down, otherwise the functions are not known yet (thanks bluse-bluw for reporting) 2013-09-25 16:42:24 +02:00
Bastian Bittorf 8ffcb5e3e5 olsrd: hotplug-script: cleanup/simplify 2013-09-25 15:30:44 +02:00
Bastian Bittorf 6bdbd50aaf olsrd: added hotplug script, which is needed for openwrt >= r38023 - otherwise it can happen that several interfaces are not known to olsrd at boottime 2013-09-25 14:36:21 +02:00
Saverio Proto 46593fbdc1 Increase Makefile pkg release after merging regression in the jsoninfo plugin which was introduced in olsrd 0.6.6 2013-08-26 12:12:32 +02:00
Manuel Munz 542ac94f7a a much simpler and cleaner fix 2013-08-23 20:22:48 +02:00
Manuel Munz 5dbcca8d41 fix for iynvalid jsoninfo output 2013-08-23 11:16:26 +02:00
Saverio Proto 5e687f9345 olsrd: version bump to 0.6.6 2013-08-20 14:14:43 +02:00
Manuel Munz 385bb5489d if we could not get the l3 device in olsrd_write_interface then try to get the
physical device instead. But only if the protocoll is "static" or "none".
	This is useful to write Interfaces in the resulting olsrd.conf file which
	are not up at the time olsrd is starting (e.g. tunnel interfaces):
2013-08-07 23:39:18 +02:00
Saverio Proto ef4cdd41e8 olsrd: version bump to 0.6.5.4 2013-05-17 12:50:38 +02:00
Saverio Proto 06af667473 olsrd: version bump to 0.6.5.3
Ferry Huberts (5):
      pud: detect the java include directory
      pud: better detection of java jdk
      gateway: work around kernel IPIP module initialisation bug
      main: use /dev/urandom by default
      pud: set local loopback for multicast tx

Henning Rogge (2):
      Update version after release of v0.6.5.2
      Release v0.6.5.3

Ronald in 't Velt (1):
      Fix setsockopt for setting Traffic Class in IPv6
2013-05-01 01:55:09 +02:00
Thomas Huehn 16f7810f11 [PATCH] fix olsr.init script function olsrd_write_plparam() as it wrongly removes dashes. olsrd deamon did not start when the nameservice plugin was active. 2013-04-26 09:14:46 +02:00
Bastian Bittorf 7d9d64d35f Revert "olsr: init: JOW IS THE BEST !!!"
This reverts commit 2bc5304b69.
2013-04-19 16:00:22 +02:00
Bastian Bittorf 2bc5304b69 olsr: init: JOW IS THE BEST !!! 2013-04-19 15:57:55 +02:00
Bastian Bittorf ea04190617 olsrd: init: cosmetics: always include to name of the script in logoutput 2013-04-19 14:35:05 +02:00
Bastian Bittorf ea90929d76 olsr: init: log: move the error logging just under the normal logger 2013-04-19 13:04:49 +02:00
Bastian Bittorf c92fa19ddc olsrd: init: verbose logging if daemon-startup fails. till now everything is quiet in this situation. reproduce via configuring httpinfo-plugin on ipv6-socket (which throws an silent error) 2013-04-19 12:36:03 +02:00
Bastian Bittorf 08ab70a984 olsrd: init: fix all work with is done via IFS (storing old value, set IFS, work, set back to old value) 2013-04-19 12:18:59 +02:00
Bastian Bittorf 1d387e8dd2 olsrd: init: updated (c)-year to 2013 2013-04-19 11:54:10 +02:00
Jo-Philipp Wich 0015a5a216 move olsrd files into subdirectory 2013-04-18 18:48:30 +02:00