olsrd.git
3 months agofiltergw: add plugin allow to allow/block gateways (even smartgateway) master
Nick Hainke [Fri, 28 Aug 2020 08:28:31 +0000 (10:28 +0200)]
filtergw: add plugin allow to allow/block gateways (even smartgateway)

The plugin adds a possibility to filter out gateway HNAs. This can be
very handy e.g. for faulty nodes. A gateway can be taken out directly on
a central node and all traffic is then redirected. Also the underlying
smart gateways are adapted. Currently the link multiplier is often used
to control a faulty node, but it is not necessarily the best way to do
so.

The plugin also allows to determine the smart gateway on the local node.
This way you can easily select another gateway node to direct traffic,
or block a specific one.

Here are some sample configurations:

Only allow Gateway HNA from '10.230.132.40':
config LoadPlugin
        option library 'olsrd_filtergw'
        list originator '10.230.132.40'
        option allowlist '1'

Block Gateway HNA from '10.230.132.40':
config LoadPlugin
        option library 'olsrd_filtergw'
        list originator '10.230.132.40'
        option allowlist '0'

The plugin is based on the work of sven-ola, pmelange and booo.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 months agoopenwrt: remove openwrt folder
Nick Hainke [Wed, 9 Jun 2021 17:31:15 +0000 (19:31 +0200)]
openwrt: remove openwrt folder

Based on the discussion we remove the openwrt folder.
https://github.com/OLSR/olsrd/issues/19

This folder is not up-to-date. This reduces maintenance effort.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 months agobsd: allow use of an alternative routing table on OpenBSD
Stefan Sperling [Tue, 8 Jun 2021 10:10:24 +0000 (12:10 +0200)]
bsd: allow use of an alternative routing table on OpenBSD

Get the current routing table number from getrtable(2). This allows
running olsrd on an alternative routing table via 'route exec -T',
or by setting the 'olsrd_rtable' parameter to the desired routing
table number in /etc/rc.conf.local.

What happens without this patch is that the routing table ID is implicitly
initialized to zero when 'buff' is initialized. This means olsrd will always
use the default routing table, which has ID zero, even if the olsrd process is
configured to run on another routing table. This patch doesn't change any
behaviour by default. Without explicit configuration steps, olsrd will always
use the default routing table, in which case getrtable() will return zero.

In my setup I am running both OSPF and OLSR. This patch allows me to separate
OLSR-injected routes off into a separate routing table, preventing the
unauthenticated routing messages from the OLSR wifi mesh from messing with my
internal routes which are managed by OSPF. The OpenBSD pf packet filter can
route packets between different tables, and it is also possible to bind network
interfaces to a specific routing table by setting the interface's "routing
domain" with ifconfig. So this patch enables routing flexibility which
advanced users may expect to take advantage of on this platform.

Signed-off-by: Stefan Sperling <stsp@stsp.name>
3 months agopud: fix openwrt glibc compilation
Nick Hainke [Mon, 7 Jun 2021 18:06:51 +0000 (20:06 +0200)]
pud: fix openwrt glibc compilation

When compiling pud with glibc it will result in

  error: #warning _FORTIFY_SOURCE requires compiling with optimization
   (-O) [-Werror=cpp]
  #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
  cc1: all warnings being treated as errors

To compile pud with glibc again we remove Werror.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 months agobmf: change include from sys/poll.h to poll.h
Nick Hainke [Tue, 1 Jun 2021 12:30:38 +0000 (14:30 +0200)]
bmf: change include from sys/poll.h to poll.h

Musl library generates an error when including <sys/poll.h>.
POSIX specifications state that <poll.h> should be used.

Fixes warnings in the form of:

  [CC] src/Bmf.c
  In file included from src/Bmf.c:70:
  /home/nick/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl
     /include/sys/poll.h:1:2: warning: #warning redirecting incorrect
     #include <sys/poll.h> to <poll.h> [-Wcpp]
   #warning redirecting incorrect #include <sys/poll.h> to <poll.h>

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 months agopud: adapt gpsdclient.c to new gpsd 3.21
Nick Hainke [Sun, 30 May 2021 17:13:48 +0000 (19:13 +0200)]
pud: adapt gpsdclient.c to new gpsd 3.21

As mentioned:
"Move gps_data_t->status to gps_fix_t.status for better fix merging"
https://gitlab.com/gpsd/gpsd/-/commit/29991d6ffeb41ecfc8297db68bb68be0128c8514

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 months agoolsrd: fix missing ipv6 address size
Moritz Warning [Wed, 15 Apr 2020 16:48:08 +0000 (18:48 +0200)]
olsrd: fix missing ipv6 address size

