Commit Graph

54 Commits

Author SHA1 Message Date
Stefan Sperling 27762fdabe Replace == operator in test with = operator.
Requested by bittorf in https://github.com/openwrt-routing/packages/pull/155

(cherry picked from commit cde0b2f813)
2016-11-05 02:05:56 +01:00
Stefan Sperling 497950bf2c 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.

(cherry picked from commit f7ffb388b1)
2016-11-05 02:00:01 +01:00
Manuel Munz a30af3990f make ipv6only boolean in olsrd init, backport from master 2016-01-04 21:45:46 +01:00
Saverio Proto 5876cd389f olsrd: bump to version 0.9.0.3 2015-09-21 10:40:34 +02:00
Bastian Bittorf 4d8398f4ec olsrd: for15.05: 0.9.0.1 -> 0.9.0.2 (bugfix-release) 2015-07-01 21:33:04 +02:00
Bastian Bittorf f5eab926d7 olsrd: bump to version 0.9.0.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-24 22:58:01 +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