Signed-off-by: Moritz Warning <moritzwarning@web.de>
3 months agoolsrd: fix null pointer exception
Moritz Warning [Wed, 15 Apr 2020 14:35:42 +0000 (16:35 +0200)]
olsrd: fix null pointer exception

olsr_locate_tc_entry can return null

Signed-off-by: Moritz Warning <moritzwarning@web.de>
3 months agoolsrd: fix infitite loop
Moritz Warning [Wed, 15 Apr 2020 14:34:34 +0000 (16:34 +0200)]
olsrd: fix infitite loop

If size2 is 0 and the following contition calls continue,
then the loop will never finish

Signed-off-by: Moritz Warning <moritzwarning@web.de>
3 months agoCHANGELOG: add missing changelog part
Nick Hainke [Sun, 30 May 2021 17:53:40 +0000 (19:53 +0200)]
CHANGELOG: add missing changelog part

Automatically created with
   git shortlog v0.9.7..v0.9.8 --pretty

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 months agopud: fix compilation with musl 1.2.x
Nick Hainke [Sun, 30 May 2021 17:08:21 +0000 (19:08 +0200)]
pud: fix compilation with musl 1.2.x

As suggested by mwarning and neheb.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 months agoolsrd: migrate to using bison 3.7.1
Fabrice Fontaine [Sun, 6 Sep 2020 20:31:12 +0000 (22:31 +0200)]
olsrd: migrate to using bison 3.7.1

With the upgrade to bison 3.7.1 (openwrt commit 1cf842d) building
olsrd was failing.  Now, instead of the contents of header files
being directly inserted into the generated source files, they are
instead included with a #include directive.

The local.mk has, until now, done some magic with *-tmp files,
which is not longer necessary and even causes builds to fail.

src/cfgparser/oparse.c:265:10: fatal error: oparse.h-tmp: No such file or directory
 #include "oparse.h-tmp"

Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
[Retrieved from:
https://github.com/openwrt-routing/packages/commit/5cc8e058850acbc22fe92c5e2b24863efc577971]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
15 months agoMerge branch 'PolynomialDivision-feature/add_workflow'
Philipp Borgers [Thu, 18 Jun 2020 10:09:17 +0000 (12:09 +0200)]
Merge branch 'PolynomialDivision-feature/add_workflow'

15 months agopud: adapt to API changes in gpsd 3.20
Eneas U de Queiroz [Thu, 13 Feb 2020 20:26:41 +0000 (17:26 -0300)]
pud: adapt to API changes in gpsd 3.20

The timestamp fields were changed from double to struct timespec, and
the geoid separation field was moved to fix.geoid_sep.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
15 months agoMerge branch 'cotequeiroz-gpsd-3.20' to adapt to API changes in gpsd 3.20
Philipp Borgers [Thu, 18 Jun 2020 09:53:07 +0000 (11:53 +0200)]
Merge branch 'cotequeiroz-gpsd-3.20' to adapt to API changes in gpsd 3.20

15 months agogithub: add workflow for building olsrd 82/head
Polynomialdivision [Mon, 8 Jun 2020 10:58:30 +0000 (12:58 +0200)]
github: add workflow for building olsrd

Automatically test compiling of pull requests and commits.
This prevents broken pull requests or commits.

19 months agopud: adapt to API changes in gpsd 3.20 79/head
Eneas U de Queiroz [Thu, 13 Feb 2020 20:26:41 +0000 (17:26 -0300)]
pud: adapt to API changes in gpsd 3.20

The timestamp fields were changed from double to struct timespec, and
the geoid separation field was moved to fix.geoid_sep.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
20 months agoMerge pull request #78 from ffontaine/master
Ferry Huberts [Mon, 20 Jan 2020 18:50:39 +0000 (19:50 +0100)]
Merge pull request #78 from ffontaine/master

lib/pud/Makefile: fix parallel build

20 months agolib/pud/Makefile: fix parallel build 78/head
Fabrice Fontaine [Sat, 18 Jan 2020 16:29:56 +0000 (17:29 +0100)]
lib/pud/Makefile: fix parallel build

nmealib is needed to build olsrd_pud plugin otherwise build fails on:

[LD] olsrd_pud.so.3.0.0 (nmealib dynamically linked)
/home/fabrice/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lnmea
wireformat/lib/libOlsrdPudWireFormat.so: file not recognized: File truncated

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
21 months agopud: use the correct field for padding
Ferry Huberts [Sun, 24 Nov 2019 10:14:28 +0000 (11:14 +0100)]
pud: use the correct field for padding

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agopud: remove a wrong performance optimisation
Ferry Huberts [Sun, 24 Nov 2019 10:06:45 +0000 (11:06 +0100)]
pud: remove a wrong performance optimisation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agopud: use more secure strncpy
Ferry Huberts [Sun, 24 Nov 2019 09:56:22 +0000 (10:56 +0100)]
pud: use more secure strncpy

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agoinfo: fix a Coverity warning
Ferry Huberts [Sun, 24 Nov 2019 09:45:03 +0000 (10:45 +0100)]
info: fix a Coverity warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agopoprouting: fix a resource leak
Ferry Huberts [Sun, 24 Nov 2019 09:51:28 +0000 (10:51 +0100)]
poprouting: fix a resource leak

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: update workspace
Ferry Huberts [Fri, 16 Aug 2019 21:04:12 +0000 (23:04 +0200)]
info: java: update workspace

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoUpdate version after branch of v0.9.8
Ferry Huberts [Sun, 11 Aug 2019 08:08:50 +0000 (10:08 +0200)]
Update version after branch of v0.9.8

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoBranch v0.9.8
Ferry Huberts [Sun, 11 Aug 2019 08:08:50 +0000 (10:08 +0200)]
Branch v0.9.8

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agogradle: upgrade wrapper
Ferry Huberts [Tue, 2 Jul 2019 18:45:32 +0000 (20:45 +0200)]
gradle: upgrade wrapper

The magical incantation is:
  gradle wrapper --gradle-version 5.5

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoredhat: completely rewritten RPM spec file and generation
Ferry Huberts [Wed, 14 Feb 2018 16:34:57 +0000 (17:34 +0100)]
redhat: completely rewritten RPM spec file and generation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agobuild: add NORPATH option
Ferry Huberts [Fri, 10 May 2019 20:27:04 +0000 (22:27 +0200)]
build: add NORPATH option

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoolsrd: install extra (documentation) files
Ferry Huberts [Fri, 17 May 2019 15:58:59 +0000 (17:58 +0200)]
olsrd: install extra (documentation) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agowatchdog: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:21:36 +0000 (19:21 +0200)]
watchdog: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agotxtinfo: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:21:30 +0000 (19:21 +0200)]
txtinfo: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agosgwdynspeed: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:21:19 +0000 (19:21 +0200)]
sgwdynspeed: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agosecure: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:20:55 +0000 (19:20 +0200)]
secure: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoquagga: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:20:44 +0000 (19:20 +0200)]
quagga: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopud: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:56:07 +0000 (18:56 +0200)]
pud: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopoprouting: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:48 +0000 (18:24 +0200)]
poprouting: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopgraph: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:41 +0000 (18:24 +0200)]
pgraph: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agop2pd: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:34 +0000 (18:24 +0200)]
p2pd: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agonetjson: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:26 +0000 (18:24 +0200)]
netjson: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agonameservice: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:18 +0000 (18:24 +0200)]
nameservice: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agomini: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:09 +0000 (18:24 +0200)]
mini: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agomdns: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:02 +0000 (18:24 +0200)]
mdns: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agojsoninfo: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:56 +0000 (18:23 +0200)]
jsoninfo: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:49 +0000 (18:23 +0200)]
info: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agohttpinfo: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:42 +0000 (18:23 +0200)]
httpinfo: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agodyngw_plain: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:35 +0000 (18:23 +0200)]
dyngw_plain: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agodyngw: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:26 +0000 (18:23 +0200)]
dyngw: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agodotdraw: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:22:57 +0000 (18:22 +0200)]
dotdraw: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agobmf: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:22:45 +0000 (18:22 +0200)]
bmf: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoarprefresh: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:00:09 +0000 (18:00 +0200)]
arprefresh: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agowatchdog: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:59 +0000 (23:01 +0200)]
watchdog: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agosgwdynspeed: rename readme file
Ferry Huberts [Fri, 17 May 2019 18:00:18 +0000 (20:00 +0200)]
sgwdynspeed: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agosecure: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:46 +0000 (23:01 +0200)]
secure: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoquagga: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:39 +0000 (23:01 +0200)]
quagga: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopud: wireformat: java: fix JDK detection
Ferry Huberts [Tue, 11 Jun 2019 18:41:31 +0000 (20:41 +0200)]
pud: wireformat: java: fix JDK detection

So that it also works on newer JDKs

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopud: wireformat-java: update the readme file
Ferry Huberts [Fri, 17 May 2019 18:16:20 +0000 (20:16 +0200)]
pud: wireformat-java: update the readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopud: wireformat-java: rename readme file
Ferry Huberts [Fri, 17 May 2019 17:46:18 +0000 (19:46 +0200)]
pud: wireformat-java: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopud: nmealib: rename readme file
Ferry Huberts [Fri, 17 May 2019 17:46:00 +0000 (19:46 +0200)]
pud: nmealib: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopud: rename readme file
Ferry Huberts [Fri, 17 May 2019 15:43:32 +0000 (17:43 +0200)]
pud: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopud: fix permissions of pud.odt document
Ferry Huberts [Sat, 18 May 2019 15:16:39 +0000 (17:16 +0200)]
pud: fix permissions of pud.odt document

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopoprouting: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:31 +0000 (23:01 +0200)]
poprouting: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agop2pd: rename readme file
Ferry Huberts [Fri, 17 May 2019 15:43:24 +0000 (17:43 +0200)]
p2pd: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agonameservice: fixup some text
Ferry Huberts [Fri, 17 May 2019 15:42:24 +0000 (17:42 +0200)]
nameservice: fixup some text

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agomdns: rename readme file
Ferry Huberts [Fri, 17 May 2019 15:43:14 +0000 (17:43 +0200)]
mdns: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: comment out maven repository artifacts
Ferry Huberts [Sun, 9 Jun 2019 10:44:06 +0000 (12:44 +0200)]
info: java: comment out maven repository artifacts

Otherwise gradle will try to download them during a build, and they're
only here for utility when upgrading these artifacts.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: add install/uninstall targets
Ferry Huberts [Fri, 17 May 2019 15:56:57 +0000 (17:56 +0200)]
info: java: add install/uninstall targets

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:23 +0000 (23:01 +0200)]
info: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agohttpinfo: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:15 +0000 (23:01 +0200)]
httpinfo: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agodyngw: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:00:59 +0000 (23:00 +0200)]
dyngw: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agodotdraw: remove a duplicate file
Ferry Huberts [Fri, 17 May 2019 17:41:09 +0000 (19:41 +0200)]
dotdraw: remove a duplicate file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agodotdraw: fix a typo
Ferry Huberts [Fri, 17 May 2019 15:40:47 +0000 (17:40 +0200)]
dotdraw: fix a typo

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agobmf: tighten up README
Ferry Huberts [Sun, 16 Jun 2019 11:02:34 +0000 (13:02 +0200)]
bmf: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agofiles: use explicit paths for plugins
Ferry Huberts [Mon, 17 Jun 2019 05:22:27 +0000 (07:22 +0200)]
files: use explicit paths for plugins

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agofiles: fix a shebang
Ferry Huberts [Fri, 17 May 2019 15:41:35 +0000 (17:41 +0200)]
files: fix a shebang

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoMerge branch 'release-0.9.7'
Ferry Huberts [Sat, 11 May 2019 19:53:05 +0000 (21:53 +0200)]
Merge branch 'release-0.9.7'

* release-0.9.7:
  Update version after release of v0.9.7
  Release v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoall: fix suppress string termination warnings
Ferry Huberts [Thu, 2 May 2019 19:11:02 +0000 (21:11 +0200)]
all: fix suppress string termination warnings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agopud: fix the build against libgpsd 3.18
Ferry Huberts [Thu, 2 May 2019 18:36:46 +0000 (20:36 +0200)]
pud: fix the build against libgpsd 3.18

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: upgrade gradle wrapper
Ferry Huberts [Thu, 2 May 2019 19:16:48 +0000 (21:16 +0200)]
info: java: upgrade gradle wrapper

The magical incantation is:
  gradle wrapper --gradle-version 5.4.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoREADME-Debian-package: Update build instructions
pmelange [Wed, 31 Oct 2018 09:01:12 +0000 (10:01 +0100)]
README-Debian-package: Update build instructions

Update the build instructions to use the maintained debian catalog

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2 years agopud: wireformat: java: build for Java 1.8
Ferry Huberts [Wed, 20 Mar 2019 11:32:34 +0000 (12:32 +0100)]
pud: wireformat: java: build for Java 1.8

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agowindows: fix the 64 bit builds on the latest mingw
Ferry Huberts [Wed, 20 Mar 2019 09:06:12 +0000 (10:06 +0100)]
windows: fix the 64 bit builds on the latest mingw

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: use latest jackson bundles
Ferry Huberts [Wed, 20 Mar 2019 08:25:34 +0000 (09:25 +0100)]
info: java: use latest jackson bundles

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: upgrade workspace
Ferry Huberts [Wed, 20 Mar 2019 08:22:16 +0000 (09:22 +0100)]
info: java: upgrade workspace

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: upgrade gradle wrapper
Ferry Huberts [Mon, 18 Mar 2019 15:11:18 +0000 (16:11 +0100)]
info: java: upgrade gradle wrapper

The magical incantation is:
  gradle wrapper --gradle-version 5.2.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: upgrade workspace
Ferry Huberts [Mon, 18 Mar 2019 15:10:30 +0000 (16:10 +0100)]
info: java: upgrade workspace

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoMake ldconfig configurable
Fabrice Fontaine [Mon, 11 Mar 2019 20:36:13 +0000 (21:36 +0100)]
Make ldconfig configurable

In a cross-compilation set up, running /sbin/ldconfig is useless, so
we make the path to ldconfig configurable through the environment/make
command line. This allows to pass LDCONFIG=/bin/true when doing
cross-compilation.

[Gustavo: update patch for olsr 0.6.4]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/olsr/0001-configurable-ldconfig.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2 years agoUpdate version after release of v0.9.7 release-0.9.7
Ferry Huberts [Wed, 6 Mar 2019 08:12:09 +0000 (09:12 +0100)]
Update version after release of v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoRelease v0.9.7 v0.9.7
Ferry Huberts [Wed, 6 Mar 2019 08:12:04 +0000 (09:12 +0100)]
Release v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoUpdate version after branch of v0.9.7
Ferry Huberts [Wed, 6 Mar 2019 08:10:15 +0000 (09:10 +0100)]
Update version after branch of v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoBranch v0.9.7
Ferry Huberts [Wed, 6 Mar 2019 08:10:15 +0000 (09:10 +0100)]
Branch v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agocorrectly report silent mode on olsrd startup summary
pocki80 [Tue, 5 Mar 2019 07:24:16 +0000 (08:24 +0100)]
correctly report silent mode on olsrd startup summary

3 years agorouting: remove rt_entry.rt_best pointer when rt_path is deleted (#61)
iwanovich [Wed, 23 May 2018 21:04:18 +0000 (23:04 +0200)]
routing: remove rt_entry.rt_best pointer when rt_path is deleted (#61)

routing: remove rt_entry.rt_best pointer when rt_path is deleted

When rt_path is free'd from memory, references to it should be deleted.

Checking all rt_entry structs for rt_best pointers to the rt_path
that is to be deleted and nullify the pointer. Not doing so might
lead to segfaults.

Signed-off-by: Iwan G. Flameling <iwanovich@gmail.com>
3 years agopoprouting: fix memory leak in isCommand
Ferry Huberts [Thu, 3 May 2018 18:39:03 +0000 (20:39 +0200)]
poprouting: fix memory leak in isCommand

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopoprouting: format code
Ferry Huberts [Thu, 3 May 2018 18:37:54 +0000 (20:37 +0200)]
poprouting: format code

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoPoprouting plugin for OLSRd (#53)
Gabriel [Thu, 3 May 2018 11:56:22 +0000 (13:56 +0200)]
Poprouting plugin for OLSRd (#53)

* Poprouting plugin for OLSRd

* reverted changes to get_plugin_parameters

3 years agosecure: fix GCC 8 compilation problems
Ferry Huberts [Tue, 1 May 2018 20:49:42 +0000 (22:49 +0200)]
secure: fix GCC 8 compilation problems

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agodyn_gw: fix GCC 8 compilation problems
Ferry Huberts [Tue, 1 May 2018 20:49:31 +0000 (22:49 +0200)]
dyn_gw: fix GCC 8 compilation problems

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agointerfaces: add 'silent' mode
Christoph Loesch [Sun, 11 Feb 2018 22:37:30 +0000 (23:37 +0100)]
interfaces: add 'silent' mode

When enabled, the interface will not retransmit TC messages.
Intended usage is for VPN tunnels.
Created by Markus Kittenberger.

Signed-Off-By: Christoph Loesch <mail@chil.at>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>